Solve
where and are constants.
Isolate the derivative and check separability. Rearranging,
The right-hand side depends on only, so the equation is separable — and it is autonomous, meaning never appears explicitly. It is not linear in (the blocks that), so an integrating factor is not the tool here.
Separate the variables. Divide by and multiply by :
This step assumes . The excluded values are exactly the equilibrium solutions (for ), where and stays constant forever — genuine solutions that separation would otherwise lose.
Integrate the left side by partial fractions (case ). Writing ,
so, with the right side giving :
Solve for explicitly. Multiplying by and exponentiating gives , and solving the resulting linear equation for yields
The second form follows from — the ratio-of-exponentials shape is a hyperbolic tangent in disguise.
Verify by substitution. With , , , a numerical check of at , and gives a residual below ✓. Note as : solutions are trapped between the two equilibria, which is exactly the saturating behaviour describes.
Handle the other signs of . If , write ; then integrates to an arctangent, giving — verified numerically to ✓, and unbounded in finite rather than saturating. If , then separates to .
Need to solve a different problem like this? Open the solver →