42.1.17 problem 3.25 v=5/2

Internal problem ID [6839]
Book : Advanced Mathematical Methods for Scientists and Engineers, Bender and Orszag. Springer October 29, 1999
Section : Chapter 3. APPROXIMATE SOLUTION OF LINEAR DIFFERENTIAL EQUATIONS. page 136
Problem number : 3.25 v=5/2
Date solved : Monday, January 27, 2025 at 02:31:29 PM
CAS classification : [[_2nd_order, _with_linear_symmetries]]

\begin{align*} x^{2} y^{\prime \prime }+x y^{\prime }+\left (x^{2}+\frac {25}{4}\right ) y&=0 \end{align*}

Using series method with expansion around

\begin{align*} 0 \end{align*}

Solution by Maple

Time used: 0.005 (sec). Leaf size: 35

Order:=6; 
dsolve(x^2*diff(y(x),x$2)+x*diff(y(x),x)+(x^2+(5/2)^2)*y(x)=0,y(x),type='series',x=0);
 
\[ y = c_1 \,x^{-\frac {5 i}{2}} \left (1+\left (-\frac {1}{29}-\frac {5 i}{58}\right ) x^{2}+\left (-\frac {17}{9512}+\frac {15 i}{4756}\right ) x^{4}+\operatorname {O}\left (x^{6}\right )\right )+c_2 \,x^{\frac {5 i}{2}} \left (1+\left (-\frac {1}{29}+\frac {5 i}{58}\right ) x^{2}+\left (-\frac {17}{9512}-\frac {15 i}{4756}\right ) x^{4}+\operatorname {O}\left (x^{6}\right )\right ) \]

Solution by Mathematica

Time used: 0.009 (sec). Leaf size: 66

AsymptoticDSolveValue[x^2*D[y[x],{x,2}]+x*D[y[x],x]+(x^2+(5/2)^2)*y[x]==0,y[x],{x,0,"6"-1}]
 
\[ y(x)\to \left (-\frac {17}{9512}-\frac {15 i}{4756}\right ) c_1 x^{5 i/2} \left (x^4-(16+20 i) x^2-(136-240 i)\right )-\left (\frac {17}{9512}-\frac {15 i}{4756}\right ) c_2 x^{-5 i/2} \left (x^4-(16-20 i) x^2-(136+240 i)\right ) \]