Method of Undetermined Coefficients
The method of undetermined coefficients provides a systematic technique for finding particular solutions to nonhomogeneous linear differential equations when the forcing function has a specific form.
A nonhomogeneous second-order linear differential equation has the form:
where is the forcing function or nonhomogeneous term. The general solution is:
where is the general solution of the homogeneous equation and is any particular solution.
Applicable Forms
The method works when is a linear combination of:
- Polynomials:
- Exponentials:
- Sines and cosines: ,
- Products of the above
Basic Strategy
The particular solution is guessed to have the same form as (and its derivatives), with undetermined coefficients. Substitute into the equation and solve for the coefficients.
Solve .
First find : Characteristic equation gives , so:
For , since is a polynomial of degree 2, try:
Then and .
Substituting:
Comparing coefficients:
- :
- :
- :
So .
General solution:
Modification Rule (Resonance): If any term in the guessed is a solution of the homogeneous equation, multiply the guess by (or if needed) until there's no overlap. This situation is called resonance.
Solve .
The homogeneous solution is .
Normally we'd try , but is already in (resonance!).
Apply modification rule: try .
Then and .
Substituting:
Therefore and .
General solution:
Solve .
Homogeneous solution: gives , so:
Resonance occurs! Both and are in .
Try .
After differentiation and substitution (details omitted):
General solution:
The method of undetermined coefficients is efficient for constant-coefficient equations with special forcing functions, but does not work for arbitrary . For general cases, variation of parameters is needed.