Reduce the order of the ODE by setting
![z=y'[tex], so that [tex]z'=y''](https://tex.z-dn.net/?f=z%3Dy%27%5Btex%5D%2C%20so%20that%20%5Btex%5Dz%27%3Dy%27%27)
and

.

Consider the homogeneous ODE

which has characteristic equation

which has roots at

and

, so that the characteristic solution is

For the nonhomogeneous ODE,

we can expect a particular solution of the form



Substituting these expressions into the ODE yields


from which it follows that

and so the particular solution is

and the general solution for

is


Integrate both sides once to solve for

:
