18.29 problem 507

Internal problem ID [3251]

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

CAS Maple gives this as type [[_homogeneous, class A], _rational, _Bernoulli]

Solve \begin {gather*} \boxed {y^{\prime } y x +x^{2}+y^{2}=0} \end {gather*}

Solution by Maple

Time used: 0.005 (sec). Leaf size: 39

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

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

Solution by Mathematica

Time used: 0.187 (sec). Leaf size: 46

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

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