Distinct Real Roots
Second-Order Linear ODEs
Learn how to solve constant-coefficient second-order differential equations when the characteristic equation yields two distinct real roots.
What Is a Second-Order Linear ODE?
A second-order linear ODE with constant coefficients has the general form:
The word "homogeneous" means the right-hand side is zero. We seek a function \(y(x)\) whose derivatives combine to give zero: that is the solution.
The Exponential Guess
We guess a solution of the form \(y = e^{rx}\). Why? Because the derivative of an exponential is again an exponential:
Substituting into \(ay'' + by' + cy = 0\) gives:
Since \(e^{rx} \neq 0\) for all \(x\), we require the polynomial factor to be zero. This gives us the characteristic equation.
The Characteristic Equation
This is a quadratic in \(r\). Its roots are determined by the discriminant:
Core Theorem: Distinct Real Roots
Here \(C_1\) and \(C_2\) are arbitrary constants determined by initial conditions. The two exponentials \(e^{r_1 x}\) and \(e^{r_2 x}\) are linearly independent, so they form a fundamental set of solutions.
Visualizing Two Exponentials
Why Linear Independence Matters
Two solutions \(y_1\) and \(y_2\) form a fundamental set only if they are linearly independent: one is not a constant multiple of the other.
For \(y_1 = e^{r_1 x}\) and \(y_2 = e^{r_2 x}\) with \(r_1 \neq r_2\):
Comparing the Three Cases
| Feature | Distinct Real | Repeated Real | Complex |
|---|---|---|---|
| Discriminant | \(\Delta > 0\) | \(\Delta = 0\) | \(\Delta < 0\) |
| Roots | \(r_1 \neq r_2\), both real | \(r_1 = r_2 = r\) | \(\alpha \pm \beta i\) |
| General Solution | \(C_1 e^{r_1 x} + C_2 e^{r_2 x}\) | \((C_1 + C_2 x)e^{rx}\) | \(e^{\alpha x}(C_1 \cos\beta x + C_2 \sin\beta x)\) |
| Behavior | Pure exponentials | Exponential \(\times\) polynomial | Exponential \(\times\) oscillation |
How to Solve Step by Step
Example 1: \(y'' - 5y' + 6y = 0\)
Example 2: IVP with \(y'' + y' - 6y = 0\)
Solve \(y'' + y' - 6y = 0\) with \(y(0) = 2\) and \(y'(0) = 3\).
Example 3: \(2y'' - 7y' + 3y = 0\)
Graphing the IVP Solution
Here is the solution from Example 2: \(y = \frac{1}{5}e^{-3x} + \frac{9}{5}e^{2x}\).
Long-Term Behavior
The sign and magnitude of the roots \(r_1\) and \(r_2\) determine how solutions behave as \(x \to \infty\):
Common Mistakes
Summary Checklist
Question 1 of 5
What is the characteristic equation of \(y'' - 4y' + 3y = 0\)?
Question 2 of 5
The roots of \(r^2 - 4r + 3 = 0\) are \(r = 1\) and \(r = 3\). What is the general solution?
Question 3 of 5
For the ODE \(y'' + 2y' - 8y = 0\), find the discriminant and classify the roots.
Question 4 of 5
Solve the IVP: \(y'' - y = 0\), \(y(0) = 4\), \(y'(0) = -2\). What are \(C_1\) and \(C_2\)?
Question 5 of 5
If both roots of the characteristic equation are negative, what happens to \(y(x)\) as \(x \to \infty\)?