DIFFERENTIAL EQUATIONS • SECOND-ORDER LINEAR ODES

Characteristic Equation

Turn a second-order differential equation into a simple algebra problem you already know how to solve.

Historical Context & Motivation

For centuries, mathematicians and scientists encountered equations that described how things change — how a vibrating string moves, how heat flows through a metal rod, or how a bridge sways in the wind. These equations, called differential equations, involve derivatives (rates of change) and are often much harder to solve than regular algebraic equations. The breakthrough came when mathematicians realized that certain differential equations could be converted into polynomial equations — turning calculus back into algebra.

The characteristic equation is that algebraic shortcut. Instead of guessing and checking solutions to a differential equation, you translate the problem into a quadratic equation, solve it using techniques you learned in Algebra 2, and then write down the solution. This idea grew out of work by Euler, d'Alembert, and other mathematicians who studied vibrations, waves, and mechanics.

1739
Euler's Exponential Insight
Leonhard Euler proposed that solutions to linear ODEs could take the form erx, where r is a constant. This guess transforms a differential equation into a polynomial equation.
1743
D'Alembert's Contributions
Jean le Rond d'Alembert systematically applied exponential trial solutions to second-order equations, laying groundwork for the characteristic equation method used today.
1750s
Complex Roots & Oscillations
Euler connected complex-number roots of the characteristic equation to sine and cosine functions, explaining why springs and pendulums oscillate.
1800s
Engineering Applications
Engineers applied the characteristic equation to design suspension bridges, electrical circuits, and shock absorbers — any system that vibrates, damps, or resonates.

The central question this lesson addresses is: given a second-order linear ODE with constant coefficients, how do we find its general solution without trial-and-error? The characteristic equation gives us a reliable, step-by-step method to do exactly that.

Core Principles & Definitions

Before diving into the method, let's establish the key ideas. A second-order linear ODE with constant coefficients is an equation of the form ay″ + by′ + cy = 0, where a, b, and c are constants and y is a function of x (or t). The word "homogeneous" means the right side equals zero. The entire characteristic equation technique rests on one clever guess: suppose the solution looks like y = erx.

1

The Trial Solution

We guess that y = erx is a solution. Because the derivative of erx is just r × erx, exponentials play nicely with derivatives.
2

Substitution & Cancellation

When you plug y = erx into ay″ + by′ + cy = 0, every term contains erx. Since erx is never zero, you can divide it out, leaving a polynomial in r.
3

The Characteristic Equation

After cancelling erx, you get ar² + br + c = 0, a standard quadratic. This is the characteristic equation (also called the auxiliary equation).
4

Three Cases for Roots

The discriminant b² − 4ac determines whether the roots are two distinct real numbers, one repeated real number, or two complex conjugates — each case gives a different form of the solution.
5

General Solution

The general solution is a linear combination of the independent solutions you find from the roots. The constants C₁ and C₂ are determined by initial conditions.
KEY TAKEAWAY
Think of the characteristic equation like a language translator. You have a differential equation written in the "language of calculus" — derivatives, rates of change. The characteristic equation translates it into the "language of algebra" — a quadratic you already know how to solve. Once you solve the quadratic, you translate the answer back into a function that satisfies the original differential equation.

Visual Explanation — From ODE to Quadratic

The diagram below shows the entire characteristic equation workflow. Follow the arrows from the original differential equation through the trial solution, substitution, and simplification to arrive at the characteristic quadratic, then see how the three types of roots lead to three different solution forms.

The workflow starts with the original ODE at the top. By substituting the exponential trial solution and dividing out erx, we obtain the characteristic quadratic in the gold box. The three branches at the bottom correspond to the three cases determined by the discriminant.

Notice that the entire process hinges on the fact that erx is never zero. Because of this, the only way the substituted equation can equal zero is if the polynomial ar² + br + c itself equals zero. That single observation is what converts a calculus problem into an algebra problem.

Mathematical Framework

Let's walk through the algebra carefully. We start with the general second-order linear homogeneous ODE with constant coefficients and derive the characteristic equation step by step.

STARTING EQUATION
ay″ + by′ + cy = 0
Here a, b, and c are real-number constants (with a ≠ 0), and y is a function of x. The primes (′ and ″) denote first and second derivatives.
TRIAL SOLUTION
y = e^(rx) → y′ = re^(rx) → y″ = r²e^(rx)
The exponential function erx has the special property that its derivatives bring down powers of r. This is why exponentials are the natural candidate for trial solutions.
SUBSTITUTION RESULT
a(r²e^(rx)) + b(re^(rx)) + c(e^(rx)) = 0 → e^(rx)(ar² + br + c) = 0
After substituting, every term contains erx as a common factor. Since erx > 0 for all x, we can safely divide both sides by it.
CHARACTERISTIC EQUATION
ar² + br + c = 0
Solve using the quadratic formula: r = (−b ± √(b² − 4ac)) / (2a). The discriminant Δ = b² − 4ac determines which of the three cases applies.
⚠️ Watch the Notation
The a, b, c in the characteristic equation ar² + br + c = 0 are the same coefficients from the original ODE ay″ + by′ + cy = 0. Don't confuse the r in the characteristic equation with the x in the ODE — r is the unknown you're solving for, while x is the independent variable of the original function.

