3.7 problem 10.4.8 (g)

Internal problem ID [5070]

Book: Basic Training in Mathematics. By R. Shankar. Plenum Press. NY. 1995
Section: Chapter 10, Differential equations. Section 10.4, ODEs with variable Coefficients. Second order and Homogeneous. page 318
Problem number: 10.4.8 (g).
ODE order: 2.
ODE degree: 1.

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

\[ \boxed {x y^{\prime \prime }+x y^{\prime }-2 y=0} \]

Solution by Maple

Time used: 0.015 (sec). Leaf size: 28

dsolve(x*diff(y(x),x$2)+x*diff(y(x),x)-2*y(x)=0,y(x), singsol=all)
 

\[ y \left (x \right ) = -\frac {\left (x +1\right ) c_{2} {\mathrm e}^{-x}}{2}+\left (x +2\right ) x \left (c_{1} +\frac {\operatorname {expIntegral}_{1}\left (x \right ) c_{2}}{2}\right ) \]

Solution by Mathematica

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

DSolve[x*y''[x]+x*y'[x]-2*y[x]==0,y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to c_1 x (x+2)-\frac {1}{2} c_2 e^{-x} \left (e^x (x+2) x \operatorname {ExpIntegralEi}(-x)+x+1\right ) \]