Internal problem ID [12363]
Book: Ordinary Differential Equations by Charles E. Roberts, Jr. CRC Press. 2010
Section: Chapter 2. The Initial Value Problem. Exercises 2.3.2, page 63
Problem number: 13.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_linear]
\[ \boxed {y^{\prime }-\frac {1-y x}{x^{2}}=0} \]
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 12
dsolve(diff(y(x),x)=(1-x*y(x))/x^2,y(x), singsol=all)
\[ y \left (x \right ) = \frac {\ln \left (x \right )+c_{1}}{x} \]
✓ Solution by Mathematica
Time used: 0.039 (sec). Leaf size: 14
DSolve[y'[x]==(1-x*y[x])/x^2,y[x],x,IncludeSingularSolutions -> True]
\[ y(x)\to \frac {\log (x)+c_1}{x} \]