3.20 problem 25 (e)

Internal problem ID [5281]

Book: Schaums Outline. Theory and problems of Differential Equations, 1st edition. Frank Ayres. McGraw Hill 1952
Section: Chapter 5. Equations of first order and first degree (Exact equations). Supplemetary problems. Page 33
Problem number: 25 (e).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

\[ \boxed {-y^{\prime } x +y=\ln \left (x \right )} \]

Solution by Maple

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

dsolve((y(x)-ln(x))-x*diff(y(x),x)=0,y(x), singsol=all)
 

\[ y = c_{1} x +\ln \left (x \right )+1 \]

Solution by Mathematica

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

DSolve[(y[x]-Log[x])-x*y'[x]==0,y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to \log (x)+c_1 x+1 \]