82.6.1 problem Ex. 1

Internal problem ID [18742]
Book : Introductory Course On Differential Equations by Daniel A Murray. Longmans Green and Co. NY. 1924
Section : Chapter II. Equations of the first order and of the first degree. Exercises at page 22
Problem number : Ex. 1
Date solved : Tuesday, January 28, 2025 at 12:14:05 PM
CAS classification : [_linear]

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

Solution by Maple

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

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

Solution by Mathematica

Time used: 0.029 (sec). Leaf size: 15

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