Double Pendulum: In a Model, 120° Runs 0.001° Apart Diverge
Explorable Illusions · Published
Two pendulums start a thousandth of a degree apart, then swing in different directions. In this page’s double pendulum model, with two 1 m rods, two 1 kg masses, no friction and no randomness, two releases from 120° have upper rods more than 10° apart after 9.4 seconds. Released from 5°, they stay within about 0.001° for a full minute. A 2023 study by Santiago Cabrera, Edson Leonel and Arturo Martí reports the same split: regular motion at low energy, mostly chaotic motion in a middle range.
Protocol · 4 parts
At a glance
- Name
- Double pendulum
- Also called
- Planar double pendulum; coplanar double pendulum
- First recorded
- No first source was traced for this page
- Type
- Mechanical system: two pendulums hung end to end, swinging in one vertical plane
- Main explanations
- No rival accounts: the equations hold no randomness, but at mid-range energies tiny differences in the start grow until the motions no longer match (chaos), while small swings stay regular.
- On this page
- Static figures and recomputable data: pairs of runs 0.001 degree apart from 120 and 5 degrees, energy checks and step-size checks
double-pendulum-glance.csv (CSV) · what the file holds and its license
Look at the left panel first and try to find the second path. It is there, dashed, almost on top of the first. On this page, the gasp point is the right panel: same equations, same masses, and after 7 seconds the two paths no longer share a loop.
Same equations, two starts
A double pendulum is one pendulum hung from the end of another, swinging in a single vertical plane. Two angles describe it completely: θ1 for the upper rod and θ2 for the lower one, each measured from straight down. The program writes down the energy of the two masses and uses the Lagrange method, a standard way of turning energy into equations of motion, to get two equations for how each angle speeds up.
The program steps those equations forward 0.001 seconds at a time with the fourth-order Runge–Kutta method, a common way to solve such equations on a computer. Nothing in the equations is random, so the same start always gives the same swing. The two runs on this page differ in one number only. Run B starts its upper rod at 120.001° instead of 120°.

