Solve the differential equation
Recognise the type and spot the equilibrium. The right side depends on only, so the equation is separable (it is also first-order linear). Setting gives the constant solution — the level at which the derivative vanishes. Every other solution will move toward or away from it, so this value should appear in the final answer.
Separate the variables. Divide by (valid while ) and multiply by :
Integrate both sides using the substitution . Then , so :
The comes from the chain rule and is the step most often dropped:
Undo the logarithm. Multiply by and exponentiate:
Absorbing the sign of into the constant lets the absolute value be dropped: with any nonzero real.
Solve for y and fold the constants together.
Relabelling as is legitimate because was arbitrary, and allowing now recovers the equilibrium solution that the division in step 2 excluded.
Verify by substitution. Differentiating, . Meanwhile — identical ✓. Numerically with , at both sides equal , and at both equal ✓.
Interpret the behaviour. Since as , every solution approaches from whichever side it starts on: the equilibrium is stable, which is exactly what the negative coefficient on predicts.
Need to solve a different problem like this? Open the solver →