1.22 problem 23

Internal problem ID [7066]

Book: Own collection of miscellaneous problems
Section: section 1.0
Problem number: 23.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [[_homogeneous, `class A`], _rational, [_Abel, `2nd type`, `class B`]]

\[ \boxed {x^{2} y^{\prime }+y^{2}-x y y^{\prime }=0} \]

Solution by Maple

Time used: 0.031 (sec). Leaf size: 21

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

\[ y \left (x \right ) = {\mathrm e}^{-\operatorname {LambertW}\left (-\frac {{\mathrm e}^{-c_{1}}}{x}\right )-c_{1}} \]

Solution by Mathematica

Time used: 2.396 (sec). Leaf size: 25

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

\begin{align*} y(x)\to -x W\left (-\frac {e^{-c_1}}{x}\right ) y(x)\to 0 \end{align*}