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 equation | A eʳˣ |
| r is a single root of the auxiliary equation | A x eʳˣ | |
| r is a double root of the auxiliary equation | A x² eʳˣ | |
| sin kx, cos kx | ki is not a root of the auxiliary equation | B cos kx + C sin kx |
| p x² + qx + m | 0 is not a root of the auxiliary equation | D x² + E x + F |
| 0 is a single root of the auxiliary equation | D x³ + E x² + F x | |
| 0 is a double root of the auxiliary equation | D x⁴ + E x³ + F x² |