17.3 problem 4

Internal problem ID [2410]

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. Exercises for 11.4. page 758
Problem number: 4.
ODE order: 2.
ODE degree: 1.

CAS Maple gives this as type [[_2nd_order, _with_linear_symmetries]]

Solve \begin {gather*} \boxed {\left (-2+x \right )^{2} y^{\prime \prime }+\left (-2+x \right ) {\mathrm e}^{x} y^{\prime }+\frac {4 y}{x}=0} \end {gather*} With the expansion point for the power series method at \(x = 0\).

Solution by Maple

Time used: 0.014 (sec). Leaf size: 60

Order:=6; 
dsolve((x-2)^2*diff(y(x),x$2)+(x-2)*exp(x)*diff(y(x),x)+4/x*y(x)=0,y(x),type='series',x=0);
 

\[ y \relax (x ) = c_{1} x \left (1-\frac {1}{4} x -\frac {1}{24} x^{2}-\frac {13}{576} x^{3}-\frac {35}{2304} x^{4}-\frac {1297}{138240} x^{5}+\mathrm {O}\left (x^{6}\right )\right )+c_{2} \left (\ln \relax (x ) \left (-x +\frac {1}{4} x^{2}+\frac {1}{24} x^{3}+\frac {13}{576} x^{4}+\frac {35}{2304} x^{5}+\mathrm {O}\left (x^{6}\right )\right )+\left (1+\frac {1}{2} x -\frac {5}{4} x^{2}-\frac {41}{144} x^{3}-\frac {1097}{6912} x^{4}-\frac {397}{4320} x^{5}+\mathrm {O}\left (x^{6}\right )\right )\right ) \]

Solution by Mathematica

Time used: 0.059 (sec). Leaf size: 87

AsymptoticDSolveValue[(x-2)^2*y''[x]+(x-2)*Exp[x]*y'[x]+4/x*y[x]==0,y[x],{x,0,5}]
 

\[ y(x)\to c_1 \left (\frac {1}{576} x \left (13 x^3+24 x^2+144 x-576\right ) \log (x)+\frac {-1097 x^4-1968 x^3-8640 x^2+3456 x+6912}{6912}\right )+c_2 \left (-\frac {35 x^5}{2304}-\frac {13 x^4}{576}-\frac {x^3}{24}-\frac {x^2}{4}+x\right ) \]