02.06.02 · analysis / transcendental

n-th-order linear ODE with constant coefficients

shipped3 tiersLean: none

Anchor (Master): Euler 1743 De integratione aequationum differentialium altiorum graduum; d'Alembert 1748; Coddington-Levinson Theory of Ordinary Differential Equations Ch. 3-4

Intuition [Beginner]

A second-order linear ODE like has solutions built from exponentials where satisfies a quadratic equation. An n-th-order linear ODE works the same way, except the equation for is a polynomial of degree instead of degree .

The key insight is unchanged: guess , plug it in, and the ODE reduces to a polynomial equation called the characteristic polynomial. Each root of this polynomial gives one exponential solution. With roots, you get independent solutions, and the general solution is a combination of all of them.

Why does this concept exist? Because many physical systems — vibrating beams, electrical circuits with multiple loops, cascaded chemical reactions — are modelled by differential equations of order , , or higher, and the same exponential-guess method that solves second-order equations solves them all.

Visual [Beginner]

The picture shows three solution curves for the ODE . One curve grows (from ), one oscillates gently upward (from ), and one decays (from ). The general solution is a combination of all three.

Three exponential curves: one decaying, one growing slowly, one growing rapidly, illustrating the three independent solutions of a third-order ODE. The characteristic polynomial has three real roots, and each root produces one curve.

The fastest-growing exponential eventually dominates the combination, which is why the long-term behaviour of the solution is controlled by the root with the largest real part.

Worked example [Beginner]

Solve the ODE .

Step 1. Guess . Substituting: . Factor out (which is never zero) to get the characteristic polynomial .

Step 2. Factor the polynomial: . The roots are , , .

Step 3. The three independent solutions are , , and . The general solution is where are arbitrary constants.

What this tells us: a third-order ODE with three distinct real roots produces three independent exponential solutions, and the general solution has three free constants — one for each order of the equation.

Check your understanding [Beginner]

Formal definition [Intermediate+]

An n-th-order linear homogeneous ODE with constant coefficients is an equation of the form

where are real constants with , and denotes the -th derivative of with respect to .

The characteristic polynomial (or auxiliary equation) is

Substituting into the ODE yields , which requires since .

Definition (Wronskian). Given functions that are times differentiable, the Wronskian is the determinant

If at some point , then are linearly independent on any interval containing .

Counterexamples to common slips

  • Repeated roots do not give fewer solutions. If is a double root, the two independent solutions are and , not just . Missing the term gives an incomplete general solution.

  • Complex roots produce real solutions. If is a root, so is its conjugate . The pair gives real solutions and , not complex-valued functions.

  • The characteristic polynomial method requires constant coefficients. For variable-coefficient equations like , the guess does not reduce the ODE to a polynomial equation.

Key theorem with proof [Intermediate+]

Theorem (General solution of the constant-coefficient homogeneous ODE). Consider the n-th-order linear homogeneous ODE with characteristic polynomial . Factor over as

where are the distinct roots and their multiplicities (). Then the general solution is:

  • For each real root of multiplicity : the functions , , , , .

  • For each complex conjugate pair of multiplicity : the functions , , , , and , , , .

These functions are linearly independent and span the entire solution space.

Proof. The proof proceeds in three stages: (1) distinct real roots, (2) repeated roots, (3) complex roots.

Stage 1: Distinct real roots. Suppose the roots are real and distinct. Each is a solution since . To verify linear independence, compute the Wronskian at :

This is the Vandermonde determinant since the roots are distinct. So the solutions are linearly independent, and by the existence-uniqueness theorem for nth-order linear ODEs, they span the -dimensional solution space.

Stage 2: Repeated roots. Let have multiplicity and suppose where . Consider the ansatz for . Compute where is the differential operator and .

Using and the operator identity , we compute

Now . Since for , we get for . Each is a solution. The Wronskian of is a non-vanishing expression (it equals times a polynomial in that is a constant multiple of a Vandermonde in ), confirming independence.

Stage 3: Complex roots. If is a root, so is (the polynomial has real coefficients). The complex solutions and are linearly independent over . By Euler's formula,

Taking real and imaginary parts: and are real-valued solutions. These span the same two-dimensional subspace as the complex pair, and their linear independence follows from the Wronskian: .

Combining all three cases: the total number of functions produced is , and each stage contributes linearly independent solutions. By dimension counting (the solution space is exactly -dimensional by the existence-uniqueness theorem), these functions form a basis.

Bridge. The foundational reason this theorem works is that the substitution turns the differential operator into ordinary polynomial multiplication, and this is exactly the bridge between calculus and algebra that powers the entire method. The central insight is that the Vandermonde determinant guarantees independence of the solutions. This result builds toward the matrix exponential formulation of ODE systems 02.06.03, where the characteristic polynomial reappears as the characteristic polynomial of the companion matrix, and appears again in the theory of the Laplace transform 02.10.01 pending, where the same roots determine the poles of the transfer function. Putting these together, the pattern generalises from scalar equations to first-order systems via the companion-matrix reduction.

Exercises [Intermediate+]

Advanced results [Master]

Theorem 1 (Companion matrix reduction). Every n-th-order linear ODE is equivalent to a first-order system where and is the companion matrix

The characteristic polynomial of is where is the ODE's characteristic polynomial. This reduction is the bridge between scalar nth-order equations and matrix ODE systems.

