4.5.20 \(x y'(x)+y(x) (-\log (y(x))-\log (x)+1)=0\)

ODE
\[ x y'(x)+y(x) (-\log (y(x))-\log (x)+1)=0 \] ODE Classification

[[_homogeneous, `class G`]]

Book solution method
Change of Variable, new dependent variable

Mathematica
cpu = 0.288375 (sec), leaf count = 19

\[\left \{\left \{y(x)\to \frac {e^{e^{-c_1} x}}{x}\right \}\right \}\]

Maple
cpu = 0.041 (sec), leaf count = 12

\[\left [y \left (x \right ) = \frac {{\mathrm e}^{x \textit {\_C1}}}{x}\right ]\] Mathematica raw input

DSolve[(1 - Log[x] - Log[y[x]])*y[x] + x*y'[x] == 0,y[x],x]

Mathematica raw output

{{y[x] -> E^(x/E^C[1])/x}}

Maple raw input

dsolve(x*diff(y(x),x)+(1-ln(x)-ln(y(x)))*y(x) = 0, y(x))

Maple raw output

[y(x) = exp(x*_C1)/x]