Skip to content

⚖️ Pendulum wave

JavaScriptThree.js

🎯 Illustration of a pendulum wave
⭐ Based on the VPython PendulumWave and inspired by www.dynamicmath.xyz

θ(t)=θ0cos(gLt), where L=gT24π2\theta(t)=\theta_0 \cos \bigg( \sqrt{ \frac {g} {L}} t \bigg)\text{, where }L = \frac{g T^2}{4\pi^2}
Source

At first glance the pendulum wave looks chaotic, but it is actually a perfectly designed periodic motion!

The key idea:

👉 Each pendulum has a slightly different period, chosen very carefully.

Each of the pendulum’s period is carefully chosen

Ti=TpwN+iT_i = \frac{T_{pw}}{N + i}

where TpwT_{pw} is the period of the pendulum wave. As a consequence, after a time TpwT_{pw}:

number of oscillations=TpwTi=N+i\text{number of oscillations} = \frac{T_{pw}}{T_i} = N + i

👉 That is an integer.

So every pendulum has completed 15 swings, 16 swings, 17 swings, etc.

Because each pendulum completes an integer number of cycles, they all return to the same position with the same phase, i.e. they re-synchronize perfectly.

Between t=0t = 0 and t=Tpwt = T_{pw}:

  • Phases drift apart
  • The pattern looks like a traveling wave
  • Then becomes messy / “random”
  • Then reorganizes again

This is due to phase differences evolving linearly:

θi(t)cos(ωit), with ωi=2πTi\theta_i(t) \sim \cos(\omega_i t)\text{, with } \omega_i = \frac{2\pi}{T_i}

Although here you’re seeing many frequencies interfering in time, it’s similar to:

  • musical harmonics
  • interference patterns
  • Fourier superposition

At intermediate times:

  • Neighboring pendulums are slightly out of phase
  • This creates spatial phase gradients

Our brain interprets this as a wave traveling through the system. However, nothing is actually traveling — it’s a mere illusion.

This is a system of pendulums, where for each individual pendulum we have:

θi(t)=Acos(2πTit)\theta_i(t) = A \cos\left(\frac{2\pi}{T_i} t\right)

Because all TiT_i are chosen as:

Ti=TpwN+iT_i = \frac{T_{pw}}{N+i}

all frequencies are commensurate (rationally related). This guarantees a common period and an exact recurrence, since after a time TpwT_{pw}:

θi(t+Tpw)=θi(t)\theta_i(t + T_{pw}) = \theta_i(t)

for all pendulums.

👉 The wave comes back because every pendulum “keeps perfect count” and they all land back in sync after completing whole-number cycles.