BLOG · UPDATED 2026-06-28
Double Pendulum Chaos: Why Tiny Differences Explode
A double pendulum looks simple: two rods, two masses, gravity and two angles. The surprise is that this small system can become wildly sensitive. Change the second angle by a thousandth of a degree and the later path can split into a visibly different motion.
That is why the Double Pendulum Chaos Visual Lab does not only draw a moving-looking curve. It shows the equations, integrates them numerically, checks energy drift and runs a twin initial condition so the divergence is measured instead of hand-waved.
The Model
The tool uses the standard ideal double-pendulum model: two point masses connected by massless rigid rods moving in a vertical plane. The state is theta1, omega1, theta2, omega2. Angles are measured from vertical. The angular acceleration terms depend on both angles and both angular velocities, which is one reason the system becomes unintuitive quickly.
The model is exact for that idealized setup. The path is not closed-form. The visible trajectory is a numerical RK4 approximation, and the receipt states that boundary directly.
Why Tiny Differences Explode
Chaotic systems are deterministic but sensitive. The same equations can send two nearly identical starts into different later states. The lab makes that concrete by launching a second trajectory with theta2 + delta_theta. It then reports initial distance, final distance, max distance and a finite-time Lyapunov-style proxy.
This proxy is not a formal theorem. It is a practical diagnostic for the chosen time window. If the distance grows rapidly, the visual result should be read as sensitive. That is a better teaching artifact than a single pretty curve.
Why Energy Drift Matters
In the undamped ideal model, total mechanical energy should stay nearly constant. Numerical integration can still drift. A large drift means the chosen time step is too coarse or the path is becoming numerically fragile. That is why the tool reports relative energy drift beside the SVG.
This is the same principle used in the Three-Body Gravity Visual Lab: a visual physics tool should include an integrity metric, not only a visual output.
How To Use The Lab
- Open the Double Pendulum Chaos Visual Lab.
- Run the chaotic sample first so you can see a known sensitive case.
- Change
theta1_deg,theta2_deg,dtordelta_theta_deg. - Compare the phase portrait, divergence plot and energy drift.
- Download the SVG, CSV or Markdown notes when the result needs to be reused.
What This Does Not Prove
The lab is an educational and editorial artifact. It is not a safety-critical robotics simulator, a physical certification tool or a closed-form solution. Smaller dt usually improves conservation but increases compute. Damping changes the energy story because energy is intentionally removed from the system.
Used correctly, the tool gives a rare combination: a visual story, formulas, numerical integrity checks and reusable exports. That is the kind of workflow FastTool should keep building.