52.2.35 problem 36(b)

Internal problem ID [8286]
Book : DIFFERENTIAL EQUATIONS with Boundary Value Problems. DENNIS G. ZILL, WARREN S. WRIGHT, MICHAEL R. CULLEN. Brooks/Cole. Boston, MA. 2013. 8th edition.
Section : CHAPTER 6 SERIES SOLUTIONS OF LINEAR EQUATIONS. 6.3 SOLUTIONS ABOUT SINGULAR POINTS. EXERCISES 6.3. Page 255
Problem number : 36(b)
Date solved : Sunday, March 30, 2025 at 12:50:57 PM
CAS classification : [[_2nd_order, _exact, _linear, _homogeneous]]

\begin{align*} x^{2} y^{\prime \prime }+\left (3 x -1\right ) y^{\prime }+y&=0 \end{align*}

Using series method with expansion around

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

Maple
Order:=8; 
ode:=x^2*diff(diff(y(x),x),x)+(3*x-1)*diff(y(x),x)+y(x) = 0; 
dsolve(ode,y(x),type='series',x=0);
 
\[ \text {No solution found} \]
Mathematica. Time used: 0.053 (sec). Leaf size: 53
ode=x^2*D[y[x],{x,2}]+(3*x-1)*D[y[x],x]+y[x]==0; 
ic={}; 
AsymptoticDSolveValue[{ode,ic},y[x],{x,0,7}]
 
\[ y(x)\to c_1 \left (5040 x^7+720 x^6+120 x^5+24 x^4+6 x^3+2 x^2+x+1\right )+\frac {c_2 e^{-1/x}}{x} \]
Sympy
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(x**2*Derivative(y(x), (x, 2)) + (3*x - 1)*Derivative(y(x), x) + y(x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics,hint="2nd_power_series_regular",x0=0,n=8)
 
ValueError : ODE x**2*Derivative(y(x), (x, 2)) + (3*x - 1)*Derivative(y(x), x) + y(x) does not match hint 2nd_power_series_regular