Higher-Order Non-Homogeneous DEs
Learning Objectives
- Define a non-homogeneous linear differential equation and its general solution structure.
- Apply the Superposition Principle for non-homogeneous equations.
- Solve DEs using the Method of Undetermined Coefficients.
- Utilize the Annihilator Approach to formalize Undetermined Coefficients.
- Solve general non-homogeneous DEs using Variation of Parameters.
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.
Superposition Builds the Particular Response
For a linear operator, separate additive forcing terms can be solved independently and their particular solutions added.
Method 1: Undetermined Coefficients
For a constant-coefficient linear equation, this method applies when is a polynomial, an exponential, a sine, or a cosine function, or a finite sum/product of supported forms. We make an "educated guess" for the form of based on the form of and its derivatives.
| Form of | Assumed Form of |
|---|---|
| (Constant) | |
| (Polynomial) | |
| (Exponential) | |
| or | |
| (Product) | |
| or |
The Multiplication Rule: Compare the trial space for with the complementary solution . If the trial contains a homogeneous term, multiply the affected trial by the smallest power that removes the overlap. For a forcing exponent whose characteristic root has multiplicity , this is the corresponding root multiplicity.
Forcing Families and Undetermined-Coefficient Trials
The trial spans the derivatives generated by each supported forcing family; polynomial factors preserve the required degree and mixed trigonometric terms stay paired.
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.
Interactive Simulation
Interact with the simulation below to explore superposition and forced vibrations for non-homogeneous equations.
Forced Vibrations
Explore the superposition principle: . Observe resonance when forcing frequency matches natural frequency .
Toggle Components
Method 2: Variation of Parameters
For a normalized second-order linear DE with continuous coefficients on an interval, this method applies when a known independent fundamental pair is available there, so its Wronskian is nonzero. It accommodates forcing outside the undetermined-coefficients family when the required integrals exist. The particular solution takes the form .
Variation of Parameters Reuses the Homogeneous Basis
A particular response is formed from the known homogeneous basis by allowing its constant coefficients to vary with x; the Wronskian controls the coefficient derivatives.
- y_c = C₁y₁ + C₂y₂
- C₁ and C₂ are constants
- y₁ and y₂ are independent on the interval
- yₚ = u₁(x)y₁ + u₂(x)y₂
- u₁′ = −y₂f/W; u₂′ = y₁f/W
- Integrate where W ≠ 0
Variation of Parameters Formulas
Calculates the coefficient functions and required for the particular solution.
Variables
| Symbol | Description | Unit |
|---|---|---|
| Unknown function coefficients for the particular solution | varies | |
| Linearly independent solutions to the complementary homogeneous equation | varies | |
| The non-homogeneous forcing function | varies | |
| The Wronskian of and | varies |
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.
Selecting and Verifying a Particular Solution
Particular-Solution Method and Resonance Check
Choose a particular-solution method for a linear non-homogeneous ODE, correct undetermined-coefficient trial overlap, and verify the result.
This chart assumes a linear non-homogeneous ODE on a stated interval. Undetermined coefficients applies to constant-coefficient equations when the forcing is a finite sum of polynomial, exponential, sinusoidal, or supported products of these forms. Construct the complete trial for each forcing term, including polynomial factors and paired sine/cosine terms as needed. If a trial term lies in the complementary solution, multiply the affected trial by x and repeat; for a characteristic root of multiplicity s, the required factor is x^s. If undetermined coefficients does not apply, variation of parameters is available here only for a normalized second-order equation y″ + P(x)y′ + Q(x)y = f(x), with a known independent fundamental pair y₁,y₂ and Wronskian W ≠ 0 on the interval. Otherwise select an order-appropriate alternative. Verify the particular solution in the original equation before combining it with y_c.
Start: linear L[y] = f(x) on an interval → Normalize and identify the interval; Normalize and identify the interval → Solve L[y] = 0 for y_c; Solve L[y] = 0 for y_c → Constant coefficients and supported forcing?; Constant coefficients and supported forcing? — Yes → Build a complete trial for each forcing term; Constant coefficients and supported forcing? — No → Use eligible variation of parameters or another method; Build a complete trial for each forcing term → Does a trial term overlap y_c?; Does a trial term overlap y_c? — Yes → Multiply the affected trial by x; Does a trial term overlap y_c? — No → Substitute into L[y] = f and solve coefficients; Multiply the affected trial by x — Repeat check → Does a trial term overlap y_c?; Substitute into L[y] = f and solve coefficients → Does L[y_p] = f on the interval?; Use eligible variation of parameters or another method → End chart and use selected method; Does L[y_p] = f on the interval? — Yes → Combine y = y_c + y_p; Does L[y_p] = f on the interval? — No → Recheck method, trial, overlap, or integration; Recheck method, trial, overlap, or integration → Constant coefficients and supported forcing?; Combine y = y_c + y_p → Apply initial or boundary data if specified; Apply initial or boundary data if specified → Record solution and conditions
- Start: linear L[y] = f(x) on an interval: terminator
- Normalize and identify the interval: process
- Solve L[y] = 0 for y_c: process
- Constant coefficients and supported forcing?: decision
- Build a complete trial for each forcing term: process
- Does a trial term overlap y_c?: decision
- Multiply the affected trial by x: process
- Substitute into L[y] = f and solve coefficients: process
- Use eligible variation of parameters or another method: process. Variation of parameters here requires normalized second-order form, a known independent fundamental pair, and a nonzero Wronskian on the interval.
- Does L[y_p] = f on the interval?: decision
- Recheck method, trial, overlap, or integration: process
- Combine y = y_c + y_p: process
- Apply initial or boundary data if specified: process
- Record solution and conditions: terminator
- End chart and use selected method: terminator
- 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: For the normalized second-order equation in this lesson, it uses a known independent pair and nonzero Wronskian on the interval; the required integrals need to exist.