Solve the differential equation
Split the task in two. For a linear equation with constant coefficients the general solution is : the general solution of the homogeneous equation plus any one particular solution of the full equation. Each half is found by a different technique.
Solve the homogeneous part. Set and substitute :
A repeated root supplies only one exponential, so the second independent solution is that exponential times :
Choose the right trial function. The right-hand side is . Because is not a root of , no resonance occurs and the plain guess suffices. (Had the right side been , matching the repeated root, the trial would have needed an factor.)
Substitute and solve for . With and ,
The is no accident: it is the characteristic polynomial evaluated at the exponent, .
Assemble the general solution.
Verify both pieces. For : , so it reproduces ✓. For : , , and , so it solves the homogeneous equation ✓.
Need to solve a different problem like this? Open the solver →