19.1 problem 514

Internal problem ID [3258]

Book: Ordinary differential equations and their solutions. By George Moseley Murphy. 1960
Section: Various 19
Problem number: 514.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

Solve \begin {gather*} \boxed {y y^{\prime } x -\left (x^{2}+1\right ) \left (1-y^{2}\right )=0} \end {gather*}

Solution by Maple

Time used: 0.016 (sec). Leaf size: 44

dsolve(x*y(x)*diff(y(x),x) = (x^2+1)*(1-y(x)^2),y(x), singsol=all)
 

\begin{align*} y \relax (x ) = \frac {\sqrt {{\mathrm e}^{-x^{2}} c_{1}+x^{2}}}{x} \\ y \relax (x ) = -\frac {\sqrt {{\mathrm e}^{-x^{2}} c_{1}+x^{2}}}{x} \\ \end{align*}

Solution by Mathematica

Time used: 5.218 (sec). Leaf size: 95

DSolve[x y[x] y'[x]==(1+x^2)(1-y[x]^2),y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to -\frac {\sqrt {x^2+e^{-x^2+2 c_1}}}{x} \\ y(x)\to \frac {\sqrt {x^2+e^{-x^2+2 c_1}}}{x} \\ y(x)\to -1 \\ y(x)\to 1 \\ y(x)\to -\frac {x}{\sqrt {x^2}} \\ y(x)\to \frac {x}{\sqrt {x^2}} \\ \end{align*}