Non-homogeneous ODEs are where the differential equation looks like:
where . If it was 0, we would be dealing with a homogeneous ODE. We often call some forcing function.
The general solution of any non-homogeneous linear ODE is given by the sum of the general solution of the associated homogeneous equation and the particular solution of the non-homogeneous equation.
There are no systematic universal methods for finding the particular solution to non-homogeneous ODEs, even when there are linear terms. In general, the form of should be motivated by the terms of . Strategies to find the particular solution include: