20.28.6 problem 6

Internal problem ID [4068]
Book : Differential equations and linear algebra, Stephen W. Goode and Scott A Annin. Fourth edition, 2015
Section : Chapter 11, Series Solutions to Linear Differential Equations. Additional problems. Section 11.7. page 788
Problem number : 6
Date solved : Sunday, March 30, 2025 at 02:16:11 AM
CAS classification : [[_2nd_order, _with_linear_symmetries]]

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

Using series method with expansion around

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

Maple. Time used: 0.025 (sec). Leaf size: 36
Order:=6; 
ode:=2*x*diff(diff(y(x),x),x)+5*(1-2*x)*diff(y(x),x)-5*y(x) = 0; 
dsolve(ode,y(x),type='series',x=0);
 
\[ y = \frac {c_1 \left (1+10 x +\operatorname {O}\left (x^{6}\right )\right )}{x^{{3}/{2}}}+c_2 \left (1+x +\frac {15}{14} x^{2}+\frac {125}{126} x^{3}+\frac {625}{792} x^{4}+\frac {625}{1144} x^{5}+\operatorname {O}\left (x^{6}\right )\right ) \]
Mathematica. Time used: 0.004 (sec). Leaf size: 51
ode=2*x*D[y[x],{x,2}]+5*(1-2*x)*D[y[x],x]-5*y[x]==0; 
ic={}; 
AsymptoticDSolveValue[{ode,ic},y[x],{x,0,5}]
 
\[ y(x)\to \frac {c_2 (10 x+1)}{x^{3/2}}+c_1 \left (\frac {625 x^5}{1144}+\frac {625 x^4}{792}+\frac {125 x^3}{126}+\frac {15 x^2}{14}+x+1\right ) \]
Sympy. Time used: 0.924 (sec). Leaf size: 49
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(2*x*Derivative(y(x), (x, 2)) + (5 - 10*x)*Derivative(y(x), x) - 5*y(x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics,hint="2nd_power_series_regular",x0=0,n=6)
 
\[ y{\left (x \right )} = C_{2} \left (\frac {625 x^{5}}{1144} + \frac {625 x^{4}}{792} + \frac {125 x^{3}}{126} + \frac {15 x^{2}}{14} + x + 1\right ) + \frac {C_{1} \left (10 x + 1\right )}{x^{\frac {3}{2}}} + O\left (x^{6}\right ) \]