SECTION 1
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.
1739 • Euler's Exponential Solutions
1762 • D'Alembert's Reduction of Order
1788 • Lagrange Formalizes the Theory
1800s • Engineering Applications
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.
SECTION 2
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
KEY TAKEAWAY
SECTION 3
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.
SECTION 4
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.
STANDARD FORM
Here a, b, and c are real constants with a ≠ 0. The primes denote derivatives with respect to x.
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.
CHARACTERISTIC EQUATION
This is a standard quadratic in r. Its solutions are r = (−b ± √(b² − 4ac)) / (2a).
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.
REPEATED ROOT CONDITION
The discriminant is zero, so the quadratic has a double root. The characteristic polynomial factors as a(r − r₀)² = 0.
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.
GENERAL SOLUTION — REPEATED ROOTS
C₁ and C₂ are arbitrary constants determined by initial conditions. The factor of x in the second term is what makes the two parts linearly independent.
SECTION 5
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.
Important Detail
SECTION 6
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.
Solve y″ − 6y′ + 9y = 0, with y(0) = 2 and y′(0) = 5
- 1
Step 1 — Write the Characteristic Equation
Assume y = erx. Substituting into y″ − 6y′ + 9y = 0 and dividing by erx gives the characteristic equation.r² − 6r + 9 = 0 - 2
Step 2 — Solve for r
Factor the quadratic: r² − 6r + 9 = (r − 3)² = 0. This gives a repeated root.r = 3 (double root) - 3
Step 3 — Verify via Discriminant
Check: b² − 4ac = (−6)² − 4(1)(9) = 36 − 36 = 0. The discriminant is zero, confirming the repeated-root case.Δ = 0 ✓ - 4
Step 4 — Write the General Solution
For a repeated root r = 3, the general solution is y = (C₁ + C₂x)e3x. This includes both the standard solution e3x and the "extra" solution xe3x.y = (C₁ + C₂x)e3x - 5
Step 5 — Apply Initial Condition y(0) = 2
Plug in x = 0: y(0) = (C₁ + C₂ × 0)e⁰ = C₁ × 1 = C₁. So C₁ = 2.C₁ = 2 - 6
Step 6 — Find y′ and Apply y′(0) = 5
Using the product rule: y′ = C₂e3x + 3(C₁ + C₂x)e3x. At x = 0: y′(0) = C₂ + 3C₁ = C₂ + 6 = 5. Therefore C₂ = −1.C₂ = −1 - 7
Step 7 — State the Final Answer
Substituting C₁ = 2 and C₂ = −1 into the general solution gives the particular solution to the IVP.y = (2 − x)e3x
SECTION 7
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₁ + C₂ | (C₁ + C₂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) |
Summary of all three cases for ay″ + by′ + cy = 0
KEY TAKEAWAY
SECTION 8
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 → | Multiply by x⁰, x¹, …, |
| Coefficients | Constant coefficients only | Variable coefficients (Cauchy–Euler, Frobenius method) |
| Nonhomogeneous | Not covered here | Variation of parameters or undetermined coefficients |
How repeated roots generalize to higher-order and more complex ODEs
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.
SECTION 9
Practice Problems
Question 1: CONCEPTUAL
Show answer
Question 2: BASIC CALCULATION
Show answer
Question 3: INTERMEDIATE
Show answer
Question 4: APPLIED
Show answer
Question 5: CRITICAL THINKING
Show answer
SUMMARY
Lesson Summary
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₂ = .
The general solution for the repeated-root case is y = (C₁ + C₂x), 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.