We’re motivated by the idea that there’s no systematic method to find the particular solution of non-homogeneous ODEs. We make an educated guess using the method of undetermined coefficients. If we have an ODE like:

then we guess the terms of a solution based on what is composed of, and substitute the derivatives of the particular solution into the left-hand side of the ODE to determine the coefficients. Recall that:

Note that if our guess already appears in the complementary solution, we need to make it linearly independent from the complementary solution first. For example, if we had in the forcing function and in the complementary equation, our guess must look like:

Example

Take the second-order ODE:

If we assume that , then we can substitute in:

The corresponding coefficients of the left side are equal to the coefficients of the right side.

Table of guesses

Addendums

This method tends to be really easy and quick to apply. But the forcing function that we must guess for has to be a polynomial, exponential, or , because they have a finite amount of derivatives. For functions like or , we have an infinite set of derivative functions. This motivates the idea of variation of parameters as a more systematic and reliable method.