Differential EquationsSecond-Order Linear Equations5 of 6
Second-Order Linear Equations · 5

Complex Roots and Oscillation

We solve differential equations with constant coefficients by trying y=ert\yy{y = e^{rt}}, and sometimes the algebra gives complex roots.

1

When a Real Spring Gives Complex Roots

We want to find the position y(t)\yy{y(t)} of a weight hanging from a spring with friction, where the acceleration y′′\ddy{y''}, the friction 2y′\dy{2y'}, and the spring pull 5y5\yy{y} balance at every moment:

y′′+2y′+5y\displaystyle \ddy{y''} + \dy{2y'} + 5\yy{y} =0\displaystyle = 0
y=0\htmlClass{lc-mute}{y = 0}
y(t)\htmlClass{lc-blue}{y(t)}
5y5\htmlClass{lc-blue}{y}
y′\htmlClass{lc-pink}{y'}
2y′\htmlClass{lc-pink}{2y'}

Plugging in y=ert\yy{y = e^{rt}} turns derivatives into powers of rr, turning the differential equation into an algebra equation in rr.

When a Real Spring Gives Complex Roots
y=0\htmlClass{lc-mute}{y = 0}
y\htmlClass{lc-blue}{y}
y′′+2y′+5y=0\htmlClass{lc-orange}{y''} + \htmlClass{lc-pink}{2y'} + 5\htmlClass{lc-blue}{y} = 0
y(t)=  ?\htmlClass{lc-blue}{y(t)} = \;?
Text solution
Turn derivatives into powers of rr and divide out ert\yy{e^{rt}}Every derivative of ert\yy{e^{rt}} brings down another factor of r\dy{r}, and because ert\yy{e^{rt}} is never zero, we can divide it out to get the characteristic equation.
y′′+2y′+5y=0r2ert+2rert+5ert=0(r2+2r+5)ert⏟≠0=0r2+2r+5=0⏟characteristic equation\displaystyle \begin{aligned} \ddy{y''} + \dy{2y'} + 5\yy{y} &= 0 \\ \ddy{r^2} \yy{e^{rt}} + \dy{2r} \yy{e^{rt}} + 5\yy{e^{rt}} &= 0 \\ (\ddy{r^2} + \dy{2r} + 5)\underbrace{\yy{e^{rt}}}_{\neq 0} &= 0 \\ \underbrace{\ddy{r^2} + \dy{2r} + 5 = 0}_{\text{characteristic equation}} \end{aligned}
Complete the square to solve for rrLooking at r2+2rr^2 + 2r, we split 55 into 1+41 + 4 to form (r+1)2(r + 1)^2 and take the square root using i=−1i = \sqrt{-1}.
(r2+2r+1)+4=0(r+1)2+4=0(r+1)2=−4r+1=±2ir=−1±2i\displaystyle \begin{aligned} (r^2 + 2r + 1) + 4 &= 0 \\ (r + 1)^2 + 4 &= 0 \\ (r + 1)^2 &= -4 \\ r + 1 &= \pm 2i \\ r &= -1 \pm 2i \end{aligned}

So a real weight bouncing on a physical spring gives the complex roots r=−1±2ir = -1 \pm 2i. (You can also use the quadratic formula here, though completing the square is usually faster when the middle coefficient is even.)

2

Euler's Formula and the Shrinking Spiral

Plugging r=−1+2ir = \rpart{-1} + \ipart{2}i back into y=ert\yy{y = e^{rt}} gives y=e(−1+2i)t\yy{y} = e^{(\rpart{-1} + \ipart{2}i)t}, so we need to see what a complex exponent means for the motion of a real spring.

Two rules break this exponent apart: a sum in the exponent splits into a product of two powers of ee, and Euler's formula turns an imaginary exponent into cosine and sine:

e(−1+2i)t\displaystyle e^{(\rpart{-1} + \ipart{2}i)t} =e−t⋅e2it,e2it\displaystyle = \rpart{e^{-t}} \cdot e^{\ipart{2}it}, \qquad e^{\ipart{2}it} =cos⁡(2t)+isin⁡(2t)\displaystyle = \cos(\ipart{2}t) + i\sin(\ipart{2}t)
Euler's Formula and the Shrinking Spiral
r=−1+2i,y=ertr = \htmlClass{lc-pink}{-1} + \htmlClass{lc-orange}{2}i, \qquad \htmlClass{lc-blue}{y = e^{rt}}
y=e(−1+2i)t=  ?\htmlClass{lc-blue}{y} = e^{(\htmlClass{lc-pink}{-1} + \htmlClass{lc-orange}{2}i)t} = \;?
Re\htmlClass{lc-mute}{\mathrm{Re}}
Im\htmlClass{lc-mute}{\mathrm{Im}}
1\htmlClass{lc-mute}{1}
Text solution
Split the exponent into decaying and rotating factorsWriting ee raised to a sum as a product of two powers of ee separates the real exponential e−t\rpart{e^{-t}} from the imaginary exponential e2ite^{\ipart{2}it}.
y(t)\displaystyle \yy{y(t)} =e(−1+2i)t\displaystyle = e^{(\rpart{-1} + \ipart{2}i)t} =e−t+2it\displaystyle = e^{\rpart{-t} + \ipart{2}it} =e−t⋅e2it\displaystyle = \rpart{e^{-t}} \cdot e^{\ipart{2}it}
Expand the imaginary exponent with Euler's formulaReplacing e2ite^{\ipart{2}it} with cos⁡(2t)+isin⁡(2t)\cos(\ipart{2}t) + i\sin(\ipart{2}t) and multiplying through by e−t\rpart{e^{-t}} separates the motion into two terms.
y(t)=e−t(cos⁡(2t)+isin⁡(2t))=e−tcos⁡(2t)+i⋅e−tsin⁡(2t)\displaystyle \begin{aligned} \yy{y(t)} &= \rpart{e^{-t}}(\cos(\ipart{2}t) + i\sin(\ipart{2}t)) \\ &= \rpart{e^{-t}}\cos(\ipart{2}t) + i \cdot \rpart{e^{-t}}\sin(\ipart{2}t) \end{aligned}

Multiplying the steady rotation e2ite^{\ipart{2}it} by the shrinking radius e−t\rpart{e^{-t}} traces an inward spiral in the complex plane, and watching that spiral from the side gives a wave whose bounces die out over time.

As the rotating vector e(−1+2i)te^{(\rpart{-1} + \ipart{2}i)t} spirals inward toward the origin, its horizontal and vertical shadows trace out decaying waves e−tcos⁡(2t)\rpart{e^{-t}}\cos(\ipart{2}t) and e−tsin⁡(2t)\rpart{e^{-t}}\sin(\ipart{2}t) that match the bouncing spring.

As a point spirals inward in the complex plane, its horizontal and vertical shadows each trace out a wave whose bounces shrink over time.
3

Two Real Solutions from One Complex Root

Our expression y(t)=e−tcos⁡(2t)+i⋅e−tsin⁡(2t)\yy{y(t)} = \yone{e^{-t}\cos(2t)} + i \cdot \ytwo{e^{-t}\sin(2t)} still has an ii in it, and we need two real, independent solutions to build the general solution of y′′+2y′+5y=0y'' + 2y' + 5y = 0.

Two Real Solutions from One Complex Root
y(t)\displaystyle \yy{y(t)} =e−tcos⁡(2t)+i⋅e−tsin⁡(2t)\displaystyle = \yone{e^{-t}\cos(2t)} + i \cdot \ytwo{e^{-t}\sin(2t)}
y1(t)\displaystyle \yone{y_1(t)} =  ?y2(t)\displaystyle = \;?\qquad \ytwo{y_2(t)} =  ?\displaystyle = \;?
Text solution
Separate the real and imaginary partsBecause differentiating and multiplying by the real numbers 22 and 55 never turns real terms into imaginary ones, the real part and the imaginary part must each satisfy the differential equation on their own.
y(t)\displaystyle \yy{y(t)} =e−tcos⁡(2t)⏟y1(t) (real part)+i⋅e−tsin⁡(2t)⏟y2(t) (imaginary part)\displaystyle = \yone{\underbrace{e^{-t}\cos(2t)}_{y_1(t)\text{ (real part)}}} + i \cdot \ytwo{\underbrace{e^{-t}\sin(2t)}_{y_2(t)\text{ (imaginary part)}}}
Combine the two independent real solutionsDropping the ii gives two linearly independent real solutions, which we combine with arbitrary constants c1\yone{c_1} and c2\ytwo{c_2}.
y(t)\displaystyle \yy{y(t)} =c1e−tcos⁡(2t)+c2e−tsin⁡(2t)\displaystyle = \yone{c_1 e^{-t}\cos(2t)} + \ytwo{c_2 e^{-t}\sin(2t)}

So the general solution for our spring is y(t)=c1e−tcos⁡(2t)+c2e−tsin⁡(2t)\yy{y(t)} = \yone{c_1 e^{-t}\cos(2t)} + \ytwo{c_2 e^{-t}\sin(2t)}, where c1\yone{c_1} and c2\ytwo{c_2} are set by how the spring is released.

4

Reading Complex Roots: Envelope and Frequency

We want to read the general solution and the shape of the motion right from any complex root r=α±βir = \rpart{\alpha} \pm \ipart{\beta} i, without writing out Euler's formula each time.

Reading Complex Roots: Envelope and Frequency
r\displaystyle r =α±βi\displaystyle = \rpart{\alpha} \pm \ipart{\beta} i
y(t)\displaystyle \yy{y(t)} =  ?\displaystyle = \;?

Once you have the roots r=α±βir = \rpart{\alpha} \pm \ipart{\beta} i, the real part α\rpart{\alpha} goes into the real exponent and the positive imaginary part β\ipart{\beta} goes inside cosine and sine:

y(t)\displaystyle \yy{y(t)} =c1eαt⏟envelopecos⁡(βt)⏟oscillation+c2eαt⏟envelopesin⁡(βt)⏟oscillation\displaystyle = c_1 \rpart{\underbrace{e^{\alpha t}}_{\text{envelope}}} \underbrace{\cos(\ipart{\beta} t)}_{\ipart{\text{oscillation}}} + c_2 \rpart{\underbrace{e^{\alpha t}}_{\text{envelope}}} \underbrace{\sin(\ipart{\beta} t)}_{\ipart{\text{oscillation}}}

We only plug the positive number β\ipart{\beta} into cosine and sine because cos⁡(−βt)=cos⁡(βt)\cos(-\ipart{\beta} t) = \cos(\ipart{\beta} t) and sin⁡(−βt)=−sin⁡(βt)\sin(-\ipart{\beta} t) = -\sin(\ipart{\beta} t), so any minus sign from −βi-\ipart{\beta} i gets absorbed into the constant c2c_2.

r=α±2i,y=eαtcos⁡(2t)r = \htmlClass{lc-pink}{\alpha} \pm \htmlClass{lc-orange}{2}i, \qquad \htmlClass{lc-blue}{y} = \htmlClass{lc-pink}{e^{\alpha t}}\cos(\htmlClass{lc-orange}{2}t)
α=−1<0\htmlClass{lc-pink}{\alpha} = \htmlClass{lc-pink}{-1} < 0
e−t\htmlClass{lc-pink}{e^{-t}}
t\htmlClass{lc-mute}{t}
1\htmlClass{lc-mute}{1}
α=0\htmlClass{lc-pink}{\alpha} = \htmlClass{lc-pink}{0}
e0t=1\htmlClass{lc-pink}{e^{0t}} = 1
t\htmlClass{lc-mute}{t}
α=+1>0\htmlClass{lc-pink}{\alpha} = \htmlClass{lc-pink}{+1} > 0
et\htmlClass{lc-pink}{e^{t}}
t\htmlClass{lc-mute}{t}

When a differential equation has no middle y′y' friction term, such as y′′+4y=0y'' + 4y = 0, the real part α\rpart{\alpha} is zero:

Text solution
Solve the characteristic equation for rrWith no y′y' term, r2+4=0r^2 + 4 = 0 gives pure imaginary roots with α=0\rpart{\alpha} = \rpart{0} and β=2\ipart{\beta} = \ipart{2}.
r2+4=0r2=−4r=±2i=0±2i\displaystyle \begin{aligned} r^2 + 4 &= 0 \\ r^2 &= -4 \\ r &= \pm \ipart{2}i = \rpart{0} \pm \ipart{2}i \end{aligned}
Use α=0\rpart{\alpha} = \rpart{0} and β=2\ipart{\beta} = \ipart{2} in the general solutionBecause e0t=1\rpart{e^{0t}} = 1, the exponential envelope is just 11 and disappears.
y(t)=c1e0tcos⁡(2t)+c2e0tsin⁡(2t)=c1cos⁡(2t)+c2sin⁡(2t)\displaystyle \begin{aligned} \yy{y(t)} &= c_1 \rpart{e^{0t}}\cos(\ipart{2}t) + c_2 \rpart{e^{0t}}\sin(\ipart{2}t) \\ &= c_1\cos(\ipart{2}t) + c_2\sin(\ipart{2}t) \end{aligned}

So y′′+4y=0y'' + 4y = 0 gives pure oscillation at constant height forever.

Moving the complex roots r=α±βir = \rpart{\alpha} \pm \ipart{\beta} i horizontally across the imaginary axis changes the envelope ±eαt\rpart{\pm e^{\alpha t}} from decaying (α<0\rpart{\alpha} < 0) to steady (α=0\rpart{\alpha} = 0) to growing (α>0\rpart{\alpha} > 0), while moving them vertically away from the real axis makes the wave eαtcos⁡(βt)\rpart{e^{\alpha t}}\cos(\ipart{\beta} t) oscillate faster inside that same envelope.

Moving a complex root left or right controls whether the wave shrinks, stays steady, or grows, while moving it up or down controls how fast it bounces.
5

Solving an Initial Value Problem

When we are also given the starting position y(0)\yy{y(0)} and starting velocity y′(0)y'(0), we use them to find the exact numbers for c1c_1 and c2c_2. Let's solve the initial value problem:

y′′−6y′+25y\displaystyle y'' - 6y' + 25y =0,y(0)\displaystyle = 0, \qquad \yy{y(0)} =2,y′(0)\displaystyle = 2, \quad y'(0) =0\displaystyle = 0
Solving an Initial Value Problem
y′′−6y′+25y\displaystyle y'' - 6y' + 25y =0\displaystyle = 0
y(0)\displaystyle \yy{y(0)} =2,y′(0)\displaystyle = 2, \qquad y'(0) =0\displaystyle = 0
y(t)\displaystyle \yy{y(t)} =  ?\displaystyle = \;?
Text solution
Complete the square to find the characteristic rootsSplitting 2525 into 9+169 + 16 lets us rewrite r2−6r+25=0r^2 - 6r + 25 = 0 as (r−3)2+16=0(r - 3)^2 + 16 = 0.
r2−6r+25=0(r2−6r+9)+16=0(r−3)2=−16r−3=±4ir=3±4i\displaystyle \begin{aligned} r^2 - 6r + 25 &= 0 \\ (r^2 - 6r + 9) + 16 &= 0 \\ (r - 3)^2 &= -16 \\ r - 3 &= \pm 4i \\ r &= \rpart{3} \pm \ipart{4}i \end{aligned}
Write the general solution and factor out e3t\rpart{e^{3t}}Reading α=3\rpart{\alpha} = \rpart{3} and β=4\ipart{\beta} = \ipart{4} gives the general solution, and factoring e3t\rpart{e^{3t}} out in front makes plugging in t=0t = 0 and differentiating much easier.
y(t)=c1e3tcos⁡(4t)+c2e3tsin⁡(4t)=e3t(c1cos⁡(4t)+c2sin⁡(4t))\displaystyle \begin{aligned} \yy{y(t)} &= c_1 \rpart{e^{3t}}\cos(\ipart{4}t) + c_2 \rpart{e^{3t}}\sin(\ipart{4}t) \\ &= \rpart{e^{3t}}(c_1\cos(\ipart{4}t) + c_2\sin(\ipart{4}t)) \end{aligned}
Plug in t=0t = 0 to find c1c_1At t=0t = 0, e0=1e^0 = 1, cos⁡(0)=1\cos(0) = 1, and sin⁡(0)=0\sin(0) = 0, so the c2c_2 term drops out right away.
y(0)=e0(c1cos⁡(0)+c2sin⁡(0))=21⋅(c1(1)+c2(0))=2c1=2\displaystyle \begin{aligned} \yy{y(0)} = e^0(c_1\cos(0) + c_2\sin(0)) &= 2 \\ 1 \cdot (c_1(1) + c_2(0)) &= 2 \\ c_1 &= 2 \end{aligned}
Differentiate with the product rule and plug in t=0t = 0 to find c2c_2Differentiating y(t)=e3t(2cos⁡(4t)+c2sin⁡(4t))\yy{y(t)} = \rpart{e^{3t}}(2\cos(\ipart{4}t) + c_2\sin(\ipart{4}t)) with the product rule (remembering the chain rule factor of 4\ipart{4} from inside cosine and sine), we plug t=0t = 0 right in without simplifying because every sin⁡(0)\sin(0) term becomes 00.
y′(t)=3e3t(2cos⁡(4t)+c2sin⁡(4t))+e3t(−8sin⁡(4t)+4c2cos⁡(4t))y′(0)=3(1)(2(1)+c2(0))+1(−8(0)+4c2(1))=06+4c2=04c2=−6c2=−32\displaystyle \begin{aligned} y'(t) &= \rpart{3e^{3t}}(2\cos(\ipart{4}t) + c_2\sin(\ipart{4}t)) + \rpart{e^{3t}}(-8\sin(\ipart{4}t) + \ipart{4}c_2\cos(\ipart{4}t)) \\ y'(0) &= \rpart{3}(1)(2(1) + c_2(0)) + 1(-8(0) + \ipart{4}c_2(1)) = 0 \\ 6 + \ipart{4}c_2 &= 0 \\ \ipart{4}c_2 &= -6 \\ c_2 &= -\frac{3}{2} \end{aligned}
Substitute c1c_1 and c2c_2 into y(t)\yy{y(t)}Putting both constants back into the factored general solution gives the exact formula for y(t)\yy{y(t)}.
y(t)\displaystyle \yy{y(t)} =e3t(2cos⁡(4t)−32sin⁡(4t))\displaystyle = \rpart{e^{3t}}\left(2\cos(\ipart{4}t) - \tfrac{3}{2}\sin(\ipart{4}t)\right)

So the system starts at y(0)=2\yy{y(0)} = 2 at rest and oscillates with frequency 4\ipart{4} inside a growing exponential envelope e3t\rpart{e^{3t}}.

Key concepts

When solving a constant-coefficient equation ay′′+by′+cy=0ay'' + by' + cy = 0 by setting y=ert\yy{y = e^{rt}}, the sign of the number on the right when you complete the square tells you whether the system oscillates. If the square equals a positive number, like (r+1)2=4  ⟹  r=1,−3(r + 1)^2 = 4 \implies r = 1, -3, the roots are real and you write plain exponentials y(t)=c1et+c2e−3t\yy{y(t)} = c_1 e^t + c_2 e^{-3t}, without cosine or sine. Only when the square equals a negative number, like (r+1)2=−4  ⟹  r=−1±2i(r + 1)^2 = -4 \implies r = \rpart{-1} \pm \ipart{2}i, do you get complex roots r=α±βir = \rpart{\alpha} \pm \ipart{\beta} i and oscillation:

y(t)\displaystyle \yy{y(t)} =eαt(c1cos⁡(βt)+c2sin⁡(βt))\displaystyle = \rpart{e^{\alpha t}}(c_1\cos(\ipart{\beta} t) + c_2\sin(\ipart{\beta} t))

Read r=α±βir = \rpart{\alpha} \pm \ipart{\beta} i in two pieces:

Envelope from the real part α\rpart{\alpha}

α<0\rpart{\alpha} < 0 shrinks to zero (r=−1±2ir = \rpart{-1} \pm \ipart{2}i gives e−t(c1cos⁡(2t)+c2sin⁡(2t))\rpart{e^{-t}}(c_1\cos(\ipart{2}t) + c_2\sin(\ipart{2}t))), α=0\rpart{\alpha} = 0 when the y′y' term is missing gives a steady wave of constant height (y′′+4y=0  ⟹  r=±2iy'' + 4y = 0 \implies r = \pm \ipart{2}i gives c1cos⁡(2t)+c2sin⁡(2t)c_1\cos(\ipart{2}t) + c_2\sin(\ipart{2}t)), and α>0\rpart{\alpha} > 0 grows without bound (r=3±4ir = \rpart{3} \pm \ipart{4}i gives e3t(c1cos⁡(4t)+c2sin⁡(4t))\rpart{e^{3t}}(c_1\cos(\ipart{4}t) + c_2\sin(\ipart{4}t))).

Oscillation speed from the imaginary part β\ipart{\beta}

Larger β\ipart{\beta} means faster oscillation inside cos⁡(βt)\cos(\ipart{\beta} t) and sin⁡(βt)\sin(\ipart{\beta} t).

Initial conditions at t=0t = 0

In the factored form y(t)=eαt(c1cos⁡(βt)+c2sin⁡(βt))\yy{y(t)} = \rpart{e^{\alpha t}}(c_1\cos(\ipart{\beta} t) + c_2\sin(\ipart{\beta} t)), plugging in t=0t = 0 gives c1=y(0)c_1 = \yy{y(0)} right away; then take y′(t)y'(t) with one product rule (remembering the chain rule factor β\ipart{\beta}) and plug in t=0t = 0 right away to solve αc1+βc2=y′(0)\rpart{\alpha} c_1 + \ipart{\beta} c_2 = y'(0) for c2c_2.

6

Practice

1

Find the general solution to y′′+4y′+13y=0y'' + 4y' + 13y = 0.

Write the characteristic equation r2+4r+13=0r^2 + 4r + 13 = 0; how should you split 1313 to complete the square on r2+4rr^2 + 4r?

Split 1313 into 4+94 + 9 to complete the square:
r2+4r+13=0(r2+4r+4)+9=0(r+2)2=−9r+2=±3ir=−2±3i\displaystyle \begin{aligned} r^2 + 4r + 13 &= 0 \\ (r^2 + 4r + 4) + 9 &= 0 \\ (r + 2)^2 &= -9 \\ r + 2 &= \pm 3i \\ r &= \rpart{-2} \pm \ipart{3}i \end{aligned}
Watch out when solving (r+2)2=−9(r + 2)^2 = -9: moving the 22 across without changing its sign gives r=2±3ir = 2 \pm 3i (and the wrong growing solution c1e2tcos⁡(3t)+c2e2tsin⁡(3t)c_1 e^{2t}\cos(3t) + c_2 e^{2t}\sin(3t)), while forgetting to take the square root of 99 gives r=−2±9ir = -2 \pm 9i (and c1e−2tcos⁡(9t)+c2e−2tsin⁡(9t)c_1 e^{-2t}\cos(9t) + c_2 e^{-2t}\sin(9t)). Reading α=−2\rpart{\alpha} = \rpart{-2} for the exponent and β=3\ipart{\beta} = \ipart{3} for inside cosine and sine gives:
y(t)\displaystyle \yy{y(t)} =c1e−2tcos⁡(3t)+c2e−2tsin⁡(3t)\displaystyle = c_1 \rpart{e^{-2t}}\cos(\ipart{3}t) + c_2 \rpart{e^{-2t}}\sin(\ipart{3}t)
2

Find the general solution to y′′+9y=0y'' + 9y = 0.

Write the characteristic equation when the middle y′y' term is missing: what is the real part α\rpart{\alpha} of the roots?

The characteristic equation is r2+9=0r^2 + 9 = 0:
r2=−9r=±3i=0±3i\displaystyle \begin{aligned} r^2 &= -9 \\ r &= \pm \ipart{3}i = \rpart{0} \pm \ipart{3}i \end{aligned}
Be careful not to treat r2+9=0r^2 + 9 = 0 like r2−9=0r^2 - 9 = 0, which would give real roots r=±3r = \pm 3 and the wrong non-oscillating answer c1e3t+c2e−3tc_1 e^{3t} + c_2 e^{-3t}. With α=0\rpart{\alpha} = \rpart{0} (so e0t=1\rpart{e^{0t}} = 1) and β=3\ipart{\beta} = \ipart{3}:
y(t)\displaystyle \yy{y(t)} =c1cos⁡(3t)+c2sin⁡(3t)\displaystyle = c_1\cos(\ipart{3}t) + c_2\sin(\ipart{3}t)
3

Determine whether the oscillations of (a) y′′+6y′+13y=0y'' + 6y' + 13y = 0, (b) y′′+25y=0y'' + 25y = 0, and (c) y′′−4y′+20y=0y'' - 4y' + 20y = 0 decay to zero, stay at constant amplitude, or grow without bound as tt increases, and state which equation oscillates the fastest.

Find r=α±βir = \rpart{\alpha} \pm \ipart{\beta} i for each equation: which part of rr controls the envelope, and which part controls the oscillation speed?

Complete the square on each characteristic equation to find r=α±βir = \rpart{\alpha} \pm \ipart{\beta} i:
For (a): r2+6r+13=(r+3)2+4=0  ⟹  (r+3)2=−4  ⟹  r=−3±2ir^2 + 6r + 13 = (r + 3)^2 + 4 = 0 \implies (r + 3)^2 = -4 \implies r = \rpart{-3} \pm \ipart{2}i.
For (b): r2+25=0  ⟹  r2=−25  ⟹  r=±5ir^2 + 25 = 0 \implies r^2 = -25 \implies r = \pm \ipart{5}i.
For (c): r2−4r+20=(r−2)2+16=0  ⟹  (r−2)2=−16  ⟹  r=2±4ir^2 - 4r + 20 = (r - 2)^2 + 16 = 0 \implies (r - 2)^2 = -16 \implies r = \rpart{2} \pm \ipart{4}i.
Don't read the sign of the y′y' coefficient as the sign of α\rpart{\alpha} without solving for rr first. Moving +3+3 and −2-2 across the equals sign flips their signs, so skipping that step swaps (a) and (c) and wrongly says (a) grows while (c) decays. Comparing the real parts α\rpart{\alpha} for the envelope and the imaginary parts β\ipart{\beta} (β=2,5,4\ipart{\beta} = \ipart{2}, \ipart{5}, \ipart{4}) for the oscillation speed:
(a) decays to zero (r=−3±2ir = \rpart{-3} \pm \ipart{2}i), (b) stays at constant amplitude (r=±5ir = \pm \ipart{5}i), (c) grows without bound (r=2±4ir = \rpart{2} \pm \ipart{4}i); (b) oscillates the fastest because its imaginary part β=5\ipart{\beta} = \ipart{5} is the largest.
4

Solve the initial value problem y′′+2y′+10y=0y'' + 2y' + 10y = 0, y(0)=1y(0) = 1, y′(0)=5y'(0) = 5.

After finding r=α±βir = \rpart{\alpha} \pm \ipart{\beta} i and c1c_1 from y(0)=1\yy{y(0)} = 1, don't forget both pieces of the product rule and the chain rule factor β\ipart{\beta} when differentiating y(t)=eαt(c1cos⁡(βt)+c2sin⁡(βt))\yy{y(t)} = \rpart{e^{\alpha t}}(c_1\cos(\ipart{\beta} t) + c_2\sin(\ipart{\beta} t)).

Complete the square on r2+2r+10=0r^2 + 2r + 10 = 0:
(r+1)2+9=0(r+1)2=−9r=−1±3i\displaystyle \begin{aligned} (r + 1)^2 + 9 &= 0 \\ (r + 1)^2 &= -9 \\ r &= \rpart{-1} \pm \ipart{3}i \end{aligned}
Write the factored general solution and plug in t=0t = 0:
y(t)=e−t(c1cos⁡(3t)+c2sin⁡(3t))y(0)=1⋅(c1(1)+c2(0))=1  ⟹  c1=1\displaystyle \begin{aligned} \yy{y(t)} &= \rpart{e^{-t}}(c_1\cos(\ipart{3}t) + c_2\sin(\ipart{3}t)) \\ \yy{y(0)} &= 1 \cdot (c_1(1) + c_2(0)) = 1 \implies c_1 = 1 \end{aligned}
Now differentiate y(t)=e−t(cos⁡(3t)+c2sin⁡(3t))\yy{y(t)} = \rpart{e^{-t}}(\cos(\ipart{3}t) + c_2\sin(\ipart{3}t)) using the product rule and plug in t=0t = 0:
y′(t)=−e−t(cos⁡(3t)+c2sin⁡(3t))+e−t(−3sin⁡(3t)+3c2cos⁡(3t))y′(0)=−(1)(1+0)+(1)(0+3c2)=5−1+3c2=53c2=6c2=2\displaystyle \begin{aligned} y'(t) &= \rpart{-e^{-t}}(\cos(\ipart{3}t) + c_2\sin(\ipart{3}t)) + \rpart{e^{-t}}(-\ipart{3}\sin(\ipart{3}t) + \ipart{3}c_2\cos(\ipart{3}t)) \\ y'(0) &= \rpart{-}(1)(1 + 0) + (1)(0 + \ipart{3}c_2) = 5 \\ \rpart{-1} + \ipart{3}c_2 &= 5 \\ \ipart{3}c_2 &= 6 \\ c_2 &= 2 \end{aligned}
Watch out when computing y′(0)y'(0): forgetting the first product-rule term from differentiating e−t\rpart{e^{-t}} drops the −1\rpart{-1} and gives 3c2=5  ⟹  c2=533c_2 = 5 \implies c_2 = \tfrac{5}{3} (leading to the wrong answer e−t(cos⁡(3t)+53sin⁡(3t))e^{-t}(\cos(3t) + \tfrac{5}{3}\sin(3t))), and forgetting the chain-rule factor of 3\ipart{3} from sin⁡(3t)\sin(\ipart{3}t) gives −1+c2=5  ⟹  c2=6-1 + c_2 = 5 \implies c_2 = 6. Plugging c1=1c_1 = 1 and c2=2c_2 = 2 back in gives:
y(t)\displaystyle \yy{y(t)} =e−t(cos⁡(3t)+2sin⁡(3t))\displaystyle = \rpart{e^{-t}}(\cos(\ipart{3}t) + 2\sin(\ipart{3}t))
5

Find a differential equation of the form y′′+by′+cy=0y'' + by' + cy = 0 whose general solution is y(t)=e−4t(c1cos⁡(3t)+c2sin⁡(3t))y(t) = e^{-4t}(c_1\cos(3t) + c_2\sin(3t)).

Read the complex roots r=α±βir = \rpart{\alpha} \pm \ipart{\beta} i from the envelope and oscillation, then work backward by squaring r−α=±βir - \rpart{\alpha} = \pm \ipart{\beta} i.

From the envelope e−4t\rpart{e^{-4t}} and oscillation cos⁡(3t),sin⁡(3t)\cos(\ipart{3}t), \sin(\ipart{3}t), the roots are r=−4±3ir = \rpart{-4} \pm \ipart{3}i. Move −4\rpart{-4} to the left side and square both sides to rebuild the characteristic equation:
r+4=±3i(r+4)2=−9r2+8r+16=−9r2+8r+25=0\displaystyle \begin{aligned} r + 4 &= \pm 3i \\ (r + 4)^2 &= -9 \\ r^2 + 8r + 16 &= -9 \\ r^2 + 8r + 25 &= 0 \end{aligned}
Be careful not to write (r−4)2=−9(r - 4)^2 = -9 (which gives the wrong middle sign y′′−8y′+25y=0y'' - 8y' + 25y = 0) or drop the 1616 when expanding (r+4)2(r + 4)^2 (which gives y′′+8y′+9y=0y'' + 8y' + 9y = 0). Turning powers of rr back into derivatives gives:
y′′+8y′+25y\displaystyle y'' + 8y' + 25y =0\displaystyle = 0