ExamBro
ExamBro
MHT CET · Maths · Differential Equations

The solution of the differential equation. \((1+x) \frac{\mathrm{dy}}{\mathrm{d} x}-x \mathrm{y}=1-x\) is

  1. A \(\mathrm{y}(1+x)=x+\mathrm{ce}^x\), where c is the constant of integration
  2. B \(\mathrm{y}(1+x)=\mathrm{ce}^x\), where c is the constant of integration
  3. C \(\mathrm{y}(1-x)=x-\mathrm{ce}^x\), where c is the constant of integration
  4. D \(\mathrm{y}(1+x)=x~ \mathrm{ce}^{-x}\), where c is the constant of integration
Verified Solution

Answer & Solution

Correct Answer

(A) \(\mathrm{y}(1+x)=x+\mathrm{ce}^x\), where c is the constant of integration

Step-by-step Solution

Detailed explanation

\(\frac{\mathrm{dy}}{\mathrm{d} x} - \frac{x}{1+x} \mathrm{y} = \frac{1-x}{1+x}\) IF \( = e^{\int -\frac{x}{1+x} \mathrm{d} x} = e^{\int (-1 + \frac{1}{1+x}) \mathrm{d} x} = e^{-x + \ln|1+x|} = (1+x)e^{-x}\)