← Differential equations

Second-order equations with constant coefficients

The characteristic equation decides the solution’s shape.

Start this lesson

For ay″ + by′ + cy = 0, try y = e^(rt): this gives the characteristic equation ar² + br + c = 0. Two real roots r₁, r₂ give y = C₁e^(r₁t) + C₂e^(r₂t); a repeated root gives (C₁ + C₂t)e^(rt); complex roots α ± βi give e^(αt)(C₁cos βt + C₂sin βt), which oscillates.

Example: y″ + 2y′ + 5y = 0

  1. r² + 2r + 5 = 0
  2. r = −1 ± 2i
  3. y = e^(−t)(C₁cos 2t + C₂sin 2t) — Decaying oscillation

Why it works: Guessing e to the rx turns the differential equation into a quadratic in r, because each derivative just brings down another r.

Tip: For a spring, complex roots mean underdamped (it bounces); real distinct roots mean overdamped.