Internal problem ID [2891]
Book: Ordinary differential equations and their solutions. By George Moseley Murphy.
1960
Section: Various 5
Problem number: 143.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_linear]
Solve \begin {gather*} \boxed {y^{\prime } x +x +y=0} \end {gather*}
✓ Solution by Maple
Time used: 0.001 (sec). Leaf size: 13
dsolve(x*diff(y(x),x)+x+y(x) = 0,y(x), singsol=all)
\[ y \relax (x ) = -\frac {x}{2}+\frac {c_{1}}{x} \]
✓ Solution by Mathematica
Time used: 0.024 (sec). Leaf size: 17
DSolve[x y'[x]+x + y[x]==0,y[x],x,IncludeSingularSolutions -> True]
\begin{align*} y(x)\to -\frac {x}{2}+\frac {c_1}{x} \\ \end{align*}