[_linear]
Book solution method
No Missing Variables ODE, Solve for
Mathematica ✓
cpu = 0.0051665 (sec), leaf count = 30
Maple ✓
cpu = 0.012 (sec), leaf count = 24
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