Solve
Solve the homogeneous equation first. Substituting into gives the characteristic equation
so . This has to be found before the particular solution, because it tells you whether the forcing term is resonant.
Detect the resonance. The forcing term has exponent , which is one of the characteristic roots — is already a homogeneous solution. Trying would substitute to , never to , so that trial can never work.
Multiply the trial by x. The standard fix for a simple root is one extra factor of : take . Then
Substitute and match coefficients.
The terms cancel exactly — the signature of a correctly chosen resonant trial. Setting gives , so .
Assemble and verify the general solution.
Check: with , and , so , as required.
Need to solve a different problem like this? Open the solver →