30 pendulums start nearly identically โ chaos separates them
exponentially fast, revealing the butterfly effect
Initial spread ฮฮธโ0.010 rad
Ensemble size N30
Damping ฮณ0.00
Speed3ร
0.0
Time (s)
โ
Max separation (rad)
โ
Lyapunov ฮป (bit/s)
30
Still coherent
Coherent
Regime
How it works: Each pendulum solves the same Lagrangian
equations (ฮธโ, ฮธโ for upper and lower bobs) via RK4,
but member k starts with ฮธโ offset by kยทฮฮธ.
Left canvas: all pendulums rendered simultaneously โ
colours range from violet (reference) to yellow (most different). As
long as pendulums stay together, they look like one. When chaos kicks in
they fan out. Right canvas: log-scale plot of |ฮธโ โ
ฮธโref| vs time; an exponential divergence (straight line on
log plot) means chaos with positive
Lyapunov exponent ฮปโ. The displayed ฮป is estimated by
linear regression on the log-separation in the divergence window.
Left panel: Ensemble fan coloured violetโyellow.
Right panel: logโโ separation vs time โ exponential
growth โ chaos.