Deterministic. And still unknowable.

Laplace imagined a mind that could foresee everything. Chaos is why a perfect rulebook still isn't enough.

  • Dynamics
  • 6 min read
  • 3 simulations

If the rules are exact, why can't the future be predicted?

A pendulum follows a rule you can write on one line. Add one hinge and the rule is just as exact, yet you can’t forecast the motion for long.

The figure beside the text changes as you scroll, and you can grab it at any time. Drag a bob, press play, move a slider.

A mind that knows everything

Here is an old hope. In 1814 Pierre-Simon Laplace imagined an intelligence that knew all the forces that animate nature and the situation of every being in it, and was vast enough to take all of it in at once. For such a mind, he wrote, “nothing would be uncertain and the future, as the past, would be present to its eyes.” He never said we were that mind. In astronomy, he said, the human mind offers a faint sketch of it.

For a pendulum, he is right. Start two almost together and let them swing.

The gap between them stays small. Half a minute later they are still within a few thousandths of a rod length. Know the present well enough and you know the future.

Two pendulums, one rule. They start 0.001 radians apart.

Figure. Two simple pendulums hang from one pivot, drawn almost on top of each other. They start 0.001 radians apart and swing together. After half a minute the gap between them is still a few thousandths of a rod length.

Add one hinge

Hang a second pendulum from the first. The rule is still exact, and every number in it is known. So you would expect the two copies to stay together, as before. Do they?

Same rule, same start, apart by a hair. Drag a bob to choose where they begin.

Figure. Two double pendulums, each with a second rod hung from the first, start 0.001 radians apart and swing together at first. Controls: play and pause, reset, the start gap, a Low swing switch, and dragging a bob to choose where both begin.

For a moment the two move as one. Then they part, and within seconds they have nothing in common. Make the starting gap ten thousand times smaller and they part anyway, only about seven seconds later.

Now switch on Low swing. Same machine, same rule, and the gap stays put. Whether you get chaos depends on how the machine moves as much as on the machine.

Move the start gap, or switch on Low swing.

Figure. The two double pendulums above a chart of the gap between their tips against time, on a log scale. The gap sits near one thousandth for about two seconds, then rises along a straight line until the pendulums are half a rod apart, at about four seconds. It levels off near two rod lengths.

One number

The gap grows like an exponential.

d(t)≈d0 eλtd(t) \approx d_0\, e^{\lambda t}

That means the gap is multiplied by the same factor in every equal stretch of time. Here d0d_0 is the starting gap, and λ\lambda is the Lyapunov exponent, the average rate at which the logarithm of a tiny gap grows. If λ\lambda is positive, small errors multiply. If it is zero or negative, they stay the same size or fade.

For this pendulum λ\lambda is about 1.4 per second. The gap doubles every half second and grows tenfold every 1.6 seconds, until it is as large as the pendulum. After that it has nowhere left to grow.

Figure. The gap chart alone, with a dashed straight line fitted to the early climb, and the equation d of t is about d zero times e to the lambda t set large above it. A readout gives the exponent measured in this run, beside the long run average of about 1.4 per second.

What a better instrument buys

Say you can measure the starting angle to a few digits. How long before your forecast is off by half a rod length?

Take the exponential and solve it for the time at which the error reaches the size you will put up with, Δ\Delta.

T≈1λln⁡Δd0T \approx \frac{1}{\lambda}\ln\frac{\Delta}{d_0}

Each extra digit divides d0d_0 by ten and adds the same slice of time, ln⁡(10)/λ\ln(10)/\lambda, about 1.7 seconds. A measurement ten million times better, from one digit to eight, buys about twelve more seconds.

Precision multiplies, and time only adds. The rate of exchange is set by λ\lambda.

Median over twelve starting positions. Each extra digit adds about 1.7 seconds.

Figure. A chart of seconds the forecast holds against digits of precision in the starting angle, from 1 to 8. The points rise along a nearly straight line from about two seconds at one digit to about fourteen seconds at eight digits, adding about 1.7 seconds per digit. A bar at each digit shows the spread over twelve starting positions, and a slider picks the digit. Above the chart is the equation T is about one over lambda times the log of delta over d zero.

Is chaos random?

No. The rules have no dice, and the same start always gives the same motion. What fails is the long forecast. No measurement is exact, and when λ\lambda is positive the error in it keeps multiplying until it fills the picture. Up to that point the forecast is good. After it, we can only describe the typical behaviour, not the exact state.

Weather is chaotic too, only on a slower clock. The pendulum’s gap doubles every half second. In 1969 Lorenz estimated, from historical weather maps, that very small errors in the large scale flow would double in about two and a half days. Skilful forecasts of day to day weather now last about ten days, and a recent study puts the intrinsic limit near two weeks. A starting state ten times more accurate would add at most about five days.

You can’t compare the two exponents directly, since one is per second and the other per day. What carries over is the exchange rate. Each tenfold gain in precision buys one fixed slice of time.

The butterfly effect is this same sensitivity, and never a claim that a butterfly causes a tornado. Lorenz titled his 1972 talk as a question, and wrote that a flap of wings could as well prevent a tornado as cause one. Nobody can know every butterfly, so the long forecast stays out of reach.

Figure. The two double pendulums again, slowed to half speed and drawn without trails.

One limit, not the only one.

Chaos limits what a measurement can tell us. There is a different limit, from logic, on what no program can decide. That one is in The diagonal (coming soon).

Sources

  1. Pierre-Simon Laplace, Essai philosophique sur les probabilités (1814). The quotation is from F. W. Truscott and F. L. Emory’s translation, A Philosophical Essay on Probabilities (1902), chapter 2.
  2. Henri Poincaré, Science et méthode (1908), “Le hasard”, where the quoted sentence appears.
  3. Edward N. Lorenz, “Atmospheric Predictability as Revealed by Naturally Occurring Analogues”, Journal of the Atmospheric Sciences 26 (1969).
  4. Edward N. Lorenz, “Predictability: Does the Flap of a Butterfly’s Wings in Brazil Set Off a Tornado in Texas?”, talk to the American Association for the Advancement of Science (1972).
  5. Fuqing Zhang and others, “What Is the Predictability Limit of Midlatitude Weather?”, Journal of the Atmospheric Sciences 76 (2019).
  6. Bo-Wen Shen and others, “Exploring the Origin of the Two-Week Predictability Limit”, Atmosphere 15 (2024).
  7. Steven H. Strogatz, Nonlinear Dynamics and Chaos, 2nd ed. (Westview, 2015), chapter 10, on the Lyapunov exponent.