Evaluating nonhomogenous differential equations using methods such as method of undetermined coefficients involves proposing a trial function as possible solution. Here we troubleshoot and improve such trial functions that have failed in their initial test.

A Term is Already the Solution to its Homogenous Counterpart

When proposing trial solutions one often tries to choose a structure similar to the factor . For example solving we could propose .

Troubles can arise when the chosen contains a term that itself is already a solution to the homogenous counterpart of the unhomogenous differential equation. In such case the linear differential operator (the left hand side of the equation) , which fails the system.

When is the solution to the homogenous counterpart, the following behavior can be observed based on what constellation is:

Different and Solution Constellations

  • fails
  • partly fails; -part is useless and may prevent solving uniquely
  • Viable if changes the functions linear independence. Fails if is a constant.

Standard Troubleshooting Methods

Let the root corresponding to be . If it is the root of the characteristic polynomial with multiplicity multiply your naive trail by .

Forcing term Naive trailIf root of multiplicity , use
(poly of degree )poly of degree multiply by
multiply by

When is, for example, a pure polynomial like you can think of it as.

  • When constructing trial functions, we do not use the same constant () twice at terms of the trial function. Do not do