Introduction
The solution method for homogeneous second-order linear equations is part of the solution method for inhomogeneous ones. The homogeneous theory provides the parameters, while a single “particular” solution to the inhomogeneous equation provides an “offset.” This offset shifts the vector space of solutions to the homogeneous equation over to the affine space of solutions to the inhomogeneous equation.
The situation is exactly akin to that of solutions to homogeneous and inhomogeneous matrix equations, and . The solutions to form a vector space, namely the null space of . The solutions to form an affine space that is given by adding a single particular solution satisfying to the null space of . The reason: any two solutions to differ by a solution to . Therefore the affine space of all solutions to can be obtained by shifting the vector space of solutions to over by an offset which is one particular solution .
A generic second-order linear inhomogeneous ODE is given as follows:
This ODE determines a corresponding homogeneous ODE:
Given two “independent” solutions and to the homogeneous ODE, any linear combination of them is also a solution, and a complete family of solutions is determined as their span:
Given a single particular solution to the original inhomogeneous equation, the complete family of solutions to the inhomogeneous equation is the span for the corresponding homogeneous equation shifted by that particular solution as an offset: