71.6.13 problem 13

Internal problem ID [14419]
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
Date solved : Tuesday, January 28, 2025 at 06:30:23 AM
CAS classification : [_linear]

\begin{align*} y^{\prime }&=\frac {1-y x}{x^{2}} \end{align*}

Solution by Maple

Time used: 0.001 (sec). Leaf size: 12

dsolve(diff(y(x),x)=(1-x*y(x))/x^2,y(x), singsol=all)
 
\[ y = \frac {\ln \left (x \right )+c_{1}}{x} \]

Solution by Mathematica

Time used: 0.033 (sec). Leaf size: 14

DSolve[D[y[x],x]==(1-x*y[x])/x^2,y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to \frac {\log (x)+c_1}{x} \]