Let . Then
and substituting these into the ODE gives
Let , so that . Then the ODE is linear in , with
Multiply both sides by , so that the left side can be condensed as the derivative of a product:
Integrating both sides and solving for gives
Integrate again to solve for :
and finally, solve for by multiplying both sides by :
already accounts for the term in this solution, so the other independent solution is .