eureka
§ A10

The Double Pendulum: A Study in Chaos

A single pendulum is simple. It swings back and forth in a predictable rhythm. It is a cornerstone of physics, used to build clocks and demonstrate the basic laws of motion. But what happens if you take a second pendulum and attach it to the bottom of the first?

You create a double pendulum. By simply adding one extra piece, the system transforms from perfectly predictable into a wild, unpredictable dance. This simple setup is one of the clearest and most mesmerizing examples of deterministic chaos in physics.

Two Rods, Two Masses, One Equation

A double pendulum consists of two rigid rods of lengths $L_1$ and $L_2$, with masses $m_1$ and $m_2$ attached to their ends. While a simple pendulum only needs one angle to describe its position, a double pendulum needs two: $\theta_1$ for the top rod and $\theta_2$ for the bottom rod.

To understand how it moves, physicists use Lagrangian mechanics. Instead of looking at the forces pulling and pushing on the masses like Sir Isaac Newton would, Joseph-Louis Lagrange looked at the energy of the whole system. The Lagrangian, $L$, is simply the total kinetic energy ($T$, the energy of motion) minus the total potential energy ($V$, the energy stored by gravity).

$$ L = T - V $$

For the double pendulum, the equations for $T$ and $V$ are:

$$ \begin{aligned} T = \frac{1}{2} m_1 L_1^2 \dot{\theta}_1^2 + \frac{1}{2} m_2 \left( L_1^2 \dot{\theta}_1^2 + L_2^2 \dot{\theta}_2^2 + 2 L_1 L_2 \dot{\theta}_1 \dot{\theta}_2 \cos(\theta_1 - \theta_2) \right) \\ V = -(m_1 + m_2) g L_1 \cos \theta_1 - m_2 g L_2 \cos \theta_2 \end{aligned} $$

By applying the Euler-Lagrange equations to this formula, physicists can derive the exact accelerations ($\ddot{\theta}_1$ and $\ddot{\theta}_2$) for both rods at any given moment.

Deterministic Yet Unpredictable

The math above tells us something important: the motion of the double pendulum is fully deterministic. This means there is no randomness involved. If you start the pendulum in exactly the same position with exactly the same speed, it will follow exactly the same path every single time.

However, it is also chaotic. In physics, chaos means "exponential sensitivity to initial conditions." This is often called the Butterfly Effect.

Imagine you start two identical double pendulums. You release the first one from an angle of 90 degrees. You release the second one from an angle of 90 degrees plus just half a milliradian—an incredibly tiny difference, less than a thirtieth of a degree.

For the first few swings, they will look exactly identical. But very quickly, that tiny difference grows exponentially. Within seconds, the two pendulums will be swinging in completely different, unrecognizable directions.

The Lyapunov Fingerprint

Physicists measure this separation using a concept called the Lyapunov exponent. It puts a number on how fast two nearly identical starting positions will drift apart.

In the low-energy regime, where the pendulum is only making small swings at the bottom, the motion isn't chaotic. The paths stay together. But if you increase gravity, or start the pendulum completely inverted (upside down), the energy is high enough for chaos to take over. The paths fan out rapidly, making long-term prediction physically impossible, even with a perfect supercomputer.

Numerical Simulation

Because the equations are so complex, there is no simple formula to predict where the pendulum will be 10 minutes from now. Instead, computers have to simulate it step-by-step. Our simulation uses the classical 4th-order Runge–Kutta (RK4) method to calculate the motion thousands of times a second.

In a perfect simulation with zero air resistance (damping), the total energy ($E = T + V$) must remain exactly constant forever. This is a great way to test if a computer simulation is accurate!

Conclusion

The double pendulum shows us that simple rules do not always lead to simple results. By adding just one joint to a standard pendulum, we create a system so complex that its future is practically unknowable.

You can explore this chaotic beauty yourself. Drag the masses to new starting positions, change the gravity, and watch the paths unfold in Experiment 002.