Differential EquationsSecond-Order Linear Equations3 of 6
Second-Order Linear Equations · 3

Constant Coefficients: Real Roots

We need to solve second-order differential equations with constant coefficients, where a mystery function y(t)\ysol{y(t)} and its first two derivatives must cancel out to zero for all tt.

1

Finding Exponential Solutions

We want to find the functions y(t)\ysol{y(t)} that satisfy

y′′−5y′+6y\displaystyle \ydd{y''} - 5\yd{y'} + 6\ysol{y} =0\displaystyle = 0

For y′′\ydd{y''}, −5y′-5\yd{y'}, and 6y6\ysol{y} to cancel out across all time tt, the easiest function to try is one that taking derivatives doesn't turn into a different kind of curve: differentiating leaves the shape of the function unchanged and only multiplies it by a constant.

Why Guess an Exponential Function?
y′′−5y′+6y\displaystyle \htmlClass{lc-orange}{y''} - 5\htmlClass{lc-pink}{y'} + 6\htmlClass{lc-blue}{y} =0\displaystyle = 0
y(t)\displaystyle \htmlClass{lc-blue}{y(t)} =  ?\displaystyle = \;?

Because differentiating y=ert\ysol{y} = \ysol{e^{rt}} pulls down a factor of r\yd{r} without changing the exponential itself,

y=ert,y′=rert,y′′=r2ert\displaystyle \begin{aligned} \ysol{y} &= \ysol{e^{rt}}, \\ \yd{y'} &= \yd{r}\ysol{e^{rt}}, \\ \ydd{y''} &= \ydd{r^2} \ysol{e^{rt}} \end{aligned}

plugging y=ert\ysol{y} = \ysol{e^{rt}} into y′′−5y′+6y=0\ydd{y''} - 5\yd{y'} + 6\ysol{y} = 0 turns the differential equation into an algebra equation for the exponent rr.

The Characteristic Equation
y′′−5y′+6y\displaystyle \htmlClass{lc-orange}{y''} - 5\htmlClass{lc-pink}{y'} + 6\htmlClass{lc-blue}{y} =0\displaystyle = 0
y=erty′=rerty′′=r2ert\displaystyle \begin{aligned} \htmlClass{lc-blue}{y} &= \htmlClass{lc-blue}{e^{rt}}\\ \htmlClass{lc-pink}{y'} &= \htmlClass{lc-pink}{r}\htmlClass{lc-blue}{e^{rt}}\\ \htmlClass{lc-orange}{y''} &= \htmlClass{lc-orange}{r^2}\htmlClass{lc-blue}{e^{rt}} \end{aligned}
r\displaystyle r =  ?\displaystyle = \;?
Text solution
Substitute y=ert\ysol{y} = \ysol{e^{rt}} and factor out ert\ysol{e^{rt}}Every term shares the same exponential ert\ysol{e^{rt}}, so we can factor it out.
r2ert−5rert+6ert\displaystyle \ydd{r^2} \ysol{e^{rt}} - 5\yd{r}\ysol{e^{rt}} + 6\ysol{e^{rt}} =(r2−5r+6)ert\displaystyle = (\ydd{r^2} - 5\yd{r} + 6)\ysol{e^{rt}} =0\displaystyle = 0
Divide by ert\ysol{e^{rt}} and factor the quadraticBecause an exponential ert\ysol{e^{rt}} never equals zero, we divide it out and factor the remaining polynomial for rr.
r2−5r+6=0⏟characteristic equation  ⟹  (r−2)(r−3)=0  ⟹  r=2,  r=3\displaystyle \begin{aligned} &\underbrace{\ydd{r^2} - 5\yd{r} + 6 = 0}_{\text{characteristic equation}} \\ &\implies (\bone{r - 2})(\btwo{r - 3}) = 0 \\ &\implies \bone{r = 2}, \; \btwo{r = 3} \end{aligned}

So y1=e2t\bone{y_1} = \bone{e^{2t}} and y2=e3t\btwo{y_2} = \btwo{e^{3t}} are two solutions whose derivatives cancel out in y′′−5y′+6y=0\ydd{y''} - 5\yd{y'} + 6\ysol{y} = 0 for all tt.

In practice, you can write the characteristic equation straight from the differential equation by matching derivatives to powers of rr (y′′→r2\ydd{y''} \to \ydd{r^2}, y′→r\yd{y'} \to \yd{r}, and y→1\ysol{y} \to \ysol{1}), though you are often expected to write down y=ert\ysol{y} = \ysol{e^{rt}} first. Watch the last term: dividing 6ert6\ysol{e^{rt}} by ert\ysol{e^{rt}} leaves 66, not 6r6r.

Because y′′\ydd{y''}, −5y′-5\yd{y'}, and 6y6\ysol{y} all share the shape ert\ysol{e^{rt}}, their sum (r2−5r+6)ert(\ydd{r^2} - 5\yd{r} + 6)\ysol{e^{rt}} is zero across the entire tt-axis whenever rr is a root of the parabola r2−5r+6\ydd{r^2} - 5\yd{r} + 6.

An exponential curve and its derivatives always share the exact same shape, and the sum y′′−5y′+6y\ydd{y''} - 5\yd{y'} + 6\ysol{y} flattens onto the axis everywhere right where the parabola crosses zero.
2

The General Solution and the Wronskian

Now that we have two solutions y1=e2t\bone{y_1} = \bone{e^{2t}} and y2=e3t\btwo{y_2} = \btwo{e^{3t}}, we want the general solution that captures every possible solution to y′′−5y′+6y=0\ydd{y''} - 5\yd{y'} + 6\ysol{y} = 0.

Because the equation is linear and equals zero, we can multiply any two solutions by constants and add them together, y=c1y1+c2y2\ysol{y} = \bone{c_1 y_1} + \btwo{c_2 y_2}, and the y1\bone{y_1} pieces and y2\btwo{y_2} pieces will still cancel to zero on their own (this is called superposition). That combination gives the full general solution as long as the two functions are linearly independent, which we check by making sure their Wronskian determinant is never zero:

W(y1,y2)=∣y1y2y1′y2′∣=y1y2′−y2y1′≠0\displaystyle \begin{aligned} W(\bone{y_1}, \btwo{y_2}) &= \begin{vmatrix} \bone{y_1} & \btwo{y_2} \\ \bone{y_1'} & \btwo{y_2'} \end{vmatrix} \\ &= \bone{y_1} \btwo{y_2'} - \btwo{y_2} \bone{y_1'} \neq 0 \end{aligned}
General Solution and the Wronskian
y1=e2t,y2=e3t\displaystyle \htmlClass{lc-green}{y_1 = e^{2t}},\qquad \htmlClass{lc-violet}{y_2 = e^{3t}}
y\displaystyle \htmlClass{lc-blue}{y} =c1e2t+c2e3t\displaystyle = \htmlClass{lc-green}{c_1e^{2t}} + \htmlClass{lc-violet}{c_2e^{3t}}
W(e2t, e3t)\displaystyle W(\htmlClass{lc-green}{e^{2t}},\, \htmlClass{lc-violet}{e^{3t}}) =  ?\displaystyle = \;?
Text solution
Combine the two exponentialsMultiplying e2t\bone{e^{2t}} and e3t\btwo{e^{3t}} by constants c1\bone{c_1} and c2\btwo{c_2} forms our candidate for the general solution.
y\displaystyle \ysol{y} =c1e2t+c2e3t\displaystyle = \bone{c_1 e^{2t}} + \btwo{c_2 e^{3t}}
Put e2t\bone{e^{2t}} and e3t\btwo{e^{3t}} into the Wronskian determinantMultiplying the diagonals and adding the exponents 2t+3t=5t\bone{2t} + \btwo{3t} = 5t tests whether the two functions are independent.
W=∣e2te3t2e2t3e3t∣=3e5t−2e5t=e5t≠0\displaystyle \begin{aligned} W &= \begin{vmatrix} \bone{e^{2t}} & \btwo{e^{3t}} \\ \bone{2e^{2t}} & \btwo{3e^{3t}} \end{vmatrix} \\ &= 3e^{5t} - 2e^{5t} \\ &= e^{5t} \neq 0 \end{aligned}

So e2t\bone{e^{2t}} and e3t\btwo{e^{3t}} are linearly independent, and y=c1e2t+c2e3t\ysol{y} = \bone{c_1 e^{2t}} + \btwo{c_2 e^{3t}} gives every solution to y′′−5y′+6y=0\ydd{y''} - 5\yd{y'} + 6\ysol{y} = 0.

Doing the same check for any two roots r1\bone{r_1} and r2\btwo{r_2} of ar2+br+c=0a\ydd{r^2} + b\yd{r} + c = 0 gives

W(er1t,er2t)=∣er1ter2tr1er1tr2er2t∣=r2e(r1+r2)t−r1e(r1+r2)t=(r2−r1)e(r1+r2)t\displaystyle \begin{aligned} W(\bone{e^{r_1 t}}, \btwo{e^{r_2 t}}) &= \begin{vmatrix} \bone{e^{r_1 t}} & \btwo{e^{r_2 t}} \\ \bone{r_1 e^{r_1 t}} & \btwo{r_2 e^{r_2 t}} \end{vmatrix} \\ &= \btwo{r_2} e^{(\bone{r_1} + \btwo{r_2})t} - \bone{r_1} e^{(\bone{r_1} + \btwo{r_2})t} \\ &= (\btwo{r_2} - \bone{r_1})e^{(\bone{r_1} + \btwo{r_2})t} \end{aligned}

Because e(r1+r2)te^{(\bone{r_1} + \btwo{r_2})t} is never zero, the Wronskian is nonzero whenever the two real roots are different numbers, guaranteeing the general solution to ay′′+by′+cy=0a\ydd{y''} + b\yd{y'} + c\ysol{y} = 0:

y\displaystyle \ysol{y} =c1er1t+c2er2t(r1≠r2)\displaystyle = \bone{c_1 e^{r_1 t}} + \btwo{c_2 e^{r_2 t}} \qquad (\bone{r_1} \neq \btwo{r_2})
3

Solving an Initial Value Problem

We want to find the one solution to y′′−5y′+6y=0\ydd{y''} - 5\yd{y'} + 6\ysol{y} = 0 that starts at position 22 with velocity 55:

y′′−5y′+6y=0,y(0)=2,y′(0)=5\displaystyle \begin{aligned} &\ydd{y''} - 5\yd{y'} + 6\ysol{y} = 0, \\ &\ysol{y(0)} = 2, \quad \yd{y'(0)} = 5 \end{aligned}

The differential equation gives us the exponential building blocks e2t\bone{e^{2t}} and e3t\btwo{e^{3t}}, while the two starting conditions at t=0t = 0 give two linear equations for c1\bone{c_1} and c2\btwo{c_2}.

Solving an Initial Value Problem
y=c1e2t+c2e3t\htmlClass{lc-blue}{y} = \htmlClass{lc-green}{c_1e^{2t}} + \htmlClass{lc-violet}{c_2e^{3t}}
y(0)=2,y′(0)=5\htmlClass{lc-blue}{y(0)} = 2,\qquad \htmlClass{lc-pink}{y'(0)} = 5
(0, 2)\htmlClass{lc-blue}{(0,\,2)}
5\htmlClass{lc-pink}{5}
c1=  ?\htmlClass{lc-green}{c_1} = \;?
c2=  ?\htmlClass{lc-violet}{c_2} = \;?
t\htmlClass{lc-mute}{t}
y\htmlClass{lc-mute}{y}
Text solution
Plug t=0t = 0 into y(t)\ysol{y(t)}Using e0=1e^0 = 1 in the general solution y=c1e2t+c2e3t\ysol{y} = \bone{c_1 e^{2t}} + \btwo{c_2 e^{3t}} turns the initial position y(0)=2\ysol{y(0)} = 2 into our first equation.
y(0)\displaystyle \ysol{y(0)} =c1e0+c2e0\displaystyle = \bone{c_1 e^0} + \btwo{c_2 e^0} =c1+c2\displaystyle = \bone{c_1} + \btwo{c_2} =2\displaystyle = 2
Differentiate y(t)\ysol{y(t)} and plug in t=0t = 0Taking the derivative brings down the exponents 2\bone{2} and 3\btwo{3} so we can match the initial velocity y′(0)=5\yd{y'(0)} = 5.
y′(t)=2c1e2t+3c2e3t  ⟹  y′(0)=2c1+3c2=5\displaystyle \begin{aligned} \yd{y'(t)} &= \bone{2c_1 e^{2t}} + \btwo{3c_2 e^{3t}} \\ \implies \yd{y'(0)} &= \bone{2c_1} + \btwo{3c_2} = 5 \end{aligned}
Substitute c1=2−c2\bone{c_1} = 2 - \btwo{c_2} and solveReplacing c1\bone{c_1} in the velocity equation gives us both constants.
2(2−c2)+3c2=5  ⟹  4+c2=5  ⟹  c2=1,c1=1\displaystyle \begin{aligned} &2(2 - \btwo{c_2}) + \btwo{3c_2} = 5 \\ &\implies 4 + \btwo{c_2} = 5 \\ &\implies \btwo{c_2} = 1, \quad \bone{c_1} = 1 \end{aligned}

So y=e2t+e3t\ysol{y} = \bone{e^{2t}} + \btwo{e^{3t}} is the single solution curve that passes through (0,2)\ysol{(0, 2)} with starting slope 55.

4

Long-Term Behavior from the Signs of the Roots

Often we want to know what happens to a solution y(t)\ysol{y(t)} as t→∞t \to \infty, whether it blows up to infinity or settles back to zero, without solving for c1\bone{c_1} and c2\btwo{c_2} first.

Because ert\ysol{e^{rt}} grows without bound when r>0r > 0 and shrinks to zero when r<0r < 0, the signs of the roots r1\bone{r_1} and r2\btwo{r_2} tell us what can happen to the solution in the long run.

Long-Term Behavior from the Signs of the Roots
y=e2t+e3t\htmlClass{lc-blue}{y} = \htmlClass{lc-green}{e^{2t}} + \htmlClass{lc-violet}{e^{3t}}
t→∞:  y→  ?t \to \infty:\ \ \htmlClass{lc-blue}{y} \to \;?
t\htmlClass{lc-mute}{t}
y\htmlClass{lc-mute}{y}
Text solution
Both roots positive (y′′−5y′+6y=0\ydd{y''} - 5\yd{y'} + 6\ysol{y} = 0)Both exponentials grow as tt increases, so every solution other than y=0\ysol{y} = 0 (c1=c2=0\bone{c_1} = \btwo{c_2} = 0) blows up to +∞+\infty or −∞-\infty.
r2−5r+6=(r−2)(r−3)=0  ⟹  y=c1e2t+c2e3t→±∞\displaystyle \begin{aligned} &\ydd{r^2} - 5\yd{r} + 6 = (\bone{r - 2})(\btwo{r - 3}) = 0 \\ &\implies \ysol{y} = \bone{c_1 e^{2t}} + \btwo{c_2 e^{3t}} \to \pm\infty \end{aligned}
Both roots negative (y′′+5y′+6y=0\ydd{y''} + 5\yd{y'} + 6\ysol{y} = 0)Negative exponents turn both exponentials into fractions that shrink to zero, so every solution decays to 00 regardless of c1\bone{c_1} and c2\btwo{c_2}.
r2+5r+6=(r+2)(r+3)=0  ⟹  y=c1e2t+c2e3t→0\displaystyle \begin{aligned} &\ydd{r^2} + 5\yd{r} + 6 = (\bone{r + 2})(\btwo{r + 3}) = 0 \\ &\implies \ysol{y} = \bone{\frac{c_1}{e^{2t}}} + \btwo{\frac{c_2}{e^{3t}}} \to 0 \end{aligned}
One positive root and one negative root (y′′+y′−6y=0\ydd{y''} + \yd{y'} - 6\ysol{y} = 0)The decaying term c2e−3t\btwo{c_2 e^{-3t}} dies out while c1e2t\bone{c_1 e^{2t}} grows without bound, so the solution blows up unless the initial conditions set c1=0\bone{c_1} = 0.
r2+r−6=(r−2)(r+3)=0  ⟹  y=c1e2t+c2e−3t\displaystyle \begin{aligned} &\ydd{r^2} + \yd{r} - 6 = (\bone{r - 2})(\btwo{r + 3}) = 0 \\ &\implies \ysol{y} = \bone{c_1 e^{2t}} + \btwo{c_2 e^{-3t}} \end{aligned}

In the combined curve y=c1er1t+c2er2t\ysol{y} = \bone{c_1 e^{r_1 t}} + \btwo{c_2 e^{r_2 t}}, both pieces shrink to the tt-axis only when r1\bone{r_1} and r2\btwo{r_2} are both negative, while a positive root pulls the curve away to infinity.

The solution settles to zero only when both roots sit to the left of zero, because as soon as either root crosses to the right, its growing piece takes over.
5

Preventing Blow-Up When Roots Have Opposite Signs

For the opposite-sign equation y′′+y′−6y=0\ydd{y''} + \yd{y'} - 6\ysol{y} = 0 starting at y(0)=4\ysol{y(0)} = 4, we want to find the exact initial velocity y′(0)=v0\yd{y'(0)} = \yd{v_0} that keeps the solution from blowing up so that y(t)→0\ysol{y(t)} \to 0 as t→∞t \to \infty.

Finding the Initial Velocity That Prevents Blow-Up
y′′+y′−6y=0\htmlClass{lc-orange}{y''} + \htmlClass{lc-pink}{y'} - 6\htmlClass{lc-blue}{y} = 0
y=c1e2t+c2e−3t\htmlClass{lc-blue}{y} = \htmlClass{lc-green}{c_1e^{2t}} + \htmlClass{lc-violet}{c_2e^{-3t}}
y(0)=4\htmlClass{lc-blue}{y(0)} = 4
y′(0)=v0=  ?\htmlClass{lc-pink}{y'(0)} = \htmlClass{lc-pink}{v_0} = \;?
y→0\htmlClass{lc-blue}{y} \to 0
1\htmlClass{lc-mute}{1}
2\htmlClass{lc-mute}{2}
3\htmlClass{lc-mute}{3}
4\htmlClass{lc-mute}{4}
t\htmlClass{lc-mute}{t}
y\htmlClass{lc-mute}{y}
Text solution
Write the initial conditions at t=0t = 0Plugging t=0t = 0 into y=c1e2t+c2e−3t\ysol{y} = \bone{c_1 e^{2t}} + \btwo{c_2 e^{-3t}} and y′=2c1e2t−3c2e−3t\yd{y'} = \bone{2c_1 e^{2t}} - \btwo{3c_2 e^{-3t}} connects c1\bone{c_1} and c2\btwo{c_2} to the starting position 44 and unknown velocity v0\yd{v_0}.
c1+c2=4,2c1−3c2=v0\displaystyle \begin{aligned} \bone{c_1} + \btwo{c_2} &= 4, \\ \bone{2c_1} - \btwo{3c_2} &= \yd{v_0} \end{aligned}
Set the growing term's coefficient to zeroFor y(t)\ysol{y(t)} to approach 00 as t→∞t \to \infty, the growing e2t\bone{e^{2t}} term must drop out, which fixes c1\bone{c_1} and c2\btwo{c_2}.
c1=0  ⟹  0+c2=4  ⟹  c2=4\displaystyle \begin{aligned} &\bone{c_1} = 0 \\ &\implies 0 + \btwo{c_2} = 4 \\ &\implies \btwo{c_2} = 4 \end{aligned}
Plug c1=0\bone{c_1} = 0 and c2=4\btwo{c_2} = 4 into the velocity equationSubstituting both constants gives the exact starting velocity needed.
v0\displaystyle \yd{v_0} =2(0)−3(4)\displaystyle = \bone{2(0)} - \btwo{3(4)} =−12\displaystyle = \yd{-12}

So starting at y(0)=4\ysol{y(0)} = 4 with velocity y′(0)=−12\yd{y'(0)} = \yd{-12} eliminates the e2t\bone{e^{2t}} term completely, leaving only the decaying term y=4e−3t\ysol{y} = \btwo{4e^{-3t}} that approaches 00 as t→∞t \to \infty.

Starting from (0,4)\ysol{(0, 4)}, any initial slope other than −12\yd{-12} leaves some of the growing e2t\bone{e^{2t}} piece and pulls the curve to +∞+\infty or −∞-\infty, while y′(0)=−12\yd{y'(0)} = \yd{-12} lands right on 4e−3t\btwo{4e^{-3t}} and rides it down to zero.

Only one starting slope wipes out the growing piece so the curve can settle down to zero.
6

When Does This Method Run Out?

We want to know when ay′′+by′+cy=0a\ydd{y''} + b\yd{y'} + c\ysol{y} = 0 has a general solution of the form y=c1er1t+c2er2t\ysol{y} = \bone{c_1 e^{r_1 t}} + \btwo{c_2 e^{r_2 t}} with two independent real exponentials, and what happens when the quadratic ar2+br+c=0a\ydd{r^2} + b\yd{r} + c = 0 does not give two different real roots.

What About Complex or Repeated Roots?
ay′′+by′+cy=0a\htmlClass{lc-orange}{y''} + b\htmlClass{lc-pink}{y'} + c\htmlClass{lc-blue}{y} = 0
ar2+br+c=0a\htmlClass{lc-orange}{r^2} + b\htmlClass{lc-pink}{r} + c = 0
r1\htmlClass{lc-green}{r_1}
r2\htmlClass{lc-violet}{r_2}
r1=r2  ?\htmlClass{lc-green}{r_1} = \htmlClass{lc-violet}{r_2}\;?
0\htmlClass{lc-mute}{0}
r\htmlClass{lc-mute}{r}

By the quadratic formula, the roots of ar2+br+c=0a\ydd{r^2} + b\yd{r} + c = 0 are

r\displaystyle r =−b±b2−4ac2a\displaystyle = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}

Getting two independent real exponentials requires a positive number under the square root (b2−4ac>0b^2 - 4ac > 0) so that r1≠r2\bone{r_1} \neq \btwo{r_2}:

W=(r2−r1)e(r1+r2)t=(3−3)e6t=0\displaystyle \begin{aligned} W &= (\btwo{r_2} - \bone{r_1})e^{(\bone{r_1} + \btwo{r_2})t} \\ &= (\btwo{3} - \bone{3})e^{6t} = 0 \end{aligned}

Key concepts

To solve a constant-coefficient equation ay′′+by′+cy=0a\ydd{y''} + b\yd{y'} + c\ysol{y} = 0, try y=ert\ysol{y} = \ysol{e^{rt}} to turn derivatives into powers of rr and solve the characteristic equation ar2+br+c=0a\ydd{r^2} + b\yd{r} + c = 0. When b2−4ac>0b^2 - 4ac > 0, the quadratic has two different real roots r1≠r2\bone{r_1} \neq \btwo{r_2}, and the Wronskian of er1t\bone{e^{r_1 t}} and er2t\btwo{e^{r_2 t}}, W=(r2−r1)e(r1+r2)tW = (\btwo{r_2} - \bone{r_1})e^{(\bone{r_1} + \btwo{r_2})t}, is never zero, giving the general solution y=c1er1t+c2er2t\ysol{y} = \bone{c_1 e^{r_1 t}} + \btwo{c_2 e^{r_2 t}} (for y′′−5y′+6y=0\ydd{y''} - 5\yd{y'} + 6\ysol{y} = 0, (r−2)(r−3)=0(\bone{r - 2})(\btwo{r - 3}) = 0 gives y=c1e2t+c2e3t\ysol{y} = \bone{c_1 e^{2t}} + \btwo{c_2 e^{3t}}). Always check that the roots are two different real numbers before writing this form: if b2−4ac=0b^2 - 4ac = 0, as in (r−3)2=0(\bone{r - 3})^2 = 0, then r1=r2=3\bone{r_1} = \btwo{r_2} = 3 makes W=0W = 0 and leaves only one exponential solution e3t\bone{e^{3t}}, while b2−4ac<0b^2 - 4ac < 0 gives complex roots instead of real exponentials.

Once you have y=c1er1t+c2er2t\ysol{y} = \bone{c_1 e^{r_1 t}} + \btwo{c_2 e^{r_2 t}}, what you do next depends on the question. To solve an initial value problem, plug t=0t = 0 into both y(t)\ysol{y(t)} and y′(t)\yd{y'(t)} to get c1+c2=y(0)\bone{c_1} + \btwo{c_2} = \ysol{y(0)} and r1c1+r2c2=y′(0)\bone{r_1 c_1} + \btwo{r_2 c_2} = \yd{y'(0)} (for y=c1e2t+c2e3t\ysol{y} = \bone{c_1 e^{2t}} + \btwo{c_2 e^{3t}} with y(0)=2\ysol{y(0)} = 2 and y′(0)=5\yd{y'(0)} = 5, solve c1+c2=2\bone{c_1} + \btwo{c_2} = 2 and 2c1+3c2=5\bone{2c_1} + \btwo{3c_2} = 5). To find the long-term behavior as t→∞t \to \infty, look straight at the signs of r1\bone{r_1} and r2\btwo{r_2} without solving for the constants: two negative roots (r=−2,−3\bone{r = -2}, \btwo{-3}) always decay to 00, two positive roots (r=2,3\bone{r = 2}, \btwo{3}) blow up for any nonzero start, and opposite-sign roots (y=c1e2t+c2e−3t\ysol{y} = \bone{c_1 e^{2t}} + \btwo{c_2 e^{-3t}}) blow up unless the initial conditions set the positive root's coefficient to zero (c1=0\bone{c_1} = 0, which at y(0)=4\ysol{y(0)} = 4 gives y=4e−3t\ysol{y} = \btwo{4e^{-3t}} and y′(0)=−12\yd{y'(0)} = \yd{-12}).

7

Practice

1

Find the general solution to y′′−7y′+10y=0\ydd{y''} - 7\yd{y'} + 10\ysol{y} = 0.

Replace y′′\ydd{y''}, y′\yd{y'}, and y\ysol{y} with powers of rr: what two numbers multiply to 1010 and add to −7-7?

Write and factor the characteristic equationMatching derivatives to powers of rr gives a quadratic in rr. (Watch out: 10y10\ysol{y} becomes 1010, not 10r10r; writing r2−7r+10r=0r^2 - 7r + 10r = 0 gives the wrong roots 00 and −3-3. Also don't forget to flip the signs when solving (r−2)(r−5)=0(\bone{r - 2})(\btwo{r - 5}) = 0, or you will get y=c1e−2t+c2e−5ty = c_1 e^{-2t} + c_2 e^{-5t}.)
r2−7r+10=(r−2)(r−5)=0  ⟹  r=2,  r=5\displaystyle \begin{aligned} &\ydd{r^2} - 7\yd{r} + 10 = (\bone{r - 2})(\btwo{r - 5}) = 0 \\ &\implies \bone{r = 2}, \; \btwo{r = 5} \end{aligned}
Build the general solutionCombine the two independent exponentials e2t\bone{e^{2t}} and e5t\btwo{e^{5t}}.
y\displaystyle \ysol{y} =c1e2t+c2e5t\displaystyle = \bone{c_1 e^{2t}} + \btwo{c_2 e^{5t}}
2

Find two exponential solutions to 2y′′+5y′−3y=02\ydd{y''} + 5\yd{y'} - 3\ysol{y} = 0 and compute their Wronskian to verify that they are linearly independent.

Factor 2r2+5r−3=02\ydd{r^2} + 5\yd{r} - 3 = 0 to find the two exponents, then set up the 2×22 \times 2 determinant with the functions in the top row and their derivatives in the bottom row.

Solve the characteristic equation for rrFactor the quadratic to find the two real roots.
2r2+5r−3=(2r−1)(r+3)=0  ⟹  r=12,  r=−3  ⟹  y1=et/2,  y2=e−3t\displaystyle \begin{aligned} &2\ydd{r^2} + 5\yd{r} - 3 = (\bone{2r - 1})(\btwo{r + 3}) = 0 \\ &\implies \bone{r = \tfrac{1}{2}}, \; \btwo{r = -3} \\ &\implies \bone{y_1} = \bone{e^{t/2}}, \; \btwo{y_2} = \btwo{e^{-3t}} \end{aligned}
Compute the Wronskian determinantSubtract the product of the second diagonal from the main diagonal and add the exponents 12t+(−3t)=−52t\bone{\frac{1}{2}t} + (\btwo{-3t}) = -\frac{5}{2}t. (Watch the minus sign between the diagonals and add the exponents rather than multiplying them: forgetting to subtract the second diagonal gives −52e−5t/2-\frac{5}{2}e^{-5t/2}, and multiplying exponents gives −3t22-\tfrac{3t^2}{2}.)
W=∣et/2e−3t12et/2−3e−3t∣=(−3−12)e−5t/2=−72e−5t/2≠0\displaystyle \begin{aligned} W &= \begin{vmatrix} \bone{e^{t/2}} & \btwo{e^{-3t}} \\ \bone{\tfrac{1}{2}e^{t/2}} & \btwo{-3e^{-3t}} \end{vmatrix} \\ &= \left(-3 - \frac{1}{2}\right)e^{-5t/2} \\ &= -\frac{7}{2}e^{-5t/2} \neq 0 \end{aligned}
3

Solve the initial value problem y′′+3y′−4y=0\ydd{y''} + 3\yd{y'} - 4\ysol{y} = 0, y(0)=3\ysol{y(0)} = 3, y′(0)=−2\yd{y'(0)} = -2.

After finding y=c1er1t+c2er2t\ysol{y} = \bone{c_1 e^{r_1 t}} + \btwo{c_2 e^{r_2 t}}, differentiate y(t)\ysol{y(t)} first so you can plug t=0t = 0 into both y\ysol{y} and y′\yd{y'}.

Find the general solutionFactor the characteristic equation to get the two exponentials.
r2+3r−4=(r−1)(r+4)=0  ⟹  y=c1et+c2e−4t\displaystyle \begin{aligned} &\ydd{r^2} + 3\yd{r} - 4 = (\bone{r - 1})(\btwo{r + 4}) = 0 \\ &\implies \ysol{y} = \bone{c_1 e^t} + \btwo{c_2 e^{-4t}} \end{aligned}
Plug t=0t = 0 into y(t)\ysol{y(t)} and y′(t)\yd{y'(t)}Differentiate y(t)\ysol{y(t)} and evaluate both equations at t=0t = 0. (Don't plug the initial numbers straight in as c1=3,c2=−2c_1 = 3, c_2 = -2, and watch the negative exponent when differentiating c2e−4t\btwo{c_2 e^{-4t}}: writing c1+4c2=−2c_1 + 4c_2 = -2 instead of c1−4c2=−2\bone{c_1} - \btwo{4c_2} = -2 leads to the wrong answer y=143et−53e−4ty = \frac{14}{3}e^t - \frac{5}{3}e^{-4t}.)
c1+c2=3,c1−4c2=−2\displaystyle \begin{aligned} \bone{c_1} + \btwo{c_2} &= 3, \\ \bone{c_1} - \btwo{4c_2} &= -2 \end{aligned}
Solve for c1\bone{c_1} and c2\btwo{c_2}Subtract the second equation from the first to get 5c2=5\btwo{5c_2} = 5.
c2\displaystyle \btwo{c_2} =1,c1\displaystyle = 1, \quad \bone{c_1} =2  ⟹  y\displaystyle = 2 \implies \ysol{y} =2et+e−4t\displaystyle = \bone{2e^t} + \btwo{e^{-4t}}
4

Without solving for c1\bone{c_1} and c2\btwo{c_2}, determine what happens as t→∞t \to \infty to the solution of y′′+6y′+8y=0\ydd{y''} + 6\yd{y'} + 8\ysol{y} = 0 with y(0)=50\ysol{y(0)} = 50 and y′(0)=200\yd{y'(0)} = 200.

Find the signs of the roots of r2+6r+8=0\ydd{r^2} + 6\yd{r} + 8 = 0: what happens to ert\ysol{e^{rt}} as t→∞t \to \infty when rr is negative?

Factor the characteristic equation to check the signs of the rootsBoth roots are negative, so both e−2t\bone{e^{-2t}} and e−4t\btwo{e^{-4t}} decay to zero regardless of the initial conditions. (Don't be fooled by the large positive starting values y(0)=50\ysol{y(0)} = 50 and y′(0)=200\yd{y'(0)} = 200 or the plus signs in r2+6r+8=0\ydd{r^2} + 6\yd{r} + 8 = 0 into thinking y(t)→∞y(t) \to \infty: (r+2)(r+4)=0(\bone{r + 2})(\btwo{r + 4}) = 0 gives negative roots r=−2\bone{r = -2} and r=−4\btwo{r = -4}, and decaying exponentials always shrink to zero.)
r2+6r+8=(r+2)(r+4)=0  ⟹  r=−2,  r=−4  ⟹  y(t)→0\displaystyle \begin{aligned} &\ydd{r^2} + 6\yd{r} + 8 = (\bone{r + 2})(\btwo{r + 4}) = 0 \\ &\implies \bone{r = -2}, \; \btwo{r = -4} \implies \ysol{y(t)} \to 0 \end{aligned}
5

For y′′−y′−6y=0\ydd{y''} - \yd{y'} - 6\ysol{y} = 0 with initial position y(0)=5\ysol{y(0)} = 5, find the initial velocity y′(0)=v0\yd{y'(0)} = \yd{v_0} so that the solution approaches 00 as t→∞t \to \infty, and write that solution y(t)\ysol{y(t)}.

After finding the two roots, identify which exponential term blows up as t→∞t \to \infty and set its coefficient to zero.

Find the general solution and set conditions at t=0t = 0Factor the characteristic equation and evaluate y(0)=5\ysol{y(0)} = 5 and y′(0)=v0\yd{y'(0)} = \yd{v_0}.
r2−r−6=(r−3)(r+2)=0  ⟹  y=c1e3t+c2e−2t  ⟹  c1+c2=5,3c1−2c2=v0\displaystyle \begin{aligned} &\ydd{r^2} - \yd{r} - 6 = (\bone{r - 3})(\btwo{r + 2}) = 0 \\ &\implies \ysol{y} = \bone{c_1 e^{3t}} + \btwo{c_2 e^{-2t}} \\ &\implies \bone{c_1} + \btwo{c_2} = 5, \quad \bone{3c_1} - \btwo{2c_2} = \yd{v_0} \end{aligned}
Eliminate the growing exponential termSet c1=0\bone{c_1} = 0 so e3t\bone{e^{3t}} drops out, then solve for c2\btwo{c_2} and v0\yd{v_0}. (Make sure you set the coefficient of the positive root e3t\bone{e^{3t}} to zero rather than e−2t\btwo{e^{-2t}}, which would give y=5e3ty = 5e^{3t} and v0=15v_0 = 15; and remember to multiply c2=5\btwo{c_2} = 5 by the exponent −2\btwo{-2} when finding v0\yd{v_0}.)
c1=0  ⟹  c2=5  ⟹  y(t)=5e−2t,v0=−2(5)=−10\displaystyle \begin{aligned} &\bone{c_1} = 0 \implies \btwo{c_2} = 5 \\ &\implies \ysol{y(t)} = \btwo{5e^{-2t}}, \quad \yd{v_0} = \btwo{-2(5)} = \yd{-10} \end{aligned}
6

For which values of the constant kk does y′′−6y′+ky=0\ydd{y''} - 6\yd{y'} + k\ysol{y} = 0 have a general solution of the form y=c1er1t+c2er2t\ysol{y} = \bone{c_1 e^{r_1 t}} + \btwo{c_2 e^{r_2 t}} with two independent real exponentials, and what happens to the Wronskian at the boundary value of kk?

Write the discriminant b2−4acb^2 - 4ac of r2−6r+k=0\ydd{r^2} - 6\yd{r} + k = 0: when is the expression under the square root strictly positive?

Set the discriminant of r2−6r+k=0\ydd{r^2} - 6\yd{r} + k = 0 greater than zeroTwo different real roots require b2−4ac>0b^2 - 4ac > 0. (Remember to flip the inequality sign when dividing by −4-4 so you don't get k>9k > 9, and use << rather than ≤\le because k=9k = 9 repeats the same root.)
(−6)2−4(1)(k)\displaystyle (-6)^2 - 4(1)(k) =36−4k>0  ⟹  k<9\displaystyle = 36 - 4k > 0 \implies k < 9
Check the Wronskian at the boundary k=9k = 9At k=9k = 9, (r−3)2=0(\bone{r - 3})^2 = 0 gives r1=r2=3\bone{r_1} = \btwo{r_2} = 3, so the Wronskian equals zero.
k<9;at k\displaystyle k < 9; \quad \text{at } k =9,  W\displaystyle = 9, \; W =(3−3)e6t\displaystyle = (\btwo{3} - \bone{3})e^{6t} =0\displaystyle = 0