72.19.1 problem 1 (a)

Internal problem ID [19706]
Book : DIFFERENTIAL EQUATIONS WITH APPLICATIONS AND HISTORICAL NOTES by George F. Simmons. 3rd edition. 2017. CRC press, Boca Raton FL.
Section : Chapter 5. Power Series Solutions and Special Functions. Section 29. Regular singular Points. Problems at page 227
Problem number : 1 (a)
Date solved : Thursday, October 02, 2025 at 04:41:27 PM
CAS classification : [[_2nd_order, _with_linear_symmetries]]

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

Using series method with expansion around

\begin{align*} 0 \end{align*}
Maple
Order:=6; 
ode:=x^3*(x-1)*diff(diff(y(x),x),x)-2*(x-1)*diff(y(x),x)+3*x*y(x) = 0; 
dsolve(ode,y(x),type='series',x=0);
 
\[ \text {No solution found} \]
Mathematica. Time used: 0.042 (sec). Leaf size: 80
ode=x^3*(x-1)*D[y[x],{x,2}]-2*(x-1)*D[y[x],x]+3*x*y[x]==0; 
ic={}; 
AsymptoticDSolveValue[{ode,ic},y[x],{x,0,5}]
 
\[ y(x)\to c_2 e^{-\frac {1}{x^2}} \left (-\frac {51 x^5}{40}+\frac {63 x^4}{32}+\frac {x^3}{2}-\frac {3 x^2}{4}+1\right ) x^3+c_1 \left (-\frac {9 x^5}{40}-\frac {9 x^4}{32}-\frac {x^3}{2}-\frac {3 x^2}{4}+1\right ) \]
Sympy
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(x**3*(x - 1)*Derivative(y(x), (x, 2)) + 3*x*y(x) - (2*x - 2)*Derivative(y(x), x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics,hint="2nd_power_series_regular",x0=0,n=6)
 
ValueError : ODE x**3*(x - 1)*Derivative(y(x), (x, 2)) + 3*x*y(x) - (2*x - 2)*Derivative(y(x), x) does not match hint 2nd_power_series_regular