Three double pendulums with nearly identical initial conditions. They start in sync, then diverge — the hallmark of chaos.
The Core Idea
The double pendulum is the gateway drug to chaos theory. Take one pendulum hanging from the tip of another, let it go, and watch deterministic equations produce behaviour that looks utterly random. Tiny differences in the starting angle — invisible to the naked eye — diverge exponentially until the two paths are completely different. This is sensitive dependence on initial conditions, the defining feature of chaotic systems.
The Mathematics
The double pendulum has two degrees of freedom: angles θ₁ and θ₂. The equations of motion come from the Lagrangian L = T − V (kinetic minus potential energy). They are coupled, nonlinear, and have no closed-form solution:
θ₁'' = [−g(2m₁+m₂)sin θ₁ − m₂g sin(θ₁−2θ₂) − 2sin(θ₁−θ₂)m₂(θ₂'²l₂ + θ₁'²l₁cos(θ₁−θ₂))]
/ [l₁(2m₁ + m₂ − m₂cos(2θ₁−2θ₂))]
θ₂'' = [2sin(θ₁−θ₂)(θ₁'²l₁(m₁+m₂) + g(m₁+m₂)cos θ₁ + θ₂'²l₂m₂cos(θ₁−θ₂))]
/ [l₂(2m₁ + m₂ − m₂cos(2θ₁−2θ₂))]
The key nonlinearity is the sin(θ₁ − θ₂) coupling and the cos(2θ₁ − 2θ₂) in the denominator. These terms prevent analytical solution and create the sensitive dependence on initial conditions.
Five pendulums, tighter trail. The initial cluster of paths rapidly spreads — trajectory divergence in action.
Try increasing the number of pendulums and watch how the initially identical paths rapidly diverge. The trail persistence slider shows the history — longer trails reveal how the paths fan out over time.
The Lyapunov exponent
Chaos is quantified by the Lyapunov exponent λ. If two nearby trajectories start distance δ₀ apart, after time t they are typically separated by:
δ(t) ≈ δ₀ · e^(λt)
For the double pendulum at high energy, λ > 0 — trajectories diverge exponentially. A positive Lyapunov exponent is the mathematical definition of chaos. It means that predicting the system's state more than a few seconds into the future requires impossibly precise knowledge of the present.
Energy and order
At low energy (small angles), the double pendulum behaves almost linearly — it oscillates gently, and the two segments move in near-unison. Crank up the initial angle past ~90°, and the nonlinear terms kick in. Past 180°, you're in full chaos territory.
Chaos ≠ randomness
Here's the subtle point: the double pendulum is deterministic. Given exact initial conditions, the future is fully determined. But in practice, you can never know the initial conditions exactly — and chaos amplifies that microscopic uncertainty into macroscopic unpredictability. This is why weather forecasts degrade after ~10 days, not because the physics is wrong, but because the atmosphere is a chaotic system.
Further reading
- Strogatz, Nonlinear Dynamics and Chaos — Chapter 9 covers the double pendulum in detail.
- Double pendulum (Wikipedia)
- Chaos theory