21.6 problem 5

Internal problem ID [5722]

Book: Differential Equations: Theory, Technique, and Practice by George Simmons, Steven Krantz. McGraw-Hill NY. 2007. 1st Edition.
Section: Chapter 4. Power Series Solutions and Special Functions. Section 4.6. Gauss’s Hypergeometric Equation. Page 187
Problem number: 5.
ODE order: 2.
ODE degree: 1.

CAS Maple gives this as type [[_2nd_order, _exact, _linear, _homogeneous]]

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

Solution by Maple

Time used: 0.234 (sec). Leaf size: 52

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

\[ y \relax (x ) = c_{1} x^{\frac {3}{2}} \left (1+\frac {1}{4} x +\frac {3}{32} x^{2}+\frac {7}{384} x^{3}+\frac {109}{30720} x^{4}+\frac {13}{24576} x^{5}+\frac {4439}{61931520} x^{6}+\frac {2069}{247726080} x^{7}+\mathrm {O}\left (x^{8}\right )\right )+c_{2} \left (1-2 x -x^{2}-\frac {1}{3} x^{3}-\frac {1}{12} x^{4}-\frac {1}{60} x^{5}-\frac {1}{360} x^{6}-\frac {1}{2520} x^{7}+\mathrm {O}\left (x^{8}\right )\right ) \]

Solution by Mathematica

Time used: 0.009 (sec). Leaf size: 109

AsymptoticDSolveValue[(1-Exp[x])*y''[x]+1/2*y'[x]+Exp[x]*y[x]==0,y[x],{x,0,7}]
 

\[ y(x)\to c_2 \left (-\frac {x^7}{2520}-\frac {x^6}{360}-\frac {x^5}{60}-\frac {x^4}{12}-\frac {x^3}{3}-x^2-2 x+1\right )+c_1 \left (\frac {2069 x^7}{247726080}+\frac {4439 x^6}{61931520}+\frac {13 x^5}{24576}+\frac {109 x^4}{30720}+\frac {7 x^3}{384}+\frac {3 x^2}{32}+\frac {x}{4}+1\right ) x^{3/2} \]