Mechanicsundergraduategraduate

Double Pendulum (Lagrangian Chaos)

Also known as: Chaotic pendulum · Compound double pendulum

Two pendulums chained together: the Lagrangian is easy to write, the motion is impossible to predict long-term.

L=12(m1+m2)l12θ˙12+12m2l22θ˙22+m2l1l2θ˙1θ˙2cos(θ1θ2)+(m1+m2)gl1cosθ1+m2gl2cosθ2\mathcal{L} = \tfrac{1}{2}(m_1{+}m_2)l_1^2\dot\theta_1^2 + \tfrac{1}{2}m_2 l_2^2\dot\theta_2^2 + m_2 l_1 l_2 \dot\theta_1\dot\theta_2\cos(\theta_1{-}\theta_2) + (m_1{+}m_2)gl_1\cos\theta_1 + m_2 gl_2\cos\theta_2
Live simulation
warming up the physics…

Full RK4-integrated double pendulum with a fading trace, plus a translucent ghost twin started 0.001 rad away — watch them agree, then catastrophically diverge. Sliders set both masses, both lengths, and the release angle; changing any slider relaunches the pair.

Equivalent forms

E=(m1+m2)gl1(1cosθ0)+m2gl2(1cosθ0)E = (m_1{+}m_2)gl_1(1-\cos\theta_0) + m_2 gl_2(1-\cos\theta_0)
θ¨1,θ¨2  from E–L: two coupled nonlinear ODEs\ddot\theta_1, \ddot\theta_2 \;\text{from E--L: two coupled nonlinear ODEs}
A two-line Lagrangian whose solutions cannot be written down — the cleanest demonstration that determinism ≠ predictability.