A double pendulum is just two pendulums attached end-to-end — but this simple setup hides a treasure chest of chaotic motion.
Interactive double pendulum demo: explore chaos theory, adjust parameters, and see how tiny changes lead to unpredictable motion.
The first pendulum swings freely from a pivot.
The second pendulum hangs from the end of the first.
When you start them swinging, the motion quickly becomes unpredictable — tiny differences in starting conditions can lead to vastly different results.
This is a textbook example of deterministic chaos: the system follows the laws of physics exactly, but predicting it for long periods is nearly impossible without extreme precision.
We’ll assume:
= masses of the first and second pendulum bobs
= lengths of the first and second rods
= angles from vertical
= acceleration due to gravity
The dynamics are derived from Lagrangian mechanics, which considers the difference between kinetic and potential energy:
Kinetic Energy:
with from rotational motion.
Potential Energy:
The Lagrangian is:
Applying the Euler–Lagrange equations yields the coupled nonlinear ODEs:
That’s the complete set of equations — they’re messy, but they describe every twist and turn.
Initial Conditions:
Start both pendulums in the same direction and give them a gentle nudge.
Start one pendulum vertical and the other horizontal — watch how energy transfers.
Change the starting angles by just 0.001 radians — observe how quickly they diverge.
Parameters:
Change or — heavier lower mass often makes motion wilder.
Try different rod lengths — longer rods swing slower.
Set gravity to lower values — you can simulate “Moon pendulums.”
Energy Checks:
Track total energy to see if your simulation conserves energy.
Chaos in action: The double pendulum is a beautiful intro to chaotic dynamics.
Physics + math synergy: Lagrangian mechanics is more elegant than Newton’s laws here.
Practical applications: Understanding coupled oscillators shows up in robotics, structural engineering, and even molecular vibrations.