29.32.27 problem 962

Internal problem ID [5539]
Book : Ordinary differential equations and their solutions. By George Moseley Murphy. 1960
Section : Various 32
Problem number : 962
Date solved : Monday, January 27, 2025 at 11:35:56 AM
CAS classification : [_separable]

\begin{align*} x y {y^{\prime }}^{2}+\left (x^{2}+y^{2}\right ) y^{\prime }+y x&=0 \end{align*}

Solution by Maple

Time used: 0.006 (sec). Leaf size: 35

dsolve(x*y(x)*diff(y(x),x)^2+(x^2+y(x)^2)*diff(y(x),x)+x*y(x) = 0,y(x), singsol=all)
 
\begin{align*} y \left (x \right ) &= \frac {c_{1}}{x} \\ y \left (x \right ) &= \sqrt {-x^{2}+c_{1}} \\ y \left (x \right ) &= -\sqrt {-x^{2}+c_{1}} \\ \end{align*}

Solution by Mathematica

Time used: 0.125 (sec). Leaf size: 54

DSolve[x y[x] (D[y[x],x])^2+(x^2 + y[x]^2)D[y[x],x]+x y[x]==0,y[x],x,IncludeSingularSolutions -> True]
 
\begin{align*} y(x)\to \frac {c_1}{x} \\ y(x)\to -\sqrt {-x^2+2 c_1} \\ y(x)\to \sqrt {-x^2+2 c_1} \\ y(x)\to 0 \\ \end{align*}