Higher-Order Linear Equations

Can you solve y′′′−3y′′+4y=0y''' - 3y'' + 4y = 0 using the same instincts that solve y′′−3y′+4y=0y'' - 3y' + 4y = 0? This article shows that the answer is yes. It also explains exactly why. The theory of second-order linear equations is built on Fundamental Sets and General Solutions. That theory generalizes almost verbatim to order nn. The same characteristic-equation heuristic applies. The same Wronskian test for independence applies. The same undetermined-coefficient recipes apply too. The one genuinely new phenomenon is algebraic. A degree-nn polynomial can have repeated roots in more complicated patterns. It can also have complex roots in conjugate pairs. Bookkeeping these correctly is the crux of the subject. The importance of this extension is not merely aesthetic. Physical systems often have several coupled energy-storage elements. Examples include a beam's transverse deflection, an RLCRLC ladder network, and a multi-stage chemical reaction. These are naturally modeled by higher-order or higher-dimensional linear systems. Many of these reduce to a single nn-th order equation. Understanding the general theory once, at arbitrary order, is more economical. This is better than re-deriving the second-order case and hoping intuition survives. The big picture is this. An nn-th order linear homogeneous equation with constant coefficients has an nn-dimensional solution space. This exactly mirrors the structure already established for n=2n=2. A basis for this space is read off from the roots of an auxiliary polynomial. Multiplicities control how many "extra" factors of tt (or t2t^2, sines, cosines) appear. Nonhomogeneous problems are handled by the same undetermined-coefficients heuristics. Now, though, there are more elaborate resonance rules. They are also handled by Variation of Parameters in full generality via the Wronskian. This article delivers a complete, self-contained treatment. It gives the precise definition of a general nn-th order linear equation. It presents the existence–uniqueness and superposition theorems. It offers a full proof that solutions of the constant-coefficient case form a basis via the characteristic polynomial. It works through asymmetric examples with genuine repeated and complex roots. Finally, it discusses exactly where the theory can fail if a hypothesis is dropped.

Key takeaways
  • An nn-th order linear ODE has a solution space of dimension exactly nn, spanned by any fundamental set.
  • Constant-coefficient equations reduce to factoring the characteristic polynomial p(r)=anrn+⋯+a0p(r) = a_n r^n + \cdots + a_0.
  • A real root rr of multiplicity kk contributes ert,tert,…,tk−1erte^{rt}, t e^{rt}, \dots, t^{k-1}e^{rt} to the basis.
  • A complex conjugate pair α±iβ\alpha \pm i\beta of multiplicity kk contributes tjeαtcos⁡βt, tjeαtsin⁡βtt^j e^{\alpha t}\cos\beta t,\ t^j e^{\alpha t}\sin\beta t for j=0,…,k−1j = 0,\dots,k-1.
  • Undetermined coefficients still works, but the resonance-detection rule must check multiplicity against the full root list, not just "is it a root."
  • Key idea: the algebra of factoring one polynomial completely replaces the calculus of solving the differential equation.

Where this lives today

Higher-order linear equations with constant coefficients appear directly in circuit theory, where an RLCRLC ladder with several reactive elements yields a single higher-order ODE for a node voltage or loop current, whose characteristic roots determine stability and ringing frequencies. In mechanical engineering, the Euler–Bernoulli beam equation and multi-degree-of-freedom vibration models reduce, after separation of variables, to fourth-order and higher linear ODEs whose root patterns dictate resonance and damping behavior. In control theory, the poles of a linear time-invariant system's transfer function are exactly the roots of its characteristic polynomial, and the classification of root patterns (real, complex, repeated) developed here is the backbone of stability analysis via the Routh–Hurwitz criterion. The operator factorization technique used in the proof — writing p(D)=an∏(D−rj)kjp(D) = a_n\prod(D-r_j)^{k_j} — is the direct antecedent of the operational calculus formalized by The Laplace Transform: Definition and Existence, where the same characteristic polynomial reappears as the denominator of a rational transfer function. Finally, the entire constant-coefficient theory serves as the base case and sanity check for Series Solutions Near Ordinary Points, where variable-coefficient equations are attacked by power series precisely because no characteristic-polynomial shortcut is available.

Ask the tutor: How do I choose the right undetermined-coefficients trial when the forcing term is a product like t2e3tcos⁡tt^2e^{3t}\cos t?

DefinitionHigher-order linear ODE and its constant-coefficient specialization

An nn-th order linear ordinary differential equation on an open interval I⊆RI \subseteq \mathbb{R} is an equation of the form

an(t) y(n)+an−1(t) y(n−1)+⋯+a1(t) y′+a0(t) y=g(t),a_n(t)\, y^{(n)} + a_{n-1}(t)\, y^{(n-1)} + \cdots + a_1(t)\, y' + a_0(t)\, y = g(t),

where a0,a1,…,an,g:I→Ra_0, a_1, \dots, a_n, g : I \to \mathbb{R} are continuous and an(t)≠0a_n(t) \neq 0 for every t∈It \in I. The equation is homogeneous if g≡0g \equiv 0, and nonhomogeneous otherwise. Dividing by an(t)a_n(t), it may always be written in the normalized form

y(n)+pn−1(t)y(n−1)+⋯+p1(t)y′+p0(t)y=f(t),pi,f∈C(I).y^{(n)} + p_{n-1}(t) y^{(n-1)} + \cdots + p_1(t) y' + p_0(t) y = f(t), \qquad p_i, f \in C(I).

The equation has constant coefficients if a0,…,ana_0,\dots,a_n are real constants with an≠0a_n \neq 0. In that case the characteristic (auxiliary) polynomial is

p(r)=anrn+an−1rn−1+⋯+a1r+a0,p(r) = a_n r^n + a_{n-1} r^{n-1} + \cdots + a_1 r + a_0,

obtained by substituting the trial solution y=erty = e^{rt} into the homogeneous equation and cancelling ert≠0e^{rt} \neq 0. The Wronskian of nn functions y1,…,yn∈Cn−1(I)y_1,\dots,y_n \in C^{n-1}(I) is

W(y1,…,yn)(t)=det⁡(y1(t)y2(t)⋯yn(t)y1′(t)y2′(t)⋯yn′(t)⋮⋮⋮y1(n−1)(t)y2(n−1)(t)⋯yn(n−1)(t)).W(y_1,\dots,y_n)(t) = \det \begin{pmatrix} y_1(t) & y_2(t) & \cdots & y_n(t)\\ y_1'(t) & y_2'(t) & \cdots & y_n'(t)\\ \vdots & \vdots & & \vdots \\ y_1^{(n-1)}(t) & y_2^{(n-1)}(t) & \cdots & y_n^{(n-1)}(t) \end{pmatrix}.

A collection of nn solutions of the homogeneous equation is a fundamental set of solutions on II if W(y1,…,yn)(t0)≠0W(y_1,\dots,y_n)(t_0) \neq 0 for some (equivalently, every) t0∈It_0 \in I, as established in Fundamental Sets and General Solutions.

Intuition

Everything that makes second-order constant-coefficient equations tractable survives the jump to order nn, because the essential mechanism is purely algebraic. Plugging y=erty = e^{rt} into

any(n)+⋯+a0y=0a_n y^{(n)} + \cdots + a_0 y = 0

turns each derivative into a multiplication by rr, so the entire differential equation collapses into the single polynomial equation p(r)=0p(r) = 0. Differentiation becomes multiplication; solving an ODE becomes factoring a polynomial. The only new subtlety at order n≥3n \geq 3 is that the Fundamental Theorem of Algebra guarantees nn roots counted with multiplicity, but these can now be distributed in richer patterns — a triple real root, a repeated complex pair, a mix of both — and each pattern has its own basis rule, all following one uniform theorem. A second piece of intuition is dimension-counting. An nn-th order linear ODE is equivalent to a first-order linear system in Rn\mathbb{R}^n (set x1=y,x2=y′,…,xn=y(n−1)x_1 = y, x_2 = y', \dots, x_n = y^{(n-1)}), and the state at any instant is exactly the vector of nn initial data (y(t0),y′(t0),…,y(n−1)(t0))(y(t_0), y'(t_0), \dots, y^{(n-1)}(t_0)). Since this state space is nn-dimensional, the solution space of the homogeneous equation must also be nn-dimensional — no more data is needed to pin down a trajectory, and no less data suffices. This is the abstract reason a fundamental set always has exactly nn members.

Figure
Root pattern on the complex plane and the basis functions it produces, for a degree-6 characteristic polynomial with a real double root, a real simple root, and a complex conjugate pair of multiplicity 1
Re Im r=−2 (mult 2) r=3 (mult 1) 1+2i 1−2i Basis: e^(−2t), t e^(−2t), e^(3t), e^t cos2t, e^t sin2t (5 functions ⇒ this pattern is degree 5, one root short of 6)

Central results

TheoremExistence, Uniqueness, and Structure of the Solution Space

Let p0,…,pn−1,f∈C(I)p_0,\dots,p_{n-1}, f \in C(I) for an open interval II, and consider

L[y]:=y(n)+pn−1(t)y(n−1)+⋯+p0(t)y=f(t).(∗)L[y] := y^{(n)} + p_{n-1}(t) y^{(n-1)} + \cdots + p_0(t) y = f(t). \tag{$\ast$}

Fix t0∈It_0 \in I and real numbers y0,y1,…,yn−1y_0, y_1, \dots, y_{n-1}. Then:

(a) Existence–Uniqueness. There exists a unique solution y∈Cn(I)y \in C^n(I) of (∗)(\ast) satisfying the initial conditions

y(t0)=y0,y′(t0)=y1, …, y(n−1)(t0)=yn−1.y(t_0) = y_0,\quad y'(t_0) = y_1,\ \dots,\ y^{(n-1)}(t_0) = y_{n-1}.

(b) Superposition. If y1,y2y_1, y_2 solve the homogeneous equation L[y]=0L[y]=0, then so does c1y1+c2y2c_1 y_1 + c_2 y_2 for any constants c1,c2c_1, c_2; the solution set of L[y]=0L[y] = 0 is an nn-dimensional real vector space.

(c) Wronskian Criterion. Solutions y1,…,yny_1,\dots,y_n of L[y]=0L[y]=0 form a fundamental set (basis for the solution space) if and only if W(y1,…,yn)(t0)≠0W(y_1,\dots,y_n)(t_0) \neq 0 for some single t0∈It_0 \in I; if so, W(y1,…,yn)(t)≠0W(y_1,\dots,y_n)(t) \neq 0 for every t∈It \in I.

(d) General Solution. If ypy_p is any particular solution of (∗)(\ast) and {y1,…,yn}\{y_1,\dots,y_n\} is a fundamental set for the homogeneous equation, then every solution of (∗)(\ast) has the unique form

y=yp+c1y1+⋯+cnyn,c1,…,cn∈R.y = y_p + c_1 y_1 + \cdots + c_n y_n, \qquad c_1,\dots,c_n \in \mathbb{R}.
Proof

Technique: reduction to a first-order linear system plus the linear-systems existence–uniqueness theorem (Picard–Lindelöf for linear systems), Abel's formula for the Wronskian, and linear algebra. Step 1: Reduction to a system. Define x(t)=(x1(t),…,xn(t))T\mathbf{x}(t) = (x_1(t),\dots,x_n(t))^T by xi(t)=y(i−1)(t)x_i(t) = y^{(i-1)}(t) for i=1,…,ni=1,\dots,n. Then (∗)(\ast) is equivalent to the first-order linear system

x′=A(t)x+b(t),A(t)=(010⋯0001⋯0⋮⋱⋮000⋯1−p0(t)−p1(t)−p2(t)⋯−pn−1(t)),b(t)=(0⋮0f(t)),\mathbf{x}' = A(t)\mathbf{x} + \mathbf{b}(t), \qquad A(t) = \begin{pmatrix} 0&1&0&\cdots&0\\ 0&0&1&\cdots&0\\ \vdots&&&\ddots&\vdots\\ 0&0&0&\cdots&1\\ -p_0(t)&-p_1(t)&-p_2(t)&\cdots&-p_{n-1}(t) \end{pmatrix}, \quad \mathbf{b}(t) = \begin{pmatrix}0\\ \vdots \\0\\ f(t)\end{pmatrix},

with initial condition x(t0)=(y0,y1,…,yn−1)T\mathbf{x}(t_0) = (y_0, y_1, \dots, y_{n-1})^T. This equivalence is immediate: differentiating the definitions of x1,…,xn−1x_1,\dots,x_{n-1} gives the first n−1n-1 rows exactly, and the last row is (∗)(\ast) itself rearranged. Every entry of AA and b\mathbf{b} is continuous on II because each pi,fp_i, f is. Step 2: Existence and uniqueness. For linear systems x′=A(t)x+b(t)\mathbf{x}' = A(t)\mathbf{x} + \mathbf{b}(t) with A,bA, \mathbf{b} continuous on an interval II containing t0t_0, the Picard–Lindelöf theorem applies globally: the right-hand side F(t,x)=A(t)x+b(t)F(t,\mathbf{x}) = A(t)\mathbf{x}+\mathbf{b}(t) is continuous in tt and (being linear in x\mathbf{x} with continuous, hence locally bounded, coefficient matrix) satisfies a local Lipschitz condition in x\mathbf{x} uniformly on compact subintervals; linear growth in x\mathbf{x} then rules out finite-time blowup, so the unique local solution extends to all of II. This gives a unique x∈C1(I;Rn)\mathbf{x} \in C^1(I;\mathbb{R}^n) solving the system with the prescribed initial vector. Setting y=x1y = x_1 recovers a unique y∈Cn(I)y \in C^n(I) solving (∗)(\ast) with the prescribed initial data (uniqueness and existence transfer directly through the bijective correspondence of Step 1). This proves (a). Step 3: Superposition. If L[y1]=L[y2]=0L[y_1] = L[y_2] = 0 then, since LL is built from linear combinations of derivatives with the same coefficient functions applied to both,

L[c1y1+c2y2]=c1L[y1]+c2L[y2]=0,L[c_1y_1 + c_2y_2] = c_1 L[y_1] + c_2 L[y_2] = 0,

using linearity of differentiation term by term. So the homogeneous solution set SS is closed under linear combination, hence a vector subspace of Cn(I)C^n(I). Step 4: dim⁡S=n\dim S = n. Define Φ:S→Rn\Phi: S \to \mathbb{R}^n by Φ(y)=(y(t0),y′(t0),…,y(n−1)(t0))\Phi(y) = (y(t_0), y'(t_0), \dots, y^{(n-1)}(t_0)). This map is linear (differentiation and evaluation are linear operations). By part (a) applied with f≡0f \equiv 0: for every vector (y0,…,yn−1)∈Rn(y_0,\dots,y_{n-1}) \in \mathbb{R}^n there is a unique y∈Sy \in S with Φ(y)=(y0,…,yn−1)\Phi(y) = (y_0,\dots,y_{n-1}). Existence of such yy for every target vector shows Φ\Phi is surjective; uniqueness of yy for each target vector shows Φ\Phi is injective (if Φ(y1)=Φ(y2)\Phi(y_1)=\Phi(y_2) then y1−y2∈Sy_1-y_2 \in S has zero initial data, so by uniqueness in (a), y1−y2≡0y_1 - y_2 \equiv 0). Hence Φ\Phi is a linear bijection, an isomorphism S≅RnS \cong \mathbb{R}^n, so dim⁡S=n\dim S = n. This proves (b). Step 5: Wronskian criterion. Let y1,…,yn∈Sy_1,\dots,y_n \in S correspond under Φ\Phi to vectors v1,…,vn∈Rn\mathbf{v}_1,\dots,\mathbf{v}_n \in \mathbb{R}^n, where vi\mathbf{v}_i is the ii-th column of the matrix

M(t0)=(y1(t0)⋯yn(t0)⋮⋮y1(n−1)(t0)⋯yn(n−1)(t0)),M(t_0) = \begin{pmatrix} y_1(t_0) & \cdots & y_n(t_0) \\ \vdots & & \vdots \\ y_1^{(n-1)}(t_0) & \cdots & y_n^{(n-1)}(t_0)\end{pmatrix},

so det⁡M(t0)=W(y1,…,yn)(t0)\det M(t_0) = W(y_1,\dots,y_n)(t_0). Since Φ\Phi is a linear isomorphism (Step 4), y1,…,yny_1,\dots,y_n are linearly independent in SS if and only if v1,…,vn\mathbf{v}_1,\dots,\mathbf{v}_n are linearly independent in Rn\mathbb{R}^n, if and only if det⁡M(t0)≠0\det M(t_0) \neq 0, i.e. W(t0)≠0W(t_0) \neq 0. Because dim⁡S=n\dim S = n, nn linearly independent elements of SS automatically form a basis. This shows: W(t0)≠0W(t_0)\neq 0 for one t0t_0   ⟺  \iff {yi}\{y_i\} independent   ⟺  \iff fundamental set. To see that W(t0)≠0W(t_0) \neq 0 for one point forces W(t)≠0W(t) \neq 0 for all t∈It \in I (Abel's formula), note that WW satisfies the first-order linear scalar ODE

W′(t)=−pn−1(t)W(t),W'(t) = -p_{n-1}(t) W(t),

a classical fact obtained by differentiating the determinant WW row by row: differentiating any row except the last produces a determinant with two equal rows (since row k+1k+1 is the derivative of row kk for k<n−1k < n-1), which vanishes; only differentiating the last row survives, and using yi(n)=−pn−1yi(n−1)−⋯−p0yiy_i^{(n)} = -p_{n-1}y_i^{(n-1)} - \cdots - p_0 y_i to eliminate yi(n)y_i^{(n)}, all terms except the −pn−1(t)×(last row)-p_{n-1}(t) \times(\text{last row}) term reduce to determinants with a repeated row and vanish. Solving this linear ODE explicitly gives

W(t)=W(t0)exp⁡(−∫t0tpn−1(s) ds),W(t) = W(t_0)\exp\left(-\int_{t_0}^{t} p_{n-1}(s)\, ds\right),

and since the exponential is never zero, W(t0)≠0  ⟹  W(t)≠0W(t_0) \neq 0 \implies W(t) \neq 0 for all t∈It \in I. This proves (c). Step 6: General solution formula. Suppose ypy_p solves (∗)(\ast) and {y1,…,yn}\{y_1,\dots,y_n\} is a fundamental set for L[y]=0L[y]=0. For any solution yy of (∗)(\ast), linearity gives L[y−yp]=L[y]−L[yp]=f−f=0L[y - y_p] = L[y] - L[y_p] = f - f = 0, so y−yp∈Sy - y_p \in S. Since {y1,…,yn}\{y_1,\dots,y_n\} is a basis of SS (part (c) plus dim⁡S=n\dim S = n), there exist unique constants c1,…,cnc_1,\dots,c_n with y−yp=c1y1+⋯+cnyny - y_p = c_1y_1+\cdots+c_ny_n, i.e. y=yp+∑ciyiy = y_p + \sum c_i y_i. Conversely every expression of this form solves (∗)(\ast) by superposition and linearity: L[yp+∑ciyi]=L[yp]+∑ciL[yi]=f+0=fL[y_p + \sum c_iy_i] = L[y_p] + \sum c_i L[y_i] = f + 0 = f. This proves (d), completing the proof. ■\blacksquare

∎
TheoremCharacteristic-Root Basis for Constant-Coefficient Equations

Let an,…,a0a_n, \dots, a_0 be real constants with an≠0a_n \neq 0, and consider

any(n)+an−1y(n−1)+⋯+a1y′+a0y=0(H)a_n y^{(n)} + a_{n-1}y^{(n-1)} + \cdots + a_1 y' + a_0 y = 0 \tag{H}

with characteristic polynomial p(r)=anrn+⋯+a0p(r) = a_n r^n + \cdots + a_0. Factor pp over C\mathbb{C} as

p(r)=an∏j=1m(r−rj)kj,∑j=1mkj=n,p(r) = a_n \prod_{j=1}^{m} (r - r_j)^{k_j}, \qquad \sum_{j=1}^m k_j = n,

where r1,…,rm∈Cr_1,\dots,r_m \in \mathbb{C} are the distinct roots with multiplicities kjk_j, and complex roots occur in conjugate pairs (since ai∈Ra_i \in \mathbb{R}). Then a fundamental set of real-valued solutions of (H) on I=RI = \mathbb{R} is obtained as follows:

  • For each real root rjr_j of multiplicity kjk_j: include tserjtt^{s} e^{r_j t} for s=0,1,…,kj−1s = 0,1,\dots,k_j-1.
  • For each complex conjugate pair α±iβ\alpha \pm i\beta (with β>0\beta > 0) of common multiplicity kk: include tseαtcos⁡(βt)t^s e^{\alpha t}\cos(\beta t) and tseαtsin⁡(βt)t^s e^{\alpha t}\sin(\beta t) for s=0,1,…,k−1s = 0,1,\dots,k-1.

This produces exactly nn real functions, and they form a fundamental set on every interval.

Proof

Technique: operator factorization via D=d/dtD = d/dt, kernel computation for (D−r)k(D-r)^k, and Wronskian nondegeneracy via a Vandermonde-type argument. Step 1: Operator form. Write (H)(H) as p(D)y=0p(D)y = 0 where D=d/dtD = d/dt and p(D)=anDn+⋯+a0Ip(D) = a_nD^n + \cdots + a_0 I is a polynomial in DD with constant real coefficients. Because polynomials in DD with constant coefficients commute under composition (this is just commutativity and associativity of polynomial multiplication applied formally, valid since DiDj=Di+j=DjDiD^iD^j = D^{i+j} = D^jD^i on smooth functions), we may factor

p(D)=an∏j=1m(D−rj)kjp(D) = a_n \prod_{j=1}^m (D - r_j)^{k_j}

as an identity of operators on C∞(R,C)C^\infty(\mathbb{R}, \mathbb{C}), with the factors applied in any order. Step 2: Kernel of (D−r)k(D-r)^k. Claim: ker⁡(D−r)k=span⁡{ert,tert,…,tk−1ert}\ker (D-r)^k = \operatorname{span}\{e^{rt}, te^{rt},\dots, t^{k-1}e^{rt}\}, a kk-dimensional space, for any r∈Cr \in \mathbb{C}. Proof of claim, by induction on kk. For k=1k=1: (D−r)y=0  ⟺  y′=ry  ⟺  (e−rty)′=0  ⟺  y=cert(D-r)y = 0 \iff y' = ry \iff (e^{-rt}y)' = 0 \iff y = ce^{rt}, using the integrating factor e−rte^{-rt} and the fact that a function with zero derivative on an interval is constant. So ker⁡(D−r)=span⁡{ert}\ker(D-r) = \operatorname{span}\{e^{rt}\}, dimension 1, matching the claim at k=1k=1. Assume the claim for kk; consider (D−r)k+1y=0(D-r)^{k+1}y = 0, i.e. (D−r)[(D−r)ky]=0(D-r)\big[(D-r)^ky\big] = 0. Let z=(D−r)kyz = (D-r)^ky. By the base case, (D−r)z=0  ⟹  z=cert(D-r)z = 0 \implies z = c e^{rt} for some constant cc. So (D−r)ky=cert(D-r)^k y = ce^{rt}, an inhomogeneous linear equation of order kk in yy. By the induction hypothesis the homogeneous solutions (D−r)ky=0(D-r)^ky=0 form a kk-dimensional space spanned by ert,…,tk−1erte^{rt},\dots,t^{k-1}e^{rt}; we need one particular solution of (D−r)ky=cert(D-r)^ky = ce^{rt}. Substituting y=w(t)erty = w(t)e^{rt} and using the identity (D−r)[wert]=w′ert(D - r)\big[w e^{rt}\big] = w' e^{rt} (direct computation: (wert)′−rwert=w′ert+rwert−rwert=w′ert(we^{rt})' - rwe^{rt} = w'e^{rt} + rwe^{rt} - rwe^{rt} = w'e^{rt}) repeatedly gives (D−r)k[wert]=w(k)ert(D-r)^k[we^{rt}] = w^{(k)}e^{rt}. So the equation becomes w(k)ert=certw^{(k)}e^{rt} = ce^{rt}, i.e. w(k)=cw^{(k)} = c, solved by w(t)=ck!tkw(t) = \frac{c}{k!}t^k. Hence yp=ck!tkerty_p = \frac{c}{k!}t^k e^{rt} is a particular solution, and by the general-solution structure (Fundamental Sets and General Solutions, part (d) above), every solution of (D−r)k+1y=0(D-r)^{k+1}y=0 is

y=ck!tkert+∑s=0k−1cstsert∈span⁡{ert,tert,…,tkert},y = \frac{c}{k!}t^k e^{rt} + \sum_{s=0}^{k-1} c_s t^s e^{rt} \in \operatorname{span}\{e^{rt}, te^{rt}, \dots, t^k e^{rt}\},

a (k+1)(k+1)-dimensional space (dimension exactly k+1k+1 because these k+1k+1 monomials-times-exponential functions are linearly independent, verified directly: if ∑s=0kcstsert≡0\sum_{s=0}^k c_st^se^{rt}\equiv 0 then ∑csts≡0\sum c_st^s \equiv 0 as a polynomial in tt, forcing all cs=0c_s = 0). This completes the induction. □\square (claim) Step 3: Assembling the kernel of p(D)p(D). Since the factors (D−rj)kj(D-r_j)^{k_j} commute, standard linear algebra for commuting operators gives

ker⁡p(D)=ker⁡(D−r1)k1⊕ker⁡(D−r2)k2⊕⋯⊕ker⁡(D−rm)km\ker p(D) = \ker(D-r_1)^{k_1} \oplus \ker(D-r_2)^{k_2} \oplus \cdots \oplus \ker(D-r_m)^{k_m}

as a direct sum (this uses that the factors (r−rj)kj(r - r_j)^{k_j} are pairwise coprime polynomials, so by Bézout there are polynomials qj(r)q_j(r) with ∑jqj(r)∏i≠j(r−ri)ki=1\sum_j q_j(r)\prod_{i\neq j}(r-r_i)^{k_i} = 1; the corresponding operator identity provides the projections realizing the direct sum decomposition — this is the Chinese Remainder Theorem for the PID C[r]\mathbb{C}[r] applied to the module C∞(R;C)C^\infty(\mathbb{R};\mathbb{C}) over C[D]\mathbb{C}[D]). By Step 2, dim⁡ker⁡(D−rj)kj=kj\dim \ker(D-r_j)^{k_j} = k_j, so

dim⁡ker⁡p(D)=∑j=1mkj=n,\dim \ker p(D) = \sum_{j=1}^m k_j = n,

matching the dimension nn guaranteed by the structure theorem above. A basis is the union over jj of {tserjt}s=0kj−1\{t^se^{r_jt}\}_{s=0}^{k_j-1}, which is exactly nn functions (complex-valued, if some rj∉Rr_j \notin \mathbb{R}). Step 4: Realification. If the coefficients aia_i are real, the polynomial p(r)p(r) has real coefficients, so nonreal roots occur in conjugate pairs α±iβ\alpha\pm i\beta with equal multiplicity kk (if rj=α+iβr_j = \alpha+i\beta is a root of multiplicity kk, then p(rˉj)=p(rj)‾=0p(\bar r_j) = \overline{p(r_j)} = 0, and the multiplicity of rˉj\bar r_j equals that of rjr_j by applying the same argument to all derivatives p(l)p^{(l)} up to order k−1k-1, all of which vanish at rjr_j hence at rˉj\bar r_j too). For such a pair, replace the complex basis elements tse(α+iβ)tt^se^{(\alpha+i\beta)t} and tse(α−iβ)tt^se^{(\alpha-i\beta)t} by the real linear combinations

tseαtcos⁡βt=12(tse(α+iβ)t+tse(α−iβ)t),tseαtsin⁡βt=12i(tse(α+iβ)t−tse(α−iβ)t).t^se^{\alpha t}\cos\beta t = \tfrac12\left(t^se^{(\alpha+i\beta)t} + t^se^{(\alpha-i\beta)t}\right), \qquad t^se^{\alpha t}\sin\beta t = \tfrac{1}{2i}\left(t^se^{(\alpha+i\beta)t} - t^se^{(\alpha-i\beta)t}\right).

This is an invertible linear change of basis within the 2-dimensional (for each fixed ss) complex span, so the resulting set of nn real functions still spans ker⁡p(D)\ker p(D) and has the same cardinality nn as the dimension of the space, hence is linearly independent over R\mathbb{R} and forms a basis. Real roots need no modification. This produces precisely the basis stated in the theorem. Step 5: Fundamental set on every interval. The functions constructed are entire (real-analytic on all of R\mathbb{R}) and their number equals n=dim⁡Sn = \dim S where SS is the (real) solution space of (H) by the previous theorem; since they are linearly independent (Step 3–4) and dim⁡S=n\dim S = n, they form a basis of SS, hence by the Wronskian Criterion their Wronskian is nonzero at every point of every interval. ■\blacksquare

∎

Worked examples

Example 1 (distinct and repeated real roots, asymmetric right-hand side). Solve

y′′′−2y′′−y′+2y=4e3t.y''' - 2y'' - y' + 2y = 4e^{3t}.

