Coupled Oscillators
A coupled oscillator system is one of the most fundamental models in classical mechanics. Take two masses connected by springs to each other and to fixed walls, and you get a surprisingly rich set of behaviours: energy sloshes back and forth between the masses, new collective frequencies emerge, and the system can oscillate in coordinated patterns called normal modes.
The Setup
Consider two masses and connected by three springs with spring constants , , and :
Let and denote the displacement of each mass from its equilibrium position. The spring couples the two masses together --- without it, they would oscillate independently.
Equations of Motion
Applying Newton's second law to each mass:
The first mass feels a restoring force from its wall spring () and from the coupling spring () which depends on the relative displacement between the two masses. The second mass similarly feels its wall spring () and the coupling spring, but with the opposite sign.
Normal Modes
A normal mode is a pattern of motion in which all parts of the system oscillate at the same frequency. For two coupled oscillators there are exactly two normal modes:
-
Symmetric (in-phase) mode --- both masses move in the same direction at the same time. The coupling spring is neither stretched nor compressed, so only the wall springs matter.
-
Antisymmetric (out-of-phase) mode --- the masses move in opposite directions. The coupling spring is maximally stretched or compressed, raising the effective stiffness and hence the frequency.
For the special case of equal masses () and equal wall springs (), the normal-mode frequencies are:
Beats and Energy Transfer
When you displace only one mass and release the system, neither normal mode is excited in isolation --- instead, both are superimposed. Because the two modes have slightly different frequencies, they go in and out of phase over time, producing beats. You will see the first mass gradually come to rest while the second mass picks up all the energy, and then the process reverses. The beat frequency is:
A weak coupling spring () produces slow beats with a long energy-transfer period, while a strong coupling spring leads to rapid exchange.
Things to Try
-
Classic beats --- Use the defaults (, , ). Only Mass 1 is displaced. Watch energy flow back and forth between the two masses.
-
Equal masses --- Set both masses to 1.0 and both wall springs to 1.0. The beat pattern becomes perfectly periodic, and the energy transfer is complete (one mass stops entirely at the beat minimum).
-
Strong coupling --- Increase to 3 or higher. The beat frequency rises and the energy exchange happens much faster.
-
Weak coupling --- Lower toward 0.1. The beats slow down dramatically, and the masses oscillate almost independently.
-
In-phase mode --- Set both initial displacements to 1.0 (equal sign and magnitude). If the masses and wall springs are equal, the coupling spring is never stretched and both masses oscillate at the same frequency forever.
-
Out-of-phase mode --- Set the initial displacements to 1.0 and . The coupling spring is maximally active, and the system oscillates at the higher antisymmetric frequency.
-
Asymmetric springs --- Try , . The two normal modes are no longer simple symmetric/antisymmetric patterns, and the energy transfer is incomplete.
Why It Matters
Coupled oscillators appear throughout physics. Atoms in a crystal lattice behave as coupled oscillators, giving rise to phonons --- the quantum of lattice vibration. Molecular vibrations in chemistry, the response of coupled electrical circuits, and even the synchronisation of pendulum clocks on a shared beam are all instances of the same underlying mathematics. Understanding two coupled oscillators is the first step toward understanding waves, normal modes of continuous systems, and ultimately quantum field theory.
A note on the numerics --- This simulation uses Euler integration with a fixed step of over 5 000 steps (50 seconds of simulated time). Euler's method is not energy-conserving, so you may notice a slow drift in amplitude over long runs. For more accurate results, a symplectic integrator (such as Verlet or leapfrog) would be preferable.