01 / 20

Complex Roots
& Oscillations

Discover how complex characteristic roots give rise to oscillatory solutions in second-order linear ODEs: exponential envelopes, sinusoidal cores, and damped motion.

Differential Equations

What Are Complex Roots?

When we solve a second-order linear ODE with constant coefficients, we form the characteristic equation. Sometimes the discriminant is negative, yielding roots of the form \( r = \alpha \pm \beta i \), where \( \alpha \) and \( \beta \) are real numbers and \( i = \sqrt{-1} \).

Roots on the Complex Plane

Re Im
\( \alpha + \beta i \)
\( \alpha - \beta i \)
\( \alpha \)
\( \beta \)
\( -\beta \)
0

Why Do Oscillations Arise?

Euler's formula bridges the exponential and trigonometric worlds. When the characteristic root is \( r = \alpha + \beta i \), the exponential solution \( e^{rt} \) contains both growth/decay and sinusoidal oscillation:

The factor \( e^{\alpha t} \) is a real exponential envelope, while \( \cos(\beta t) \) and \( \sin(\beta t) \) generate the oscillation. This is why complex roots always produce oscillatory behavior.

The General Solution

\( e^{\alpha t} \)
Exponential envelope: governs growth (\( \alpha > 0 \)), decay (\( \alpha < 0 \)), or constant amplitude (\( \alpha = 0 \)).
\( \cos(\beta t),\;\sin(\beta t) \)
Oscillatory core: produces sinusoidal behavior with angular frequency \( \beta \) and period \( T = \frac{2\pi}{\beta} \).

Visualizing Damped Oscillation

t y
\( e^{-0.3t} \)
\( y(t) \)
2 4 6 8

Three Cases of \( \alpha \)

\( \alpha > 0 \)
Growing oscillation: amplitude increases without bound. The system is unstable.
\( \alpha = 0 \)
Pure oscillation: constant amplitude forever. Called the undamped or center case.
\( \alpha < 0 \)
Damped oscillation: amplitude decays to zero. The system is asymptotically stable.

Pure Oscillation: \( \alpha = 0 \)

t y +1 -1 2 4 6 8

How to Solve Step by Step

1
Write the characteristic equation. From \( ay'' + by' + cy = 0 \), form \( ar^2 + br + c = 0 \).
2
Compute the discriminant. Evaluate \( \Delta = b^2 - 4ac \). If \( \Delta < 0 \), the roots are complex.
3
Extract \( \alpha \) and \( \beta \). Set \( \alpha = \frac{-b}{2a} \) and \( \beta = \frac{\sqrt{|\Delta|}}{2a} \).
4
Write the general solution. \( y(t) = e^{\alpha t}(C_1\cos\beta t + C_2\sin\beta t) \).
5
Apply initial conditions (if given) to find \( C_1 \) and \( C_2 \).

Example 1: Damped Case

Solve \( y'' + 2y' + 5y = 0 \).

1
Characteristic equation: \( r^2 + 2r + 5 = 0 \).
2
Discriminant: \( \Delta = 4 - 20 = -16 < 0 \). Complex roots confirmed.
3
Extract parts: \( \alpha = \frac{-2}{2} = -1 \), \( \beta = \frac{\sqrt{16}}{2} = 2 \). So \( r = -1 \pm 2i \).
4
General solution: \( y(t) = e^{-t}(C_1\cos 2t + C_2\sin 2t) \).

Example 2: Pure Imaginary Roots

Solve \( y'' + 9y = 0 \).

1
Characteristic equation: \( r^2 + 9 = 0 \). So \( r^2 = -9 \).
2
Roots: \( r = \pm 3i \). Here \( \alpha = 0 \), \( \beta = 3 \).
3
General solution: \( y(t) = C_1\cos 3t + C_2\sin 3t \). No exponential envelope needed since \( e^{0 \cdot t} = 1 \).

Example 3: Applying Initial Conditions

Solve \( y'' + 4y' + 13y = 0 \), with \( y(0) = 2 \), \( y'(0) = -1 \).

1
Characteristic equation: \( r^2 + 4r + 13 = 0 \). Discriminant: \( 16 - 52 = -36 \).
2
Roots: \( r = -2 \pm 3i \). So \( \alpha = -2 \), \( \beta = 3 \).
3
General solution: \( y = e^{-2t}(C_1\cos 3t + C_2\sin 3t) \).
4
Apply ICs: \( y(0) = C_1 = 2 \). For \( y'(0) \): differentiate to get \( y' = e^{-2t}[(-2C_1 + 3C_2)\cos 3t + (-2C_2 - 3C_1)\sin 3t] \). Then \( y'(0) = -2C_1 + 3C_2 = -1 \), so \( C_2 = 1 \).

The Amplitude-Phase Form

Any linear combination \( C_1\cos\beta t + C_2\sin\beta t \) can be rewritten as a single sinusoid with amplitude and phase shift:

\( R \)
The amplitude of the oscillation at \( t = 0 \) (before any exponential scaling).
\( \phi \)
The phase shift: how much the cosine wave is shifted horizontally.

Common Mistakes to Avoid

✕ Writing \( e^{i\beta t} \) as the solution
The general solution must be real-valued. Always convert to \( \cos \) and \( \sin \) using Euler's formula.
✕ Forgetting the envelope
When \( \alpha \neq 0 \), omitting \( e^{\alpha t} \) means losing the growth or decay behavior entirely.
✕ Sign error in \( \beta \)
\( \beta \) is always the positive imaginary part. Writing \( \cos(-\beta t) \) is valid but redundant since \( \cos \) is even.

Root Types Compared

Real Distinct Repeated Real Complex Conjugate
Discriminant \( \Delta > 0 \) \( \Delta = 0 \) \( \Delta < 0 \)
Roots \( r_1, r_2 \in \mathbb{R} \) \( r_1 = r_2 \in \mathbb{R} \) \( \alpha \pm \beta i \)
Solution Form \( C_1 e^{r_1 t} + C_2 e^{r_2 t} \) \( (C_1 + C_2 t)e^{r_1 t} \) \( e^{\alpha t}(C_1\cos\beta t + C_2\sin\beta t) \)
Behavior Exponential Exponential (with t factor) Oscillatory

Question 1 of 5

What is the general solution to \( y'' + 6y' + 13y = 0 \)?

Question 2 of 5

For the ODE \( y'' + 4y = 0 \), what type of motion does the solution exhibit?

Question 3 of 5

If the roots of the characteristic equation are \( r = 1 \pm 3i \), what happens to \( y(t) \) as \( t \to \infty \)?

Question 4 of 5

Given \( y'' + 2y' + 10y = 0 \) with \( y(0) = 0 \) and \( y'(0) = 3 \), find \( C_1 \) and \( C_2 \) in the general solution \( y = e^{-t}(C_1\cos 3t + C_2\sin 3t) \).

Question 5 of 5

Which of the following is not a valid way to express the oscillatory part of the solution when roots are complex?