Solve
where is a constant.
Separate the variables. Dividing both sides by and multiplying by puts each variable with its own differential:
Note that dividing by is only legal when — the case has to be examined separately, and it turns out to matter here.
Integrate the left side with the power rule. With , the new exponent is :
Dividing by means multiplying by — the source of the factor that later becomes .
Integrate the right side and combine. Since is constant, , so
One arbitrary constant suffices for a first-order equation.
Solve for explicitly. Dividing by and absorbing the constant:
Cubing is safe with no ambiguity, because the cube function is one-to-one on the reals — unlike squaring.
Add the singular solution and verify. The constant function satisfies the equation ( and ) but is not of the general form for any finite , so it is a genuine singular solution. It also makes this a standard example of non-uniqueness: through the point both and pass, because is not Lipschitz at . Numeric check with , at : and ✓.
Need to solve a different problem like this? Open the solver →