DIFFERENTIAL EQUATIONS • SECOND-ORDER LINEAR ODES

Distinct Real Roots

Solving second-order differential equations when the characteristic equation yields two different real solutions.

Historical Context & Motivation

For centuries, mathematicians have been fascinated by equations that describe how things change. A differential equation is an equation that involves an unknown function and its derivatives — essentially, it tells you how a quantity and its rate of change are related. Problems involving vibrating strings, swinging pendulums, and the motion of planets all led scientists to develop methods for solving these equations. The story of distinct real roots begins with the idea that certain differential equations can be reduced to simpler algebraic ones.

1676
Leibniz & Newton Invent Calculus
Gottfried Wilhelm Leibniz and Isaac Newton independently developed calculus, providing the mathematical language needed to write and study differential equations for the first time.
1743
Euler's Characteristic Equation
Leonhard Euler discovered that solutions to linear ODEs with constant coefficients could be found by solving a polynomial — the characteristic equation. This transformed differential equations into algebra.
1750
d'Alembert's General Solutions
Jean le Rond d'Alembert formalized the idea that a second-order linear ODE has a general solution built from two independent solutions, laying the groundwork for superposition.
1800s
Engineering Applications Flourish
As the Industrial Revolution progressed, engineers used second-order ODEs to model everything from bridge vibrations to electrical circuits, making solution techniques like distinct real roots essential practical tools.

The key question that Euler's work addressed is this: given a second-order linear ODE with constant coefficients, how do we find its general solution without guessing? The answer lies in converting the problem into a quadratic equation. When that quadratic has two distinct real roots, we get the simplest and most elegant type of solution — a combination of two exponential functions. This is the case we explore in this lesson.

Core Principles & Definitions

Before diving into the solution method, let's establish the essential ideas. A second-order linear ODE with constant coefficients has the general form ay″ + by′ + cy = 0, where a, b, and c are real constants and a ≠ 0. The word "homogeneous" means the right-hand side is zero. Our goal is to find all functions y(x) that satisfy this equation.

1

Characteristic Equation

Replace y″ with r², y′ with r, and y with 1 to form the quadratic ar² + br + c = 0. The roots of this polynomial determine the structure of the solution.
2

Distinct Real Roots

When the discriminant b² − 4ac > 0, the characteristic equation yields two different real roots r₁ and r₂. This is the case that produces the simplest general solution.
3

General Solution Form

With distinct real roots r₁ and r₂, the general solution is y = C₁e^(r₁x) + C₂e^(r₂x), where C₁ and C₂ are arbitrary constants determined by initial conditions.
4

Linear Independence

The two functions e^(r₁x) and e^(r₂x) are linearly independent when r₁ ≠ r₂. This means neither is a constant multiple of the other, so together they span all possible solutions.
KEY TAKEAWAY
Think of solving a second-order ODE like tuning a radio to pick up two separate frequencies. When the characteristic equation has distinct real roots, you get two independent "channels" — er₁x and er₂x. The general solution mixes these two channels in any proportion you like (using C₁ and C₂), just like adjusting the volume on each frequency. The initial conditions are what tell you exactly how much of each channel to include.

Visual Explanation

The diagram below shows how the process works from start to finish. You begin with a second-order ODE, convert it to a characteristic (quadratic) equation, find two distinct real roots, and then write the general solution. The flowchart makes the logical chain clear.

The flowchart traces the four key steps: start with the ODE, form the characteristic equation by substituting r for derivatives, check that the discriminant is positive (ensuring distinct real roots), find the roots using the quadratic formula, and write the general solution as a sum of two exponentials.

Notice how each box feeds into the next. The critical decision point is the discriminant check. If b² − 4ac is positive, you have two distinct real roots and can proceed directly to the general solution shown in the pink box at the bottom. If the discriminant were zero or negative, you'd need a different solution technique — but that's a story for another lesson.

Mathematical Framework

Let's formalize the method. We start with a second-order linear homogeneous ODE with constant coefficients. Our strategy is to guess a solution of the form y = erx and see what value of r makes it work. This guess is motivated by the fact that exponential functions have the special property that their derivatives are proportional to themselves.

SECOND-ORDER LINEAR ODE
ay″ + by′ + cy = 0
Here a, b, and c are real constants with a ≠ 0. The function y = y(x) is the unknown, and primes denote derivatives with respect to x.

