The value of \(\int\displaystyle\frac{\cos x\,dx}{(1+\sin x)(2+\sin x)}\) is:
Answer & explanation
Correct answer: option 4
The correct answer is Option (4) → \(\log\left|\displaystyle\frac{1+\sin x}{2+\sin x}\right|+C\), where C is a constant
The numerator is the derivative of sin x, so the substitution \(t = \sin x\), \(dt = \cos x\,dx\) gives
\( \displaystyle I = \int\frac{dt}{(1+t)(2+t)} \)
By partial fractions:
\( \displaystyle \frac{1}{(1+t)(2+t)} = \frac{1}{1+t} - \frac{1}{2+t} \)
(check: \((2+t) - (1+t) = 1\)). Integrating:
\( I = \log|1+t| - \log|2+t| + C \)
\( \displaystyle = \log\left|\frac{1+t}{2+t}\right| + C \)
Putting back \(t = \sin x\):
\( \displaystyle I = \log\left|\frac{1+\sin x}{2+\sin x}\right| + C \)
Why the other options are incorrect
Option (1) \(\log\left|\displaystyle\frac{1}{(1+\sin x)(2+\sin x)}\right|+C\), where C is a constant — Incorrect. This equals \(-\log|1+\sin x| - \log|2+\sin x|\): both logarithms carry a minus sign, but the partial fractions give \(+\log|1+\sin x|\).
Option (2) \(\log\left|\displaystyle\frac{2+\cos x}{1+\cos x}\right|+C\), where C is a constant — Incorrect. The substitution is t = sin x, so the answer contains sin x, not cos x; the derivative of this option has sin x in its numerator.
Option (3) \(\log\left|\displaystyle\frac{2+\sin x}{1+\sin x}\right|+C\), where C is a constant — Incorrect. This is the correct fraction turned upside down, which is the negative of the answer, so its derivative is the negative of the integrand.