Skip to main content

Section 2.3 Repeated Roots and Reduction of Order

The last case we have to handle for solving all second order linear constant coefficient equations is the case where \(b^2 - 4ac = 0\) in the equation
\begin{equation*} ay'' + by' + cy = 0. \end{equation*}
When we try to find the characteristic equation and find solutions to this equation, we get a double root at \(r_1\text{,}\) so that the characteristic polynomial is \((r-r_1)^2\text{.}\) For this, we get that \(e^{r_1x}\) is a solution. However, that’s the only solution we get. We need to have two linearly independent solutions in order to get the general solution to the differential equation, so we need to find some method to get another solution. The standard method, and the one we apply here is reduction of order. Let’s see how this works through an example.

Example 2.3.1.

Find two linearly independent solutions to the differential equation
\begin{equation*} y'' + 2y' + y = 0. \end{equation*}
Solution.
To start, we find the first solution using our original method. The characteristic equation here is \(r^2 + 2r + 1 = 0\text{,}\) which is \((r+1)^2\text{.}\) Therefore, we have a double root at \(r=-1\text{,}\) so that \(y_1(x) = e^{-x}\) is a solution.
To find a second solution, the reduction of order method suggests that we try to plug in \(y = v(x)e^{-x}\) for an unknown function \(v(x)\text{.}\) The goal is to figure out an equation that \(v\) must satisfy to see if this leads us to a second solution to the original equation. We can compute the first two derivatives of \(y = v(x) e^{-x}\)
\begin{align*} y(x) \amp= v(x)e^{-x} \\ y'(x) \amp= v'(x)e^{-x} - v(x)e^{-x} \\ y''(x) \amp= v''(x)e^{-x} - 2v'(x)e^{-x} + v(x)e^{-x} \end{align*}
and then plug them into the original differential equation
\begin{align*} 0 \amp= y'' + 2y' + y \\ \amp= (v''(x)e^{-x} - 2v'(x)e^{-x} + v(x)e^{-x}) + 2(v'(x)e^{-x} - v(x)e^{-x}) + v(x)e^{-x} \\ \amp= v''(x)e^{-x} + v'(x)(-2e^{-x}+2e^{-x}) + v(x)(e^{-x} - 2e^{-x} + e^{-x}) \\ \amp= v''(x)e^{-x} \end{align*}
Since \(e^{-x}\) is never zero, this means we must have \(v''(x) = 0\text{.}\) This is still a second order equation, but we know how to solve it. We can integrate both sides twice to get that \(v(x) = Ax + B\) for any constants \(A\) and \(B\text{.}\)
Our goal with all of this was to find a solution \(y\) of the form \(v(x)e^{-x}\text{.}\) The set up here means that \(y = (Ax + B)e^{-x}\) will solve the differential equation. Since we already knew that \(Be^{-x}\) was a solution, the new information we gained here was that \(Axe^{-x}\text{,}\) or in particular, \(xe^{-x}\) is a solution to the differential equation. Thus, our two solutions are \(y_1(x) = e^{-x}\) and \(y_2(x) = xe^{-x}\text{.}\)

Checkpoint 2.3.2.

Check that \(e^{-x}\) and \(xe^{-x}\) both solve \(y'' + 2y' + y = 0\text{,}\) and that these solutions are linearly independent.
The reduction of order method applies more generally to any second order linear homogeneous equation and the goal is the same: use one solution of the differential equation to generate another one. The idea is that if we somehow found \(y_1\) as a solution of \(y'' + p(x) y' + q(x) y = 0\) we try a second solution of the form \(y_2(x) = y_1(x) v(x)\text{.}\) We just need to find \(v\text{.}\) We plug \(y_2\) into the equation:
\begin{align*} 0 = y_2'' + p(x) y_2' + q(x) y_2 \amp =y_1'' v + 2 y_1' v' + y_1 v'' + p(x) ( y_1' v + y_1 v' )+ q(z) y_1 v \\ \amp = y_1 v'' + (2 y_1' + p(x) y_1) v' + \cancelto{0}{\bigl( y_1'' + p(x) y_1' + q(x) y_1 \bigr)} v \text{.} \end{align*}
In other words, \(y_1 v'' + (2 y_1' + p(x) y_1) v' = 0\text{.}\) Using \(w = v'\) we have the first order linear equation \(y_1 w' + (2 y_1' + p(x) y_1) w = 0\text{.}\) After solving this equation for \(w\) (integrating factor), we find \(v\) by antidifferentiating \(w\text{.}\) We then form \(y_2\) by computing \(y_1 v\text{.}\) For example, suppose we somehow know \(y_1 = x\) is a solution to \(y''+x^{-1}y'-x^{-2} y=0\text{.}\) The equation for \(w\) is then \(xw' + 3 w = 0\text{.}\) We find a solution, \(w = Cx^{-3}\text{,}\) and we find an antiderivative \(v = \frac{-C}{2x^2}\text{.}\) Hence \(y_2 = y_1 v = \frac{-C}{2x}\text{.}\) Any \(C\) works and so \(C=-2\) makes \(y_2 = \nicefrac{1}{x}\text{.}\) Thus, the general solution is \(y = C_1 x + C_2\nicefrac{1}{x}\text{.}\)
The easiest way to work out these problems is to remember that we need to try \(y_2(x) = y_1(x) v(x)\) and find \(v(x)\) as we did above. Also, the technique works for higher order equations too: you get to reduce the order for each solution you find.
In summary, for constant coefficient equations with a repeated root, the reduction of order method will always give the equation \(v'' = 0\text{,}\) and so the solution is \(v(x) = Ax + B\text{.}\) Multiplying by the \(y_1\) solution \(e^{rx}\) gives that \(xe^{rx}\) is the other solution. Therefore, the general solution for repeated root equations is always of the form
\begin{equation*} y = C_1e^{r_1x} + C_2xr^{r_1x}. \end{equation*}

Example 2.3.3. .

Find the general solution of
\begin{equation*} y'' -8 y' + 16 y = 0 . \end{equation*}
Solution.
The characteristic equation is \(r^2 - 8 r + 16 = {(r-4)}^2 = 0\text{.}\) The equation has a double root \(r_1 = r_2 = 4\text{.}\) The general solution is, therefore,
\begin{equation*} y = (C_1 + C_2 x)\, e^{4 x} = C_1 e^{4x} + C_2 x e^{4x} . \end{equation*}

Checkpoint 2.3.4.

Check that \(e^{4x}\) and \(x e^{4x}\) are linearly independent.
Answer.
That \(e^{4x}\) solves the equation is clear. If \(x e^{4x}\) solves the equation, then we know we are done. Let us compute \(y' = e^{4x} + 4xe^{4x}\) and \(y'' = 8 e^{4x} + 16xe^{4x}\text{.}\) Plug in
\begin{equation*} y'' - 8 y' + 16 y = 8 e^{4x} + 16xe^{4x} - 8(e^{4x} + 4xe^{4x}) + 16 xe^{4x} = 0 . \end{equation*}
In some sense, a doubled root rarely happens. If coefficients are picked randomly, a doubled root is unlikely. There are, however, some natural phenomena where a doubled root does happen, so we cannot just dismiss this case. In addition, there are specific physical applications that involve the double root problem, which we will discuss in SectionΒ 2.4. Finally, the solution with a doubled root can be thought of as an approximation of the solution with two roots that are very close together, and the behavior of this solution will approximate β€œnearby” solutions as well.

Example 2.3.5. .

Find the solution \(y(t)\) to the initial value problem
\begin{equation*} y'' + 6y' + 9y = 0 \qquad y(0) = 2,\ y'(0) = -3. \end{equation*}
Solution.
The characteristic polynomials for this differential equation is
\begin{equation*} r^2 + 6r + 9 \end{equation*}
which factors as \((r+3)^2\text{,}\) so that we have a double root at \(-3\text{.}\) With the work done previously, we know that the general solution is
\begin{equation*} y(t) = (C_1 + C_2t)e^{-3t} = C_1e^{-3t} + C_2te^{-3t}. \end{equation*}
If we use the initial conditions, we can set \(t=0\) to get that
\begin{equation*} 2 = y(0) = C_1 e^0 \end{equation*}
so that \(C_1 = 2\text{.}\) Differentiating the general solution gives that
\begin{equation*} y'(t) = -3C_1e^{-3t} + C_2e^{-3t} -3C_2te^{-3t} \end{equation*}
and plugging in zero here gives
\begin{equation*} -3 = y'(0) = -3C_1 + C_2. \end{equation*}
Since \(C_1 = 2\text{,}\) this implies that \(C_2 = 3\text{.}\) Therefore, the solution to this initial value problem is
\begin{equation*} y(t) = 2e^{-3t} + 3te^{-3t}. \end{equation*}

Exercises Exercises

3.

Find the solution to \(y'' + 6y' + 9y = 0\) with \(y(0) = 3\) and \(y'(0) = -1\text{.}\)
Answer.
\(y = 3e^{-3t} + 8te^{-3t}\)

6.

The method of this section applies to equations of other orders than two. We will see higher orders later. Try to solve the first order equation \(2y' + 3y = 0\) using the methods of this section.
Answer.
\(Ce^{-3t/2}\)

7.

Consider the second-order DE
\begin{equation} ty''+(4t+2)y'+(4t+4)y=0. \tag{2.3.1} \end{equation}
(a)
Does the superposition principle apply to this DE? Give a one- or two-sentence explanation either way.
Answer.
Yes, it is linear.
(c)
Using your result from the previous page, apply reduction of order to find the general solution to (2.3.1).
Answer.
\(y = C_1e^{-2t} + C_2\frac{e^{-2t}}{t}\)

11.

Write down a differential equation with general solution \(y=at^2+bt^{-3}\text{,}\) or explain why there is no such thing.
Answer.
\(x^2y'' + 2xy' - 6y = 0\)

12.

Find the solution to \(y''-(2\alpha) y' + \alpha^2 y=0\text{,}\) \(y(0) = a\text{,}\) \(y'(0)=b\text{,}\) where \(\alpha\text{,}\) \(a\text{,}\) and \(b\) are real numbers.
Answer.
\(y = ae^{\alpha t} + (b - \alpha a)te^{\alpha t}\)

13.

Suppose \(y_1\) is a solution to \(y'' + p(x) y' + q(x) y = 0\text{.}\) By directly plugging into the equation, show that
\begin{equation*} y_2(x) = y_1(x) \int \frac{e^{-\int p(x)\,dx}}{{\bigl(y_1(x)\bigr)}^2} \,dx \end{equation*}
is also a solution.
Answer.

15. Hermite’s Equation of Order 2.

Take \(y''-2xy' + 4y = 0\text{.}\)
(b)
Use reduction of order to find a second linearly independent solution. (It’s OK to leave a definite integral in the formula.)
Answer.
\(y_2(x) = (1-2x^2)\int_0^xe^{s^2}(2s^2 - 1)^{-2}\ ds\)

Exercise Group.

The rest of these exercises can be solved using any of the methods discussed in the last three sections. Pick the appropriate method in order to solve the problem.
20.
Find the solution to \(y'' - 6y' + 13y = 0\) with \(y(0) = 2\) and \(y'(0) = 1\text{.}\)
Answer.
\(y = 2e^{3t}\cos(2t) - \frac{5}{2}e^{3t}\sin(2t)\)
21.
Find the solution to \(y'' + 4y' - 12y = 0\) with \(y(0) = -1\) and \(y'(0) = 3\text{.}\)
Answer.
\(y= -\frac{5}{8}e^{-6t} - \frac{3}{8}e^{2t}\)
22.
Find the solution to \(y'' - 6y' + 9y = 0\) with \(y(0) = -4\) and \(y'(0) = -1\text{.}\)
Answer.
\(y = -4e^{3t} + 11te^{3t}\)