Method of Undetermined Coefficients

Proof Technique
The method of undetermined coefficients is a technique for solving a nonhomogeneous linear second order ODE with constant coefficients:
 * $(1): \quad y'' + p y' + q y = \map R x$

where $R \left({x}\right)$ is one of the following types of expression:
 * an exponential
 * a sine or a cosine
 * a polynomial

or a combination of such real functions.

Method and Proof
Let $\map {y_g} x$ be the general solution to:
 * $y'' + p y' + q y = 0$

From Solution of Constant Coefficient Homogeneous LSOODE, $\map {y_g} x$ can be found systematically.

Let $\map {y_p} x$ be a particular solution to $(1)$.

Then from General Solution of Linear 2nd Order ODE from Homogeneous 2nd Order ODE and Particular Solution:
 * $\map {y_g} x + \map {y_p} x$

is the general solution to $(1)$.

It remains to find $\map {y_p} x$.