ODE No. 1176

\[ x^2 y''(x)+\left (x^2+2\right ) y(x)-2 x y'(x)=0 \] Mathematica : cpu = 0.014443 (sec), leaf count = 33

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

\[\left \{\left \{y(x)\to c_1 e^{-i x} x-\frac {1}{2} i c_2 e^{i x} x\right \}\right \}\] Maple : cpu = 0.033 (sec), leaf count = 15

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

\[y \left (x \right ) = x \left (\sin \left (x \right ) c_{1}+c_{2} \cos \left (x \right )\right )\]