Theorem 2 (Annihilator method). A particular solution of the non-homogeneous equation can be found by applying an annihilator operator with to both sides, giving , a higher-order homogeneous equation. The particular solution is the part of the general solution of not already present in the homogeneous solution of . For , the annihilator is . For , it is .

Theorem 3 (Variation of parameters for nth order). Given a fundamental set of solutions for , a particular solution of is where is the Wronskian and is times the determinant of the Wronskian with the -th column replaced by , multiplied by .

Theorem 4 (Euler's equidimensional equation). The equation is solved by the substitution , which transforms it into a constant-coefficient equation in . Equivalently, the substitution yields the indicial equation .

Theorem 5 (Operator factorisation). If , then is solved by solving , , etc., cascading first-order equations. This factorisation gives an alternative construction of the general solution and clarifies the repeated-root case: if is a factor, the cascade produces , , , .

Theorem 6 (Stability and the Routh-Hurwitz criterion). All solutions of decay to zero (the system is asymptotically stable) if and only if every root of has negative real part. The Routh-Hurwitz conditions give an algebraic test for this property without computing the roots: construct the Hurwitz matrix from the coefficients and verify that all leading minors are positive.

Synthesis. The foundational reason the nth-order theory works is that the substitution identifies the differential operator with the polynomial , and this is exactly the bridge between differential equations and algebra. The central insight is that the solution space is finite-dimensional (dimension ), and the exponential ansatz provides an explicit basis parametrised by the roots of . Putting these together with the companion matrix, every scalar equation becomes a first-order system, and the pattern generalises to the matrix exponential formulation 02.06.03 where solves . The bridge is that the characteristic polynomial of the companion matrix coincides with the ODE's characteristic polynomial, so the eigenvalues of are exactly the roots of . This identification appears again in the annihilator method (where factoring into linear operators reduces non-homogeneous problems to higher-order homogeneous ones), in the Routh-Hurwitz stability criterion (which tests root locations without computing roots), and in the Euler equidimensional equation (where a change of variable converts variable coefficients to constant coefficients).

Full proof set [Master]

Proposition 1 (Companion matrix has the correct characteristic polynomial). The companion matrix of the ODE satisfies .

Proof. Write . Then

Expand along the first row: , where is the minor obtained by deleting row and column (an -dimensional companion-type determinant), and where is the lower-right block. By induction on : for , and (note the convention for the case gives ). The inductive step confirms the general identity. Alternatively, cofactor expansion along the last row gives .

Proposition 2 (Operator factorisation produces the general solution). If , then the solution space of has basis .

Proof. It suffices to show has general solution . The operator acts on by . So lowers the power of by one: applied times, , which is zero for . For it is nonzero. Hence the kernel of is , which is -dimensional.

For distinct factors: because the operators are pairwise commutative and their kernels intersect at (an element in both and with must satisfy both, forcing it to be zero — verified by computing the Wronskian).

Connections [Master]

  • First-order linear and separable ODEs 02.08.01. The companion matrix reduction converts an nth-order equation into coupled first-order equations, and the existence-uniqueness theorem for first-order systems 02.08.01 underpins the dimension count for the solution space. The first-order linear theory is the foundation on which the entire higher-order theory is built.

  • Second-order linear ODE with constant coefficients 02.08.02. Every result in this unit generalises the second-order case. The characteristic polynomial was a quadratic there; here it is degree . The method of undetermined coefficients and variation of parameters extend identically. The second-order unit is the concrete instance that motivates the general pattern.

  • Systems of linear ODEs and the matrix exponential 02.06.03. The companion matrix identifies each scalar nth-order ODE with a first-order system , and the matrix exponential provides the solution in a single formula. The eigenvalues of are the roots of the characteristic polynomial, making the two formulations equivalent.

Historical & philosophical context [Master]

Euler 1743, in De integratione aequationum differentialium altiorum graduum [Euler1743], introduced the method of substituting to reduce a linear constant-coefficient ODE to its characteristic polynomial, and solved the distinct-root case for equations of arbitrary order. This was the first systematic treatment of ODEs beyond second order, extending the techniques Euler himself had developed for second-order equations in his Institutiones calculi integralis (1768-1770).

D'Alembert 1748, in Traite de l'equilibre et du mouvement des fluides [DAlembert1748], addressed the repeated-root case: when the characteristic polynomial has a multiple root , the functions supplement to form a complete set of independent solutions. This reduction-of-order technique resolved the main gap in Euler's original method. The general theorem, combining distinct roots, repeated roots, and complex roots into a unified statement, was consolidated in the early nineteenth century through the work of Cauchy, who provided rigorous existence-uniqueness proofs that justified the solution-space dimension count.

Bibliography [Master]

@article{Euler1743,
  author = {Euler, Leonhard},
  title = {De integratione aequationum differentialium altiorum graduum},
  journal = {Miscellanea Berolinensia},
  volume = {7},
  year = {1743},
  pages = {193--241},
}

@book{DAlembert1748,
  author = {d'Alembert, Jean le Rond},
  title = {Trait\'e de l'\'equilibre et du mouvement des fluides},
  publisher = {David},
  year = {1748},
}

@book{BoyceDiPrima2012,
  author = {Boyce, William E. and DiPrima, Richard C.},
  title = {Elementary Differential Equations and Boundary Value Problems},
  publisher = {Wiley},
  year = {2012},
  edition = {10th},
}

@book{CoddingtonLevinson1955,
  author = {Coddington, Earl A. and Levinson, Norman},
  title = {Theory of Ordinary Differential Equations},
  publisher = {McGraw-Hill},
  year = {1955},
}