Let
Solving for
We will here solve the first one above. The second one will have similar solution. Comparing the above to
Since
Singular solution is when
Hence
To find general solution, we need to solve (3) for
This is separable ode.
Substituting this into (1) gives