The Characteristic Equation: Turning Calculus into Algebra
The characteristic equation is the secret weapon for solving linear constant-coefficient ODEs. It converts differential equations into algebra—polynomials you can solve with standard tools.
For second-order equations ay'' + by' + cy = 0, the characteristic equation is:
ar² + br + c = 0
Solve this quadratic, and the roots tell you the form of the solution. Real roots give exponentials. Complex roots give oscillations. Repeated roots give polynomials times exponentials.
It's almost magical how cleanly it works.
Why Try Exponentials
The characteristic equation emerges from trying exponential solutions: y = e^(rx).
Why exponentials? Because derivatives of exponentials are proportional to themselves:
(d/dx)e^(rx) = re^(rx)
This self-similarity means exponentials preserve the structure of linear constant-coefficient equations.
Substitute y = e^(rx) into ay'' + by' + cy = 0:
y' = re^(rx) y'' = r²e^(rx)
Equation becomes:
ar²e^(rx) + bre^(rx) + ce^(rx) = 0
Factor out e^(rx) (never zero):
e^(rx)(ar² + br + c) = 0
So: ar² + br + c = 0
This is the characteristic equation. It's a polynomial equation in r whose roots determine the differential equation's solutions.
The Quadratic Formula
For ar² + br + c = 0, the quadratic formula gives:
r = (-b ± √(b² - 4ac))/(2a)
The discriminant Δ = b² - 4ac determines the nature of the roots.
Δ > 0: Two distinct real roots r₁, r₂
Δ = 0: One repeated real root r
Δ < 0: Two complex conjugate roots α ± iβ
Each case produces a different form of solution.
Case 1: Distinct Real Roots
If r₁ ≠ r₂ (both real), the general solution is:
y = C₁e^(r₁x) + C₂e^(r₂x)
Example: y'' + y' - 6y = 0
Characteristic equation: r² + r - 6 = 0
Factor: (r + 3)(r - 2) = 0
Roots: r = -3, r = 2
Solution: y = C₁e^(-3x) + C₂e^(2x)
Behavior: Combination of two exponentials. One grows (e^(2x)), one decays (e^(-3x)). Long-term behavior dominated by the growing term.
Physical example: Overdamped oscillator. System returns to equilibrium without oscillating. Like opening a heavy door with a strong damper—it closes smoothly without swinging back.
Case 2: Repeated Real Root
If r is a double root (Δ = 0), you get only one exponential e^(rx).
To get a second independent solution, multiply by x: xe^(rx).
General solution: y = (C₁ + C₂x)e^(rx) = e^(rx)(C₁ + C₂x)
Example: y'' - 4y' + 4y = 0
Characteristic equation: r² - 4r + 4 = 0
Factor: (r - 2)² = 0
Root: r = 2 (repeated)
Solution: y = (C₁ + C₂x)e^(2x)
Behavior: Exponential growth or decay (depending on sign of r) modified by a linear factor. The x term introduces polynomial growth on top of exponential.
Physical example: Critically damped oscillator. System returns to equilibrium as fast as possible without overshooting. Car suspension at critical damping—absorbs bump without bouncing.
Case 3: Complex Conjugate Roots
If Δ < 0, roots are complex: r = α ± iβ
where:
α = -b/(2a)(real part)β = √(4ac - b²)/(2a)(imaginary part)
Using Euler's formula e^(iβx) = cos(βx) + i·sin(βx), the real solutions are:
y₁ = e^(αx)cos(βx) y₂ = e^(αx)sin(βx)
General solution: y = e^(αx)(C₁cos(βx) + C₂sin(βx))
Example: y'' + 2y' + 5y = 0
Characteristic equation: r² + 2r + 5 = 0
Quadratic formula: r = (-2 ± √(4 - 20))/2 = (-2 ± √(-16))/2 = (-2 ± 4i)/2 = -1 ± 2i
So α = -1, β = 2.
Solution: y = e^(-x)(C₁cos(2x) + C₂sin(2x))
Behavior: Oscillation (from cos and sin) with exponential envelope (from e^(αx)).
- If α < 0: Oscillation with decaying amplitude (damped oscillation)
- If α > 0: Oscillation with growing amplitude (unstable)
- If α = 0: Pure oscillation (simple harmonic motion)
Physical example: Underdamped oscillator. Guitar string, tuning fork, pendulum with slight air resistance. Oscillates while gradually losing energy.
Why Complex Roots Give Oscillations
Complex numbers encode rotation. e^(iθ) represents rotation by angle θ in the complex plane.
When you have e^(iβx), as x increases, you rotate around the complex plane at rate β. That rotation projects onto real and imaginary axes as cos and sin—oscillation.
The real part α controls amplitude growth/decay. The imaginary part β controls oscillation frequency.
This is why complex roots always come in conjugate pairs for real differential equations: you need both α + iβ and α - iβ to combine into real-valued solutions.
Extending to Higher Order
The characteristic equation works for any order.
For third-order: ay''' + by'' + cy' + dy = 0
Try y = e^(rx), get: ar³ + br² + cr + d = 0 (cubic)
For fourth-order: quartic characteristic equation.
For nth-order: nth-degree polynomial.
Solve the polynomial for roots. Each root contributes a term to the solution:
- Real root r: contributes
e^(rx) - Repeated root r (multiplicity m): contributes
e^(rx),xe^(rx), ...,x^(m-1)e^(rx) - Complex pair α ± iβ: contributes
e^(αx)cos(βx)ande^(αx)sin(βx)
Example: Third-Order Equation
y''' - 6y'' + 11y' - 6y = 0
Characteristic equation: r³ - 6r² + 11r - 6 = 0
Try r = 1: 1 - 6 + 11 - 6 = 0. Yes!
Factor out (r - 1): (r - 1)(r² - 5r + 6) = 0
Factor quadratic: (r - 1)(r - 2)(r - 3) = 0
Roots: r = 1, 2, 3
Solution: y = C₁e^x + C₂e^(2x) + C₃e^(3x)
Three roots, three exponentials, three arbitrary constants. Makes sense for third-order.
Example: Fourth-Order with Complex Roots
y^(4) + 2y'' + y = 0
Characteristic equation: r⁴ + 2r² + 1 = 0
This is a quadratic in r²: Let u = r².
u² + 2u + 1 = 0
(u + 1)² = 0
So u = -1 (repeated).
Thus r² = -1, giving r = ±i (each with multiplicity 2).
Roots: i, i, -i, -i (two pairs of complex conjugates, each repeated)
For repeated complex roots α ± iβ (multiplicity 2), solutions are:
e^(αx)cos(βx), xe^(αx)cos(βx), e^(αx)sin(βx), xe^(αx)sin(βx)
Here α = 0, β = 1:
Solution: y = C₁cos(x) + C₂x·cos(x) + C₃sin(x) + C₄x·sin(x)
Or: y = (C₁ + C₂x)cos(x) + (C₃ + C₄x)sin(x)
This describes oscillation with linearly growing amplitude—polynomial-modulated harmonic motion.
The Discriminant and Damping
For second-order y'' + 2ζω_n y' + ω_n² y = 0 (standard damping form):
Characteristic equation: r² + 2ζω_n r + ω_n² = 0
Discriminant: Δ = 4ζ²ω_n² - 4ω_n² = 4ω_n²(ζ² - 1)
ζ > 1 (overdamped): Δ > 0, two distinct real roots
ζ = 1 (critically damped): Δ = 0, repeated real root
ζ < 1 (underdamped): Δ < 0, complex conjugate roots
The parameter ζ (damping ratio) determines the regime.
Roots: r = -ζω_n ± ω_n√(ζ² - 1)
- Overdamped:
r = -ζω_n ± ω_n√(ζ² - 1)(both real, both negative) - Critically damped:
r = -ζω_n(repeated) - Underdamped:
r = -ζω_n ± iω_n√(1 - ζ²)(complex, α = -ζω_n < 0)
This framework applies to all second-order oscillators: mechanical, electrical, acoustical.
Stability from Characteristic Roots
The characteristic roots determine stability.
Stable: All roots have negative real part → solutions decay to zero
Unstable: Any root has positive real part → solutions grow without bound
Marginally stable: Roots on imaginary axis (α = 0) → bounded oscillation
For y = e^(αx)(C₁cos(βx) + C₂sin(βx)):
- α < 0: decay (stable)
- α > 0: growth (unstable)
- α = 0: neutral (marginally stable)
Physical systems are typically stable (friction dissipates energy). Unstable systems require external energy input.
Finding Repeated Roots
How do you know when roots are repeated?
Method 1: Factor the characteristic polynomial completely. If (r - r₀)ᵐ appears, r₀ has multiplicity m.
Method 2: Check if discriminant equals zero (for second-order).
Method 3: Compute roots numerically; if two are extremely close, they're likely repeated (or use symbolic algebra).
Connection to Linear Algebra
The characteristic equation is exactly the characteristic polynomial of the differential operator.
Define operator L = a(d²/dx²) + b(d/dx) + c.
The ODE Ly = 0 has the same structure as the eigenvalue problem in linear algebra.
Eigenfunctions of L are exponentials e^(rx), with eigenvalues determined by the characteristic equation.
This isn't just analogy—it's deep structural identity. Differential operators are linear operators on function spaces, and the characteristic equation finds their spectrum.
Practical Summary
To solve ay'' + by' + cy = 0:
- Write characteristic equation:
ar² + br + c = 0 - Solve for r (quadratic formula or factoring)
- Check discriminant or root type:
- Two distinct real roots r₁, r₂ →
y = C₁e^(r₁x) + C₂e^(r₂x) - Repeated real root r →
y = (C₁ + C₂x)e^(rx) - Complex roots α ± iβ →
y = e^(αx)(C₁cos(βx) + C₂sin(βx))
- Two distinct real roots r₁, r₂ →
- Apply initial/boundary conditions to find C₁, C₂
It's algorithmic once you master the three cases.
Next: Euler's method, a numerical technique for when analytical solutions aren't available.
Part 7 of the Differential Equations series.
Previous: Second-Order Linear: Springs and Oscillations Next: Euler's Method: Numerical Approximation Step by Step
Comments ()