To take advantage of the characteristic solutions
and
, you can try the method of variation of parameters, where we look for a solution of the form

with the condition that

Then



Substituting into the ODE gives

Since


the above reduces to


and
form a linear system that we can solve for
using Cramer's rule:

where
is the Wronskian determinant of the fundamental system and
is the same determinant, but with the
-th column replaced with
.



So we have


Then the particular solution is

giving the general solution to the ODE,
