› Double Pendulum Chaos Simulator Back
Chaos Dynamics Simulator

Double Pendulum Chaos Simulator

Adjust lengths, masses, and initial angles to compare double-pendulum motion computed with RK4. The sensitivity twin offsets only the second initial angle by 0.001 rad. Trajectory separation alone does not establish chaos.

Detailed calculation / original view

Shares inputs with the main view. Motions shown are separate.

Presets
L₁
m
L₂
m
m₁
kg
m₂
kg
θ₁
°
θ₂
°
Model damping
Presets
Controls
Large-angle example
Live results
0.00
t [s]
—
θ₁ [°]
—
θ₂ [°]
—
ω₁ [rad/s]
—
ω₂ [rad/s]
—
Total energy [J]
—
Separation Δ [m]
Pendulum and sensitivity twin
Trail A Trail B Pendulum A Sensitivity twin
Blue: main pendulum; red: twin with initial θ₂ offset +0.001 rad. Separation depends on the initial conditions.
Large angles do not guarantee chaos. The twin starts with θ₂ offset by 0.001 rad and follows the same equations. Displayed separation is not a measured Lyapunov exponent.
Energy (KE / PE / total)
Kinetic KE
— J
Potential PE
— J
Total E
— J
With zero damping the ideal model conserves total energy; numerical integration has finite error.
Theory & Key Formulas

$L = T - V$

$T$:kinetic energy, $V$:gravitational potential

Coupled ODEs: $\ddot{\theta}_1, \ddot{\theta}_2$ integrated with RK4

Separation $\Delta(t)$ may initially follow $\Delta(t)\approx\Delta_0\,e^{\lambda t}$ ($\lambda$ = positive Lyapunov exponent), but only in a chaotic regime.

How to use, examples, FAQ

Legacy display explanation. The main view accumulates real-time differences and pauses when you leave the tab.

How to use & worked examples

Reset restores the chosen angles, zero angular velocities and time zero. Length, mass and initial-angle changes reinitialize the state; damping applies to the current motion. Toggle the sensitivity twin to compare both trajectories.

With L₁=L₂=1 m, m₁=m₂=1 kg and θ₁=θ₂=0°, the main pendulum stays still: KE=0 J and PE=E=−29.43 J. Released at rest with both angles 60°, its initial energy is −14.715 J.

myPhysicsLab: double-pendulum equations and energy

Model & applicability

A double pendulum is solved by RK4 integration of the coupled ODEs for θ̈₁ and θ̈₂ derived from the Lagrangian L = T − V (T = kinetic energy, V = gravitational potential). Depending on the initial conditions, motion can be regular or chaotic. The sensitivity twin lets you compare a small initial-angle perturbation.

The model uses massless rigid rods, point masses and g=9.81 m/s². Angles are measured from vertically downward. RK4 uses steps no greater than 0.002 s, further limited by angular rates, mass ratio and length. Display time follows frame intervals, capped at 0.05 s per frame after stalls or tab return.

Damping is a model −dω term in angular acceleration, not calibrated aerodynamic or bearing friction. PE may be negative because its reference height is the pivot. Large angles do not prove chaos; long trajectories are also sensitive to integration error. Do not use the results as structural safety or hardware-control design values.

Frequently asked questions

Is negative total energy an error?

Potential energy is zero at the pivot height, so potential and total energy can be negative when the masses are below it. Kinetic energy is nonnegative. To assess conservation, inspect changes in total energy with zero damping and distinguish numerical integration error from the choice of energy reference.

Do separating trajectories prove chaos?

No. The sensitivity twin offsets the second initial angle by 0.001 rad. Separation over a finite interval alone does not prove chaos, and long trajectories are sensitive to integration error. The large-angle label is not a guarantee of chaos either.

🎬 Watch it in motion

10 Satisfying Physics Simulations That Play Their Own Music
10 Satisfying Physics Simulations That Play Their Own Music
We made them 1000x closer. It bought 3.8 seconds | Double pendulum #Shorts
We made them 1000x closer. It bought 3.8 seconds | Double pendulum #Shorts
500 pendulums, one billionth apart. Watch them split | Double pendulum #Shorts
500 pendulums, one billionth apart. Watch them split | Double pendulum #Shorts
It never draws the same pattern twice | Double pendulum #Shorts
It never draws the same pattern twice | Double pendulum #Shorts
Exact laws, unreadable future | Double pendulum #Shorts
Exact laws, unreadable future | Double pendulum #Shorts
One pendulum is fully predictable | Double pendulum #Shorts
One pendulum is fully predictable | Double pendulum #Shorts
Exponential divergence = chaos | Double pendulum #Shorts
Exponential divergence = chaos | Double pendulum #Shorts
A thousandth grows apart | Double pendulum #Shorts
A thousandth grows apart | Double pendulum #Shorts