ExamBro
ExamBro
MHT CET · Maths · Differential Equations

The general solution of the differential equation \(\frac{\mathrm{d} y}{\mathrm{~d} x}=1-x+y-x y\) is (where \(C\) is a constant of integration)

  1. A \(\log (1+y)=x+\frac{x^2}{2}+C\)
  2. B \(\log (1-x)=\log (1+y)+y+C\)
  3. C \(\log (1+y)=y-\frac{x^2}{2}+C\)
  4. D \(\log (1+y)=x-\frac{x^2}{2}+C\)
Verified Solution

Answer & Solution

Correct Answer

(D) \(\log (1+y)=x-\frac{x^2}{2}+C\)

Step-by-step Solution

Detailed explanation

\(\begin{aligned} & \frac{\mathrm{d} y}{\mathrm{~d} x}=1-x+y-x y=(1-x)(1+y) \\ & \Rightarrow \int \frac{\mathrm{d} y}{1+y}=\int(1-x) \mathrm{d} x \\ & \Rightarrow \log (1+y)=x-\frac{x^2}{2}+C\end{aligned}\)