If $x\frac{dy}{dx}=y(\log y-\log x+1)$, then the solution of the equation is
- (1)
$y\log\left(\frac{x}{y}\right)=cx$
- (2)
$x\log\left(\frac{y}{x}\right)=cy$
- (3)
$\log\left(\frac{y}{x}\right)=cx$
- (4)
$\log\left(\frac{x}{y}\right)=cy$
Show answer
Option (3) is correct.
Key from source paper