1.20 problem 3.48 (b)

Internal problem ID [4746]

Book: Advanced Mathemtical Methods for Scientists and Engineers, Bender and Orszag. Springer October 29, 1999
Section: Chapter 3. APPROXIMATE SOLUTION OF LINEAR DIFFERENTIAL EQUATIONS. page 136
Problem number: 3.48 (b).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

Solve \begin {gather*} \boxed {y x +y^{\prime }-\frac {1}{x^{3}}=0} \end {gather*}

Solution by Maple

Time used: 0.016 (sec). Leaf size: 33

dsolve(diff(y(x),x)+x*y(x)=1/x^3,y(x), singsol=all)
 

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

Solution by Mathematica

Time used: 0.106 (sec). Leaf size: 38

DSolve[y'[x]+x*y[x]==1/x^3,y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to \frac {1}{4} \left (-\frac {2}{x^2}+e^{-\frac {x^2}{2}} \left (\text {Ei}\left (\frac {x^2}{2}\right )+4 c_1\right )\right ) \\ \end{align*}