4.3 The Method of Undetermined Coefficients
Usually used if \(p_1, p_2, p_3, \dots\) are constants AND \(g(t)\) is of the right form:
- polynomial, \(\sin\) or \(\cos\), exponential
- + products of these
Example
Note: \(Y\) is the particular solution.
Usually used if \(p_1, p_2, p_3, \dots\) are constants AND \(g(t)\) is of the right form:
Note: \(Y\) is the particular solution.
Substituting into the original differential equation:
Equating coefficients:
First, we find the characteristic equation:
Factoring by grouping:
The roots are:
The homogeneous solution is:
The general form for the particular solution is:
For \( t^2 \) in \( g(t) \):
\( At^2 + Bt + C \)
For \( e^t \):
\( Dte^t \) (extra \( t \) because of \( e^t \) in the homogeneous solution)
Calculating derivatives of \( Y \):
Substitute \( Y, Y', Y'', Y''' \) into \( y''' + 2y'' - y' - 2y = e^t + t^2 \):
Simplifying and grouping terms:
Equating coefficients of like terms:
Thus, the particular solution is:
General Solution:
\[ y = C_1 e^t + C_2 e^{-t} + C_3 e^{-2t} - \frac{1}{2}t^2 + \frac{1}{2}t - \frac{5}{4} + \frac{1}{6}te^t \]From Matlab:
The general solution is:
Find the form of \( Y \) only for the equation:
(Note: The term \( D t e^{2t} \) was crossed out in the original notes.)
Roots of the characteristic equation are:
Given the non-homogeneous term:
Note: \( t^2 + 4 \) is a 2nd degree polynomial.
Find the form of the particular solution \( Y = ? \)
The complementary solution \( y_c \) is:
The form of the particular solution \( Y \) is: