All courses › Linear Algebra and Differential Equations › Double and complex root

Double and complex root

When the characteristic equation has a double root, the second solution needs an extra factor of xx to be independent of the first. When the roots are complex, ±iβ\pm i\beta, the solution becomes sine and cosine instead of exponentials.

(C1+C2x)erx(C_1 + C_2x)e^{rx}double root rr
C1cos⁡βx+C2sin⁡βxC_1\cos\beta x + C_2\sin\beta xpurely imaginary roots ±iβ\pm i\beta

Symbols

rrthe double root
β\betaimaginary part (oscillation frequency)

Example

y′′+y=0y''+y=0 has roots r=±ir=\pm i: y=C1cos⁡x+C2sin⁡xy=C_1\cos x+C_2\sin x.

Double root r=2r=2: y=(C1+C2x)e2xy=(C_1+C_2x)e^{2x}.

A common mistake is writing C1erx+C2erxC_1e^{rx}+C_2e^{rx} for a double root - that is only one solution, not two.
Practise differential equations for free →

← Second order, real roots

Part of Linear Algebra and Differential Equations: Differential equations.