Finding Particular Solutions to Nonhomogeneous ODEs

June 10, 2019

Undetermined Coefficients

Undetermined coefficients is also a “trial solution” like the $y=e^{rt}$ in solving $y_c$. Some examples before we head to the theories.

Examples

The above examples are designed to work. But it’s not always that lucky. If we just follow the form of $f(x)$, it may happen that the trial solution ends up in the $y_c$ that makes the equation go to zero, regardless of value of $x$. In that case we will never make $0=f(x)$. Thus we have some rules to handle these situations.

General Approach

In principle, the method of undetermined coefficients applies whenever the input $f(x)$ is a linear combination of the products of the following three types:

  1. A polynomial in $x$
  2. An exponential function $e^{rx}$
  3. $\cos kx$ or $\sin kx$

Such function is, for example:

In practice, we first find the $y_c$ that satisfy the homogeneous solution $Ly_c=0$, and we check if $f(x)$ is in $y_c$ or any derivatives of $f(x)$ is in $y_c$, If there’s no terms in $y_c$, then we can take $f(x)$ and formulae our trial solutions.

If we found there exists a duplicate, we need to multiply the trial solution by a $x^s$ to make duplicates term disappear. $s$ should be the order of polynomial in $y_c$ plus 1.

Exponential Input theorem

Exponential Shift Rule

Assuming . What if ? We have exponential shift rule:

Finding Particular Solutions to Nonhomogeneous ODEs - June 10, 2019 - Ruizhen Mai