Find the general solution of
Confirm the equation is already in standard linear form. A first-order linear equation looks like . Here and , with the derivative coefficient equal to — no dividing through is needed before starting.
Build the integrating factor. The whole method exists to force the left-hand side into a single derivative. The factor that does it is
(the constant of integration is dropped because any nonzero multiple of works equally well).
Multiply through and collapse the left side. Multiplying every term by :
The left side is exactly the product rule run backwards:
Integrate both sides once. Integrating the derivative on the left simply removes it, and the right side is elementary:
The arbitrary constant enters here, and this is the only place it can enter — a first-order equation carries exactly one.
Solve for . Divide by , or equivalently multiply by :
Verify by substitution. With , the derivative is , so
The terms cancel for every , confirming the general solution. The piece is the particular solution and is the decaying homogeneous part.
Need to solve a different problem like this? Open the solver →