The method of undermined coefficients is an algorithm to determine the particular solution to a nohomogenous differential equation.

Requirements

is a sum of terms of various polynomials multiplying an exponential with sin or cos factors. That is, is a sum of therms of the following forms:

  • Examples include:

Workflow

One considers a possible polynomial or function with unknown coefficients that could match the structure of the solution. Such could include:

  • Guessing the degree of and with that by considering the form of the initial differential equation and the related solution .

Polynomial Solution

The solving process is demonstrated on a polynomial that has been decided to represent the structure of

This polynomial’s derivatives are found and plugged into the inital differential equation of the problem as the function .

If is a polynomial (this is a requirement), then terms of equal degree can be equated. An example is given with .

Equating terms yields

Coefficients thus can be determined and plugged into the initial trial function and then inserted into the final solution to be tested for success.

Table of Trial Function Terms

If G(x) has a term that is a constant multiple of…And if…Then include this expression in the trial function for yₚ
eʳˣr is not a root of the auxiliary equationA eʳˣ
r is a single root of the auxiliary equationA x eʳˣ
r is a double root of the auxiliary equationA x² eʳˣ
sin kx, cos kxki is not a root of the auxiliary equationB cos kx + C sin kx
p x² + qx + m0 is not a root of the auxiliary equationD x² + E x + F
0 is a single root of the auxiliary equationD x³ + E x² + F x
0 is a double root of the auxiliary equationD x⁴ + E x³ + F x²