29.6.11 problem 157

Internal problem ID [4757]
Book : Ordinary differential equations and their solutions. By George Moseley Murphy. 1960
Section : Various 6
Problem number : 157
Date solved : Monday, January 27, 2025 at 09:36:33 AM
CAS classification : [_linear]

\begin{align*} x y^{\prime }+2+\left (3-x \right ) y&=0 \end{align*}

Solution by Maple

Time used: 0.002 (sec). Leaf size: 22

dsolve(x*diff(y(x),x)+2+(3-x)*y(x) = 0,y(x), singsol=all)
 
\[ y \left (x \right ) = \frac {{\mathrm e}^{x} c_{1} +2 x^{2}+4 x +4}{x^{3}} \]

Solution by Mathematica

Time used: 0.034 (sec). Leaf size: 25

DSolve[x D[y[x],x]+2+(3-x)y[x]==0,y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to \frac {2 x^2+4 x+c_1 e^x+4}{x^3} \]