Higher-Order Non-Homogeneous DEs
A linear differential equation is non-homogeneous if the right-hand side is a non-zero function of .
General Solution
The general solution is the sum of the complementary solution (, solution to the associated homogeneous equation ) and a particular solution (, any specific solution to the full non-homogeneous equation ).
Superposition Principle
If the non-homogeneous term consists of a sum of multiple functions, say , then we can find individual particular solutions corresponding to each individual forcing term . The overall particular solution is simply their linear combination:
This drastically simplifies solving for complex terms.
Method 1: Undetermined Coefficients
This method is used when is a polynomial, an exponential, a sine, or a cosine function, or finite sums and products of these forms. We make an "educated guess" for the form of based on the form of and its derivatives.
Guessing yp
| Form of | Assumed Form of |
|---|---|
| (Constant) | |
| (Polynomial) | |
| (Exponential) | |
| or | |
| (Product) | |
| or |
The Multiplication Rule: Compare your assumed form for with the complementary solution . If any term in your initial guess for is a duplicate of a term in (i.e., it is a solution to the homogeneous equation), multiply the entire assumed guess by , where is the smallest positive integer that eliminates the duplication.
Annihilator Approach
An alternative way to formally find is using the Annihilator Approach with differential operators. An operator annihilates a function if .
Common Annihilators (where ):
- is annihilated by .
- is annihilated by .
- or is annihilated by .
- or is annihilated by .
Method: Apply the annihilator to both sides of the non-homogeneous equation to get , a higher-order homogeneous equation. Solve this new homogeneous equation for its general solution. Discard the terms that belong to the original ; the remaining terms form the structure of . Then, substitute this back into the original non-homogeneous DE to solve for the undetermined coefficients.
Method 2: Variation of Parameters
This is a general method that works for any , even if it is not a finite sum of polynomials, exponentials, or sinusoids (e.g., ).
Formula for Variation of Parameters
For a second-order linear DE with independent complementary solutions and :
The functions and are calculated by:
where is the Wronskian of the fundamental solution set.
Wronskian Properties
The Wronskian, denoted as , determines whether a set of solutions to a homogeneous differential equation is linearly independent:
- If at any point in the interval, the functions are linearly independent.
- If everywhere in the interval, and the functions are solutions to a regular linear ODE, they are linearly dependent.
- Abel's Identity states that . This means the Wronskian is either never zero or always zero on an interval where is continuous.
Key Takeaways
- General Solution Form: Always write the solution as . Find first.
- Superposition Principle: If , solve for and separately and sum them.
- Undetermined Coefficients: Fast and effective for polynomial, exponential, and sinusoidal forcing functions, including their sums and products. The assumed form of mirrors .
- The Multiplication Rule: Crucial step. If your guessed contains terms from , multiply the guess by (or ) until no duplication exists.
- Variation of Parameters: A universally applicable method using the Wronskian . It works for any continuous , but relies on integrating potentially complex rational functions.