Back

Damped, Driven Oscillator and Resonance

A mass on a spring with friction, pushed by a steady sinusoidal force: $x'' + 2\gamma x' + \omega_0^2 x = F_0 \cos(\omega t)$. Push at just the right frequency and the response spikes; push off-frequency and nothing much happens. This is resonance, and it controls radio tuning, glass shattering, and why bridges have forbidden marching frequencies.

integrated by RK4 with ω0=F0=1\omega_0 = F_0 = 1. The top panel shows the live oscillator response x(t)x(t) (cyan) against the drive (faint orange). The bottom panel is the steady-state amplitude curve

with a cursor on the current drive frequency. The resonance peak sits at ωr=ω0(12(γ/ω0)2)1/2\omega_r = \omega_0\,(1 - 2(\gamma/\omega_0)^2)^{1/2}, just below ω0\omega_0 for non-zero damping. For small damping the peak amplitude is approximately Q=ω0/(2γ)Q = \omega_0 / (2 \gamma) times F0/ω02F_0 / \omega_0^2. Slide ω\omega across the peak and watch the response grow and contract; raise γ\gamma to broaden the peak.

Figure 1. Damped driven oscillator. Method: RK4 integration of the second-order ODE with analytic steady-state amplitude curve.
$\omega$1.00
$\gamma$0.10
speed3

WHAT TO TRY

  • Sweep the drive frequency omega toward the natural omega_0: the steady-state amplitude peaks at resonance, and the response lags the drive by 90 degrees right at the peak.
  • Lower the damping gamma (higher Q): the resonance peak grows tall and narrow, so a lightly damped oscillator responds enormously to a drive near its natural frequency.
  • Watch the phase relationship in the x(t) trace: below resonance the mass moves in step with the drive, above it the mass lags by nearly 180 degrees, swinging through 90 at the peak.