Internal problem ID [3271]
Book: Ordinary differential equations and their solutions. By George Moseley Murphy.
1960
Section: Various 19
Problem number: 527.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [[_homogeneous, class A], _rational, [_Abel, 2nd type, class B]]
Solve \begin {gather*} \boxed {x \left (x -y\right ) y^{\prime }+y^{2}=0} \end {gather*}
✓ Solution by Maple
Time used: 0.015 (sec). Leaf size: 21
dsolve(x*(x-y(x))*diff(y(x),x)+y(x)^2 = 0,y(x), singsol=all)
\[ y \relax (x ) = {\mathrm e}^{-\LambertW \left (-\frac {{\mathrm e}^{-c_{1}}}{x}\right )-c_{1}} \]
✓ Solution by Mathematica
Time used: 60.074 (sec). Leaf size: 20
DSolve[x(x-y[x])y'[x]+y[x]^2==0,y[x],x,IncludeSingularSolutions -> True]
\begin{align*} y(x)\to -x \text {ProductLog}\left (-\frac {e^{-c_1}}{x}\right ) \\ \end{align*}