Complex and repeated roots
Solve ay'' + by' + cy = 0 when the characteristic equation has complex roots λ ± μi or one repeated root, and compare the three cases on one set of axes.
It opens on
A mass on a spring with a little damping swings back and forth while the swings shrink; which exponentials can do both at once?
Why it matters
Every vibrating system whose damping is small has complex roots, and the real part of the root says how fast the vibration dies; a double root marks the exact border between ringing and sluggish return.
Good to know first
- Constant coefficients: y = ert gives the characteristic equation ar² + br + c = 0
- Euler's formula eiθ = cos θ + i sin θ
Step by step
Complex roots: Euler's formula gives cos and sin
Turn the complex roots −1 ± 2i into the two real solutions e−tcos 2t and e−tsin 2t.
The characteristic equation of y'' + 2y' + 5y = 0 is r² + 2r + 5 = 0, and the quadratic formula gives r = (−2 ± √(−16))/2 = −1 ± 2i.
A common mix-up
Complex roots mean the solutions are complex-valued.
In fact: The roots are complex but the two solutions we use are real functions, the real and imaginary parts of ert.
Fit the start and read the envelope
Solve the initial value problem and write it as an amplitude times a decaying cosine.
With y = e−t(c₁cos 2t + c₂sin 2t), y(0) = c₁ = 2.
A common mix-up
The solution touches the envelope at its maxima.
In fact: It touches √5 e−t where the cosine equals ±1, which is slightly earlier than the peaks of y; it never crosses the envelope.
A repeated root and the three cases
Find the second solution tert for a double root and compare critical damping with ringing and sluggish return from the same start.
For y'' + 4y' + 4y = 0, r² + 4r + 4 = (r + 2)² = 0 has the double root r = −2, and so far only e−2t is a solution.
A common mix-up
A repeated root gives only one solution, so the problem cannot be solved.
In fact: The factor t supplies a second, independent solution tert.
Try it
Write the general real solution of y'' + 4y = 0.Answer
y = c₁cos 2t + c₂sin 2t
Hint: The roots are ±2i, so λ = 0 and μ = 2
Solve y'' + 2y' + 5y = 0 with y(0) = 0 and y'(0) = 2.Answer
y = e−tsin 2t
Hint: c₁ = 0, then −c₁ + 2c₂ = 2 gives c₂ = 1
Solve y'' + 6y' + 9y = 0 with y(0) = 1, y'(0) = 0.Answer
y = (1 + 3t)e−3t
Hint: c₁ = 1, then c₂ − 3c₁ = 0
For the roots λ ± μi in general, what are the two real solutions?Answer
eλtcos μt and eλtsin μt.
How large is the swing at t = π/2, and in which direction?Answer
y(π/2) = 2e−π/2·(−1) = −0.416, below the axis, about 0.2 of the start.
