AP® Physics C: Mechanics · Unit 7 · Topic 7.3

The Differential Equation of SHM and Resonance

Every oscillator obeys d2x/dt2 = -omega2 x, a restoring force proportional to displacement. Its solution is sinusoidal motion with period T = 2 π / omega, and driving a system at that same omega pumps energy in every cycle, building huge amplitude: resonance.

The equation shows up everywhere because 'restoring force proportional to displacement' is the simplest way a system can resist being pushed off equilibrium. Springs, pendulums at small angles, charges in circuits, even torsional rods all satisfy F = -kx or its rotational twin. Whenever a system's net force or torque is a negative constant times its displacement from equilibrium, the resulting motion is simple harmonic, no matter what the system is physically made of.

Start with Newton's second law on a mass on a spring: F = ma becomes -kx = m(d2x/dt2). Rearranging gives d2x/dt2 = -(k/m)x. Compare this to the standard form d2x/dt2 = -omega2 x, and you can read off omega2 = k/m directly, without ever solving the equation. Once you know omega, you know everything about the timing of the motion: T = 2 π / omega, f = omega / (2 π). The actual solution, x(t) = A cos(omega t + phi), just tells you position versus time; the differential equation alone fixes the frequency.

This same equation explains resonance. Drive the oscillator with a periodic force at some frequency omega_drive. If omega_drive matches the system's natural omega, every push lands in phase with the existing velocity, so the force does positive work on it cycle after cycle and the amplitude grows without bound (ignoring damping). Off resonance, the push slides in and out of phase with the motion, sometimes helping and sometimes fighting it, so its net effect over many cycles nearly cancels. That is why timing beats strength, and it is also why real systems, from bridges to radios, are designed either to avoid or exploit a specific natural frequency.

Key terms

Angular frequency (omega)
The constant in x'' = -omega2 x that sets the oscillation's timing, equal to √(k/m) for a spring.
Natural frequency
The frequency an oscillator moves at on its own, with no driving force, determined by its own mass and stiffness.
Resonance
The buildup of large amplitude when a system is driven at its natural frequency, because energy input stays in phase every cycle.
Driving force
An external periodic force applied to an oscillator, whose frequency may or may not match the system's natural frequency.

Watch it explained

  1. How it worksHow does Newton's second law on a spring become a second-order differential equation for x?
  2. Worked exampleFind the angular frequency and period for a system obeying d2x/dt2 = -64x.
  3. Common mistakeWhy isn't a big push at the wrong frequency as effective as a small one at resonance?
  4. Going furtherWhat happens to the amplitude when you drive an oscillator at exactly its natural frequency?

Check yourself

Your turn1 of 2
Find the period for a system obeying d2x/dt2 = -73x.

End of topic.