◍ Hidden Spheres · exhibit nº 1

The Double Pendulum

two rods, one hinge, and the end of prediction

drag a weight, then let go

For the curious kid.

A playground swing is easy to predict: push it, and it swings back and forth, back and forth. Boring, in the best way.

This machine is just two swings, one hanging off the end of the other. That tiny change breaks prediction completely. Drag the lower weight up high, let go, and watch: it doesn't repeat, it doesn't settle, it flips and lurches like it's making it up as it goes. Nothing is random in there (the machine follows exact rules with no dice anywhere) and still, no one on Earth can tell you what it will be doing one minute from now.

Want proof? Press Summon the twin. A ghost pendulum appears, started in almost exactly the same spot, off by less than the width of a hair. For a few seconds they dance together. Then they disagree. Then they've never heard of each other. That's what "chaos" means to a scientist: not messiness, sensitivity. The tiniest difference in how things start grows into a completely different future. The chart at the bottom right keeps score: how far apart the twins are, drawn on a scale where every step up is ten times farther. When that line is straight, the gap is doubling on a fixed clock, and the room measures the clock for you.

Now look at the square picture on the right. It is a map of every way you could let go: how far the upper arm is tilted runs across, how far the lower arm is tilted runs down, and each dot of colour is a whole experiment, run by this page while you watched. Gold means the machine flipped over the top almost at once; blue means it took its time; dark means it never flipped at all in twenty seconds. Click anywhere on the map and the pendulum will let go from exactly that pose, so you can check any dot you like. The gold line drawn over the map was not traced from the colours. It was computed from one sentence of physics: a thing can only climb as high as its energy allows. Inside that line there is simply not enough energy for the lower arm to reach the top, so it never does. Not in twenty seconds, not ever.

Deeper.

The double pendulum is one of the simplest mechanical systems that is genuinely chaotic. It is fully deterministic (its motion follows from the Euler-Lagrange equations of a two-degree-of-freedom system), yet nearby trajectories separate exponentially fast, at a rate measured by its largest Lyapunov exponent. Doubling your measurement precision doesn't double your forecast horizon; it buys you only one more sliver of it. That's the practical wall weather forecasters hit: not ignorance of the laws, but arithmetic of error growth. The separation chart fits a straight line through the growth band of the twins' distance and reports the doubling time. That number is a measurement, not a law: the exponent of a double pendulum depends on its energy and has no closed form. From the house start it comes out near half a second.

The map is the room's visible proof. Released from rest at angles (θ₁, θ₂), the machine has energy E = −mgl(2cos θ₁ + cos θ₂), and energy is conserved. For the lower bob to pass straight over its hinge it must reach a pose with θ₂ = π, and the least potential energy of any such pose is −mgl (upper arm hanging, lower arm standing on it). So a flip of the lower arm is impossible unless 2cos θ₁ + cos θ₂ ≤ 1, and a flip of the upper arm is impossible unless 2cos θ₁ + cos θ₂ ≤ −1. Those two inequalities are the solid and the dashed gold curves, drawn from the formula and never from the colours. The simulation is allowed to disagree with them; it never has. The meter below the stage counts how many cells inside the solid curve the workers have checked, and how many flipped. The theorem runs only one way: enough energy is necessary for a flip, not sufficient, which is why the region just outside the curve is a lace of dark and blue rather than a clean edge. That lace is the chaos, drawn.

Two honest details about what you're watching. First, at low energies (let both arms hang nearly straight down and nudge them) the system is not chaotic; it swings in orderly, almost-periodic patterns. In fact for small swings it sings exactly two notes. With equal masses and equal rods the angular frequencies are ω² = (g/l)(2 ∓ √2), which is 2.40 and 5.79 radians per second here, periods of 2.62 and 1.09 seconds; in the slow note the arms swing together, in the fast one against each other, the lower arm √2 times as wide in both. When no twin is summoned, the bottom right panel shows the spectrum of the upper arm's recent motion with those two frequencies marked in gold from the formula. Set the pendulum low and the spectrum collapses onto the marks. Set it high and it smears into every frequency at once. Order and chaos are both in here, in different rooms of the same house, and the energy gauge tells you which room you are in. Second, the simulation integrates the exact equations of motion with a fourth-order Runge-Kutta method at 240 steps a second and no friction, so energy is very nearly conserved; the gauge shows the drift. What looks like wildness is not error piling up; it is the honest solution doing what the mathematics demands.

The present determines the future, but the approximate present does not approximately determine the future. (After Edward Lorenz.)