If y = erx, then y′ = rerx and y″ = r²erx. Substituting into the ODE gives ar²erx + brerx + cerx = 0. Since erx is never zero, we can factor it out, leaving the characteristic equation.

CHARACTERISTIC EQUATION
ar² + br + c = 0
This is a standard quadratic in r. The values of r that satisfy this equation are called the characteristic roots (or eigenvalues) of the ODE.
DISCRIMINANT CONDITION
Δ = b² − 4ac > 0 → two distinct real roots
The discriminant Δ = b² − 4ac determines the nature of the roots. When Δ > 0, the quadratic formula yields r₁ = (−b + √Δ) / (2a) and r₂ = (−b − √Δ) / (2a), with r₁ ≠ r₂.
GENERAL SOLUTION — DISTINCT REAL ROOTS
y(x) = C₁e^(r₁x) + C₂e^(r₂x)
C₁ and C₂ are arbitrary constants. If you are given initial conditions such as y(0) = y₀ and y′(0) = y₀′, you can solve for C₁ and C₂ to obtain a unique particular solution.

Classifying Characteristic Roots

The discriminant of the characteristic equation acts like a sorting hat: it tells you which category your ODE falls into and, consequently, what form the general solution takes. Understanding all three cases helps you appreciate why the distinct real roots case is the most straightforward.

Top row: the three cases based on the discriminant, with the solution form for each. Bottom row: sketches showing typical solution shapes. Distinct real roots (Case 1) produce exponential curves that grow or decay smoothly. Repeated roots (Case 2) produce similar shapes but multiplied by x. Complex roots (Case 3) produce oscillating behavior.
Summary of the three characteristic root cases
PropertyDistinct Real Roots (Δ > 0)Repeated Root (Δ = 0)Complex Roots (Δ < 0)
Rootsr₁ ≠ r₂, both realr₁ = r₂ = rr = α ± βi
Solution formC₁e^(r₁x) + C₂e^(r₂x)(C₁ + C₂x)e^(rx)e^(αx)(C₁cos βx + C₂sin βx)
BehaviorExponential growth/decayModified exponentialOscillation (damped or growing)

Worked Example

Let's walk through a complete example with initial conditions so you can see every step in action.

Solve y″ − 5y′ + 6y = 0, y(0) = 2, y′(0) = 3
1
Step 1 — Write the Characteristic EquationReplace y″ with r², y′ with r, and y with 1. The ODE y″ − 5y′ + 6y = 0 becomes the quadratic equation:
r² − 5r + 6 = 0
2
Step 2 — Compute the DiscriminantIdentify a = 1, b = −5, c = 6. Compute the discriminant Δ = b² − 4ac = (−5)² − 4(1)(6) = 25 − 24 = 1. Since Δ = 1 > 0, we have two distinct real roots.
Δ = 1 > 0 ✓
3
Step 3 — Find the RootsFactor the quadratic: r² − 5r + 6 = (r − 2)(r − 3) = 0. Alternatively, use the quadratic formula: r = (5 ± √1) / 2. Either way, we get r₁ = 2 and r₂ = 3.
r₁ = 2, r₂ = 3
4
Step 4 — Write the General SolutionWith distinct real roots r₁ = 2 and r₂ = 3, the general solution is:
y(x) = C₁e^(2x) + C₂e^(3x)
5
Step 5 — Apply Initial Condition y(0) = 2Substitute x = 0: y(0) = C₁e⁰ + C₂e⁰ = C₁ + C₂ = 2. This gives us equation ①: C₁ + C₂ = 2.
C₁ + C₂ = 2 …①
6
Step 6 — Apply Initial Condition y′(0) = 3First, differentiate: y′(x) = 2C₁e^(2x) + 3C₂e^(3x). Now substitute x = 0: y′(0) = 2C₁ + 3C₂ = 3. This gives equation ②: 2C₁ + 3C₂ = 3.
2C₁ + 3C₂ = 3 …②
7
Step 7 — Solve the System for C₁ and C₂From ①: C₁ = 2 − C₂. Substitute into ②: 2(2 − C₂) + 3C₂ = 3 → 4 − 2C₂ + 3C₂ = 3 → C₂ = −1. Then C₁ = 2 − (−1) = 3.
C₁ = 3, C₂ = −1
8
Step 8 — Write the Particular SolutionSubstitute the constants back into the general solution:
y(x) = 3e^(2x) − e^(3x)
Verification Tip
You can always check your answer by plugging y = 3e2x − e3x back into the original ODE. Compute y″ − 5y′ + 6y and confirm it equals zero. Also verify that y(0) = 3 − 1 = 2 ✓ and y′(0) = 6 − 3 = 3 ✓.

