Skip to main content
Sandbox Physics

Chaos · nonlinear dynamics

Double Pendulum

An RK4-integrated 3D metal mechanism, with a velocity arrow and luminous tip trail preserving the motion in space. A violet twin starts one-thousandth of a degree away on a parallel layer; watch how long it shadows the original.

Interactive modelDouble Pendulum
Time0.0 s
Total energy0.00 J
Tip speed0.00 m/s
Twin gap0.00°

Physics tutorial

Double pendulum: from deterministic motion to chaos

BackgroundA simple pendulum is approximately a stable oscillator. Adding a second rod couples two angles nonlinearly through gravity and inertia.

Why it mattersIt is the smallest useful model for seeing why weather, orbits, and complex systems can obey exact equations yet resist long-term prediction.

Start with the essentials

Focus question
Why do two nearly identical double pendulums eventually follow completely different paths?
One-sentence intuition
Chaos is not randomness; nonlinear dynamics exponentially amplify tiny initial errors.

Core mathematical model

Energy constraint without damping

E=T+UconstantE=T+U\approx\text{constant}

Kinetic and potential energy exchange continuously. Significant drift usually reveals damping or integration error.

Separation of nearby paths

δ(t)δ0eλLt\delta(t)\approx\delta_0e^{\lambda_{\mathrm L}t}

A positive Lyapunov exponent makes initial differences grow exponentially and sets a prediction horizon.

Common difficulties

Chaos is not randomness

Typical misconceptionAn irregular path means no deterministic equation exists.

Better mental modelThe same equations govern every instant; uncertainty enters because initial conditions have finite precision.

Conserved energy does not imply periodicity

Typical misconceptionIf total energy is fixed, the trajectory must repeat.

Better mental modelA conserved quantity restricts the accessible state space but does not force a closed path.

Run the experiment

  1. 01

    Build a predictable baseline

    Choose Gentle, reduce damping to zero, and reset.

    What to observe: Energy stays stable and motion is nearly periodic.
  2. 02

    Enter the nonlinear regime

    Switch to Chaotic and keep the tip trail visible.

    What to observe: Flips and nonrepeating paths appear.
  3. 03

    Measure sensitive dependence

    Enable the twin offset by only 0.001 degrees.

    What to observe: The systems overlap at first and then separate rapidly.