3.11 problem 65

Internal problem ID [3329]

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

CAS Maple gives this as type [_Riccati]

\[ \boxed {y^{\prime }-x \left (2+y x^{2}-y^{2}\right )=0} \]

Solution by Maple

Time used: 0.0 (sec). Leaf size: 67

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

\[ y \left (x \right ) = \frac {2 c_{1} {\mathrm e}^{-\frac {x^{4}}{4}}}{\sqrt {\pi }\, \left (\operatorname {erf}\left (\frac {x^{2}}{2}\right ) c_{1} +1\right )}+\frac {\operatorname {erf}\left (\frac {x^{2}}{2}\right ) \sqrt {\pi }\, c_{1} x^{2}+x^{2} \sqrt {\pi }}{\sqrt {\pi }\, \left (\operatorname {erf}\left (\frac {x^{2}}{2}\right ) c_{1} +1\right )} \]

Solution by Mathematica

Time used: 0.316 (sec). Leaf size: 70

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

\begin{align*} y(x)\to \frac {\sqrt {\pi } x^2 \text {erf}\left (\frac {x^2}{2}\right )+2 e^{-\frac {x^4}{4}}+2 c_1 x^2}{\sqrt {\pi } \text {erf}\left (\frac {x^2}{2}\right )+2 c_1} y(x)\to x^2 \end{align*}