Skip to the page
Explorable Illusions

See for yourself — then run it 100,000 times.

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
Paths of two lower masses, starts 0.001 degree apart: they overlap for 7 seconds, then trace different loops.

Open the diagram full size

Path of the lower mass for two runs released from 120°, one with the upper rod 0.001° further over. Left: the first 7 seconds. Right: 7 to 12 seconds."Double pendulum: two starts 0.001° apart, path of the lower mass" by Explorable Illusions — https://explorableillusions.com/simulations/double-pendulum/ — CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

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

Two 1 m rods with 1 kg masses, both tilted 120 degrees from straight down; angles theta1 and theta2 marked.

Open the diagram full size

The model: two rigid 1 m rods with no mass of their own, a 1 kg mass at each joint, gravity 9.81 m/s², no friction. Both rods start at 120° from straight down, at rest."Double pendulum model and start position" by Explorable Illusions — https://explorableillusions.com/simulations/double-pendulum/ — CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

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°.

Illustration: a two-part pendulum hanging at rest from a fixed pivot on a wooden frame.
Illustration of a double pendulum: one pendulum hung from the end of another, swinging in a single vertical plane.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.

How fast do the two swings part?

Log-scale gap between two runs starting 0.001 degree apart: it climbs past 10 degrees at 9.4 seconds.

Open the diagram full size

Gap between the two upper-rod angles, on a log scale, for starts 0.001° apart from 120°. The dashed line marks 10°. Past about 15 seconds, exact values depend on the step size."Gap between two double pendulum runs 0.001° apart" by Explorable Illusions — https://explorableillusions.com/simulations/double-pendulum/ — CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

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?

Log-scale gap over 60 s: the 120-degree pair passes 10 degrees by 10 s; the 5-degree pair stays within about 0.001 degree.

Open the diagram full size

Gap between the two upper-rod angles over 60 seconds: starts 0.001° apart from 120° and from 5°, log scale. For the 120° pair, exact values past about 15 seconds depend on the step size."Double pendulum: gap for 5° and 120° starts over 60 s" by Explorable Illusions — https://explorableillusions.com/simulations/double-pendulum/ — CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

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?

Relative energy change of both simulated runs stays under 4 parts per billion over 20 seconds.

Open the diagram full size

Size of the change in total energy over 20 seconds, in parts per billion of the starting energy, for the 120° and 5° runs."Double pendulum: energy drift of the simulation" by Explorable Illusions — https://explorableillusions.com/simulations/double-pendulum/ — CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

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

StartNudge to upper rodStepResult
120°0.001°0.001 smore than 10° apart at 9.436 s
120°0.001°0.0005 smore than 10° apart at 9.436 s
120°0.001°0.00025 smore than 10° apart at 9.436 s
5°0.001°0.001 slargest gap in 60 s: 0.0010068°
120°0.000001°0.001 smore than 10° apart at 12.040 s
120°0.000000001°0.00025 smore than 10° apart at 17.112 s
120°none; steps 0.001 s and 0.0005 sbothmore 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

Upper-rod angle of two runs 0.001 degree apart; the curves overlap, then split at 9.4 seconds.

Open the diagram full size

Before: upper-rod angle of two runs released from 120°, one nudged 0.001°. Step 0.001 s. Past about 15 seconds, exact values depend on the step size."Double pendulum: upper-rod angle, nudge 0.001°" by Explorable Illusions — https://explorableillusions.com/simulations/double-pendulum/ — CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)
Upper-rod angle of two runs 0.000000001 degree apart; the curves overlap, then split at 17.1 seconds.

Open the diagram full size

After: the same two runs with the nudge shrunk to 0.000000001°. Step 0.00025 s. After the curves part, exact values depend on the step size."Double pendulum: upper-rod angle, nudge 0.000000001°" by Explorable Illusions — https://explorableillusions.com/simulations/double-pendulum/ — CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

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

  1. 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
  2. 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

  • Grid with the Gosper glider gun in purple across the top and three five-cell gliders in green trailing down to the right.
    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/)

  • A huge flock of starlings at dusk over reeds and water, with a denser knot on the right and a looser band above.
    Explorable Simulations

    Murmuration: 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/)

  • Illustration: night traffic, every car's lights crowding into one narrow middle road.
    Explorable Simulations

    Braess 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.