2.402   ODE No. 402

\[ x^2+4 x y'(x)+3 y'(x)^2-y(x)=0 \] Mathematica : cpu = 0.762776 (sec), leaf count = 105

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

\[\left \{\left \{y(x)\to \frac {1}{12} \left (-3 x^2+2 x-2 e^{c_1} x+1-2 e^{c_1}+e^{2 c_1}\right )\right \},\left \{y(x)\to \frac {-3 x^2-3 x^2 \tanh ^2\left (\frac {c_1}{2}\right )+6 x^2 \tanh \left (\frac {c_1}{2}\right )+4 x-4 x \tanh \left (\frac {c_1}{2}\right )+4}{12 \left (1-\tanh \left (\frac {c_1}{2}\right )\right ){}^2}\right \}\right \}\] Maple : cpu = 0.605 (sec), leaf count = 51

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

\[y \left (x \right ) = -\frac {x^{2}}{3}\]