4.18.48 x2y(x)2=(xy(x))2

ODE
x2y(x)2=(xy(x))2 ODE Classification

[_linear]

Book solution method
No Missing Variables ODE, Solve for y

Mathematica
cpu = 0.0051665 (sec), leaf count = 30

{{y(x)c1x+x2},{y(x)x(c1log(x))}}

Maple
cpu = 0.012 (sec), leaf count = 24

{y(x)=(ln(x)+_C1)x,y(x)=x2+_C1x} Mathematica raw input

DSolve[x^2*y'[x]^2 == (x - y[x])^2,y[x],x]

Mathematica raw output

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

Maple raw input

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

Maple raw output

y(x) = (-ln(x)+_C1)*x, y(x) = 1/2*x+1/x*_C1