Second-order linear ODEs with constant coefficients
Anchor (Master): Euler 1743 De integratione aequationum differentialium (originator of constant-coefficient method); d'Alembert 1747 Recherches sur la vibration des cordes (originator of reduction of order and the wave equation); Lagrange 1775 Nouvelles recherches sur la nature et la propagation du son (variation of parameters); Laplace 1782 Memoires de l'Academie royale des Sciences de Paris (Laplace transform originator)
Intuition [Beginner]
A second-order differential equation involves the second derivative — the rate of change of the rate of change. The physical prototype is a spring: a mass on a spring has a position , a velocity , and an acceleration . Newton's second law says the acceleration equals the force divided by the mass, and the spring force is proportional to displacement. This gives , a second-order ODE.
The equation with constant coefficients describes damped oscillations. The term is the inertia, is the damping (friction), and is the restoring force (spring). The key insight is that solutions are built from exponentials , where is determined by a quadratic equation (the characteristic equation).
Why does this concept exist? Because virtually every oscillatory system — springs, circuits, sound waves, structural vibrations — reduces to a constant-coefficient linear ODE, and the characteristic equation provides a clean, complete classification of all possible behaviours.
Visual [Beginner]
The picture shows three graphs stacked vertically, each a solution to with different damping values . The top graph () shows undamped oscillation: a pure sine wave. The middle graph () shows underdamped oscillation: a sine wave with exponentially shrinking amplitude. The bottom graph () shows overdamped decay: the solution returns to zero without oscillating.
The damping coefficient controls the transition from oscillation to decay. At the critical value (critical damping), the system returns to rest as fast as possible without oscillating.
Worked example [Beginner]
Solve .
Step 1. Write the characteristic equation: replace with , with , and with . This gives .
Step 2. Factor: , so and .
Step 3. The general solution is , where and are arbitrary constants determined by initial conditions.
What this tells us: the solution is a sum of two exponentials, one growing twice as fast and one growing three times as fast. The specific mix is determined by where the system starts.
Check your understanding [Beginner]
Formal definition [Intermediate+]
Definition (Second-order linear ODE with constant coefficients). A second-order linear homogeneous ODE with constant coefficients is
where and . The associated characteristic equation (or auxiliary equation) is the quadratic
The nature of the roots determines the form of the general solution:
- Distinct real roots : .
- Repeated real root : .
- Complex conjugate roots : .
The discriminant determines which case applies: (distinct real), (repeated), (complex).
For the non-homogeneous equation , the general solution is where is the general solution of the homogeneous equation and is any particular solution of the non-homogeneous equation.
Counterexamples to common slips
Do not forget the factor in the repeated-root case. When is a repeated root, alone gives only one independent solution. The second solution is , not a second copy of .
Complex roots produce real solutions. When , the solution is real-valued. The imaginary parts of cancel when combined with its conjugate.
The characteristic equation substitution is , not . A common algebraic error is writing when the constant term should be , not . Both are correct, but the substitution rule must be applied consistently.
Key theorem with proof [Intermediate+]
Theorem (General solution via the characteristic equation). The general solution of on is a two-dimensional vector space spanned by the solutions determined by the roots of . Specifically:
Case 1 (distinct real roots ). .
Case 2 (repeated real root ). .
Case 3 (complex conjugate roots ). .
Proof of Case 1. The substitution gives , , so if and only if (since ). Thus and are both solutions. By linearity, is a solution for any .
To see this is the general solution, we show the two solutions are linearly independent. The Wronskian is
since . By the Wronskian criterion, the solutions form a fundamental set.
Proof of Case 2. One solution is . For a second linearly independent solution, use reduction of order: set . Then , . Substituting into the ODE:
Since and (both from being a double root), this simplifies to , so , giving . Taking gives , which is independent of .
Proof of Case 3. With , the complex solutions and span the solution space. By Euler's formula , the real and imaginary parts and are real-valued solutions. Their Wronskian is (since for complex roots), confirming linear independence.
Bridge. This theorem is the foundational reason that constant-coefficient linear ODEs are completely solvable by algebra, and this is exactly the bridge from the quadratic formula to the full theory of linear differential equations. The central insight is that the characteristic polynomial encodes the entire solution structure: the discriminant determines whether solutions oscillate, decay monotonically, or grow. The result builds toward the Laplace transform 02.08.02 where the characteristic polynomial becomes the denominator of the transfer function, and appears again in the spring-mass system and electrical circuit applications where the three cases correspond to underdamped, critically damped, and overdamped behaviour. Putting these together with the Wronskian, the bridge is that linear independence of solutions — verified by a single determinant computation — guarantees completeness of the solution set.
Exercises [Intermediate+]
Advanced results [Master]
Theorem 1 (Superposition principle for non-homogeneous equations). If solves and solves , then solves . The general solution of the non-homogeneous equation is where spans the homogeneous solutions and is any particular solution.
Theorem 2 (Method of undetermined coefficients). For (or the sine version), guess where is the multiplicity of as a root of the characteristic polynomial, has the same degree as , and are determined by substitution.
Theorem 3 (Variation of parameters). For with known fundamental solutions , the particular solution is
where is the Wronskian. This method works for any continuous , unlike undetermined coefficients which requires to be of a specific form.
Theorem 4 (Spring-mass-damper system). The equation with describes a damped harmonic oscillator. Define (natural frequency) and (damping ratio). Then: (underdamped) gives oscillation with exponential decay; (critically damped) gives fastest non-oscillatory return; (overdamped) gives slow non-oscillatory return.
Theorem 5 (Laplace transform — preview). The Laplace transform converts the ODE into an algebraic equation in for . The solution is recovered by the inverse transform. The key property is and , so initial conditions are built in automatically.
Theorem 6 (Electrical circuit analogy). An RLC circuit with resistance , inductance , and capacitance satisfies where is the charge on the capacitor. This is identical in form to the spring-mass system with , , . The characteristic equation gives the same three cases for the transient response.
Synthesis. The foundational reason constant-coefficient linear ODEs are completely solvable is that the characteristic polynomial reduces the differential problem to an algebraic one, and this is exactly the bridge from calculus to algebra. The central insight is that is an eigenfunction of differentiation (), so the ODE becomes a polynomial in . Putting these together with the Wronskian test for linear independence, the bridge is that two solutions span the full space whenever their Wronskian is nonzero — a single algebraic condition guarantees completeness. The pattern generalises to the Laplace transform where the algebraic variable replaces the derivative operator, and appears again in the first-order theory 02.08.01 where the integrating factor method is the case of the same characteristic-polynomial idea. The result builds toward the inhomogeneous theory 02.12.13 where variation of parameters extends the framework to arbitrary forcing functions, and the spring-mass and RLC applications show that the same algebra governs mechanical and electrical oscillations.
Full proof set [Master]
Proposition 1 (Reduction of order for repeated roots). If is a double root of , then is a solution of independent of .
Proof. Set . Then , . Substituting:
Since is a root: . Since is a double root: , hence — wait. More directly: because differentiating gives at the double root. So . But also at the double root... Let me redo this cleanly.
The coefficient of is (since is a root). The constant term is (since is a double root, i.e., ). Hence .
The Wronskian .
Proposition 2 (Abel's identity). For , the Wronskian of any two solutions satisfies .
Proof.
From the ODE: and . Substituting:
The solution of is .
Proposition 3 (Variation of parameters formula). For with independent solutions of the homogeneous equation, is a particular solution where and .
Proof. Set and require (one condition to simplify). Then and . Substituting into the ODE:
The first two groups vanish (homogeneous equation). So . Combined with , this is a linear system for with determinant . Solving: , .
Connections [Master]
First-order linear and separable ODEs
02.08.01. The second-order theory generalises the first-order integrating factor method: the characteristic equation is the "polynomial upgrade" of the first-order integrating factor. Reduction of order (finding a second solution from a known one) parallels the first-order technique of finding an integrating factor from a known solution.Mean value theorem
02.05.02. The existence and uniqueness theory for second-order ODEs relies on the Picard-Lindelof theorem applied to the equivalent first-order system , which in turn depends on the Lipschitz conditions established via the MVT. The Wronskian's exponential decay (Abel's identity) is itself a first-order ODE solved by an integrating factor.Complex numbers and Euler's formula
02.09.01. The complex-root case of the characteristic equation produces solutions and via Euler's formula . Without the algebra of complex numbers, the oscillatory case cannot be expressed in closed form. The hyperbolic functions02.06.04handle the analogous real-root case where the exponentials are purely real.
Historical & philosophical context [Master]
Euler 1743, in De integratione aequationum differentialium [Euler1743], introduced the method of assuming and reducing the ODE to a polynomial equation in . This was the first systematic technique for constant-coefficient linear equations and established the characteristic equation as the central object. Euler immediately recognised the three cases (distinct real, repeated, complex) and showed that complex roots produce trigonometric solutions.
d'Alembert 1747, in Recherches sur la vibration des cordes [DAlembert1747], developed the reduction-of-order technique while studying the wave equation, and was the first to articulate the principle that the general solution of a linear equation is the sum of the homogeneous and particular solutions. Lagrange 1775, in Nouvelles recherches sur la nature et la propagation du son [Lagrange1775], introduced variation of parameters as a systematic method for finding particular solutions of non-homogeneous equations, extending d'Alembert's superposition principle to arbitrary forcing functions.
Laplace 1782, in his Memoires de l'Academie royale des Sciences de Paris [Laplace1782], introduced the integral transform that converts differential equations into algebraic equations. The Laplace transform builds directly on the characteristic-equation idea — the transform variable plays the same algebraic role as the characteristic root — while also incorporating initial conditions automatically.
Bibliography [Master]
@article{Euler1743,
author = {Euler, Leonhard},
title = {De integratione aequationum differentialium altiorum graduum},
journal = {Novi Commentarii Academiae Scientiarum Petropolitanae},
year = {1743},
}
@article{DAlembert1747,
author = {d'Alembert, Jean le Rond},
title = {Recherches sur la courbe que forme une corde tendue mise en vibration},
journal = {Histoire de l'Acad\'emie Royale des Sciences et Belles-Lettres de Berlin},
year = {1747},
pages = {214--249},
}
@article{Lagrange1775,
author = {Lagrange, Joseph-Louis},
title = {Nouvelles recherches sur la nature et la propagation du son},
journal = {Miscellanea Taurinensia},
year = {1775},
}
@article{Laplace1782,
author = {Laplace, Pierre-Simon},
title = {Th\'eorie des attractions des sph\'eroides et de la figure des plan\`etes},
journal = {M\'emoires de l'Acad\'emie Royale des Sciences de Paris},
year = {1782},
}
@book{Apostol1967,
author = {Apostol, Tom M.},
title = {Calculus, Volume 1},
publisher = {John Wiley \& Sons},
year = {1967},
}
@book{BoyceDiPrima2008,
author = {Boyce, William E. and DiPrima, Richard C.},
title = {Elementary Differential Equations and Boundary Value Problems},
publisher = {John Wiley \& Sons},
year = {2008},
edition = {9th},
}