\[ \boxed { {\frac {\rm d}{{\rm d}x}}y \left ( x \right ) + \left ( y \left ( x \right ) \right ) ^{2}-2\,{x}^{2}y \left ( x \right ) +{x}^{4}-2\,x-1=0} \]
Mathematica: cpu = 0.019502 (sec), leaf count = 25 \[ \left \{\left \{y(x)\to \frac {1}{c_1 \left (-e^{2 x}\right )-\frac {1}{2}}+x^2+1\right \}\right \} \]
Maple: cpu = 0.156 (sec), leaf count = 38 \[ \left \{ y \left ( x \right ) ={1 \left ( {\frac {{x}^{2}{\it \_C1}}{ \left ( {{\rm e}^{x}} \right ) ^{2}}}-{x}^{2}-{\frac {{\it \_C1}}{ \left ( {{\rm e}^{x}} \right ) ^{2}}}-1 \right ) \left ( -1+{\frac {{ \it \_C1}}{ \left ( {{\rm e}^{x}} \right ) ^{2}}} \right ) ^{-1}} \right \} \]
Sage: cpu = 0.064 (sec), leaf count = 0 \[ \left [\left [y\left (x\right ) = \frac {{\left (c e^{\left (2 \, x\right )} + 1\right )} x^{2} + c e^{\left (2 \, x\right )} - 1}{c e^{\left (2 \, x\right )} + 1}\right ], \text {\texttt {riccati}}\right ] \]