The Three Cases — Classified by the Discriminant

The nature of the solution depends entirely on the discriminant Δ = b² − 4ac. You already know from Algebra 2 that the discriminant tells you whether a quadratic has two real roots, one repeated root, or complex roots. The same idea applies here, and each case produces a different type of function as the solution to the ODE.

The three cases of the characteristic equation and their corresponding solution forms.
CaseDiscriminantRootsGeneral SolutionBehavior
1 — Distinct RealΔ > 0r₁ ≠ r₂, both realy = C₁e^(r₁x) + C₂e^(r₂x)Exponential growth/decay
2 — Repeated RealΔ = 0r₁ = r₂ = ry = (C₁ + C₂x)e^(rx)Critically damped
3 — Complex ConjugatesΔ < 0r = α ± βiy = e^(αx)(C₁cos βx + C₂sin βx)Oscillation (damped or growing)
Three graphs showing the qualitative behavior of solutions in each case. Case 1 (green) shows pure exponential growth or decay. Case 2 (cyan) shows critically damped behavior — approaching zero as quickly as possible without oscillating. Case 3 (pink) shows damped oscillation, where the dashed envelope curves show the exponential decay that constrains the oscillation.

In Case 1, the two distinct exponentials act independently — one might grow while the other decays, and their sum creates the overall behavior. In Case 2, having a repeated root means we only get one exponential function from the quadratic, so we need to multiply by x to get a second independent solution. In Case 3, the imaginary part β of the complex roots produces oscillation through sine and cosine, while the real part α controls whether those oscillations grow (α > 0), decay (α < 0), or remain constant (α = 0).

Worked Example — All Three Cases

Example A: Distinct Real Roots

Solve the differential equation y″ − 3y′ + 2y = 0.

Case 1 — Two Distinct Real Roots
1
Step 1 — Identify CoefficientsComparing y″ − 3y′ + 2y = 0 with the general form ay″ + by′ + cy = 0, we identify a = 1, b = −3, and c = 2.
2
Step 2 — Write the Characteristic EquationReplace y″ with r², y′ with r, and y with 1 to get the characteristic equation: r² − 3r + 2 = 0.
r² − 3r + 2 = 0
3
Step 3 — Solve the QuadraticFactor: (r − 1)(r − 2) = 0. This gives r₁ = 1 and r₂ = 2. Since these are two distinct real roots, we are in Case 1.
r₁ = 1, r₂ = 2
4
Step 4 — Write the General SolutionUsing the Case 1 formula y = C₁e^(r₁x) + C₂e^(r₂x), substitute the values of r₁ and r₂.
y = C₁eˣ + C₂e²ˣ

Example B: Repeated Root

Solve the differential equation y″ − 4y′ + 4y = 0.

Case 2 — Repeated Root
1
Step 1 — Write the Characteristic EquationHere a = 1, b = −4, c = 4. The characteristic equation is r² − 4r + 4 = 0.
2
Step 2 — Solve the QuadraticFactor: (r − 2)² = 0, so r = 2 is a repeated root. The discriminant is (−4)² − 4(1)(4) = 16 − 16 = 0, confirming Case 2.
r = 2 (repeated)
3
Step 3 — Write the General SolutionFor a repeated root r, the general solution is y = (C₁ + C₂x)e^(rx). The extra factor of x is needed because we need two linearly independent solutions, and e^(rx) alone only gives us one.
y = (C₁ + C₂x)e²ˣ

Example C: Complex Conjugate Roots

Solve the differential equation y″ + 2y′ + 5y = 0.

Case 3 — Complex Conjugate Roots
1
Step 1 — Write the Characteristic EquationWith a = 1, b = 2, c = 5, the characteristic equation is r² + 2r + 5 = 0.
2
Step 2 — Compute the DiscriminantΔ = b² − 4ac = (2)² − 4(1)(5) = 4 − 20 = −16. Since Δ < 0, the roots are complex conjugates.
Δ = −16 < 0
3
Step 3 — Find the RootsUsing the quadratic formula: r = (−2 ± √(−16)) / 2 = (−2 ± 4i) / 2 = −1 ± 2i. So α = −1 (real part) and β = 2 (imaginary part).
r = −1 ± 2i → α = −1, β = 2
4
Step 4 — Write the General SolutionFor complex roots r = α ± βi, the solution is y = e^(αx)(C₁cos βx + C₂sin βx). Substituting α = −1 and β = 2 gives us our answer.
y = e^(−x)(C₁cos 2x + C₂sin 2x)