Homogeneous part. The characteristic polynomial is p(r)=r3−2r2−r+2p(r) = r^3 - 2r^2 - r + 2. Testing r=1r=1: 1−2−1+2=01 - 2 - 1 + 2 = 0, a root. Dividing, p(r)=(r−1)(r2−r−2)=(r−1)(r−2)(r+1)p(r) = (r-1)(r^2 - r - 2) = (r-1)(r-2)(r+1). Roots: r=1,2,−1r = 1, 2, -1, all real and simple. Basis for the homogeneous equation:

y1=et,y2=e2t,y3=e−t.y_1 = e^{t}, \quad y_2 = e^{2t}, \quad y_3 = e^{-t}.

Particular solution. Since r=3r = 3 is not a root of p(r)p(r) (check: p(3)=27−18−3+2=8≠0p(3) = 27 - 18 - 3 + 2 = 8 \neq 0), try yp=Ae3ty_p = Ae^{3t}. Then yp′′′=27Ae3ty_p''' = 27Ae^{3t}, yp′′=9Ae3ty_p'' = 9Ae^{3t}, yp′=3Ae3ty_p' = 3Ae^{3t}, and substitution gives

27A−2(9A)−3A+2A=4  ⟹  (27−18−3+2)A=4  ⟹  8A=4  ⟹  A=12.27A - 2(9A) - 3A + 2A = 4 \implies (27 - 18 - 3 + 2)A = 4 \implies 8A = 4 \implies A = \tfrac12.

So yp=12e3ty_p = \tfrac12 e^{3t}. General solution.

y(t)=c1et+c2e2t+c3e−t+12e3t.y(t) = c_1 e^{t} + c_2 e^{2t} + c_3 e^{-t} + \tfrac12 e^{3t}.

Check with initial data y(0)=1y(0) = 1, y′(0)=0y'(0) = 0, y′′(0)=−2y''(0) = -2: from the general solution and its derivatives at t=0t=0,

c1+c2+c3+12=1,c1+2c2−c3+32=0,c1+4c2+c3+92=−2.c_1+c_2+c_3+\tfrac12 = 1,\quad c_1+2c_2-c_3+\tfrac32 = 0,\quad c_1+4c_2+c_3+\tfrac92=-2.

Simplify: c1+c2+c3=12c_1+c_2+c_3 = \tfrac12; c1+2c2−c3=−32c_1+2c_2-c_3 = -\tfrac32; c1+4c2+c3=−132c_1+4c_2+c_3 = -\tfrac{13}2. Subtracting the first from the third: 3c2=−7⇒c2=−733c_2 = -7 \Rightarrow c_2 = -\tfrac73. Adding the first two: 2c1+3c2=−1⇒2c1=−1+7=6⇒c1=32c_1+3c_2 = -1 \Rightarrow 2c_1 = -1+7 = 6 \Rightarrow c_1 = 3. Then from the first equation c3=12−3+73=3−18+146=−16c_3 = \tfrac12 - 3 + \tfrac73 = \tfrac{3 - 18 + 14}{6} = -\tfrac16. So

y(t)=3et−73e2t−16e−t+12e3t,y(t) = 3e^t - \tfrac73 e^{2t} - \tfrac16 e^{-t} + \tfrac12 e^{3t},

which one can verify directly satisfies y(0)=3−73−16+12=18−14−1+36=66=1y(0) = 3 - \tfrac73 - \tfrac16 + \tfrac12 = \frac{18 - 14 - 1 + 3}{6} = \frac{6}{6}=1. ✓.

Example 2 (repeated complex roots — a genuine resonance case). Solve

y(4)+8y′′+16y=cos⁡(2t).y^{(4)} + 8y'' + 16y = \cos(2t).

Homogeneous part. p(r)=r4+8r2+16=(r2+4)2p(r) = r^4 + 8r^2 + 16 = (r^2+4)^2. So r2=−4r^2 = -4 is a double root, giving r=±2ir = \pm 2i each with multiplicity k=2k=2. By the theorem, the complex pair α±iβ=0±2i\alpha \pm i\beta = 0 \pm 2i of multiplicity 22 contributes, for s=0,1s=0,1:

cos⁡2t, sin⁡2t, tcos⁡2t, tsin⁡2t.\cos 2t,\ \sin 2t,\ t\cos 2t,\ t\sin 2t.

Particular solution — resonance. The forcing cos⁡2t\cos 2t corresponds to r=2ir = 2i, which is a root of p(r)p(r), in fact of multiplicity 22. The undetermined-coefficients rule for resonance says: multiply the naive trial solution by tkt^k where kk is the multiplicity of the matching root. Naive trial (no resonance) would be Acos⁡2t+Bsin⁡2tA\cos2t + B\sin2t; since these already solve the homogeneous equation, and so do tcos⁡2t,tsin⁡2tt\cos2t, t\sin2t (multiplicity 2 covers both), the correct trial is

yp=t2(Acos⁡2t+Bsin⁡2t).y_p = t^2(A\cos 2t + B\sin 2t).

Compute derivatives. Let u=Acos⁡2t+Bsin⁡2tu = A\cos2t+B\sin2t, so yp=t2uy_p = t^2 u. We need yp(4)+8yp′′+16ypy_p^{(4)} + 8y_p'' + 16y_p. Rather than brute-force all four derivatives symbolically, use the operator factorization: p(D)=(D2+4)2p(D) = (D^2+4)^2, and write yp=t2u(t)y_p = t^2u(t) with u′′=−4uu'' = -4u (since uu solves y′′+4y=0y''+4y=0). A direct but efficient route: since cos⁡2t,sin⁡2t\cos2t,\sin2t solve (D2+4)y=0(D^2+4)y=0, apply (D2+4)(D^2+4) to t2ut^2u using the product rule twice. First, (D2+4)[t2u](D^2+4)[t^2u]. Using D2[t2u]=t2u′′+4tu′+2uD^2[t^2u] = t^2 u'' + 4tu' + 2u (product rule for second derivatives: (t2u)′′=2u+4tu′+t2u′′(t^2u)'' = 2u + 4tu' + t^2u'') and u′′=−4uu'' = -4u:

(D2+4)[t2u]=(t2u′′+4tu′+2u)+4t2u=t2(u′′+4u)+4tu′+2u=4tu′+2u,(D^2+4)[t^2u] = \big(t^2u'' + 4tu' + 2u\big) + 4t^2u = t^2(u''+4u) + 4tu' + 2u = 4tu' + 2u,

since u′′+4u=0u'' + 4u = 0. So (D2+4)[t2u]=4tu′+2u=:v(D^2+4)[t^2u] = 4tu' + 2u =: v. Now apply (D2+4)(D^2+4) again to v=4tu′+2uv = 4tu'+2u. Compute D2[4tu′]=4(2u′′+tu′′′)=8u′′+4tu′′′D^2[4tu'] = 4(2u'' + tu''') = 8u'' + 4tu''' (using (tu′)′′=2u′′+tu′′′(tu')'' = 2u''+tu'''), and D2[2u]=2u′′D^2[2u] = 2u''. Also u′′′=−4u′u''' = -4u' (differentiating u′′=−4uu''=-4u). So

D2v=8u′′+4t(−4u′)+2u′′=10u′′−16tu′=10(−4u)−16tu′=−40u−16tu′.D^2 v = 8u'' + 4t(-4u') + 2u'' = 10u'' - 16tu' = 10(-4u) - 16tu' = -40u - 16tu'.

Then

(D2+4)v=−40u−16tu′+4(4tu′+2u)=−40u−16tu′+16tu′+8u=−32u.(D^2+4)v = -40u - 16tu' + 4(4tu'+2u) = -40u - 16tu' + 16tu' + 8u = -32u.

So altogether (D2+4)2[t2u]=−32u=−32(Acos⁡2t+Bsin⁡2t)(D^2+4)^2[t^2u] = -32u = -32(A\cos2t+B\sin2t). Setting this equal to the forcing cos⁡2t=1⋅cos⁡2t+0⋅sin⁡2t\cos 2t = 1\cdot\cos2t + 0\cdot\sin2t:

−32A=1,−32B=0  ⟹  A=−132, B=0.-32A = 1, \quad -32B = 0 \implies A = -\tfrac1{32},\ B=0.

So yp=−132t2cos⁡2ty_p = -\tfrac{1}{32}t^2\cos 2t. General solution.

y(t)=c1cos⁡2t+c2sin⁡2t+c3 tcos⁡2t+c4 tsin⁡2t−132t2cos⁡2t.y(t) = c_1\cos2t + c_2\sin2t + c_3\,t\cos2t + c_4\,t\sin2t - \tfrac{1}{32}t^2\cos2t.

This exhibits the hallmark of resonance at higher multiplicity: the particular solution grows like t2t^2 (rather than tt, which would occur for a simple root match), because the forcing frequency matches a root of multiplicity 2.

CounterexampleWhy an(t)≠0a_n(t) \neq 0 on all of II is essential

Drop the hypothesis that the leading coefficient an(t)a_n(t) is nonvanishing on all of II, and existence–uniqueness can fail even for a simple-looking equation. Consider on I=(−1,1)I = (-1,1) the second-order equation

t2y′′−2y=0,t^2 y'' - 2y = 0,

so a2(t)=t2a_2(t) = t^2 vanishes at t0=0∈It_0 = 0 \in I. Two solutions are readily checked by direct substitution: y1(t)=t2y_1(t) = t^2 (since y1′′=2y_1'' = 2, so t2(2)−2t2=0t^2(2) - 2t^2 = 0) and y2(t)=1/ty_2(t) = 1/t for t≠0t \neq 0 (since y2′′=2/t3y_2'' = 2/t^3, so t2(2/t3)−2/t=2/t−2/t=0t^2(2/t^3) - 2/t = 2/t - 2/t = 0), which is not even defined, let alone C2C^2, at t=0t=0. Consider the initial value problem with data prescribed at t0=0t_0 = 0:

y(0)=0,y′(0)=1.y(0) = 0, \qquad y'(0) = 1.

The function y(t)=ty(t) = t satisfies these initial conditions, but substituting into the equation gives t2(0)−2t=−2t≠0t^2(0) - 2t = -2t \neq 0 for t≠0t\neq0 — so y=ty=t is not a solution of the ODE at all, illustrating that near t=0t=0 the equation fails to pick out a consistent second-order behavior from the initial slope. More strikingly, one can show the family y=c t2y = c\,t^2 satisfies y(0)=0,y′(0)=0y(0)=0, y'(0) = 0 for every constant cc — infinitely many solutions through the same initial data — so uniqueness fails outright at t0=0t_0=0. This happens precisely because a2(0)=0a_2(0) = 0, so the equation cannot be divided by a2(t)a_2(t) to reach the normalized form required by the Existence–Uniqueness Theorem, and the theorem's conclusion (a unique solution for every initial vector) simply does not apply, nor does it hold, at points where the leading coefficient vanishes.

Scope, edge cases & common traps

SituationWhat to doCommon trap
Real root of multiplicity kkInclude tsertt^se^{rt}, s=0,…,k−1s=0,\dots,k-1Forgetting the tst^s factors, using erte^{rt} only once
Complex pair α±iβ\alpha\pm i\beta, multiplicity kkInclude tseαtcos⁡βt,tseαtsin⁡βtt^se^{\alpha t}\cos\beta t, t^se^{\alpha t}\sin\beta t, s=0,…,k−1s=0,\dots,k-1Treating α+iβ\alpha+i\beta and α−iβ\alpha-i\beta as separate real contributions (double counting)
Forcing term matches a root of multiplicity kkMultiply the usual trial solution by tkt^kMultiplying by t1t^1 regardless of the actual multiplicity
Leading coefficient an(t)a_n(t) vanishes somewhere in IIRestrict to a subinterval where an≠0a_n \neq 0Assuming existence/uniqueness across a singular point
Variable-coefficient equation, no closed form for rootsUse Variation of Parameters with the WronskianTrying undetermined coefficients on non-constant-coefficient equations
Forcing is a sum of several exponential/trig typesSolve for each piece separately, superpose particular solutionsUsing one combined trial guess with too few free constants

The mathematician behind it

Origins · 1 minLeonhard Euler and how this was discovered
LE
Leonhard Euler
1707–1783 · 18th-century mathematical analysis, Basel and St. Petersburg

Euler was the first to systematically study linear differential equations with constant coefficients and to introduce the substitution y=erty = e^{rt} that reduces them to polynomial algebra — precisely the characteristic-equation method used throughout this article. His extraordinarily prolific output across analysis, number theory, and mechanics established much of the notation and many of the foundational techniques still used in differential equations today.

History
- 1743 — Euler solves linear ODEs with constant coefficients via the exponential trial substitution, introducing the characteristic equation.
- 1762 — Joseph-Louis Lagrange develops variation of parameters, later generalized to arbitrary order.
- 1812 — Józef Hoene-Wroński introduces the determinant later named the Wronskian, used to test linear independence of solutions.
- 1841 — Niels Henrik Abel proves the identity for the derivative of the Wronskian, now known as Abel's formula.
- Early 20th century — the operator-theoretic viewpoint (p(D)p(D) acting on function spaces) becomes standard, unifying the constant-coefficient theory across all orders.
Why does an nn-th order linear ODE need exactly nn initial conditions?

The equation is equivalent to a first-order system in Rn\mathbb{R}^n via xi=y(i−1)x_i = y^{(i-1)}, and a first-order system needs one initial vector in Rn\mathbb{R}^n to pin down a unique trajectory, by the existence–uniqueness theorem for linear systems. Concretely, knowing y(t0)y(t_0) alone leaves y′(t0),y′′(t0),…y'(t_0), y''(t_0),\dots undetermined, so the solution set through that single condition is still an (n−1)(n-1)-dimensional affine family. Each additional derivative value removes exactly one degree of freedom. With all nn values y(t0),…,y(n−1)(t0)y(t_0),\dots,y^{(n-1)}(t_0) specified, the state vector is fully determined, and uniqueness follows from the theorem. Fewer than nn conditions under-determine the solution; more than nn (if imposed independently) may be inconsistent.

What happens if the characteristic polynomial has a root of very high multiplicity, like 5?

Nothing conceptually new occurs — the pattern from the theorem extends directly. A real root rr of multiplicity 5 contributes the five basis functions ert,tert,t2ert,t3ert,t4erte^{rt}, te^{rt}, t^2e^{rt}, t^3e^{rt}, t^4e^{rt}, all obtained from the inductive kernel computation for (D−r)k(D-r)^k used in the proof. The only practical change is that computations become longer, since verifying independence or matching initial conditions involves a 5×5 linear system. High multiplicities do arise physically, for instance in critically-tuned multi-stage filters, but the algebra is identical in kind to the multiplicity-2 or multiplicity-3 cases worked out above.

Can undetermined coefficients handle any right-hand side f(t)f(t)?

No. Undetermined coefficients works only when f(t)f(t) belongs to the class generated by polynomials, exponentials, sines, and cosines (and finite products/sums of these), because only for such ff does repeated differentiation produce a finite-dimensional space of candidate terms. For general continuous f(t)f(t) — say f(t)=tan⁡tf(t) = \tan t or f(t)=1/tf(t) = 1/t — there is no finite trial family, and one must fall back on Variation of Parameters, which uses the Wronskian and works for any continuous forcing term, at the cost of requiring an explicit fundamental set and often unevaluated integrals.

Is the Wronskian test "if and only if," or can independent solutions have a zero Wronskian?

For solutions of the same linear homogeneous ODE with continuous coefficients, the test is a genuine if-and-only-if: Abel's formula shows the Wronskian is either identically zero or never zero on the interval, and it is nonzero exactly when the functions are independent. This is special to solutions of a shared linear ODE. For an arbitrary tuple of functions not tied to a common linear ODE, the Wronskian can vanish identically even though the functions are linearly independent (a well-known subtlety), so the "iff" statement in the theorem should not be misapplied outside the ODE-solution context.

Does the theory change if the coefficients aia_i are complex constants?

The existence–uniqueness and dimension-counting arguments go through unchanged over C\mathbb{C}: the solution space is an nn-dimensional complex vector space, and the operator factorization p(D)=an∏(D−rj)kjp(D) = a_n\prod (D-r_j)^{k_j} still holds by the Fundamental Theorem of Algebra. The one difference is in Step 4 of the root-basis proof: with complex coefficients, roots need not occur in conjugate pairs, so there is no reason to "realify" the basis into sines and cosines — the natural fundamental set is simply {tserjt}\{t^se^{r_jt}\} directly, with no further real/imaginary decomposition needed.

How does this connect to the Laplace transform method for solving the same equations?

Applying the Laplace transform to L[y]=f(t)L[y]=f(t) converts differentiation into multiplication by ss (up to boundary terms from initial data), turning the ODE into an algebraic equation whose denominator is exactly the characteristic polynomial p(s)p(s) evaluated at the transform variable. Partial fraction decomposition of the resulting rational function, when inverted, reproduces precisely the basis functions tsertt^se^{rt} and tseαtcos⁡βtt^se^{\alpha t}\cos\beta t from the root-multiplicity theorem. In this sense the characteristic-equation method here is the "time-domain shadow" of the algebra that The Laplace Transform: Definition and Existence makes fully rigorous and automatic, including for discontinuous or impulsive forcing.

Why must the leading coefficient function be continuous and nonvanishing on the whole interval, not just at the initial point?

The existence–uniqueness theorem, proved via reduction to a first-order linear system, requires the coefficient matrix A(t)A(t) to be continuous throughout II for Picard–Lindelöf to guarantee a solution extending across the entire interval, not just locally near t0t_0. If an(t)a_n(t) vanishes at some other point t1≠t0t_1 \neq t_0 inside II, the normalized coefficients pi(t)=ai(t)/an(t)p_i(t) = a_i(t)/a_n(t) blow up there, the hypotheses fail at t1t_1, and solutions starting near t0t_0 may fail to extend past t1t_1, exhibit branching, or lose uniqueness beyond that point, exactly as in the counterexample t2y′′−2y=0t^2y''-2y=0 at t=0t=0.

Before this

Where this leads