The complementary solution comes from the characteristic equation , whose roots are . It is therefore
For the resonant exponential particular solution, the forcing is already a homogeneous exponential, so the method of undetermined coefficients needs the resonant trial . If , the identity when gives . Hence and
The decay condition first eliminates the growing exponential, . A nonzero combination of the sine and cosine has a fixed nonzero amplitude and cannot tend to zero, so as well. Both remaining exponential terms decay because . Finally , giving the unique answer
This is an instance of resonance in a differential equation: multiplication by supplies the particular solution when the forcing exponent is a simple characteristic root.