To obtain the solution to the inhomogeneous equation, we just have to find the PI. Since is a quadratic polynomial, then we have to look for a PI of the form
To find the values of we therefore just plug this polynomial into the differential equation to see what we obtain. We have and . To obtain equality in the differential equation, we therefore require:
Then we see immediately that and therefore, inspecting the linear term, that , and hence finally that Adding PI and CF we obtain the general solution: