71.1.7 problem 21

Internal problem ID [14316]
Book : Ordinary Differential Equations by Charles E. Roberts, Jr. CRC Press. 2010
Section : Chapter 1. Introduction. Exercises page 14
Problem number : 21
Date solved : Tuesday, January 28, 2025 at 06:26:25 AM
CAS classification : [_linear]

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

Solution by Maple

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

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

Solution by Mathematica

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

DSolve[D[y[x],x]-y[x]/x==1,y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to x (\log (x)+c_1) \]