Strengths, Limitations & When It Applies

The characteristic equation method is powerful, but it doesn't work for every differential equation. Understanding when it applies — and when it doesn't — is just as important as knowing how to use it.

When the characteristic equation method shines — and where it has boundaries.
StrengthsLimitations
Converts a calculus problem into straightforward algebra — just solve a quadratic.Only works for linear ODEs with constant coefficients. If the coefficients depend on x (e.g., xy″ + y = 0), this method fails.
Gives an exact, closed-form general solution — no approximation needed.Only handles the homogeneous case (right side = 0). For ay″ + by′ + cy = g(x), additional techniques like undetermined coefficients or variation of parameters are required.
The discriminant immediately tells you the qualitative behavior of the solution (growth, decay, oscillation).Does not directly extend to nonlinear equations like y″ + y² = 0, which require entirely different approaches.
Extends naturally to higher-order ODEs — you get a cubic, quartic, etc. instead of a quadratic.For higher-order equations, solving the resulting polynomial (cubic, quartic) can become difficult by hand.
KEY TAKEAWAY
Think of the characteristic equation method like a universal remote control — it works perfectly for a specific brand of TV (constant-coefficient, homogeneous, linear ODEs). If you have a different brand (variable coefficients, nonlinear terms, or a non-zero right-hand side), you'll need a different remote. But for the equations it does handle, it's the fastest and most elegant tool available.

Connection to Advanced Theory

The characteristic equation method you've learned for second-order ODEs is actually a special case of a broader framework. As you continue in mathematics and science, you'll see this same idea appear in more advanced settings.

How the characteristic equation connects to more advanced topics.
What You Learned HereWhere It Goes Next
Second-order ODE → quadratic characteristic equationnth-order ODE → degree-n polynomial characteristic equation
Solve ar² + br + c = 0 with the quadratic formulaEigenvalue problems in linear algebra use a similar "characteristic polynomial" det(A − λI) = 0
Homogeneous equation ay″ + by′ + cy = 0Non-homogeneous ay″ + by′ + cy = g(x) solved by first finding the homogeneous solution, then adding a particular solution
Constant coefficients (a, b, c are numbers)Variable coefficients require power series methods, Frobenius method, or numerical techniques

In a college-level linear algebra course, you'll discover that the "characteristic equation" of a matrix is found using exactly the same idea — looking for special values (called eigenvalues) that make a system behave predictably. The deep connection between differential equations and linear algebra is one of the most beautiful results in all of mathematics. For now, mastering the second-order case gives you a solid foundation for everything that follows.

🔭 Looking Ahead
If you study physics or engineering, you'll use the characteristic equation to analyze electrical circuits (RLC circuits), mechanical vibrations (mass-spring-damper systems), and even quantum mechanics. The same three cases — overdamped, critically damped, and underdamped — appear everywhere in the physical world.

Practice Problems

PROBLEM 1CONCEPTUAL
Explain in your own words why we guess y = erx as a trial solution for a second-order linear ODE with constant coefficients. Why not guess y = x² or y = sin x instead?
PROBLEM 2BASIC CALCULATION
Find the general solution of y″ − 5y′ + 6y = 0.
PROBLEM 3INTERMEDIATE
Solve the differential equation 2y″ + 8y′ + 8y = 0. Identify which case applies and explain why the solution takes its particular form.
PROBLEM 4APPLIED
A mass on a spring satisfies y″ + 6y′ + 25y = 0, where y represents displacement from equilibrium. Find the general solution and describe the physical behavior of the system. Will the mass oscillate? If so, will the oscillations grow, stay constant, or die out?
PROBLEM 5CRITICAL THINKING
Consider the family of ODEs y″ + by′ + 9y = 0, where b is a positive constant. (a) For what value of b does the equation transition from Case 3 (complex roots) to Case 2 (repeated root)? (b) For what values of b are the solutions oscillatory? (c) Interpret your answer physically in terms of a mass-spring-damper system.

Lesson Summary

The characteristic equation transforms a second-order linear homogeneous ODE with constant coefficients into a quadratic equation by substituting the trial solution y = e^(rx) and dividing out the common exponential factor. Starting from ay″ + by′ + cy = 0, you obtain ar² + br + c = 0 — an equation you can solve with factoring or the quadratic formula.

The discriminant Δ = b² − 4ac determines the solution type: two distinct real roots (Δ > 0) yield exponential growth/decay, a repeated root (Δ = 0) produces critically damped behavior with an extra factor of x, and complex conjugate roots (Δ < 0) generate oscillatory solutions involving sine and cosine wrapped in an exponential envelope. This single technique converts calculus into algebra and provides exact solutions that describe vibrations, electrical circuits, and countless other physical systems.

Varsity Tutors • Differential Equations • Characteristic Equation