Internal problem ID [11135]
Book: An elementary treatise on differential equations by Abraham Cohen. DC heath publishers.
1906
Section: Chapter 2, differential equations of the first order and the first degree. Article 8. Exact
differential equations. Page 11
Problem number: Ex 4.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_linear]
\[ \boxed {y^{\prime } x +y=-x} \]
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 13
dsolve((y(x)+x)+ x*diff(y(x),x)=0,y(x), singsol=all)
\[ y \left (x \right ) = -\frac {x}{2}+\frac {c_{1}}{x} \]
✓ Solution by Mathematica
Time used: 0.038 (sec). Leaf size: 17
DSolve[(y[x]+x)+ x*y'[x]==0,y[x],x,IncludeSingularSolutions -> True]
\[ y(x)\to -\frac {x}{2}+\frac {c_1}{x} \]