Historical Context & Motivation
Differential equations became essential tools for describing the natural world during the 1700s and 1800s, when mathematicians like Euler, d'Alembert, and Lagrange studied how physical systems — springs, pendulums, vibrating strings — change over time. A second-order linear ODE (ordinary differential equation) involves a function, its first derivative, and its second derivative, all combined in a linear way. Finding the general solution to such equations requires solving a polynomial called the characteristic equation. Most of the time, this polynomial yields two distinct roots, and the solution strategy is straightforward. But a fascinating special case arises when those two roots are exactly the same — the repeated-root case.
Here's the core question that motivates this lesson: if the characteristic equation of a second-order ODE has two identical roots, the usual approach only produces one independent solution. But a second-order equation demands two independent solutions to form a complete general solution. How do we find the missing one? That's exactly what this lesson will teach you.
Core Principles & Definitions
Before we tackle the repeated-root case directly, let's make sure the foundational ideas are clear. We are working with second-order, linear, homogeneous ODEs that have constant coefficients. The standard form looks like ay″ + by′ + cy = 0, where a, b, and c are constants and a ≠ 0. Solving these equations always begins with the same move: assume a trial solution of the form y = erx and substitute it into the ODE. This produces the characteristic equation ar² + br + c = 0, whose roots determine the nature of the general solution.
Characteristic Equation
Discriminant Test
Linear Independence
The Repeated Root Fix
General Solution
Visual Explanation
The diagram below shows the three possible cases for the roots of the characteristic equation, focusing on how the repeated-root case sits right on the boundary between two distinct real roots and two complex roots. Understanding this boundary position is key to seeing why repeated roots matter in both mathematics and physics.
Notice the critical difference in the center panel. Because both roots are the same, you can't just write C₁erx + C₂erx — that would simplify to (C₁ + C₂)erx, which is really just one solution with a single constant. The extra factor of x in the dashed curve is what makes the second solution genuinely different from the first.
Mathematical Framework
Let's build the solution step by step. We start with the general form of a second-order, linear, homogeneous ODE with constant coefficients.
We guess a solution of the form y = erx. Substituting into the ODE gives y′ = rerx and y″ = r²erx. Factoring out erx (which is never zero) produces the characteristic equation.
The repeated-root case occurs exactly when the discriminant equals zero: b² − 4ac = 0. In that situation the quadratic formula simplifies to a single value r = −b / (2a). This one root gives us only one solution: y₁ = erx. We need a second independent solution.
To find the missing second solution, we use a technique called reduction of order. We guess that the second solution has the form y₂ = v(x) × erx for some unknown function v(x). After substituting this into the ODE and using the fact that r is a double root, all terms involving v and v′ vanish, leaving only v″ = 0. Integrating twice gives v = C₁ + C₂x. The simplest non-trivial new piece is v(x) = x, so the second independent solution is y₂ = xerx.
Why Multiplying by x Works
You might wonder: why does multiplying by x produce a valid, independent solution? Let's break down the logic more carefully. When you substitute y₂ = v(x)erx into ay″ + by′ + cy = 0 and expand using the product rule, you get a new ODE in v(x). The key insight is that because r is a double root, the terms with v(x) itself and v′(x) both cancel out. You're left with av″erx = 0, which means v″ = 0. Integrating once gives v′ = constant, and integrating again gives v = C₁ + C₂x. The C₁ part just reproduces the first solution we already knew, so the genuinely new piece is the C₂x term. That's why y₂ = xerx is the correct second solution.
Worked Example
Let's solve a complete initial value problem (IVP) involving a repeated root. We'll find the general solution and then use initial conditions to determine the specific constants.
Comparing All Three Root Cases
To solidify your understanding of repeated roots, it helps to see all three cases side by side. The table below summarizes the discriminant condition, the nature of the roots, the form of the general solution, and a typical behavior you'd see in the graph. Each case is fundamentally determined by a single number: the discriminant Δ = b² − 4ac.
| Feature | Distinct Real Roots | Repeated Root | Complex Roots |
|---|---|---|---|
| Discriminant | Δ > 0 | Δ = 0 | Δ < 0 |
| Roots | r₁, r₂ (real, different) | r (one value, multiplicity 2) | α ± βi (complex pair) |
| General Solution | C₁e^(r₁x) + C₂e^(r₂x) | (C₁ + C₂x)e^(rx) | e^(αx)[C₁cos(βx) + C₂sin(βx)] |
| Typical Behavior | Sum of two different exponentials | Exponential × linear polynomial | Exponential envelope × oscillation |
| Physical Example | Overdamped spring | Critically damped spring | Underdamped spring (oscillation) |
Connection to Advanced Theory
The repeated-root idea appears again in several advanced settings. For higher-order ODEs (third-order, fourth-order, and beyond), a root of multiplicity k generates k independent solutions of the form erx, xerx, x²erx, …, xk−1erx. The second-order case is just the simplest instance of this general pattern.
| Concept | This Lesson (2nd-Order) | Advanced Extension |
|---|---|---|
| Order | Second-order (n = 2) | n-th order for any n |
| Multiplicity | Root repeated exactly twice | Root repeated k times (k ≤ n) |
| Extra solutions | Multiply by x once → xe^(rx) | Multiply by x⁰, x¹, …, x^(k−1) |
| Coefficients | Constant coefficients only | Variable coefficients (Cauchy–Euler, Frobenius method) |
| Nonhomogeneous | Not covered here | Variation of parameters or undetermined coefficients |
If you continue studying differential equations, you'll also encounter the method of undetermined coefficients for nonhomogeneous equations. In that setting, the repeated-root concept matters again: if the forcing term on the right-hand side happens to be a solution of the homogeneous equation, you must multiply your guess by an extra factor of x — the same kind of fix you learned here. The underlying reason is identical: you need linearly independent functions.
Practice Problems
Lesson Summary
When solving a second-order linear homogeneous ODE with constant coefficients (ay″ + by′ + cy = 0), the characteristic equation ar² + br + c = 0 determines the form of the solution. The repeated-root case occurs when the discriminant b² − 4ac equals zero, producing a single root r = −b/(2a) of multiplicity two. Because two identical exponential solutions are not linearly independent, we use reduction of order to discover the second solution y₂ = xe^(rx).
The general solution for the repeated-root case is y = (C₁ + C₂x)e^(rx), where C₁ and C₂ are constants fixed by initial conditions. Physically, this case corresponds to critical damping — the fastest return to equilibrium without oscillation. Mastering this special case prepares you for higher-order repeated roots, nonhomogeneous equations, and the broader theory of linear differential equations.