The second-order half of MIT 18.03 and Stanford CME 102 that the ODE chapter left open.
1. Free motion dies. The drive remains.
A door closer, a car suspension, and a building in wind are the same machine: mass, a restoring force, some friction, and an external push. The push can be a constant, a step, a bump, or — the case engineers lose sleep over — a sinusoid that never stops. The mass does not keep its natural wiggle forever. Friction eats that part. What is left is a motion at the driving frequency, with a size and a delay set by how close that frequency sits to the one the spring prefers.
2. Three ways to ring, before anyone pushes
The ODE chapter solves y″ + py′ + qy = 0 with a characteristic polynomial. For the standard oscillator it is worth naming the three outcomes, because the driven story inherits them:
- ζ < 1, underdamped: it oscillates and the amplitude decays. A car suspension is tuned here.
- ζ = 1, critically damped: it returns as fast as possible without crossing zero. A door closer aims here.
- ζ > 1, overdamped: it creeps back. Too much friction, no ring at all.
The natural frequency ωₙ is not the frequency you observe once there is damping. The observed ring is ωₙ√(1−ζ²), a little slower. For ζ = 0.1 that correction is half a percent. For a heavily damped system it is the whole story.
3. Guess a solution the same shape as the push
MIT 18.03 calls this undetermined coefficients. If the right-hand side is an exponential, a polynomial, or a sine, and it is not already a free motion, the particular solution has that same shape. The coefficients are what you solve for.
Substitute: (9A + 9A + 2A) e³ᵗ = e³ᵗ, so A = 1/20. The full solution is the free motion plus this particular piece, x = C₁e⁻ᵗ + C₂e⁻²ᵗ + e³ᵗ/20. The two exponentials with negative exponents are the transient. The growing exponential is there because the drive itself is growing — the spring is not inventing energy.
A sine is cleaner in complex form. Replace cos(Ωt) by the real part of exp(iΩt), try x = Re(G exp(iΩt)), and G comes out as a complex number whose magnitude is the gain and whose argument is the phase lag. That one algebra step is the exponential response formula in the 18.03 notes.
4. Resonance is a denominator going small
|G| is large when the denominator is small. With no damping that happens exactly at Ω = ωₙ, and the formula breaks: cos(ωₙ t) is already a free motion, so the guess has to be upgraded to t sin(ωₙ t). The amplitude then grows without bound, linearly in time. That is ideal resonance. With a little damping the peak is finite and sits slightly below ωₙ, at ωₙ√(1−2ζ²).
Beats are the near miss. Drive at 0.9 while ωₙ = 1, with no damping, and the particular amplitude is 1/|1−0.81| = 5.26. Superposed on a free oscillation of nearly the same pitch, the sum slowly swells and fades. The ear hears one tone whose loudness pulses. A damped system forgets the free half, and the swell becomes the steady gain of the frequency-response curve.
5. Gain and phase are the design plot
For x″ + 2ζωₙ x′ + ωₙ² x = (F₀/m) cos(Ωt) the steady amplitude and the lag are
Two numbers worth memorising, both for ζ small. The static gain, Ω = 0, is (F₀/m)/ωₙ², which is just F₀/k. The resonant gain is about that static gain divided by 2ζ. A damping ratio of 0.1 multiplies the static deflection by about 5. A damping ratio of 0.01 multiplies it by about 50. Adding mass or softening the spring moves ωₙ. Adding a damper does not move ωₙ much; it lowers the peak.
The same G(s) shows up as the transfer function in the Laplace chapter, evaluated on the imaginary axis s = iΩ. Poles close to that axis are peaks in this plot. That is the whole bridge from a spring problem to a Bode diagram.
6. Worked examples
Example 1: where the peak is, and how tall
Take m = 1, ωₙ = 1, ζ = 0.1, and a unit drive. Static amplitude A(0) = 1.
The phase at Ω = ωₙ is exactly 90°, because the real part of the denominator vanishes and only the damper term i·2ζΩ is left. Five times the static deflection is already enough to bottom a suspension; ζ = 0.01 would be a disaster.
Example 2: undetermined coefficients, the long way
Solve x″ + 3x′ + 2x = 4 cos t. Try x = A cos t + B sin t.
The steady amplitude is √(A²+B²) = √(0.16+1.44) = √1.6 = 1.265. The complex-gain formula with ωₙ² = 2, 2ζωₙ = 3, and F₀/m = 4 gives the same magnitude: 4 / √((2−1)² + 3²) = 4/√10 = 1.265.
Example 3: beats from two close tones
x″ + x = cos(0.9 t), no damping. The particular coefficient satisfies (1 − 0.81)A = 1.
Released from rest, the full motion is 5.263 (cos 0.9t − cos t), which is 10.53 sin(0.05 t) sin(0.95 t). The fast oscillation sits near the average frequency. The envelope sin(0.05 t) has period 2π/0.05 ≈ 126 time units. Move the drive onto ωₙ and that envelope stops being periodic: the amplitude grows like t/2.
7. Practice
ζ doubles from 0.1 to 0.2, and ωₙ stays 1. Roughly how does the resonant peak change?
Why does the guess x = A cos t fail for x″ + x = cos t, and what do you try instead?
Solve y′ + 2y = e⁻ᵗ by an integrating factor. This is the 18.03 method the scalar ODE page skipped.
8. Resources
Unit II of MIT 18.03 is this entire page: modes, damping, the exponential response formula, resonance, and frequency response. Stanford’s engineering ODE course, CME 102, covers the same spring and circuit models. The Laplace chapter is the next tool, once the drive is a step or an impulse instead of a pure sine.