Solve y'' - 6y' + 9y = 0. Characteristic equation (r-3)^2 = 0 gives repeated root r = 3. Write the general solution y = (C1 + C2 x) e^(3x) and show why the x e^(3x) term is needed.
Explanation
Why the repeated-root case is tricky
For two distinct roots r1=r2 the general solution is
y=C1er1x+C2er2x.
Each exponential is linearly independent — {er1x,er2x} spans a 2D solution space.
When r1=r2=r, writing "y=C1erx+C2erx" collapses to (C1+C2)erx — a one-parameter family. We have lost a dimension of the solution space, and the ODE is still order 2, so there must be a second linearly independent solution we're missing. The question is how to find it.
Answer:y2(x)=xerx. We'll derive this and verify it.
Assume y2=u(x)e3x for some unknown function u. (If u is constant, we'd get a multiple of y1; we need u to be genuinely new.) Compute:
y2′=u′e3x+3ue3x=(u′+3u)e3xy2′′=(u′′+3u′)e3x+3(u′+3u)e3x=(u′′+6u′+9u)e3x
Plug into y′′−6y′+9y:
e3x[(u′′+6u′+9u)−6(u′+3u)+9u]=e3x[u′′+6u′+9u−6u′−18u+9u]=e3xu′′
Setting this to 0: u′′=0, so u(x)=a+bx for constants a,b.
Therefore y2=(a+bx)e3x. The ae3x piece is just a multiple of y1, so the genuinely new part is bxe3x. Take y2=xe3x. ✓
This is the reduction-of-order derivation. See #199 for the general method.
Derivation 2 — Limit from distinct roots
Perturb the ODE to have distinct roots r and r+ε (ε=0), solution yε=C1erx+C2e(r+ε)x. Choose constants smartly:
εe(r+ε)x−erxε→0drderx=xerx.
So xerx arises as the derivative with respect to r of erx, and this recipe generalises: a root of multiplicity m contributes {erx,xerx,x2erx,…,xm−1erx} as a limit of nearby distinct roots.
Spring-mass-damper my′′+cy′+ky=0 with c2=4mk (exactly critical) has a repeated root and solutions (C1+C2t)e−γt with γ=c/(2m). The te−γt term is the signature of critical damping — the system can cross the equilibrium once (the polynomial has one root) then decays. Any less damping and it oscillates; any more and it sluggishly drags to zero.
Higher multiplicity
A triple root r contributes {erx,xerx,x2erx}. A quadruple root contributes {erx,xerx,x2erx,x3erx}. The rule is clean: multiplicity m → first m polynomial multiples of erx.
This extends to complex repeated roots: a double pair α±iβ contributes {eαxcosβx,eαxsinβx,xeαxcosβx,xeαxsinβx} — four independent solutions.
Common mistakes
Writing y=C1erx+C2erx for a double root. That's a one-parameter family and fails to satisfy arbitrary initial conditions.
Including xmerx for multiplicity m (one too many). The rule is powers 0 through m−1, not up to m.
Forgetting that xerx is a separate solution. When applying ICs, treat C1erx and C2xerx as independent basis vectors, even though they share the exponential factor.
Try it in the visualization
Start with a distinct-root ODE and slide the discriminant to zero. Watch the two exponentials merge, and see the xerx solution emerge as the limiting shape. Highlight how at Δ=0 exactly, the solution family is two-dimensional precisely because of the polynomial factor x.
Interactive Visualization
Parameters
1.00
2.00
0.00
1.50
80.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.