Strengths & Limitations

The characteristic equation method is powerful but not universal. Understanding its strengths and limitations will help you know when to use it and when a different approach is needed.

Strengths vs. Limitations of the Distinct Real Roots Method
StrengthsLimitations
Converts a differential equation into simple algebra — just solve a quadratic.Only works for linear ODEs with constant coefficients; if a, b, or c are functions of x, this method fails.
Gives an exact, closed-form solution — no approximation needed.Only applies to homogeneous equations (right-hand side equals zero). Non-homogeneous equations require additional techniques.
Initial conditions are easy to apply — just solve a 2×2 system of linear equations.When the discriminant is zero or negative, you need modified techniques (repeated roots or complex roots).
The solution clearly shows exponential growth or decay behavior, making physical interpretation straightforward.For higher-order ODEs, the characteristic equation becomes a higher-degree polynomial that may not factor easily.
KEY TAKEAWAY
The distinct real roots method is like having a master key that opens a specific type of lock. It works perfectly when the lock is a second-order, linear, constant-coefficient, homogeneous ODE with a positive discriminant. For other lock types — variable coefficients, non-homogeneous terms, or non-positive discriminants — you'll need different keys from your mathematical toolkit.

Connection to Advanced Theory

The distinct real roots case is your entry point into a much larger landscape. As you advance in differential equations, you'll encounter situations that build directly on this foundation. The table below shows how this lesson connects to more advanced topics.

How distinct real roots connect to advanced differential equations topics
This LessonAdvanced Extension
Homogeneous equation (right side = 0)Non-homogeneous equations (right side ≠ 0), solved using undetermined coefficients or variation of parameters
Constant coefficients a, b, cVariable coefficients (Cauchy-Euler equations, power series solutions)
Second-order (highest derivative is y″)Higher-order linear ODEs with nth-degree characteristic polynomials
Two arbitrary constants C₁, C₂Systems of ODEs using matrices and eigenvalues — same idea, but in multiple dimensions
Exponential solutions e^(rx)Laplace transform methods that handle initial conditions automatically

One especially beautiful connection is to linear algebra. When you study systems of differential equations, you'll see that the characteristic equation of an ODE is essentially the same as finding eigenvalues of a matrix. Distinct real roots correspond to distinct eigenvalues, and the exponential solutions correspond to eigenvectors. The ideas you're learning now will reappear in a powerful new form.

Practice Problems

PROBLEM 1CONCEPTUAL
Explain in your own words why we assume a solution of the form y = erx when solving a second-order linear ODE with constant coefficients. What property of exponential functions makes this guess work?
PROBLEM 2BASIC CALCULATION
Find the general solution of y″ − y′ − 6y = 0.
PROBLEM 3INTERMEDIATE
Solve the initial value problem: 2y″ + y′ − 3y = 0, y(0) = 1, y′(0) = 4.
PROBLEM 4APPLIED
A certain RC circuit's voltage V(t) satisfies V″ − 7V′ + 10V = 0, where t is in seconds. If V(0) = 5 volts and V′(0) = 1 volt/second, find V(t). Then determine the voltage at t = 0.5 seconds (round to two decimal places).
PROBLEM 5CRITICAL THINKING
Consider the ODE y″ + by′ − 2y = 0. For what values of the constant b will this equation have distinct real roots? Write the general solution in terms of b for those values, and describe qualitatively how the behavior of the solution changes as b increases from 0.

Lesson Summary

When you encounter a second-order linear homogeneous ODE with constant coefficients — ay″ + by′ + cy = 0 — the solution strategy is to form the characteristic equation ar² + br + c = 0 by replacing derivatives with powers of r. When the discriminant b² − 4ac is positive, the quadratic yields two distinct real roots r₁ and r₂, and the general solution is y = C₁e^(r₁x) + C₂e^(r₂x).

The two exponential functions are linearly independent because r₁ ≠ r₂, which guarantees they form a complete basis for all solutions. To find a particular solution, apply initial conditions to set up and solve a system of two equations for C₁ and C₂. This method works because the exponential function's derivatives are proportional to itself, cleanly converting a calculus problem into an algebra problem.

Varsity Tutors • Differential Equations • Distinct Real Roots