Paul's Online Notes
Paul's Online Notes
Home / Differential Equations / Second Order DE's / Real & Distinct Roots
Hide Mobile Notice  
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 viewed in landscape mode. If your device is not in landscape mode many of the equations will run off the side of your device (you should be able to scroll/swipe 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=0ay′′+by+cy=0

Write down the characteristic equation.

ar2+br+c=0ar2+br+c=0

Solve the characteristic equation for the two roots, r1r1 and r2r2. This gives the two solutions

y1(t)=er1tandy2(t)=er2ty1(t)=er1tandy2(t)=er2t

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

y(t)=c1er1t+c2er2ty(t)=c1er1t+c2er2t

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=0y(0)=0y(0)=7y′′+11y+24y=0y(0)=0y(0)=7
Show Solution

The characteristic equation is

r2+11r+24=0(r+8)(r+3)=0r2+11r+24=0(r+8)(r+3)=0

Its roots are r1=8 and r2=3 and so the general solution and its derivative is.

y(t)=c1e8t+c2e3ty(t)=8c1e8t3c2e3t

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

0=y(0)=c1+c27=y(0)=8c13c2

Solving this system gives c1=75 and c2=75. The actual solution to the differential equation is then

y(t)=75e8t75e3t
Example 2 Solve the following IVP y+3y10y=0y(0)=4y(0)=2
Show Solution

The characteristic equation is

r2+3r10=0(r+5)(r2)=0

Its roots are r1=5 and r2=2 and so the general solution and its derivative is.

y(t)=c1e5t+c2e2ty(t)=5c1e5t+2c2e2t

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

4=y(0)=c1+c22=y(0)=5c1+2c2

Solving this system gives c1=107 and c2=187. The actual solution to the differential equation is then

y(t)=107e5t+187e2t
Example 3 Solve the following IVP. 3y+2y8y=0y(0)=6y(0)=18
Show Solution

The characteristic equation is

3r2+2r8=0(3r4)(r+2)=0

Its roots are r1=43 and r2=2 and so the general solution and its derivative is.

y(t)=c1e4t3+c2e2ty(t)=43c1e4t32c2e2t

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

6=y(0)=c1+c218=y(0)=43c12c2

Solving this system gives c1=9 and c2=3. The actual solution to the differential equation is then.

y(t)=9e4t3+3e2t
Example 4 Solve the following IVP 4y5y=0y(2)=0y(2)=7
Show Solution

The characteristic equation is

4r25r=0r(4r5)=0

The roots of this equation are r1=0 and r2=54. Here is the general solution as well as its derivative.

y(t)=c1e0+c2e5t4=c1+c2e5t4y(t)=54c2e5t4

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.

0=y(2)=c1+c2e527=y(2)=54c2e52

Solving this gives.

c1=285c2=285e52

The solution to the differential equation is then.

y(t)=285+285e52e5t4=285+285e5t4+52

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.

y6y2y=0
Show Solution

The characteristic equation is.

r26r2=0

The roots of this equation are.

r1,2=3±11

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

r1=3+11and r2=311

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(t)=c1e(3+11)t+c2e(311)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!