2.14 problem 14

Internal problem ID [2063]

Book: Differential equations and linear algebra, Stephen W. Goode, second edition, 2000
Section: 1.6, page 50
Problem number: 14.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_quadrature]

Solve \begin {gather*} \boxed {y^{\prime }+\frac {m}{x}-\ln \relax (x )=0} \end {gather*}

Solution by Maple

Time used: 0.0 (sec). Leaf size: 18

dsolve(diff(y(x),x)+m/x=ln(x),y(x), singsol=all)
 

\[ y \relax (x ) = x \ln \relax (x )-x -m \ln \relax (x )+c_{1} \]

Solution by Mathematica

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

DSolve[y'[x]+m/x==Log[x],y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to (x-m) \log (x)-x+c_1 \\ \end{align*}