The characteristic-equation method from distinct real roots, complex roots and repeated roots works for any order. An $n$th-order linear equation with constant coefficients needs $n$ independent solutions, one for each root counted with multiplicity.
🔑 Key idea
For $a_ny^{(n)} + \dots + a_1y' + a_0y = 0$, solve $a_nr^{n} + \dots + a_1r + a_0 = 0$. A real root $r$ of multiplicity $m$ gives $e^{rt}, te^{rt}, \dots, t^{m-1}e^{rt}$. A complex pair $\alpha \pm \beta i$ of multiplicity $m$ gives $t^{j}e^{\alpha t}\cos\beta t$ and $t^{j}e^{\alpha t}\sin\beta t$ for $j = 0, \dots, m - 1$.
💡 Why it works
With $D = \frac{d}{dt}$, the equation is $a_n(D - r_1)(D - r_2)\cdots(D - r_n)y$ $= 0$: the operator factors just like the polynomial, because constant-coefficient operators commute. Each factor $(D - r)$ kills $e^{rt}$, and $(D - r)^{m}$ kills $t^{j}e^{rt}$ for $j < m$ (each application lowers the power of $t$ by one, as in the repeated-root lesson). Counting with multiplicity, there are exactly $n$ such solutions, and they are independent.
✏️ Worked example: Three distinct roots
Find the general solution of $y''' - 2y'' - y' + 2y = 0$.
Stopping with too few solutions: a cubic has three roots counted with multiplicity, so the general solution needs three constants. Find one root by trying divisors of the constant term, divide it out, and factor what is left. For a repeated root, include the extra powers of $t$.
The solution of the third example. It leaves the origin flat ($y'(0) = 0$) but curving upward ($y''(0) = 9$), and the $te^{t}$ term soon dominates.
Higher-order equations appear naturally. Two masses joined by springs give a pair of second-order equations that combine into one fourth-order equation, and the bending of a loaded beam obeys $EIy^{(4)} = w(x)$. To find the roots of the characteristic polynomial by hand, list the candidates from the rational root test (factors of $a_0$ divided by factors of $a_n$), test them, and divide out each root you find. Undetermined coefficients and variation of parameters extend to any order in the same way.
Practice
Pass with 3 right answers, the last 2 in a row. Each right answer earns 3 XP.