Double Pendulum Phase Portrait and Energy Conservation
Two bobs on rigid massless rods, both swinging under gravity, with the lower bob pinned to the end of the upper rod. The Lagrangian gives coupled velocity-dependent equations of motion; the qualitative behavior ranges from quasi-periodic at low energy to fully chaotic above the lowest saddle in the potential. Drag a bob to set its initial angle; double-click the canvas to zero out velocities.
m1
1.0 kg
m2
1.0 kg
l1
1.00 m
l2
1.00 m
release
166°
pendulums
18
θ1 (rad): 0.5000
θ2 (rad): -0.3000
E (J): 0.0000
|dE/E| from t=0: 0.0e+00
Poincaré count: 0
WHAT TO TRY
- Watch the coloured spray: a thousandth of a radian apart at the start, the pendulums fan out completely within seconds and trace wildly different paths. That is chaos, sensitive dependence on the start.
- The lower plot is the separation between them on a log axis. The straight climb is exponential blow-up; the dashed line is the fit and its slope is the Lyapunov exponent (the readout shows how often the separation doubles).
- Add more pendulums for a denser, more beautiful fan, and use the release slider to set a gentle low angle: the motion turns regular, the spray collapses to one curve, and the divergence plot reports no blow-up. Chaos only switches on once you raise the arms.