The method of variation of parameters is a general method for concluding solutions to nonhomogenous differential equations. If the differential equation at hand satisfies requirements of the method of undetermined coefficients, the latter is usually more efficient.

Workflow

Given a nonhomogenous differential equation the associated homogenous differential equation is to be solved for its solutions . (for example using the auxiliary equation)

We then construct a system of equations with unknown functions

where is taken from the initial equation . This system can be solved using Cramer’s Rule giving , which have to be integrated to get

The particular solution is then given by

and the general one with

where is the general solution to the differential equations homogenous associated differential equation.