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 . The top panel shows the live oscillator response (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 , just below for non-zero damping. For small damping the peak amplitude is approximately times . Slide across the peak and watch the response grow and contract; raise to broaden the peak.
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.