5.5 Nonhomogeneous Eqs: Undetermined Coefficients
Where a and b are constants.
- If \(f(x) = 0 \rightarrow\) homogeneous (solution in 5.3)
- If \(f(x) \neq 0 \rightarrow\) nonhomogeneous
Because the equation is linear \(\rightarrow\) superposition applies.
Solution is: \(y = y_c + y_p\)
\(y_p\) : particular solution
(contribution from nonzero \(f(x)\))
\(y_c\) : complementary solution
(the homogeneous part, solve pretending \(f(x) = 0\))
The method of undetermined coeffs is one method to find \(y_p\)
Effective if \(f(x)\) is:
- polynomial
- exponential
- sine and or cosine
- hyperbolic sine and hyp cosine