Solve
Spot the equilibrium solutions first. The right side vanishes when or , and a constant has , so
both solve the equation. Finding these up front matters, because the substitution below divides by .
Recognise the Bernoulli shape. Dividing by and expanding the right side:
This is Bernoulli with exponent , and the standard cure is .
Substitute . Then , and using :
so
Note the sign: the coefficient of is negative. Getting it positive here is the single most common slip in this problem, and it flips the final answer.
Find the integrating factor. With ,
Multiplying through turns the left side into a single derivative:
Integrate both sides. The right side is itself a substitution ():
so , that is
Return to and verify. Since ,
Checking numerically with at : the left side and the right side . ( recovers the equilibrium .)
Need to solve a different problem like this? Open the solver →