Dividing throughout by dx to get the equation in the required form, we get:
In this example, P(x) = 3 and Q(x) = e-3x.
Now e∫Pdx = e∫3dx = e3x
and
Using , we have:
ye3x = x + K
or we could write it as: