2.1180   ODE No. 1180

\[ -f(x)+\left (-v^2+x^2+1\right ) y(x)+x^2 y''(x)+3 x y'(x)=0 \]

Mathematica : cpu = 0.0438333 (sec), leaf count = 75

DSolve[-f[x] + (1 - v^2 + x^2)*y[x] + 3*x*Derivative[1][y][x] + x^2*Derivative[2][y][x] == 0,y[x],x]
 
\[\left \{\left \{y(x)\to \frac {J_v(x) \int _1^x-\frac {1}{2} \pi Y_v(K[1]) f(K[1])dK[1]+Y_v(x) \int _1^x\frac {1}{2} \pi J_v(K[2]) f(K[2])dK[2]}{x}+\frac {c_1 J_v(x)}{x}+\frac {c_2 Y_v(x)}{x}\right \}\right \}\]

Maple : cpu = 0.069 (sec), leaf count = 49

dsolve(x^2*diff(diff(y(x),x),x)+3*x*diff(y(x),x)+(-v^2+x^2+1)*y(x)-f(x)=0,y(x))
 
\[y \left (x \right ) = \frac {\pi \left (\int \operatorname {BesselJ}\left (v , x\right ) f \left (x \right )d x \right ) \operatorname {BesselY}\left (v , x\right )-\pi \left (\int \operatorname {BesselY}\left (v , x\right ) f \left (x \right )d x \right ) \operatorname {BesselJ}\left (v , x\right )+2 \operatorname {BesselY}\left (v , x\right ) c_{1} +2 \operatorname {BesselJ}\left (v , x\right ) c_{2}}{2 x}\]