Differential Equations · Resonance

Resonance

Resonance is the large response of an oscillator driven by a periodic force near its natural frequency. The swing grows until the energy the force puts in each cycle equals what damping takes out.

Resonance in this visualization

Resonance is the large swing of an oscillator pushed by a periodic force at a frequency close to its own. Here a mass hangs on a spring, a damper slows it, and a force F0cos⁡ωtF_0\cos\omega t pushes it. The page records the swing cycle by cycle, shows when each push feeds energy in, and compares the result with the steady response at every drive frequency.

The driven, damped oscillator
x′′+2ζω0x′+ω02x=F0mcos⁡ωtx'' + 2\zeta\omega_0 x' + \omega_0^2 x = \frac{F_0}{m}\cos\omega t

The drive frequency is r=ω/ω0r = \omega/\omega_0, displacement is in units of the static deflection xst=F0/kx_{\mathrm{st}} = F_0/k, and time is in natural periods T0T_0. With damping, the motion from rest is a steady swing at the drive frequency plus a free response that dies away. The yellow points mark the largest ∣x∣|x| in each drive cycle. They approach the steady amplitude as the free part fades, sometimes rising and falling on the way.

The strip under the record is the power P=FvP = F v. A push adds energy when it points the way the mass is moving. In the damped steady swing at r=1r = 1 the mass lags the force by exactly a quarter cycle, so the force is in step with the velocity and every push feeds energy in. In a steady swing away from r=1r = 1 the force works against the motion for part of each cycle, shown hatched. Far from r=1r = 1 that part approaches half the cycle, and the work nearly cancels.

Why does the swing stop growing? Take a sinusoidal swing of amplitude AA that lags the force by a quarter cycle, as the steady swing at r=1r = 1 does. In one cycle the force puts in πF0A\pi F_0 A, and the damper, with coefficient cc, takes out πcωA2\pi c\omega A^2. Input grows with AA and loss with A2A^2, so they balance at a single amplitude, A=xst/(2ζ)A = x_{\mathrm{st}}/(2\zeta). While the swing builds, the energy account shows each cycle's actual input, loss and change in stored energy.

The steady amplitude
Axst=1(1−r2)2+(2ζr)2\frac{A}{x_{\mathrm{st}}} = \frac{1}{\sqrt{(1 - r^2)^2 + (2\zeta r)^2}}

Less damping makes the peak higher and narrower. With ζ>0\zeta > 0 the mean input power is at least half its peak over a band of drive frequencies exactly 2ζ2\zeta wide, the half-power width marked on the chart. The displacement peaks below r=1r = 1, at r=1−2ζ2r = \sqrt{1 - 2\zeta^2}, as long as 0<2ζ2<10 < 2\zeta^2 < 1.

With weak damping the free part oscillates at its own frequency, ωd=ω01−ζ2\omega_d = \omega_0\sqrt{1 - \zeta^2}. When that is close to the drive frequency but not equal, the two drift in and out of step, so the record rises and falls in beats. The beats fade as damping removes the free part. Without damping nothing removes it and the motion never settles. For r≠1r \ne 1 the curve then gives the amplitude of a periodic motion that the run does not approach; at r=1r = 1 the swing grows without limit.

Things to notice

  • The red arrow is the force as F/kF/k, drawn on the displacement scale, so at full length it reaches xstx_{\mathrm{st}}. Beside a resonant swing it looks tiny.
  • The curves and the blue point are the steady state. The yellow points are what this run measured, cycle by cycle, so while the motion settles they need not lie on the curve.

Controls

  • Changing rr or ζ\zeta does not restart the run. The motion continues from its current state, and with damping it approaches the new steady state. From rest clears the record.
  • Press anywhere on the response or phase chart to set the drive frequency there. Near r=1r = 1 it holds at exactly 1.

Related