Question:

The integrating factor of the differential equation

\[\frac{dx}{dy} = \frac{-(1+\sin x)}{x + y\cos x}\]

is :

Show Hint

Write the equation as dy/dx + Py = Q with P = cos x/(1 + sin x). Then the integrating factor is e to the power of the integral of P.
Updated On: Nov 20, 2026
  • \(\log \cos x\)
  • \(1 + \sin x\)
  • \(e^{(1+\sin x)}\)
  • \(e^{\log \cos x}\)
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

Step 1: Understand the question:
The equation is given as \(\dfrac{dx}{dy}\) in terms of both \(x\) and \(y\).
We must first put it in the linear form, then find the integrating factor (I.F.).

Step 2: Take the reciprocal:
Invert both sides to get \(\dfrac{dy}{dx}\).
\[ \frac{dy}{dx} = -\frac{x + y\cos x}{1 + \sin x} \]

Step 3: Bring it to the linear form:
Multiply by \(1 + \sin x\) and move the \(y\) term to the left, then divide by \(1+\sin x\).
\[ \frac{dy}{dx} + \frac{\cos x}{1 + \sin x}\,y = \frac{-x}{1 + \sin x} \]
This has the form \(\dfrac{dy}{dx} + Py = Q\) with \(P = \dfrac{\cos x}{1+\sin x}\).

Step 4: Find the integrating factor:
The I.F. is \(e^{\int P\,dx}\). Here the numerator is the derivative of the denominator.
\[ \int \frac{\cos x}{1+\sin x}\,dx = \log|1+\sin x| = \log(1+\sin x) \]
Since \(1 + \sin x \ge 0\), the modulus is not needed.
\[ \text{I.F.} = e^{\log(1+\sin x)} = 1 + \sin x \]

Step 5: Check the options:
Option (A) \(\log\cos x\) and option (C) \(e^{1+\sin x}\) are not equal to \(1+\sin x\).
Option (D) \(e^{\log\cos x} = \cos x\), which is also not \(1+\sin x\).
Only option (B) matches.

Final Answer:
The integrating factor is \(1 + \sin x\), option (B). \[ \boxed{1 + \sin x} \]
Was this answer helpful?
0
0