Nonhomogeneous Linear Equations
Complementary and Particular Solutions in Forced ODEs
A linear nonhomogeneous ODE has the form L[y] = g(x). Its solution separates into two roles: the complementary solution solves L[y] = 0 and carries arbitrary constants; a particular solution accounts for the forcing g(x). Linearity allows their sum to solve the full equation.
For constant-coefficient equations, the characteristic equation supplies the complementary family. Undetermined coefficients then proposes a particular form based on the forcing: polynomial for polynomial forcing, exponential for exponential forcing, and sine-cosine combinations for sinusoidal forcing. Substitute the trial into the operator rather than trusting its appearance.
If the proposed trial duplicates a complementary term, it is resonant and the operator eliminates it. Multiply by a sufficient power of x to obtain an independent trial, then determine coefficients. The final verification is always direct substitution into the original forced equation.
For y'' + 4y = sin(2x), which trial form appropriately accounts for resonance in an undetermined-coefficients approach?
What is the general solution form for y'' - y = 3e2x after choosing a nonresonant exponential particular solution?