The Harmonic Oscillator: The Archetype of Oscillation
A spring, a swinging pendulum and an electrical circuit all obey the very same differential equation — a restoring pull proportional to displacement — and all of them answer with a sine wave.
A pull that grows with distance
Stretch a spring and it pulls back; stretch it twice as far and it pulls back twice as hard. That is Hooke's law: the restoring force is proportional to the displacement and points back toward the resting position, F = −kx. The minus sign is the whole story — the force always fights the displacement.
Feed that force into Newton's second law, F = ma, and remember that acceleration is the second derivative of position. Out pops the equation that governs every simple oscillation.
The answer is a sinusoid
What function is the negative of its own second derivative? Sine and cosine. The general solution is x(t) = A cos(ωt + φ). Here A is the amplitude (how far it swings), ω is the angular frequency (how fast), and φ is the phase (where in the cycle it starts). Differentiate twice and you get back −ω² times the original — the equation is satisfied for any A and φ.
Frequency and period
The motion repeats every time ωt advances by 2π, so the period is T = 2π/ω — the time for one full cycle. Its reciprocal is the frequency f = 1/T = ω/2π, the number of cycles per second. Notice what is missing: none of these depend on the amplitude. A big swing and a small swing of the same oscillator take exactly the same time — the property that made pendulum clocks possible.
- Angular frequency: \( \omega = \sqrt{k/m} = \sqrt{2/0.5} = \sqrt{4} = 2 \) rad/s.
- Period: \( T = 2\pi/\omega = 2\pi/2 = \pi \approx 3.14 \) s.
- Released from rest at maximum displacement, so A = 0.1 m and it starts at a peak — take φ = 0 with a cosine.
Check your understanding
- Simple harmonic motion arises from a restoring force proportional to displacement, giving x″ + ω²x = 0.
- The solution is a sinusoid x(t) = A cos(ωt + φ): amplitude A, angular frequency ω, and phase φ.
- The period T = 2π/ω and frequency f = ω/2π depend only on ω, never on the amplitude.
- For a spring ω = √(k/m); a pendulum uses √(g/L) and an LC circuit uses 1/√(LC) — one equation, many systems.
- Real oscillators are damped (x″ + 2βx′ + ω²x = 0), giving a sinusoid inside a decaying envelope.