ODE
\[ x^2 y'(x)+x^2+x y(x)+y(x)^2=0 \] ODE Classification
[[_homogeneous, `class A`], _rational, _Riccati]
Book solution method
Homogeneous equation
Mathematica ✓
cpu = 0.23402 (sec), leaf count = 24
\[\left \{\left \{y(x)\to \frac {x (\log (x)-1-c_1)}{-\log (x)+c_1}\right \}\right \}\]
Maple ✓
cpu = 0.016 (sec), leaf count = 18
\[\left [y \left (x \right ) = -\frac {x \left (\ln \left (x \right )+\textit {\_C1} -1\right )}{\ln \left (x \right )+\textit {\_C1}}\right ]\] Mathematica raw input
DSolve[x^2 + x*y[x] + y[x]^2 + x^2*y'[x] == 0,y[x],x]
Mathematica raw output
{{y[x] -> (x*(-1 - C[1] + Log[x]))/(C[1] - Log[x])}}
Maple raw input
dsolve(x^2*diff(y(x),x)+x^2+x*y(x)+y(x)^2 = 0, y(x))
Maple raw output
[y(x) = -x*(ln(x)+_C1-1)/(ln(x)+_C1)]