Solving non-homogenous second order ODEs
For any second-order ODE
it is clear that the difference of any two solutions solves the related homogenous ODE.
Namely, given
It follows that given the general solution to the related homogenous ODE
since
Finding a particular solution
In practice, a variety of methods may be used to find a particular solution once
- Method of undetermined coëfficients (uses an Ansatz)
- Method of annihilation
- Method of variation of parameters (similar to Reduction of order (homogenous second-order differential equation))