2.386   ODE No. 386

\[ a x^3 y'(x)-2 a x^2 y(x)+y'(x)^2=0 \] Mathematica : cpu = 0.951929 (sec), leaf count = 62

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

\[\left \{\left \{y(x)\to \frac {1}{8} e^{2 c_1} \left (-2 \sqrt {a} x^2+e^{2 c_1}\right )\right \},\left \{y(x)\to 2 e^{2 c_1} \left (\sqrt {a} x^2+4 e^{2 c_1}\right )\right \}\right \}\] Maple : cpu = 0.831 (sec), leaf count = 27

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

\[y \left (x \right ) = -\frac {a \,x^{4}}{8}\]