EXPERIMENT 001 · MECHANICS
At the edge of chaos.
Nearly identical starts. Completely different paths.
Why do the paths diverge?
The pendulums have identical lengths and masses, but their lower arms start at slightly different angles. In chaotic motion, even this tiny difference grows rapidly, making long-term prediction difficult. Reduce the angles and compare how the motion changes.
No friction · 1 kg masses
Gravitational acceleration: 9.81 m/s²
Theory behind the experimentWhy almost identical pendulums end up moving differentlyPlain explanation, equations and how the model works
In plain words
A double pendulum is two linked arms with weights. The upper arm hangs from a fixed pivot and the lower arm hangs from the end of the upper one. When the upper weight moves, it drags the lower pivot along, and the lower weight pulls back on the upper one. The two motions are coupled, so you can’t treat them as two separate ordinary pendulums.
The screen shows several independent double pendulums drawn on top of each other. They don’t collide or affect each other. All lengths and masses are the same; only the starting angle of the lower arm differs, and only slightly. The colours show what almost identical starting conditions turn into.
At first the pendulums move almost together. In the chaotic regime the small difference keeps growing: one is already flipping over while another swings back the other way. This is called sensitivity to initial conditions. Chaos here doesn’t mean there are no laws. Every next moment follows from the same equations of mechanics; a long-range forecast just needs the starting state known more and more precisely.
A double pendulum isn’t always chaotic. Pull it only slightly away from the bottom and the motion is usually much more regular. A tangled path on its own doesn’t prove chaos either, so compare regimes, not just how pretty the trails look.
Try it yourself
- Set the initial angle difference to zero. All coloured pendulums merge into one, because the model adds no random kicks.
- Bring back a small difference and compare large starting angles with small ones. Watch how quickly the motions drift apart. The exact time depends on the settings.
- Turn on the divergence and phase-path charts. Sometimes two weights are close together while moving in opposite directions. Same position doesn’t mean same state.
Physics and equations
The state of one pendulum is two angles and two angular velocities:
Here and are the angles of the upper and lower arm, both measured from the downward vertical (not one from the other). A dot means a time derivative, so is angular velocity. The equations use radians; the sliders show degrees.
Let the arm lengths be and and each weight have mass . With the axis pointing down from the pivot, the weights are at
These formulas connect the angles to the picture on screen. From the speeds and heights of the weights we get the kinetic and potential energy:
Lengths are in metres, in kilograms, is the gravitational acceleration in m/s², and energy is in joules. The zero of potential energy is arbitrary; only changes in it affect the motion. The last term in , with the cosine of the angle difference, is what couples the two arms.
There is no friction, so the total energy is conserved. The equations of motion follow from the Lagrangian :
These are Lagrange’s equations. They are Newton’s laws in disguise, written in terms of angles instead of forces and coordinates.
More: the equations the simulation solves
For two equal masses let . The angular accelerations (two dots) are written with the numerators and :
The acceleration of each arm depends on the state of both. You don’t need to memorise these to follow the experiment.
What the divergence chart shows
The chart compares the first and last pendulums by both angles and velocities:
Angle differences are wrapped to the range to , so a full turn counts as no difference. The time scale lets angle and angular-velocity differences be added together. So is a dimensionless measure of how different the states are. It isn’t the distance between the weights in metres; that one is shown separately.
A phase chart plots an arm’s angle against its angular velocity. It shows how the state changes even when the weights sit in similar places. The line breaks when the angle passes ±180°, which is how a full turn is drawn.
How the model works
Each weight is 1 kg. The rods are massless and rigid, there is no friction, and m/s². The pendulums start at rest. The spread setting is the full difference in lower-arm angle between the first and last pendulum, with the rest evenly spaced in between.
The motion is computed with the fourth-order Runge-Kutta method, step 1/240 of a model second. The charts keep the last 30 seconds. Numerical integration has errors, and they build up over long runs.
The chart is handy for comparing regimes, but it isn’t the Lyapunov exponent. Growth on it doesn’t prove chaos by itself, and the computed path isn’t an exact forecast for a real pendulum over unlimited time.
Sources and further reading
myPhysicsLab: Double Pendulum ↗: an independent explanation of the geometry and a derivation of the equations of motion.
Experiment video
Double pendulum
Watch the short video, then try changing the model’s parameters yourself.
Video in Russian
Watch on YouTube