Question:

If \(x \frac{\mathrm{~d} y}{\mathrm{~d} x}=y(\log y-\log x+1)\), then general solution of this equation is

Show Hint

Substitute y = vx, separate the variables and integrate.
Updated On: Nov 16, 2026
  • \(\mathrm{log}(\frac{x}{y})=\mathrm{cy}\), where c is a constant of integration.
  • \(\mathrm{log}(\frac{x}{y})=\mathrm{c}x\), where c is a constant of integration.
  • \(\mathrm{log}(\frac{y}{x})=\mathrm{cy}\), where c is a constant of integration.
  • \(\mathrm{log}(\frac{y}{x})=cx\), where \(c\) is a constant of integration.
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is D

Solution and Explanation

Step 1: Understanding the Concept
Rewrite the equation as \(\dfrac{dy}{dx}=\dfrac{y}{x}\left(\log\dfrac yx+1\right)\), which is homogeneous.

Step 2: Substitute
Put \(y=vx\), so \(\dfrac{dy}{dx}=v+x\dfrac{dv}{dx}\).
Then \(v+x\dfrac{dv}{dx}=v(\log v+1)\), so \(x\dfrac{dv}{dx}=v\log v\).

Step 3: Separate and integrate
\(\int\dfrac{dv}{v\log v}=\int\dfrac{dx}{x}\) gives \(\log(\log v)=\log x+\log c\).

Step 4: Result
So \(\log v=cx\), that is \(\log\dfrac yx=cx\), the fourth option.

Final Answer:
The general solution is \(\log\frac yx=cx\). \[ \boxed{\text{(D) }\text{(D) }\log\left(\dfrac{y}{x}\right)=cx} \]
Was this answer helpful?
0
0