2.466   ODE No. 466

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

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

\[\left \{\left \{y(x)\to -\frac {1}{4} \left (\cosh \left (\frac {c_1}{2}\right )+\sinh \left (\frac {c_1}{2}\right )\right ) \sqrt {-8 i x+\cosh (c_1)+\sinh (c_1)}\right \},\left \{y(x)\to \frac {1}{4} \left (\cosh \left (\frac {c_1}{2}\right )+\sinh \left (\frac {c_1}{2}\right )\right ) \sqrt {-8 i x+\cosh (c_1)+\sinh (c_1)}\right \},\left \{y(x)\to -\frac {1}{4} \left (\cosh \left (\frac {c_1}{2}\right )+\sinh \left (\frac {c_1}{2}\right )\right ) \sqrt {8 i x+\cosh (c_1)+\sinh (c_1)}\right \},\left \{y(x)\to \frac {1}{4} \left (\cosh \left (\frac {c_1}{2}\right )+\sinh \left (\frac {c_1}{2}\right )\right ) \sqrt {8 i x+\cosh (c_1)+\sinh (c_1)}\right \}\right \}\] Maple : cpu = 0.411 (sec), leaf count = 71

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

\[y \left (x \right ) = x\]