Example: Variation of Parameters
Example Problem
\[y'' - y' - 2y = 3e^{2x}\]
First, find the complementary solution \(y_c\):
\[y_c = c_1 e^{2x} + c_2 e^{-x}\]\[y_1 = e^{2x}, \quad y_2 = e^{-x}\]
If we were to use undetermined coefficients, we would need to set \(y_p = Axe^{2x}\) because there is an \(e^{2x}\) term already in \(y_c\).
Note: Variation of parameters does not require this adjustment.
Solving the System
We solve the following system for \(u_1'\) and \(u_2'\):
\[\begin{cases} u_1' y_1 + u_2' y_2 = 0 \\ u_1' y_1' + u_2' y_2' = 3e^{2x} \end{cases}\]
Representing the system in matrix form:
\[\begin{bmatrix} y_1 & y_2 \\ y_1' & y_2' \end{bmatrix} \begin{bmatrix} u_1' \\ u_2' \end{bmatrix} = \begin{bmatrix} 0 \\ 3e^{2x} \end{bmatrix}\]
Setting up the augmented matrix with the specific functions:
\[\begin{bmatrix} y_1 & y_2 & 0 \\ y_1' & y_2' & 3e^{2x} \end{bmatrix} = \begin{bmatrix} e^{2x} & e^{-x} & 0 \\ 2e^{2x} & -e^{-x} & 3e^{2x} \end{bmatrix}\]