01 / 21

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.

Differential Equations

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:

\(\Delta > 0\)
Two distinct real roots \(r_1 \neq r_2\). This is our focus today.
\(\Delta = 0\)
One repeated real root \(r_1 = r_2\). Requires a modified approach.
\(\Delta < 0\)
Complex conjugate roots \(\alpha \pm \beta i\). Involves sines and cosines.

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

\(x\)
\(y\)
\(e^{r_1 x}\), growth
\(e^{r_2 x}\), decay
0
1

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

1
Write the characteristic equation. Replace \(y''\), \(y'\), and \(y\) with \(r^2\), \(r\), and \(1\) respectively to get \(ar^2 + br + c = 0\).
2
Find the roots. Use the quadratic formula: \(r = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}\). Verify \(\Delta > 0\).
3
Write the general solution. \(y = C_1 e^{r_1 x} + C_2 e^{r_2 x}\).
4
Apply initial conditions (if given). Plug in \(y(x_0)\) and \(y'(x_0)\) to find \(C_1\) and \(C_2\).

Example 1: \(y'' - 5y' + 6y = 0\)

1
Characteristic equation: \(r^2 - 5r + 6 = 0\).
2
Factor: \((r - 2)(r - 3) = 0\), so \(r_1 = 2\) and \(r_2 = 3\).
3
Discriminant check: \(\Delta = 25 - 24 = 1 > 0\). ✓ Distinct real roots.

Example 2: IVP with \(y'' + y' - 6y = 0\)

Solve \(y'' + y' - 6y = 0\) with \(y(0) = 2\) and \(y'(0) = 3\).

1
Characteristic equation: \(r^2 + r - 6 = 0\). Factor: \((r + 3)(r - 2) = 0\). Roots: \(r_1 = -3\), \(r_2 = 2\).
2
General solution: \(y = C_1 e^{-3x} + C_2 e^{2x}\).
3
Apply \(y(0)=2\): \(C_1 + C_2 = 2\). Apply \(y'(0)=3\): \(-3C_1 + 2C_2 = 3\). Solving: \(C_1 = \frac{1}{5}\), \(C_2 = \frac{9}{5}\).

Example 3: \(2y'' - 7y' + 3y = 0\)

1
Characteristic equation: \(2r^2 - 7r + 3 = 0\).
2
Quadratic formula: \(r = \frac{7 \pm \sqrt{49 - 24}}{4} = \frac{7 \pm 5}{4}\).
3
Roots: \(r_1 = 3\) and \(r_2 = \frac{1}{2}\). Both distinct and real. ✓

Graphing the IVP Solution

Here is the solution from Example 2: \(y = \frac{1}{5}e^{-3x} + \frac{9}{5}e^{2x}\).

\(x\)
\(y\)
0
2
4
6
\(y(0) = 2\)

Long-Term Behavior

The sign and magnitude of the roots \(r_1\) and \(r_2\) determine how solutions behave as \(x \to \infty\):

Both \(r > 0\)
Both terms grow: the solution grows without bound.
Both \(r < 0\)
Both terms decay: the solution approaches zero.
Mixed signs
One term grows, one decays: the growing term dominates.

Common Mistakes

✕ Wrong Characteristic Equation
Forgetting the leading coefficient \(a\). If the ODE is \(2y'' - 7y' + 3y = 0\), the characteristic equation is \(2r^2 - 7r + 3 = 0\), not \(r^2 - 7r + 3 = 0\).
✕ Mixing Up Cases
Using the repeated-root form \((C_1 + C_2 x)e^{rx}\) when the roots are actually distinct. Always check \(\Delta\) first.
✕ Arithmetic in IVPs
Sign errors when solving the \(2 \times 2\) system for \(C_1\) and \(C_2\). Double-check by substituting back into both conditions.

Summary Checklist

1
Start with \(ay'' + by' + cy = 0\). Form \(ar^2 + br + c = 0\).
2
Compute \(\Delta = b^2 - 4ac\). Confirm \(\Delta > 0\) for distinct real roots.
3
Find \(r_1\) and \(r_2\) via factoring or the quadratic formula.
4
Write \(y = C_1 e^{r_1 x} + C_2 e^{r_2 x}\).
5
If IVP: solve the \(2 \times 2\) linear system for \(C_1, C_2\). Verify by substitution.

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\)?