Characteristic Equation (Auxiliary Equation)

April 13, 2026

Problem

For y'' + 4y' + 4y = 0, form the characteristic equation r^2 + 4r + 4 = 0. Factor it, find r = -2 (repeated), and write the general solution y = (C1 + C2 x) e^(-2x).

Explanation

Why is it called the "characteristic equation"?

For a constant-coefficient linear ODE any(n)+an1y(n1)++a1y+a0y=0,a_n y^{(n)} + a_{n-1} y^{(n-1)} + \cdots + a_1 y' + a_0 y = 0, the guess y=erxy = e^{r x} reduces every derivative to a power of rr, so the ODE collapses to anrn+an1rn1++a1r+a0=0.a_n r^{n} + a_{n-1} r^{n-1} + \cdots + a_1 r + a_0 = 0.

This polynomial in rr is called the characteristic equation (also the auxiliary equation) because its roots characterise every solution of the ODE — they tell you what exponentials to build out of, and they determine every qualitative property (stability, oscillation frequency, damping).

The given equation

y+4y+4y=0y'' + 4 y' + 4 y = 0

a=1a = 1, b=4b = 4, c=4c = 4.

Step-by-step solution

Step 1 — Form the characteristic equation.

Replace yr2y'' \to r^2, yry' \to r, y1y \to 1: r2+4r+4=0r^{2} + 4 r + 4 = 0

Step 2 — Solve it.

This factors as a perfect square: (r+2)2=0    r=2  (repeated, multiplicity 2)(r + 2)^{2} = 0 \implies r = -2 \; \text{(repeated, multiplicity 2)}

The discriminant is Δ=1616=0\Delta = 16 - 16 = 0 — exactly on the boundary between real-distinct and complex cases.

Step 3 — Build the general solution.

With a repeated root we can't just write C1e2x+C2e2xC_1 e^{-2x} + C_2 e^{-2x}: that's (C1+C2)e2x(C_1 + C_2) e^{-2x}, which has only one independent constant. We need a second linearly independent solution. The rule for a repeated root of multiplicity mm is: y1=erx,y2=xerx,y3=x2erx,,ym=xm1erx.y_1 = e^{r x}, \quad y_2 = x \, e^{r x}, \quad y_3 = x^2 \, e^{r x}, \quad \ldots, \quad y_m = x^{m-1} \, e^{r x}.

For multiplicity 2 that gives y(x)=(C1+C2x)e2x\boxed{\, y(x) = (C_1 + C_2 \, x) \, e^{-2 x} \,}

See #185 for the full derivation of why xerxx \, e^{r x} is the second solution (hint: reduction of order, or an ϵ\epsilon-limit of the distinct-root formula).

Verification

Let y=(C1+C2x)e2xy = (C_1 + C_2 x) e^{-2x}. y=C2e2x+(C1+C2x)(2)e2x=e2x(C22C12C2x)y' = C_2 e^{-2x} + (C_1 + C_2 x)(-2) e^{-2x} = e^{-2x}\bigl(C_2 - 2 C_1 - 2 C_2 x\bigr) y=2e2x(C22C12C2x)+e2x(2C2)y'' = -2 e^{-2x}\bigl(C_2 - 2 C_1 - 2 C_2 x\bigr) + e^{-2x}\bigl(-2 C_2\bigr)     =e2x(2C2+4C1+4C2x2C2)=e2x(4C14C2+4C2x)\;\;= e^{-2x}\bigl(-2 C_2 + 4 C_1 + 4 C_2 x - 2 C_2\bigr) = e^{-2x}\bigl(4 C_1 - 4 C_2 + 4 C_2 x\bigr)

Plug y+4y+4yy'' + 4 y' + 4 y: e2x[(4C14C2+4C2x)+4(C22C12C2x)+4(C1+C2x)]e^{-2x}\bigl[(4 C_1 - 4 C_2 + 4 C_2 x) + 4(C_2 - 2 C_1 - 2 C_2 x) + 4(C_1 + C_2 x)\bigr]

Collect:

  • xx coefficient (inside brackets): 4C28C2+4C2=04 C_2 - 8 C_2 + 4 C_2 = 0
  • constant: 4C14C2+4C28C1+4C1=04 C_1 - 4 C_2 + 4 C_2 - 8 C_1 + 4 C_1 = 0

