2.423   ODE No. 423

\[ x y'(x)^2-2 y(x) y'(x)+2 y(x)+x=0 \] Mathematica : cpu = 0.0949273 (sec), leaf count = 59

DSolve[x + 2*y[x] - 2*y[x]*Derivative[1][y][x] + x*Derivative[1][y][x]^2 == 0,y[x],x]
 

\[\left \{\left \{y(x)\to \frac {1}{2} \left (-e^{-c_1} x^2+2 x-2 e^{c_1}\right )\right \},\left \{y(x)\to \frac {1}{2} \left (-2 e^{c_1} x^2+2 x-e^{-c_1}\right )\right \}\right \}\] Maple : cpu = 0.49 (sec), leaf count = 44

dsolve(x*diff(y(x),x)^2-2*y(x)*diff(y(x),x)+2*y(x)+x = 0,y(x))
 

\[y \left (x \right ) = \left (1-\sqrt {2}\right ) x\]