Nonhomogeneous Linear Higher Order Equation — Formula & Example
A nonhomogeneous linear higher order equation is a linear differential equation of order two or more with an extra term on the right side that does not contain the unknown function. You solve it in two parts. First you solve the version with that term set to zero. Then you add one specific solution that produces the extra term.
An nth order linear ordinary differential equation , with and on an interval , is nonhomogeneous when is not identically zero on . If are linearly independent solutions of the associated homogeneous equation and is any one solution of the full equation, then every solution on has the form .
Key Formula
Where:
- = Complementary solution: the general solution of the homogeneous equation, where g(x) is replaced by 0
- = n linearly independent solutions of the homogeneous equation
- = Arbitrary constants, n of them for an equation of order n
- = Particular solution: any single function that satisfies the full equation with g(x)
- = Order of the equation, the highest derivative present
Worked Example
Problem: Find the general solution of the third order equation .
Step 1: Solve the homogeneous equation . Substituting gives the characteristic equation. Testing shows is a root, because . That root lets you factor the cubic.
Step 2: Find a particular solution by undetermined coefficients. The forcing term is , and is not a root, so try . Each derivative brings down a factor of 4.
Step 3: Add the complementary and particular solutions. The three constants match the order of the equation.
Answer: , where are arbitrary constants.
Why It Matters
In a sophomore differential equations course and in engineering, represents an outside input. Examples include a motor driving a spring system or a voltage source in an RLC circuit. Civil engineers solve the fourth order nonhomogeneous equation to find how far a beam bends under a distributed load .
Common Mistakes
Mistake: Choosing a trial particular solution that already solves the homogeneous equation. An example is guessing for .
Correction: Here is a characteristic root, so makes the left side , not . Multiply the guess by to get . If the root is repeated times, multiply by instead. Always compare your guess with first.