How fast do the two swings part?
For the first few seconds the gap wobbles around a thousandth of a degree. Then it climbs in bumps and crosses 10° at 9.436 seconds. That is a 10,000-fold growth in under ten seconds. Fast growth fools intuition in the birthday paradox too, where the number of pairs in a room grows much faster than the number of people.
After that the gap stops climbing steadily and jumps around, because the rods can flip over the top and wind past a full turn. The gap passes 100° at 10.3 seconds. Past about 15 seconds, the exact values in these charts depend on the step size, as Now break it shows.
Cabrera and colleagues describe this sensitivity to the starting conditions as a key sign of chaos. Chaos here does not mean randomness. It means a rule that is exact at every step but turns a tiny error in the start into a large error later. The flocking rules behind a murmuration model are also exact at each step, and the double pendulum shows how little room such rules can leave for prediction.
Why do small swings stay in step?
Release the same pair from 5° instead of 120° and the gap never takes off. Over 60 seconds its largest value is 0.0010068°, barely above the 0.001° it started with.
Small swings make the double pendulum close to a linear system, in which the motion is a mix of two steady rhythms. With these settings the two rhythms repeat every 2.62 seconds and every 1.09 seconds.
The difference is energy: measured from the position where both masses hang straight down, the 5° start has 0.112 joules and the 120° start has 44.1 joules. Cabrera and colleagues used the same lengths, masses and gravity: 1 m, 1 kg and 9.81 m/s². They found the chaotic share close to zero as the energy approaches zero, nearly all of their sampled starts chaotic above about 25 joules, and the chaotic share falling again from about 100 joules. The two runs on this page are single examples, consistent with that pattern.
Can the numbers be trusted?
A program can make a pendulum look chaotic simply by being wrong. Three checks guard against that here. First, without friction the total energy must stay fixed, and over 20 seconds the simulated energy of the 120° run drifted by about 3.2 parts per billion at most.
Second, the step size was halved and then quartered, and the 120° pair still parted at 9.4 seconds each time. Third, the page’s equations were compared with the closed-form equations published on myphysicslab.com by Erik Neumann. At 2,000 test states, the largest disagreement was about 2.8 × 10⁻¹⁴ rad/s², which is rounding error.
These checks cover the model, not a real pendulum. Real rods bend and real joints have friction, so the numbers here describe the equations, not any particular machine on a lab bench.
Check it yourself
| Start | Nudge to upper rod | Step | Result |
|---|---|---|---|
| 120° | 0.001° | 0.001 s | more than 10° apart at 9.436 s |
| 120° | 0.001° | 0.0005 s | more than 10° apart at 9.436 s |
| 120° | 0.001° | 0.00025 s | more than 10° apart at 9.436 s |
| 5° | 0.001° | 0.001 s | largest gap in 60 s: 0.0010068° |
| 120° | 0.000001° | 0.001 s | more than 10° apart at 12.040 s |
| 120° | 0.000000001° | 0.00025 s | more than 10° apart at 17.112 s |
| 120° | none; steps 0.001 s and 0.0005 s | both | more than 10° apart at 15.108 s |
Angles, gaps and energy drift of four pairs of runs, sampled every 0.05 s or 0.1 s (CSV) · what the file holds and its license
The separation file lists one claim per row, including the starting energies, the equation comparisons and every step-size test.
Separation times, gaps, energy drift and equation checks (CSV) · what the file holds and its license
Now break it
Try to keep the two runs together by measuring the start better. Shrink the nudge from 0.001° to 0.000001°, a thousand times smaller, and the rods part at 12.0 seconds. Shrink it a million times, to 0.000000001°, and they part at 17.1 seconds. A million-fold better start bought 7.7 seconds.
The gap grows by multiplying, so in these runs each thousandfold gain in precision bought only a few more seconds before the gap reached 10°: 2.6 seconds for the first, 5.1 for the second.
At that level the step size itself acts as a nudge. With 0.001-second steps the tiniest nudge gave 17.6 seconds, and only smaller steps settled the answer near 17.1. Run one start twice, once with 0.001-second steps and once with 0.0005-second steps, and the two runs part at 15.1 seconds. A coin in the gambler’s fallacy is the reverse case: each flip is unpredictable, yet the long-run share is easy to state.
Try this next: Conway’s Game of Life — another exact rule with no randomness, where 36 live cells make a gun that keeps firing gliders.
Sources
- Santiago Cabrera, Edson D. Leonel and Arturo C. Martí, “Regular and chaotic phase space fraction in the double pendulum,” arXiv:2312.13436v1 [nlin.CD], 20 December 2023. https://arxiv.org/abs/2312.13436Read: full text of version 1
- Erik Neumann, “Double Pendulum,” myPhysicsLab (first published February 2002, page revised 19 December 2023). https://www.myphysicslab.com/pendulum/double-pendulum-en.htmlRead: full page
Cite this page
Explorable Illusions. (2026). Double Pendulum: In a Model, 120° Runs 0.001° Apart Diverge. Explorable Illusions. Published 2026-11-13. https://explorableillusions.com/simulations/double-pendulum/
Add the date you read it. Figures and CSV files on this page are CC BY 4.0 unless their credit line says otherwise.
How pages here are checked Corrections log Report an error: contact@explorableillusions.com
More in Explorable Simulations
- Explorable Simulations
Conway’s Game of Life: A Glider Gun Fires Every 30 Steps
Conway’s Game of Life in four rules: step a five-cell glider across the grid, then watch the Gosper glider gun add one glider every 30 generations.
Picture credit
"Gosper glider gun at generation 90" by Explorable Illusions — https://explorableillusions.com/simulations/game-of-life/ — CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)
Explorable SimulationsMurmuration: Starlings Track a Count, Not a Distance
In a starling murmuration, each bird reacts on average to about six or seven nearest neighbors, near or far (PNAS, 2008). Then run Reynolds’s three boids rules.
Picture credit
"Dance Of The Starlings" by Conni Nielsen — https://commons.wikimedia.org/wiki/File:Dance_Of_The_Starlings_(201781509).jpeg — CC BY 3.0 (https://creativecommons.org/licenses/by/3.0/)
Explorable SimulationsBraess Paradox: A New Road Can Make Every Trip Longer
Open a zero-minute shortcut and each of 4,000 drivers in this model network arrives 15 minutes later. See why no one goes back, and Braess's own 83 and 92.
Picture credit (illustration)
Illustration: Explorable Illusions. Generated schematic image — not a photograph, historical record, or test stimulus. Reuse: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/), to the extent any rights exist.