2.29 problem 29

Internal problem ID [4831]

Book: A FIRST COURSE IN DIFFERENTIAL EQUATIONS with Modeling Applications. Dennis G. Zill. 9th edition. Brooks/Cole. CA, USA.
Section: Chapter 6. SERIES SOLUTIONS OF LINEAR EQUATIONS. Exercises. 6.2 page 239
Problem number: 29.
ODE order: 2.
ODE degree: 1.

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

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

Solution by Maple

Time used: 0.019 (sec). Leaf size: 59

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

\[ y \relax (x ) = \left (\ln \relax (x ) c_{2}+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}+\mathrm {O}\left (x^{6}\right )\right )+\left (-x -\frac {3}{4} x^{2}-\frac {11}{36} x^{3}-\frac {25}{288} x^{4}-\frac {137}{7200} x^{5}+\mathrm {O}\left (x^{6}\right )\right ) c_{2} \]

Solution by Mathematica

Time used: 0.004 (sec). Leaf size: 107

AsymptoticDSolveValue[x*y''[x]+(1-x)*y'[x]-y[x]==0,y[x],{x,0,5}]
 

\[ 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 {137 x^5}{7200}-\frac {25 x^4}{288}-\frac {11 x^3}{36}-\frac {3 x^2}{4}+\left (\frac {x^5}{120}+\frac {x^4}{24}+\frac {x^3}{6}+\frac {x^2}{2}+x+1\right ) \log (x)-x\right ) \]