ExamBro
ExamBro
MHT CET · Maths · Differential Equations

The solution of \((1+x y) y \mathrm{~d} x+(1-x y) x \mathrm{~d} y=0\) is.

  1. A \(\log \left(\frac{x}{y}\right)+\frac{1}{x y}=\mathrm{k}\), where \(\mathrm{k}\) is constant of integration.
  2. B \(\log \left(\frac{x}{y}\right)=\frac{1}{x y}+\mathrm{k}\), where \(\mathrm{k}\) is constant of integration.
  3. C \(\log \left(\frac{x}{y}\right)+x y=\mathrm{k}\), where \(\mathrm{k}\) is constant of integration.
  4. D \(\log \left(\frac{x}{y}\right)=x y+\mathrm{k}\), where \(\mathrm{k}\) is constant of integration.
Verified Solution

Answer & Solution

Correct Answer

(B) \(\log \left(\frac{x}{y}\right)=\frac{1}{x y}+\mathrm{k}\), where \(\mathrm{k}\) is constant of integration.

Step-by-step Solution

Detailed explanation

\((1+x y) y \mathrm{~d} x+(1-x y) x \mathrm{~d} y=0\)
\(\Rightarrow y \mathrm{~d} x+x \mathrm{~d} y+x y^2 \mathrm{~d} x-x^2 y \mathrm{~d} y=0\)
\(\Rightarrow \frac{y \mathrm{~d} x+x \mathrm{~d} y}{x^2 y^2}+\frac{\mathrm{d} x}{x}-\frac{\mathrm{d} y}{y}=0\)
\(\Rightarrow \frac{\mathrm{d}(x y)}{x^2 y^2}+\frac{\mathrm{d} x}{x}-\frac{\mathrm{d} y}{y}=0\)
Integrating on both sides, we get
\(-\frac{1}{x y}+\log x-\log y=\mathrm{k}\)
\(\Rightarrow \log \left(\frac{x}{y}\right)=\frac{1}{x y}+\mathrm{k}\)