4.40.20 \(x y(x) y''(x)+x y'(x)^2=y(x) y'(x)\)

ODE
\[ x y(x) y''(x)+x y'(x)^2=y(x) y'(x) \] ODE Classification

[[_2nd_order, _exact, _nonlinear], _Liouville, [_2nd_order, _with_linear_symmetries], [_2nd_order, _reducible, _mu_x_y1], [_2nd_order, _reducible, _mu_xy]]

Book solution method
TO DO

Mathematica
cpu = 0.040053 (sec), leaf count = 18

\[\left \{\left \{y(x)\to c_2 \sqrt {c_1+x^2}\right \}\right \}\]

Maple
cpu = 0.015 (sec), leaf count = 18

\[ \left \{ {\it \_C1}\,{x}^{2}-{\it \_C2}+{\frac { \left ( y \left ( x \right ) \right ) ^{2}}{2}}=0 \right \} \] Mathematica raw input

DSolve[x*y'[x]^2 + x*y[x]*y''[x] == y[x]*y'[x],y[x],x]

Mathematica raw output

{{y[x] -> Sqrt[x^2 + C[1]]*C[2]}}

Maple raw input

dsolve(x*y(x)*diff(diff(y(x),x),x)+x*diff(y(x),x)^2 = y(x)*diff(y(x),x), y(x),'implicit')

Maple raw output

_C1*x^2-_C2+1/2*y(x)^2 = 0