PX153 - E2 - method of undetermined coefficients
- just a posh way of saying PX153 - E1 - recap and introduction
- method of finding the particular integral
- essentially "guess" a trial solution based on the form of
- substitute it into the ODE and find the undetermined coefficients
- essentially "guess" a trial solution based on the form of
| trial solution | |
|---|---|
| polynomial of degree |
polynomial of degree |
- similarly, in the case of a repeated root in the auxiliary equation, we can have a problem if the usual trial function is already in the complementary function. as with the repeated root, our solution is to multiply by the independent variable.
- eg: find the general solution to:
- complementary function from before
$$y_{c}(x) = Ce^{3x}+De^{2x}$$
- trial function forwill not work
- instead, we try
$$y_{p}' = \alpha e^{3x}+3\alpha xe^{3x}$$
$$y_{p}'' = 6 \alpha e^{3x}+ 9\alpha xe^{3x}$$
$$(6 \alpha e^{3x}+ 9\alpha xe^{3x})-(\alpha e^{3x}+ 3\alpha xe^{3x})-6\alpha x e^{3x}=e^{3x}$$
- terms in
- terms in
$$\therefore G.S. : y(x) = y_{c}+ y_{p} = Ce^{3x}+De^{2x} + \frac{1}{5} e^{3x}$$ - if
contains a sum of functions, then our trial function will also be the sum of the functions - eg: for
- try:
- try:
- eg: for
- note: the trial functions we gave assumed an ODE of the form
- if this is not the case, think more carefully
- eg: solve
- no term in
- first, solve complementary equation:
- auxiliary equation:
- auxiliary equation:
- particular solution:
- sub into ODE:
- constant term:
term: term:
- hence,
- sub into ODE:
- no term in