Whole bracket is 00. \checkmark

How to read the characteristic polynomial

Roots tell you everything:

  • Real roots r1,r2,r_1, r_2, \ldots (distinct): each contributes an exponential erxe^{r x}.
  • Repeated real root rr of multiplicity mm: contributes erx,xerx,,xm1erxe^{r x}, \, x e^{r x}, \, \ldots, \, x^{m-1} e^{r x}.
  • Complex conjugate pair α±iβ\alpha \pm i \beta: contributes eαxcosβxe^{\alpha x} \cos \beta x and eαxsinβxe^{\alpha x} \sin \beta x (one oscillating mode; the imaginary part β\beta is the frequency, the real part α\alpha is the damping rate). (See #184.)
  • Repeated complex pair (higher-order ODEs): multiply by x,x2,x, x^2, \ldots as for repeated real roots.

The number of solutions always equals the ODE order, matching the fundamental theorem of algebra's count of roots with multiplicity.

Stability by sign of the roots

  • All roots have negative real part ⇒ solutions decay to 00asymptotically stable.
  • Any root with positive real part ⇒ some solutions blow up ⇒ unstable.
  • Roots on the imaginary axis with α=0\alpha = 0neutrally stable (oscillations that neither grow nor decay).

For our equation: r=2r = -2 (repeated, α=2<0\alpha = -2 < 0) ⇒ asymptotically stable. Every solution decays exponentially to zero.

Initial value problem

With y(0)=1y(0) = 1, y(0)=0y'(0) = 0: from y=(C1+C2x)e2xy = (C_1 + C_2 x) e^{-2x}, y(0)=C1=1y(0) = C_1 = 1. And y(0)=C22C1=0    C2=2y'(0) = C_2 - 2 C_1 = 0 \implies C_2 = 2. y(x)=(1+2x)e2x.y(x) = (1 + 2 x) e^{-2 x}.

Check: y(0)=1y(0) = 1 ✓. y(0)=22=0y'(0) = 2 - 2 = 0 ✓. As xx \to \infty, the polynomial factor 1+2x1 + 2x is dominated by the exponential decay e2xe^{-2x}, so y0y \to 0.

Physical interpretation — critical damping

A spring-mass-damper satisfies my+cy+ky=0m y'' + c y' + k y = 0. The characteristic equation is mr2+cr+k=0m r^2 + c r + k = 0. The critically damped case is exactly Δ=c24mk=0\Delta = c^2 - 4 m k = 0 (repeated real root), and the solution (C1+C2x)erx(C_1 + C_2 x) e^{r x} is the fastest non-oscillating return to equilibrium. One step less damping → oscillation; one step more → slow sluggish crawl.

Our equation y+4y+4y=0y'' + 4 y' + 4 y = 0 models m=1,c=4,k=4m = 1, c = 4, k = 4, which is exactly critically damped.

Common mistakes

  • Writing y=C1erx+C2erxy = C_1 e^{r x} + C_2 e^{r x} for a repeated root. This has only one constant in disguise — it is (C1+C2)erx(C_1 + C_2) e^{rx}, a one-parameter family, not a two-parameter one.
  • Missing the xx factor in the second solution. Without xerxx e^{r x}, you can't satisfy arbitrary initial conditions at a repeated root.
  • Forgetting multiplicity. A triple root rr contributes erx,xerx,x2erxe^{r x}, x e^{r x}, x^2 e^{r x}, not just the first two.
  • Confusing discriminant signs. Δ=0\Delta = 0 is repeated real; Δ<0\Delta < 0 is complex. Don't swap them.

Try it in the visualization

Slide the coefficient bb through 44, the critical-damping value. Watch the two roots collide on the real axis (becoming a double root), and see the solution shape morph smoothly from over-damped (two exponentials) through critical (xerxx e^{r x}) to under-damped (oscillations).

Interactive Visualization

Parameters

1.00
4.00
4.00
1.00
0.00
3.00
Your turn

Got your own math or physics problem?

Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.

Sign Up Free to Try It30 free visualizations every day
Characteristic Equation (Auxiliary Equation) | MathSpin