4.40.48 \(2 x^2 y(x) y''(x)=x^2 y'(x)^2+2 x y(x) y'(x)-4 y(x)^2\)

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

[[_2nd_order, _with_linear_symmetries], [_2nd_order, _reducible, _mu_y_y1], [_2nd_order, _reducible, _mu_xy]]

Book solution method
TO DO

Mathematica
cpu = 0.0675388 (sec), leaf count = 20

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

Maple
cpu = 0.045 (sec), leaf count = 21

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

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

Mathematica raw output

{{y[x] -> x^2*C[2]*(-2*C[1] + Log[x])^2}}

Maple raw input

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

Maple raw output

y(x) = 1/4*x^2*(2*_C2*ln(x)+_C1)^2/_C2