Nonhomogeneous Equations - Undetermined Coefficients
What You’ll Learn
Section titled “What You’ll Learn”You will learn how to solve nonhomogeneous second-order linear differential equations by finding the general solution to the homogeneous equation and a particular solution using the method of undetermined coefficients.
The Concept
Section titled “The Concept”A nonhomogeneous second-order linear equation looks like:
The general solution is:
where is the solution to the homogeneous equation (which we already know how to find), and is a particular solution to the full nonhomogeneous equation.
The method of undetermined coefficients works when is a polynomial, exponential, sine, cosine, or a product of these. We guess the form of based on , multiply by if necessary (when it overlaps with ), and solve for the unknown coefficients.
The visual shows how the particular solution (blue, steady-state) and the homogeneous solution (red, transient decay) combine to form the full solution (green). The transient dies out, leaving only the forced response.
Worked Examples
Section titled “Worked Examples”Example 1: Polynomial Right-Hand Side
Solve .
Solution: Homogeneous solution:
Guess for :
Plug in, solve: ,
Full solution:
Example 2: Exponential Right-Hand Side
Solve .
Solution: Homogeneous solution has repeated root , so
Guess: (multiplied by due to overlap)
Solving gives .
Full solution:
Example 3: Trigonometric Right-Hand Side
Solve with , .
Solution: Homogeneous:
Guess:
Substituting:
So , .
Apply ICs: ,
Final:
Real-World Application
Section titled “Real-World Application”Undetermined coefficients is heavily used in electrical engineering to find the steady-state response of circuits to sinusoidal inputs (AC voltage), in mechanical engineering to analyze forced vibrations (e.g., a car driving over a bumpy road), and in control systems to predict how systems respond to external forces or signals. It helps engineers design systems that don’t shake apart or overheat under normal operating conditions.
Retrying will remove your ✅ checkmark until you pass again.