Find the general solution of
where and are constants. Treat the case separately.
Identify the standard form. The equation is already with constant coefficients:
Compute the integrating factor.
Multiply through and collapse the left side.
Integrate, assuming .
The division by is exactly why needs its own treatment.
Handle . The equation degenerates to , whose solution is a straight line:
Verify and interpret. For : and , so (numerically confirmed at , , , ). The constant is the equilibrium: if every solution decays towards it, which is the shape behind Newton's law of cooling and RC circuit charging.
Need to solve a different problem like this? Open the solver →