Homogeneous case () — Try :
ar^2 + br + c = 0
Three cases (discriminant ):
- , two real roots :
y = C_1 e^{r_1 x} + C_2 e^{r_2 x}
- , repeated root :
y = (C_1 + C_2 x)e^{rx}
- , complex roots :
Non-homogeneous: (use undetermined coefficients or variation of parameters).
Physics link: These three cases correspond to overdamped, critically damped, and underdamped oscillations.
Common pitfall: For linear ODEs, the full solution is homogeneous + particular. Students who stop at the particular solution lose the transient; those who stop at the homogeneous lose the steady state. You need both.
Damped Harmonic Oscillator
Adding damping to a harmonic oscillator:
The behaviour depends on the damping ratio :
- Underdamped (): oscillations with exponential decay
- Critically damped (): fastest return without oscillation
- Overdamped (): slow exponential return
Critical damping is used in door closers, shock absorbers, and galvanometers — it returns to equilibrium in minimum time.