Paul's Online Notes
Paul's Online Notes
Home / Differential Equations / Second Order DE's / Real & Distinct Roots
Show Mobile Notice Show All Notes Hide All Notes
Mobile Notice
You appear to be on a device with a "narrow" screen width (i.e. you are probably on a mobile phone). Due to the nature of the mathematics on this site it is best views in landscape mode. If your device is not in landscape mode many of the equations will run off the side of your device (should be able to scroll to see them) and some of the menu items will be cut off due to the narrow screen width.

Section 3.2 : Real & Distinct Roots

It’s time to start solving constant coefficient, homogeneous, linear, second order differential equations. So, let’s recap how we do this from the last section. We start with the differential equation.

\[ay'' + by' + cy = 0\]

Write down the characteristic equation.

\[a{r^2} + br + c = 0\]

Solve the characteristic equation for the two roots, \(r_{1}\) and \(r_{2}\). This gives the two solutions

\[{y_1}\left( t \right) = {{\bf{e}}^{{r_{\,1}}\,t}}\hspace{0.25in}{\mbox{and}}\hspace{0.25in}\hspace{0.25in}{y_2}\left( t \right) = {{\bf{e}}^{{r_{\,2}}\,t}}\]

Now, if the two roots are real and distinct (i.e. \({r_1} \ne {r_2}\)) it will turn out that these two solutions are “nice enough” to form the general solution

\[y\left( t \right) = {c_1}{{\bf{e}}^{{r_{\,1}}\,t}} + {c_2}{{\bf{e}}^{{r_{\,2}}\,t}}\]

As with the last section, we’ll ask that you believe us when we say that these are “nice enough”. You will be able to prove this easily enough once we reach a later section.

With real, distinct roots there really isn’t a whole lot to do other than work a couple of examples so let’s do that.

Example 1 Solve the following IVP. \[y'' + 11y' + 24y = 0\hspace{0.25in}y\left( 0 \right) = 0\hspace{0.25in}y'\left( 0 \right) = - 7\]
Show Solution

The characteristic equation is

\[\begin{align*}{r^2} + 11r + 24 & = 0\\ \left( {r + 8} \right)\left( {r + 3} \right) & = 0\end{align*}\]

Its roots are \(r_{1} = - 8\) and \(r_{2} = -3\) and so the general solution and its derivative is.

\[\begin{align*}y\left( t \right) & = {c_1}{{\bf{e}}^{ - 8t}} + {c_2}{{\bf{e}}^{ - 3t}}\\ y'\left( t \right) & = - 8{c_1}{{\bf{e}}^{ - 8t}} - 3{c_2}{{\bf{e}}^{ - 3t}}\end{align*}\]

Now, plug in the initial conditions to get the following system of equations.

\[\begin{align*}0 & = y\left( 0 \right) = {c_1} + {c_2}\\ - 7 & = y'\left( 0 \right) = - 8{c_1} - 3{c_2}\end{align*}\]

Solving this system gives \({c_1} = \frac{7}{5}\) and \({c_2} = - \frac{7}{5}\). The actual solution to the differential equation is then

\[y\left( t \right) = \frac{7}{5}{{\bf{e}}^{ - 8t}} - \frac{7}{5}{{\bf{e}}^{ - 3t}}\]
Example 2 Solve the following IVP \[y'' + 3y' - 10y = 0\hspace{0.25in}y\left( 0 \right) = 4\hspace{0.25in}y'\left( 0 \right) = - 2\]
Show Solution

The characteristic equation is

\[\begin{align*}{r^2} + 3r - 10 & = 0\\ \left( {r + 5} \right)\left( {r - 2} \right) & = 0\end{align*}\]

Its roots are \(r_{1} = - 5\) and \(r_{2} = 2\) and so the general solution and its derivative is.

\[\begin{align*}y\left( t \right) & = {c_1}{{\bf{e}}^{ - 5t}} + {c_2}{{\bf{e}}^{2t}}\\ y'\left( t \right) & = - 5{c_1}{{\bf{e}}^{ - 5t}} + 2{c_2}{{\bf{e}}^{2t}}\end{align*}\]

Now, plug in the initial conditions to get the following system of equations.

\[\begin{align*}4 & = y\left( 0 \right) = {c_1} + {c_2}\\ - 2 & = y'\left( 0 \right) = - 5{c_1} + 2{c_2}\end{align*}\]

Solving this system gives \({c_1} = \frac{{10}}{7}\) and \({c_2} = \frac{{18}}{7}\). The actual solution to the differential equation is then

\[y\left( t \right) = \frac{{10}}{7}{{\bf{e}}^{ - 5t}} + \frac{{18}}{7}{{\bf{e}}^{2t}}\]
Example 3 Solve the following IVP. \[3y'' + 2y' - 8y = 0\hspace{0.25in}y\left( 0 \right) = - 6\hspace{0.25in}y'\left( 0 \right) = - 18\]
Show Solution

The characteristic equation is

\[\begin{align*}3{r^2} + 2r - 8 & = 0\\ \left( {3r - 4} \right)\left( {r + 2} \right) & = 0\end{align*}\]

Its roots are \(r_{1} = \frac{4}{3}\) and \(r_{2} = -2\) and so the general solution and its derivative is.

\[\begin{align*}y\left( t \right) & = {c_1}{{\bf{e}}^{\frac{{4\,t}}{3}}} + {c_2}{{\bf{e}}^{ - 2t}}\\ y'\left( t \right) & = \frac{4}{3}{c_1}{{\bf{e}}^{\frac{{4t}}{3}}} - 2{c_2}{{\bf{e}}^{ - 2t}}\end{align*}\]

Now, plug in the initial conditions to get the following system of equations.

\[\begin{align*} - 6 = y\left( 0 \right) & = {c_1} + {c_2}\\ - 18 = y'\left( 0 \right) & = \frac{4}{3}{c_1} - 2{c_2}\end{align*}\]

Solving this system gives \(c_{1} = -9\) and \(c_{2} = 3\). The actual solution to the differential equation is then.

\[y\left( t \right) = - 9{{\bf{e}}^{\frac{{4t}}{3}}} + 3{{\bf{e}}^{ - 2t}}\]
Example 4 Solve the following IVP \[4y'' - 5y' = 0\hspace{0.25in}y\left( { - 2} \right) = 0\hspace{0.25in}y'\left( { - 2} \right) = 7\]
Show Solution

The characteristic equation is

\[\begin{align*}4{r^2} - 5r & = 0\\ r\left( {4r - 5} \right) & = 0\end{align*}\]

The roots of this equation are \(r_{1} = 0 \) and \(r_{2} = \frac{5}{4}\). Here is the general solution as well as its derivative.

\[\begin{align*}y\left( t \right) & = {c_1}{{\bf{e}}^0} + {c_2}{{\bf{e}}^{\frac{{5t}}{4}}} = {c_1} + {c_2}{{\bf{e}}^{\frac{{5t}}{4}}}\\ y'\left( t \right) & = \frac{5}{4}{c_2}{{\bf{e}}^{\frac{{5t}}{4}}}\end{align*}\]

Up to this point all of the initial conditions have been at \(t = 0\) and this one isn’t. Don’t get too locked into initial conditions always being at \(t = 0\) and you just automatically use that instead of the actual value for a given problem.

So, plugging in the initial conditions gives the following system of equations to solve.

\[\begin{align*}0 & = y\left( { - 2} \right) = {c_1} + {c_2}{{\bf{e}}^{ - \frac{5}{2}}}\\ 7 & = y'\left( { - 2} \right) = \frac{5}{4}{c_2}{{\bf{e}}^{ - \frac{5}{2}}}\end{align*}\]

Solving this gives.

\[{c_1} = - \frac{{28}}{5}\hspace{0.25in}{c_2} = \frac{{28}}{5}{{\bf{e}}^{\frac{5}{2}}}\]

The solution to the differential equation is then.

\[y\left( t \right) = - \frac{{28}}{5} + \frac{{28}}{5}{{\bf{e}}^{\frac{5}{2}}}{{\bf{e}}^{\frac{{5t}}{4}}} = - \frac{{28}}{5} + \frac{{28}}{5}{{\bf{e}}^{\frac{{5t}}{4} + \frac{5}{2}}}\]

In a differential equations class most instructors (including me….) tend to use initial conditions at \(t = 0\) because it makes the work a little easier for the students as they are trying to learn the subject. However, there is no reason to always expect that this will be the case, so do not start to always expect initial conditions at \(t = 0\)!

Let’s do one final example to make another point that you need to be made aware of.

Example 5 Find the general solution to the following differential equation.

\[y'' - 6y' - 2y = 0\]
Show Solution

The characteristic equation is.

\[{r^2} - 6r - 2 = 0\]

The roots of this equation are.

\[{r_{1,2}} = 3 \pm \sqrt {11} \]

Now, do NOT get excited about these roots they are just two real numbers.

\[{r_1} = 3 + \sqrt {11} \hspace{0.25in}\hspace{0.25in}{\mbox{and }}\hspace{0.25in}\hspace{0.25in}{r_2} = 3 - \sqrt {11} \]

Admittedly they are not as nice looking as we may be used to, but they are just real numbers. Therefore, the general solution is

\[y\left( t \right) = {c_1}{{\bf{e}}^{\left( {3 + \sqrt {11} } \right)\,t}} + {c_2}{{\bf{e}}^{\left( {3 - \sqrt {11} } \right)\,t}}\]

If we had initial conditions we could proceed as we did in the previous two examples although the work would be somewhat messy and so we aren’t going to do that for this example.

The point of the last example is make sure that you don’t get to used to “nice”, simple roots. In practice roots of the characteristic equation will generally not be nice, simple integers or fractions so don’t get too used to them!