This ode is an example where \(y\) does not appear explicitly in the ode so not possible to directly solve for \(y\). It is given here to show possible problems with this method.
This ode is squared to first solve for \(y\) which gives
However, here care is needed. To get back to original ode (1A) then (2A) means two possible equations
Hence the solutions obtained using (2A) can be the solution to one of these
Therefore the solution obtained by squaring both sides of (1A), which is done in order to solve for \(y\), must be checked to see if it satisfies the original ode, else it will be extraneous solution resulting from squaring both sides of the ode.
Starting from (2A), in normal form (by replacing \(y^{\prime }\) with \(p\)) it becomes
Where \(f=-1,g=-1+p^{2}\). Taking derivative w.r.t. \(x\) gives
Since \(\frac {\partial \phi }{\partial x}=-1\neq p\) then this is d’Alembert ode. The singular solution is found by setting \(\frac {dp}{dx}=0\) which results in \(p=-1\). Substituting this in (1) gives the singular solution
But this solution does not satisfy the ode, hence it is extraneous. The general solution is found by finding \(p\) from (2). Since (2) is nonlinear, then it is inverted which gives
Which is linear in \(x\). Solving gives
Instead of inverting this to find \(p\) in terms of \(x\), \(p\) is found from (1) which gives
Substituting these solutions in (4) gives implicit solutions as
But only the first one above satisfies the ode. The second is extraneous. Therefore the final solution is
And no singular solutions exist. If instead of doing the above, \(p\) was found from (4) using inversion, then it will be
Substituting this in (1) gives
But this general solution does not satisfy the original ode. In general, it is best to avoid squaring both side of the ode in order to solve for \(y\) as this can generate extraneous solutions. Only use this method if the original ode is already given in the form where \(y\) shows explicitly.