Solve
Identify the equation as first-order linear and read off and . It is already in the standard form with
That form is what makes the integrating-factor method available; nothing has to be rearranged.
Build the integrating factor. The factor is chosen precisely so that multiplying by it turns the left side into a single derivative:
(The constant of integration is omitted here because any nonzero multiple of works equally well.)
Multiply through and collapse the left side. Multiplying by gives
By the product rule the left side is exactly , so
Integrate both sides once. Antidifferentiating an exact derivative is immediate, and this is where the single arbitrary constant enters:
Divide by the integrating factor to isolate . Since is never zero, division is legal everywhere:
Substitute the answer back into the original equation. With we get , so
The terms cancel for every , confirming the whole one-parameter family solves the equation.
Need to solve a different problem like this? Open the solver →