Skip to content
LearnMathora

Differential equations · 05 · Where waves come from · 9 min

Hard

Second-order equations & oscillation

First-order equations grow and decay. Add one more derivative — acceleration responding to position — and something new enters the world: oscillation. Second-order equations are why springs bounce, circuits ring, and the universe hums.

Build the intuition

Why a second derivative means waves

A spring pulls back proportionally to displacement: y″ = −ω²y, acceleration opposite position. From calculus you know the functions whose second derivative is their own negative: sine and cosine. The equation doesn't merely allow oscillation — it forces it. Anything governed by a restoring pull obeys this law and therefore waves.

y=ω2y    y=Acos(ωt)+Bsin(ωt)y'' = -\omega^2 y \;\Rightarrow\; y = A\cos(\omega t) + B\sin(\omega t)

The characteristic-equation shortcut

For ay″ + by′ + cy = 0, guess y = e^{rt} and the calculus collapses into algebra: ar² + br + c = 0, a quadratic (your algebra course's parabola, moonlighting). Real roots → exponential decay or growth. Complex roots r = −σ ± iω → e^{−σt}cos(ωt): decaying oscillation, with complex numbers carrying the wave's frequency in their imaginary part. The quadratic formula now predicts physics.

ar2+br+c=0ar^2 + br + c = 0

Forcing and resonance

Drive the system — push the swing, shake the building — and the response depends on the driving frequency. Near the natural frequency, pushes arrive in step with the motion and amplitude builds dramatically: resonance. The same equation explains why opera notes shatter glasses and why radio receivers, deliberately resonant, pluck one station from a crowded sky.

See it move

InteractiveThe damping dial
0.15
ζ = 0.15. Underdamped: it overshoots and rings while settling — a plucked string, a car on soft shocks.

The solution family live: complex characteristic roots produce a cosine inside an exponential envelope. The ζ dial moves the roots — and the personality.

A worked example

Solve a ringing circuit

  1. An RLC circuit obeys y″ + 2y′ + 5y = 0. Characteristic equation:

    r2+2r+5=0r^2 + 2r + 5 = 0
  2. Quadratic formula:

    r=1±2ir = -1 \pm 2i
  3. Read the roots like coordinates: real part −1 → decay envelope e^{−t}; imaginary part ±2 → ringing at 2 rad/s:

    y=et(Acos2t+Bsin2t)y = e^{-t}(A\cos 2t + B\sin 2t)
  4. The circuit rings while dying — and you read its entire future from one quadratic's roots.

Out in the world

Earthquake engineering by characteristic roots

A building is a forest of coupled second-order oscillators; each vibration mode has characteristic roots setting its frequency and damping. Engineers compute them, then add dampers to drag dangerous roots leftward (more decay) — moving mathematics to protect lives.

Common confusion, cleared

Complex roots mean the physical answer is imaginary.

The complex pair combines into perfectly real decaying cosines — the imaginary part becomes the oscillation frequency. Complex numbers are the bookkeeping; the motion is real. (The signals course's phasors are this same bookkeeping, embraced.)

Oscillation requires something periodic driving the system.

Free oscillation needs no driver — pluck and release. The restoring force alone produces the rhythm. Driving matters only for sustained or resonant response.

Check yourself

PracticeQuick check

  1. A characteristic equation gives r = −3 ± 4i. The system…

Recap

  • Restoring pull (y″ = −ω²y) forces sinusoidal motion — waves are calculus.
  • e^{rt} turns the ODE into a quadratic; complex roots = decaying oscillation.
  • Driving near the natural frequency builds amplitude: resonance, for good and ill.

Progress saves in this browser.