Digital Physics Laboratory

PHYSICS LAB / 06

Double Pendulum

Nonlinear Dynamics · Energy Transfer · Chaos

Interactive simulation
Explore the coupled motion of two pendulums and investigate how small changes in initial conditions can produce dramatically different trajectories. Angles are absolute from the downward vertical; positive angles point to the right. The rods are massless and inextensible, and each bob is a point mass.

Simulation stage

Time 0.000 s
Status PausedIntegrator RK4Physics step 0.002 sHistory 0

Each single step advances the selected physics timestep. Playback clamps long frame delays to 50 ms and caps catch-up at 300 steps per frame; excess wall-clock delay is discarded rather than causing a sudden physics jump.

Angles vs time · degrees

θ₁ solidθ₂ solidPerturbed θ₁ dashed

Angular velocity vs time · rad/s

ω₁ solidω₂ dashed

Energy vs time · joules

T solidU dashedE dotted

Bob separation · sensitivity · metres

Upper bobLower bob dashed

Model, equations, and interpretation

Two massless rigid rods and two point masses form a coupled mechanical system. The lower bob changes the torque and acceleration of the upper rod, while both rods exchange kinetic and gravitational potential energy.

The model uses absolute angles measured from vertically downward. Positive θ points to the right (counterclockwise from the downward direction); canvas y is inverted only during drawing. For zero damping, total mechanical energy should remain approximately constant, with residual drift from finite-step RK4 integration. Positive viscous damping removes energy physically, so that decrease is not numerical error.

The equations are deterministic and nonlinear through sine, cosine, and angular-velocity products. Two nearby initial states may diverge, especially for energetic configurations. Such sensitivity is associated with chaos, but a visual divergence alone does not establish mathematical chaos.

Δ = θ₁ − θ₂; D = 2m₁ + m₂ − m₂ cos(2Δ)
α₁ = [−g(2m₁+m₂)sinθ₁ − m₂g sin(θ₁−2θ₂) − 2m₂ sinΔ(ω₂²L₂ + ω₁²L₁cosΔ)] / (L₁D)
α₂ = [2sinΔ(ω₁²L₁(m₁+m₂) + g(m₁+m₂)cosθ₁ + ω₂²L₂m₂cosΔ)] / (L₂D)
T = ½(m₁+m₂)L₁²ω₁² + ½m₂L₂²ω₂² + m₂L₁L₂ω₁ω₂cosΔ
U = −(m₁+m₂)gL₁cosθ₁ − m₂gL₂cosθ₂; E = T + U

Angular momentum about the upper pivot is not reported as conserved: gravity supplies external torque about that pivot. Measurements are computed from the numerical state, while plots and displayed positions are finite-step numerical approximations to the continuous model.