the complex-conjugate-roots case
When does a system oscillate rather than just decay? When the characteristic equation has no real roots at all, but a pair of complex numbers instead. This is the case of every spring that wobbles, every pendulum that swings, every tuned circuit that rings: the mathematics of vibration is hiding inside an imaginary number.
If a r^2 + b r + c = 0 has discriminant b^2 - 4ac < 0, its roots are a complex-conjugate pair r = alpha ± beta i, with alpha = -b/(2a) the real part and beta = sqrt(4ac - b^2)/(2a) the imaginary part. The formal solutions e^((alpha + beta i)x) and e^((alpha - beta i)x) involve i, but we want real-valued solutions. Euler's formula e^(i theta) = cos(theta) + i sin(theta) rescues us: writing e^((alpha ± beta i)x) = e^(alpha x)(cos(beta x) ± i sin(beta x)) and taking real and imaginary parts gives two real, independent solutions, e^(alpha x) cos(beta x) and e^(alpha x) sin(beta x). The general solution is y = e^(alpha x)(c1 cos(beta x) + c2 sin(beta x)).
Now the two parts of the root tell a clean physical story. The real part alpha controls the envelope: alpha < 0 means the oscillation decays (a damped vibration settling down), alpha = 0 means it persists forever at constant amplitude (pure simple harmonic motion), alpha > 0 means it grows. The imaginary part beta is the angular frequency of the wiggle. So one complex root encodes both how fast the system shakes and how quickly that shaking fades — the entire qualitative behaviour of an oscillator in two real numbers.
y'' + 2 y' + 5 y = 0 has r^2 + 2 r + 5 = 0, so r = -1 ± 2 i (alpha = -1, beta = 2). The general solution is y = e^(-x)(c1 cos(2x) + c2 sin(2x)): an oscillation of angular frequency 2, with amplitude decaying like e^(-x).
The real part sets the decay envelope; the imaginary part sets the oscillation frequency.
Keep only ONE of the conjugate pair when forming the real solutions — the cos/sin pair from alpha + beta i already spans the space; the other root alpha - beta i contributes nothing new. Using both complex exponentials separately double-counts.