Lorenz Attractor
The Lorenz attractor follows three numbers, , and , as they change over time:
Each left side says how fast that number is changing at this moment, and each right side uses the current numbers, so each number affects how the other two change. Used as coordinates, the three numbers give a point, and the point's trail circles one wing, then crosses to the other.
Turn on Compare a nearby start below. The second calculation, drawn dashed, begins just away in one coordinate and follows exactly the same rules, so watch for the moment the two stop following the same wing. The x–z view shows the wings from the side and the x–y view looks down on them, so one view can show a gap the other hides.
Time 0.00
Point (0.100, 0.000, 0.000)
A tiny difference at the start can lead to a large difference later, which is called sensitivity to starting conditions. The points can move closer again, too, since their distance does not grow at every step.
Edward Lorenz found this by accident. He was running a weather model on his computer and wanted to see part of a run again, so he typed in a line of numbers from an earlier printout, restarted the run and went for coffee. About an hour later it had simulated about two months of weather, and the new numbers were nothing like the old ones.1
The printout rounded to three decimal places, and the computer kept more.1 One retelling gives an example: the computer held and the printout showed .2
That weather model had 12 variables, so it is not the system on this page. Lorenz later looked for the simplest equations that behave this way and arrived at the three above.1 They come from a simplified model of heated fluid, in which one number describes circulation and two describe temperature differences. The trail plots those numbers; it does not trace a particle moving through the fluid.3
Try his restart on these three equations. Both runs start with the same and . Run 1 starts at , and the slider sets how far below that run 2 starts, opening on his rounding, a difference of . The upper chart plots over time: above the middle line the point is on one wing, below it on the other.
The runs stay together until time . These are the equations' own time units, and one turn around a wing takes about of them.4
Move the slider one notch to make the difference ten times smaller, and the runs stay together until . One more notch gives . Each notch buys about time units, averaged over many restart points.4
The lower chart shows why. It plots the gap between the runs, and each line across it marks a gap a thousand times smaller than the line above. The gap climbs at a steady slope until it is as wide as the attractor, doubling on average with every turn around a wing.4 Lorenz saw the same thing in his weather model: the differences "more or less steadily doubled in size every four days or so".1
A smaller difference starts lower on the chart and climbs at the same slope. A tenfold smaller gap needs only a bit over three more doublings, so it lasts only about three more turns. The dots on the dashed line show every notch. They are fairly evenly spaced because this restart point was picked for that. The climb comes in bursts, so at other points a single notch can add much more or much less.
So measuring better buys little. A difference a million times smaller than his rounding lasts until , only about time units longer. Lorenz drew the same conclusion about weather: if the atmosphere behaves like his model, forecasting far ahead is impossible.1
Further exploring
Videos
Reading
- Lorenz system — Wikipedia
- Lorenz attractor — MathWorld
- When the Butterfly Effect Took Flight — MIT Technology Review
- Strange Attractors — Chaos: A Mathematical Adventure
Sources and notes
- Chaos at Fifty. It quotes Lorenz's own account from The Essence of Chaos, which gives no example digits.
- Circa January 1961: Lorenz and the Butterfly Effect.
- Deterministic Nonperiodic Flow (archived copy).
- Calculation: , , , by fourth-order Runge–Kutta with time step . Both runs restart from , . Among points on a settled run where , this one has fairly even notches; across them a single notch adds from to . "Visibly apart" means the two points are more than apart in space. Over restart points on a settled run, the average time grows by for each tenfold, and by to with a limit of , or instead of . A long run gives a growth rate of per time unit, which doubles the gap every . Peaks of come every on average.