Skip to content
Section 3.3 · Complex roots and real solutions

Complex roots, real solutions

y″ + 2y′ + 5y = 0   y(0) = 2,   y′(0) = 0

The characteristic roots are −1 ± 2i. Follow one complex exponential, read its real and imaginary parts, and combine those two real functions to solve the lecture’s initial value problem.

One complex exponential

z = e(−1 + 2i)x = u + iv

The spiral shrinks because of e−x. Its angle increases as 2x. The projections give two real numbers u and v.

A real solution

y = C₁u + C₂v   C₁, C₂ ∈ ℝ

Real solution y Decay envelope

Try other real constants

Changing the real constants preserves the differential equation and changes the initial values. The complex exponential and its real and imaginary parts stay the same.

Why do complex roots give real solutions?

e(−1 + 2i)x = e−x cos 2x + i e−x sin 2x = u + iv.

The real and imaginary parts are real-valued functions. With real coefficients, substituting u + iv into the ODE gives

(u″ + 2u′ + 5u) + i(v″ + 2v′ + 5v) = 0.

Both parts must be zero, so u and v each solve the original real equation. The conjugate root gives the same two real functions. Their real linear combinations give the real general solution.

Check the lecture initial value problem

r² + 2r + 5 = (r + 1)² + 4 = 0   r = −1 ± 2i.

y = e−x(C₁ cos 2x + C₂ sin 2x).

At x = 0, the initial value and slope are y(0) = C₁ and y′(0) = −C₁ + 2C₂. Thus y(0) = 2 gives C₁ = 2, and y′(0) = 0 then gives C₂ = 1.

y = e−x(2 cos 2x + sin 2x).

The dashed envelope bounds the real curve by ±√(C₁² + C₂²)e−x. The oscillations shrink as x increases.