Chaos hides in one line of algebra
Turn one dial on a one-line population model and it forks from a steady state to a 2-cycle, a 4-cycle, then chaos: the period-doubling cascade, the Feigenbaum constant, and the same fingerprint hiding in the weather and a swinging pendulum.
Here is a claim to be suspicious of: you can manufacture genuine, unpredictable chaos with a single line of algebra. One multiplication, one subtraction, no randomness, no noise, nothing hidden up a sleeve. Feed a number in, get a number out, feed that number back in, and repeat. Do it a few hundred times and, depending on one dial, the output either settles to a steady value, or ticks between two values forever, or never repeats and behaves for all practical purposes like a coin you cannot call.
The line is the logistic map, and it started life as a toy model of a population. Think of as this year's headcount written as a fraction of the most the environment can hold, so lives between (extinct) and (packed to capacity). The dial is the growth rate. Small populations breed fast, which is the part; crowded ones starve, which is the part pulling the number back down. Turn up and you are asking what a faster-breeding species does to itself.
The whole model is one multiplication
Written out, the map is almost embarrassingly small. This is the entire dynamical system:
Where does it come to rest? A fixed point is a value the map returns unchanged, . There is the boring root (extinction stays extinct), and one that matters:
For this root is negative and meaningless, so the population dwindles to nothing. For it sits happily between and and the population settles there, which is exactly what you see on the left of the diagram. The question of whether it stays there is settled by the slope of the map at the fixed point. Differentiating equation (1) gives , and plugging in equation (2) it collapses to a clean . A fixed point holds firm while that slope has magnitude under , so the steady state is stable for and loses its grip at exactly , where the slope hits . That is the first fork.
No randomness went in
There is no chance anywhere in equation (1). Give it a starting value and , and every number after that is fixed for all time, as determined as . Whatever unpredictability shows up on the right of the diagram was not smuggled in through noise, missing physics, or a bad random-number generator. It is generated by the arithmetic itself. That is the whole surprise, and it is why the logistic map is the cleanest teaching example of chaos we have.
The cascade: doubling, then doubling faster
At the steady state splits into a 2-cycle, a population that oscillates between a high year and a low year. Turn the dial further and that 2-cycle becomes unstable in the same way the fixed point did, and each branch splits again into a 4-cycle. Then an 8-cycle, a 16-cycle, and on up the powers of two. This is the period-doubling cascade, and the striking thing is not that it happens but how quickly it happens. The forks come at
Each gap is roughly four and a bit times shorter than the one before. Feigenbaum noticed that the ratio of successive gaps settles onto a fixed number:
Because the gaps shrink geometrically, the whole infinite tower of doublings fits inside a finite stretch of . Add up a geometric series with ratio and it converges. The doublings pile up at a limit point, the onset of chaos, at . Past there the periodic order is spent, and the system is chaotic.
- Feigenbaum δ
- 4.6692
- the geometric rate the forks accelerate, the same for every smooth hump map
- First bifurcation
- r = 3
- the steady state splits into a 2-cycle
- Onset of chaos
- r∞ ≈ 3.5699
- infinitely many doublings, all squeezed below this
Infinitely many forks, finite room
It is tempting to picture the cascade as an ever-slowing approach to chaos, forks marching off toward . The opposite is true. The forks accelerate, so an infinite number of them are crammed into the sliver between and . By the time you have nudged the dial two-thirds of the way from the first fork to , order has already run out and you are deep in chaos with plenty of range to spare. Chaos is not the far end of the diagram. It arrives early.
One number that does not care what equation you used
Here is where the logistic map stops being a cute biology model and starts being a fact about the world. That constant is not special to . Take any smooth map with a single hump, a rounded maximum: the sine map , a cosine, a quartic, anything with one gentle peak. Every one of them period-doubles its way into chaos, and every one does it with the same . The individual bifurcation values differ, the shape of the diagram differs, but the rate at which the forks accelerate is identical to the last digit you care to compute.
The route into chaos has a speed limit, and it is the same speed limit for a population model, a dripping tap, and a convecting fluid: a number near 4.6692 that nobody put there on purpose.
Feigenbaum found this in 1978 on a pocket calculator, watching the numbers from two completely different maps converge onto the same ratio and assuming at first that he had a bug. He did not. The constant is universal in the technical sense: it is a property of the whole class of one-hump maps, the way is a property of every circle rather than of any particular one. And the prediction is not just mathematical folklore. Experiments on convecting liquid helium, on electronic oscillators, on dripping taps, have all measured period-doubling cascades and read off a that agrees with 4.6692.
The constant does not care about your equation
Swap for and re-run the whole cascade. The forks land at different places, but measure the ratio of successive gaps and you get again. This is what makes chaos theory a theory rather than a pile of case studies: the transition into chaos has structure that survives changing the equation, so measuring it in a lab tells you about a universality class, not just about one gadget on the bench.
Windows of order inside the chaos
The chaotic band is not solid. Look again at the diagram between and and you will spot vertical gaps, clean stripes where the scribble suddenly collapses back to a handful of points. These are windows of order, periodic cycles living in the middle of the chaos. The widest and most famous is the period-3 window, which opens abruptly at
Drag the marker to about and watch the chaos snap into a clean 3-cycle, boom-boom-bust repeating cleanly. Then, as you nudge higher inside the window, that 3-cycle period-doubles into a 6-cycle, a 12-cycle, and cascades straight back into chaos, a perfect miniature of the whole diagram tucked inside itself. The structure is fractal: order and chaos interleaved at every scale.
Period three implies chaos
There is a theorem hiding in that window, and it has one of the best titles in mathematics: Li and Yorke's 1975 paper Period Three Implies Chaos. The result (a corollary of Sharkovskii's earlier ordering of the integers) says that if a continuous map of the interval has a cycle of period exactly , then it must have cycles of every period, and an uncountable set of points that never settle into any cycle at all. So the mere existence of that period-3 window is a certificate that the full chaotic zoo is present. Find a 3-cycle and you have found everything.
The same fingerprint in a weather model
So far this is a one-dimensional map, a number chasing its own tail. Real chaos usually lives in continuous systems, differential equations flowing through time, and the surprise is that the logistic map's essential feature carries straight over. That feature is sensitive dependence on initial conditions: two starts a hair apart are pulled exponentially far apart as the system runs. The rate of that pulling-apart is the Lyapunov exponent, and for the logistic map it is an average of the log-slope along the trajectory:
The sign of tells you everything. Where the map is periodic, and small errors heal. At every bifurcation and at it touches zero. Across the chaotic band , and a positive Lyapunov exponent is the working definition of chaos in any system, discrete or continuous. If you plotted against it would trace the diagram's mood exactly: negative in the ordered valleys, spiking positive in the chaos, dipping back below zero inside every window of order.
Edward Lorenz found the same positive exponent in three coupled differential equations for convection back in 1963. His trajectory never settles to a point or a loop; it winds forever around a two-winged surface, close but never repeating, and two starts differing in the fourth decimal place end up on opposite wings. That is the butterfly effect, and it is equation (4) with a positive answer, dressed in continuous clothes. The logistic map and the Lorenz system are not analogies for each other. They are two rooms in the same house, and the house is nonlinear dynamics.
Chaos you can feel
The last room is the one you can build on a desk. A double pendulum, one rod swinging off the end of another, obeys nothing but Newton's laws, exact and deterministic. It is also violently chaotic.
Release the arms from almost the same angle and they track together for a beat, then peel apart into completely different motions and never reconcile. That window of agreement, a second or two before divergence, is the prediction horizon set by the Lyapunov exponent, the same quantity as equation (4), the same idea as the two dots on the Lorenz butterfly. Turn up the gravity and the divergence comes faster, a bigger exponent, a shorter horizon.
Three rooms, then: a toy population model, a stripped-down weather model, and a swinging pendulum. A discrete map, a set of differential equations, and a lump of physical hardware. They share almost nothing on the surface, and underneath they share the one thing that matters, a route into chaos with a positive Lyapunov exponent and a structure that repeats itself as you zoom in. My own favourite consequence is the humbling one: the wall on weather forecasting near two weeks is not an engineering embarrassment waiting on a faster computer. It is the same mathematics as the fork at , and no supercomputer beats a logarithm. Something to sit with next time a forecast lets you down.
Next time you see a system doubling its period, whatever it is made of, you will know what is coming, and roughly how fast. Watch this space.
Reading further
- May, Simple mathematical models with very complicated dynamics (Nature 261, 1976). The paper that put the logistic map on everyone's desk, arguing that even a first course should teach how simple nonlinear models misbehave. Short, opinionated, and still the best entry point.
- Feigenbaum, Quantitative universality for a class of nonlinear transformations (J. Stat. Phys. 19, 1978). Where and its companion constant are pinned down, and where universality is argued for the whole class of one-hump maps.
- Strogatz, Nonlinear Dynamics and Chaos, chapter 10. The standard modern textbook treatment of the logistic map, the cobweb picture, Lyapunov exponents, and the renormalisation behind Feigenbaum's constants, drawn carefully.
- Lorenz, Deterministic Nonperiodic Flow (J. Atmos. Sci. 20, 1963). The continuous-time companion to this post: three equations, no randomness, and the first clear sighting of the butterfly effect.
Try it in the lab
All effects →Double Pendulum
mathsChaotic pendulums diverging from near-identical starting conditions.
chaosodeLogistic Bifurcation
mathsThe period-doubling cascade of x → r·x·(1−x): fixed point, 2-cycle, 4-cycle, then chaos, with a live cobweb inset.
chaosbifurcationdynamical systemsLorenz Attractor
mathsThe classic chaotic 3D butterfly — two trajectories diverge from near-identical starts.
chaosodebutterfly effect
More from the blog
How the Leopard Got Its Spots
Two chemicals that do nothing but react and spread can break a blank sheet into spots, stripes, and mazes. Turing's last great idea was that diffusion, the great smoother, is also where pattern comes from.
The Lorenz Attractor and the Limits of Prediction
Determinism does not imply predictability. Lorenz's three-equation toy weather model is fully deterministic yet unknowable past a horizon you can compute — a geometric fact, not an engineering failure.
Normal Modes: Why Coupled Things Beat, and When They Become Chaos
Two pendulums linked by a spring look hopelessly complicated. But there is a change of coordinates in which the same system is just two independent pendulums that never talk to each other. The mess is an illusion of the basis you chose.