Double pendulum
Two arms. Deterministic equations. Wildly unpredictable motion. The simplest mechanical system that exhibits chaos — drag to set initial conditions and watch certainty dissolve.
L = T − V → Euler-Lagrange → coupled nonlinear ODEs → chaos
Why the double pendulum is chaotic
A single pendulum swings back and forth with metronomic regularity. Add a second arm hinged to the end of the first, and the system becomes unrecognizable. The two arms exchange energy through a nonlinear coupling — the angular acceleration of each arm depends on the sine of the difference between both angles, and on the squares of both angular velocities. These terms interlock the two degrees of freedom so tightly that no closed-form solution exists. The motion is deterministic — governed by exact equations with no randomness whatsoever — yet it is, for practical purposes, unpredictable.
The Lagrangian formulation
You could try to derive the equations of motion by drawing force diagrams and resolving tensions in the rods. It works, but it’s a nightmare of bookkeeping. The Lagrangian method is more elegant: write down the kinetic energy T and potential energy V of the system in terms of the two angles and their time derivatives, form the Lagrangian L = T − V, and apply the Euler-Lagrange equation to each coordinate. The constraints (rigid rods, fixed pivot) are handled automatically. What falls out is a pair of coupled second-order nonlinear ordinary differential equations. They look complicated, but every term has a physical meaning: gravitational torque, centripetal coupling, Coriolis-like interaction between the two arms.
Sensitivity to initial conditions
Click the “+ Compare” button to add a second pendulum whose initial angles differ from the first by one thousandth of a radian — less than a twentieth of a degree. For the first few swings, the two pendulums move in lockstep. Then they begin to drift apart. Within seconds, they are doing completely different things. This is the hallmark of chaos: exponential divergence of nearby trajectories. In a non-chaotic system, a small initial perturbation produces a small difference in the outcome. In a chaotic system, the difference grows exponentially until the two trajectories bear no resemblance to each other.
Lyapunov exponents
The rate of this exponential divergence is quantified by the Lyapunov exponent. If two trajectories start a distance δ apart, after time t they are roughly δ·eλt apart, where λ is the maximal Lyapunov exponent. For the double pendulum at typical energies, λ is positive — meaning any measurement uncertainty, no matter how small, gets amplified exponentially. After enough time, your prediction is no better than a guess. This is not a failure of the equations; the equations are perfect. It is a fundamental limit on prediction in deterministic systems with positive Lyapunov exponents.
Why a single pendulum is not chaotic
The single pendulum has one degree of freedom and one conserved quantity (energy). In the language of dynamical systems, it is integrable: the number of conserved quantities equals the number of degrees of freedom, which means the motion is confined to a one-dimensional curve in phase space — a closed orbit. There is no room for nearby trajectories to diverge exponentially. The double pendulum has two degrees of freedom but still only one conserved quantity (total energy, if there is no damping). That leaves one “unconstrained” direction in phase space where trajectories are free to wander — and wander they do, chaotically.
Poincaré and the birth of chaos theory
The mathematical study of chaos began with Henri Poincaré in the 1880s. He was working on the three-body problem — predicting the motion of three gravitating masses, like the Sun, Earth, and Moon. He discovered that the equations, while deterministic, produced motion so tangled that it defied any attempt at long-term prediction. His key insight was topological: the geometry of solutions in phase space was too complex for the analytical tools of his era. He called it “homoclinic tangle” — a web of intersecting trajectories so dense that he famously wrote, “one is struck by the complexity of this figure that I am not even attempting to draw.” The double pendulum is a tabletop version of the same phenomenon that defeated Poincaré.
Determinism does not mean predictability
This is the deepest lesson of the double pendulum, and of chaos theory in general. The equations are exact. Given perfect initial conditions, the future is perfectly determined. But “perfect initial conditions” means specifying the angles and velocities to infinite decimal places, which is physically impossible. Any finite measurement has some uncertainty, and in a chaotic system, that uncertainty grows exponentially until it swallows the entire prediction. Determinism is a property of the equations. Predictability is a property of our knowledge. The double pendulum shows, with visceral clarity, that these are not the same thing.