[[_homogeneous, `class A`], _rational, _dAlembert]
Book solution method
Change of variable
Mathematica ✓
cpu = 0.107745 (sec), leaf count = 85
Maple ✓
cpu = 0.06 (sec), leaf count = 69
DSolve[y[x]^2 - x*(x - 2*y[x])*y'[x] + x^2*y'[x]^2 == 0,y[x],x]
Mathematica raw output
{{y[x] -> ((-1 + 2*x*Cosh[2*C[1]] + 2*x*Sinh[2*C[1]])*(Cosh[4*C[1]] - Sinh[4*C[1
]]))/(4*x)}, {y[x] -> -((1 + 2*x*Cosh[2*C[1]] + 2*x*Sinh[2*C[1]])*(Cosh[4*C[1]]
- Sinh[4*C[1]]))/(4*x)}}
Maple raw input
dsolve(x^2*diff(y(x),x)^2-x*(x-2*y(x))*diff(y(x),x)+y(x)^2 = 0, y(x),'implicit')
Maple raw output
y(x) = 1/4*x, ln(x)-arctanh(((-4*y(x)+x)/x)^(1/2))+1/2*ln(y(x)/x)-_C1 = 0, ln(x)
+arctanh(((-4*y(x)+x)/x)^(1/2))+1/2*ln(y(x)/x)-_C1 = 0