19.2.14 problem 14

Internal problem ID [3543]
Book : Differential equations and linear algebra, Stephen W. Goode, second edition, 2000
Section : 1.6, page 50
Problem number : 14
Date solved : Monday, January 27, 2025 at 07:41:14 AM
CAS classification : [_quadrature]

\begin{align*} y^{\prime }+\frac {m}{x}&=\ln \left (x \right ) \end{align*}

Solution by Maple

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

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

Solution by Mathematica

Time used: 0.004 (sec). Leaf size: 19

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