Sub topic 16
Forced oscillations and resonance
This chapter assumes you know the damped oscillator equation m x'' + b x' + kx = 0, the natural angular frequency ω₀ = √(k/m), and the quality factor idea from the previous chapters. Here we add an external periodic force and ask how the system responds.
Driving an oscillator
A damped oscillator left alone loses energy and stops. To keep it moving, apply a periodic driving force F₀ sin(ω_d t). The equation of motion becomes:
m x'' + b x' + kx = F₀ sin(ω_d t)
Here ω_d is the driving angular frequency, which you choose. It is separate from ω₀, the natural angular frequency of the oscillator.
The motion has two parts:
- A transient part that oscillates at the damped natural frequency and dies out as e^(−bt/2m).
- A steady-state part that continues as long as the force acts.
After the transient fades, the system oscillates at the driving frequency ω_d, not at its natural frequency. Its amplitude is constant.
Steady-state amplitude
The steady-state solution is x = A sin(ω_d t + φ), with amplitude:
A = F₀ / √( m²(ω₀² − ωd²)² + b² ωd² )
Look at the two terms under the root.
- When ω_d is far from ω₀, the first term is large and A is small.
- When ωd is close to ω₀, the first term nearly vanishes. Only the damping term b²ωd² remains, so A is large.
At ω_d ≈ ω₀ the amplitude is about F₀/(b ω₀). This is resonance: the amplitude peaks when the driving frequency matches the natural frequency. For weak damping, the peak sits very close to ω₀.
The values are illustrative. They show the shape: less damping gives a taller and narrower peak.
Why the peak occurs
At resonance the driving force is in step with the velocity. The force then does positive work during every part of the cycle, and the oscillator gains the most energy. The energy gained per cycle grows with amplitude, and so does the energy lost to damping. The amplitude stops growing when the two are equal.
This also explains the role of damping:
- With b = 0, nothing removes energy at resonance, and the amplitude would grow without limit in theory.
- A larger b lowers and broadens the peak.
- A high quality factor Q means a sharp resonance.
Checking it numerically
This program evaluates the amplitude formula for several driving frequencies, using the values from earlier chapters (m = 0.5 kg, k = 200 N/m, so ω₀ = 20 rad/s).
import math
m, k, b, F0 = 0.5, 200.0, 2.0, 1.0
omega0 = math.sqrt(k / m)
def amplitude(wd):
return F0 / math.sqrt(m**2 * (omega0**2 - wd**2) ** 2 + (b * wd) ** 2)
for wd in (10.0, 18.0, 20.0, 22.0, 30.0):
print(wd, round(amplitude(wd), 5))The largest amplitude appears at ω_d = 20 rad/s, which equals ω₀. At this frequency A = F₀/(bω₀) = 1/(2 × 20) = 0.025 m.
Common errors
- The system does not oscillate at ω₀ in the steady state. It follows ω_d.
- Resonance does not require large force. A small force at the right frequency builds a large amplitude.
- A heavily damped system has almost no sharp resonance.
Exercise
A block of mass 0.5 kg on a spring of constant 200 N/m is driven by a force F₀ sin(ω_d t), with a small damping constant. At what driving angular frequency is the amplitude largest, and what happens to the peak if b is doubled?
Show answer
The amplitude is largest near ω_d = ω₀ = √(k/m) = √(200/0.5) = 20 rad/s. At resonance A ≈ F₀/(bω₀), so doubling b halves the peak amplitude, and the resonance curve becomes broader.
Exercise
After the transient has died out, at what frequency does a driven damped oscillator move?
Show answer
It moves at the driving frequency ω_d, not at its natural frequency ω₀.