Nonhomogeneous Equations and the Method of Undetermined Coefficients
1Introduction
This lecture decomposes the general solution of a nonhomogeneous linear equation into a homogeneous solution and a particular solution and states the conditions under which the method of undetermined coefficients applies.
2Standard Form
Consider
with constant coefficients and .
3Affine Structure of the Solution Set
Suppose that and . Linearity gives
More precisely, if , then . Conversely, if , then , so . The complete solution set is therefore the affine space
The homogeneous solution space is . This is the general structure of a linear operator equation.
data/lecture/math/linear-operator/linear-operator-equation-basics.lecture.n.md4Conditions for the Method of Undetermined Coefficients
The {method of undetermined coefficients} is especially effective when the differential operator has constant coefficients and is a polynomial, an exponential, a sine or cosine, or a finite sum or product of such functions. These function families lie in finite-dimensional spaces preserved by differentiation. A trial function must therefore span a differentiation-invariant function space rather than merely imitate the displayed forcing term.
| Form of the forcing term | Basic form of a trial particular solution | Reason |
|---|---|---|
| A polynomial of degree | Differentiation only lowers the degree | |
| Differentiation produces a scalar multiple | ||
| Differentiation preserves their two-dimensional span | ||
| The exponential factor and polynomial space are preserved |
5Example 1: Polynomial Forcing
Consider
The homogeneous solution is . Because the right-hand side is a first-degree polynomial, set . Then
Comparison with gives and . Hence
The essential point is that the trial space spanned by is closed under differentiation.
6Resonance and the Trial-Function Correction
For
the functions and belong to the homogeneous solution space. A trial function therefore lies in and cannot produce the forcing term. Multiplication by removes this overlap, so use
Substitution gives one particular solution
Multiplication by is thus a linear-algebraic correction that moves the trial function outside the homogeneous solution space. In general, the required power of is determined by the multiplicity of the relevant characteristic root.
7Situations in Which the Method Does Not Apply Naturally
For
the derivatives of do not remain in a finite-dimensional trial space of the required type. The method of undetermined coefficients is therefore not natural, and variation of parameters is an appropriate alternative.
The constant-coefficient hypothesis is equally important. For an equation such as , the variable coefficient destroys the invariant finite-dimensional structure even when the forcing term is simple.
8Comparison with Variation of Parameters
| Method | Advantage | Restriction |
|---|---|---|
| Method of undetermined coefficients | Usually short computation | Strong dependence on constant coefficients and the form of the forcing term |
| Variation of parameters | Comparatively insensitive to the form of the forcing term | The resulting integrals may be difficult or non-elementary |
Computational efficiency justifies trying undetermined coefficients first when its hypotheses hold. Once they fail, variation of parameters or a fundamental-matrix construction should be selected.
9Scope and Limitations
The method of undetermined coefficients is efficient precisely when a constant-coefficient linear differential operator preserves a suitable finite-dimensional function space. It fails when the forcing term has an incompatible form, coefficients vary with the independent variable, or overlap with the homogeneous solution space is left uncorrected. Failure of this method does not imply that the equation has no solution; variation of parameters often constructs a particular solution as an integral.