Strategy:
Take
the derivative of f(x) up to the highest order of the d.e. For the second
order d.e. illustrated above, you need to take two
derivatives of f(x). Then the
particular
solution is a linear
combination of the different functions obtained from these derivatives.
For example if f(x)
happened to be 23 sin 2x, then the assumed form of the particular
solution
would be yp =
A sin 2x + B cos 2x since both sin 2x and cos 2x appear when taking
the first and second derivatives of 23
sin 2x under the assumption that the
complementary
solution to the
homogeneous d.e. does not contain either sin
2x nor cos 2x.
|