7.14.17 problem 17

Internal problem ID [442]
Book : Elementary Differential Equations. By C. Henry Edwards, David E. Penney and David Calvis. 6th edition. 2008
Section : Chapter 3. Power series methods. Section 3.2 (Series solution near ordinary points). Problems at page 216
Problem number : 17
Date solved : Monday, January 27, 2025 at 02:53:41 AM
CAS classification : [[_2nd_order, _with_linear_symmetries]]

\begin{align*} y^{\prime \prime }+x y^{\prime }-2 y&=0 \end{align*}

Using series method with expansion around

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

With initial conditions

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

Solution by Maple

Time used: 0.001 (sec). Leaf size: 9

Order:=6; 
dsolve([diff(y(x),x$2)+x*diff(y(x),x)-2*y(x)=0,y(0) = 1, D(y)(0) = 0],y(x),type='series',x=0);
 
\[ y = x^{2}+1 \]

Solution by Mathematica

Time used: 0.001 (sec). Leaf size: 8

AsymptoticDSolveValue[{D[y[x],{x,2}]+x*D[y[x],x]-2*y[x]==0,{y[0]==1,Derivative[1][y][0] ==0}},y[x],{x,0,"6"-1}]
 
\[ y(x)\to x^2+1 \]