Solve
Separate the variables. All the dependence is on the right, so divide by — legitimate because is never zero:
Integrate both sides.
Only one constant is needed; absorbing the sign, write with .
Solve for y explicitly. Taking the natural logarithm requires :
Read off the domain, which is the interesting part. The solution only exists for . As the argument of the log tends to and : the solution blows up in finite , even though the right-hand side is smooth everywhere. This is the standard example that local existence does not imply global existence.
Check by substitution. With and : , so . Differentiating, . The two agree, and a central difference at with step also returns .
Need to solve a different problem like this? Open the solver →