Tutorial · Oscillations & Chaos

Pendulum & Chaos
Theory

From simple harmonic motion to the butterfly effect — explore pendulums from first principles using PHYSIX's spring-mass system.

Contents
  1. Simple Harmonic Motion
  2. Build a simple pendulum
  3. The double pendulum
  4. Chaos & sensitivity
  5. Key formulas

Simple Harmonic Motion

A simple pendulum oscillates with a period that depends only on its length and local gravity — not on the mass of the bob or the amplitude (for small angles). This is one of the most important results in classical mechanics.

T = 2π√(L/g)Period of a simple pendulum. L = length (m), g = 9.80665 m/s². (BINAS: trillingsleer)

PHYSIX implements pendulums using a spring force with a very high stiffness (k ≈ 40–80 N/m) connecting the bob to a pinned anchor. For small angles, this is equivalent to a rigid rod pendulum.

Build a Simple Pendulum

Clear & switch to Surface mode

Click 🗑 CLEAR, then click 🏔 Surface in the topbar to move to a Earth-surface viewport.

Add an Anchor

Drag a 🔵 Sphere to the top of the canvas. In Properties, set mass = 1×10³⁰ and check Pinned. This is your pivot. Rename it "Pivot".

Add the Bob

Drag another 🔵 Sphere below the pivot. Set mass = 1 kg, radius = 0.16 m. Position it exactly 2 m below the pivot on the y-axis.

Apply gravity to the Bob

From the GRV force tab, drag Uniform g onto the bob. Set gy = −9.80665 m/s².

Connect with a Spring

From the MCH force tab, drag Spring onto the bob. Set target = Pivot, k = 40 N/m, L₀ = 2 m, damping = 0.1.

Displace & Release

Drag the bob 0.3 m to the right. Press ▶ PLAY. Measure the period with the simulation clock — compare it to T = 2π√(2/9.8) ≈ 2.84 s.

PHYSIX shortcut Scroll to Oscillations → ⏱ Pendulum in the Presets panel to load this exact setup in one click.

The Double Pendulum

A double pendulum is two pendulums connected end-to-end. For small angles it behaves predictably, but at larger amplitudes it becomes one of the simplest examples of deterministic chaos in nature.

Load the preset

In Presets → Oscillations, click 🌀 Double Pendulum. PHYSIX loads two spring-connected bobs with a shared pivot.

Press Play & observe

At small angles the motion looks nearly periodic. Let it run for 10–20 seconds and watch the trail pattern build up.

Increase the amplitude

Reset and drag the outer bob to a near-horizontal position. Press Play. The motion quickly becomes irregular — this is chaos.

Sensitivity to Initial Conditions

Chaos means that tiny differences in starting position lead to wildly different outcomes over time. This is not randomness — the system is fully deterministic — but it is unpredictable in practice.

Experiment Load the double pendulum preset twice in two browser tabs. In one tab, change the x-position of the outer bob by just 0.001 m. Press Play simultaneously in both tabs. Within ~30 seconds the two trajectories diverge completely. This is the butterfly effect.

The rate at which nearby trajectories diverge is measured by the Lyapunov exponent λ. For a double pendulum at large amplitude, λ > 0, confirming chaotic behaviour.

|δZ(t)| ≈ e^(λt) · |δZ₀|Lyapunov exponent λ measures divergence of nearby trajectories. λ > 0 = chaos.

Key Formulas

T = 2π√(L/g)Period of a simple pendulum (small angle approximation)
f = 1/T = (1/2π)√(g/L)Frequency of oscillation in Hz
E = ½mv² + mghTotal mechanical energy (conserved in undamped pendulum)
Next tutorial Explore orbital mechanics in the Solar System tutorial →