PHYSICS LAB / 06
Double Pendulum
Nonlinear Dynamics · Energy Transfer · Chaos
Simulation stage
Time 0.000 sEach 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
Angular velocity vs time · rad/s
Energy vs time · joules
Bob separation · sensitivity · metres
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.
α₁ = [−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.