General Solution to a Inhomogeneous Linear ODE

Let be a solution, aka the particular integral, of the inhomogeneous ODE

Such that satisfies the equation above

Then a function is a solution fo the inhomogeneous linear ODE
If and only if is in the form of

Where is a solution to the corresponding homogenous linear ODE, that is

With being known as the complementary function