46.2.12 problem 13

Internal problem ID [7315]
Book : ADVANCED ENGINEERING MATHEMATICS. ERWIN KREYSZIG, HERBERT KREYSZIG, EDWARD J. NORMINTON. 10th edition. John Wiley USA. 2011
Section : Chapter 5. Series Solutions of ODEs. Special Functions. Problem set 5.3. Extended Power Series Method: Frobenius Method page 186
Problem number : 13
Date solved : Monday, January 27, 2025 at 02:50:12 PM
CAS classification : [[_2nd_order, _with_linear_symmetries]]

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

Using series method with expansion around

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

Solution by Maple

Time used: 0.007 (sec). Leaf size: 39

Order:=6; 
dsolve(x*diff(y(x),x$2)+(1-2*x)*diff(y(x),x)+(x-1)*y(x)=0,y(x),type='series',x=0);
 
\[ y = \left (c_{2} \ln \left (x \right )+c_{1} \right ) \left (1+x +\frac {1}{2} x^{2}+\frac {1}{6} x^{3}+\frac {1}{24} x^{4}+\frac {1}{120} x^{5}\right )+O\left (x^{6}\right ) \]

Solution by Mathematica

Time used: 0.006 (sec). Leaf size: 74

AsymptoticDSolveValue[x*D[y[x],{x,2}]+(1-2*x)*D[y[x],x]+(x-1)*y[x]==0,y[x],{x,0,"6"-1}]
 
\[ y(x)\to c_1 \left (\frac {x^5}{120}+\frac {x^4}{24}+\frac {x^3}{6}+\frac {x^2}{2}+x+1\right )+c_2 \left (\frac {x^5}{120}+\frac {x^4}{24}+\frac {x^3}{6}+\frac {x^2}{2}+x+1\right ) \log (x) \]