Question:

If \(\int \frac{1}{1-\cot x} d x=A x+B \log |\sin x-\cos x|+c\) then \(A+B=\ldots \ldots\)

Show Hint

Convert to sine and cosine and write the numerator in terms of the denominator and its derivative.
Updated On: Nov 19, 2026
  • 1
  • \(-\)1
  • 0
  • \(-\)2
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is A

Solution and Explanation

Step 1: Understanding the Concept
\(\frac{1}{1-\cot x}=\frac{\sin x}{\sin x-\cos x}\).

Step 2: Split the numerator
\(\sin x=\frac{1}{2}\left[(\sin x-\cos x)+(\sin x+\cos x)\right]\).

Step 3: Integrate
\(\int\frac{\sin x}{\sin x-\cos x}dx=\frac{1}{2}\int dx+\frac{1}{2}\int\frac{\sin x+\cos x}{\sin x-\cos x}dx\). The numerator of the second integral is the derivative of the denominator.

Step 4: Calculation
\(=\frac{x}{2}+\frac{1}{2}\log|\sin x-\cos x|+c\). So \(A=\frac{1}{2}\) and \(B=\frac{1}{2}\), giving \(A+B=1\).

Final Answer:
A plus B equals 1. \[ \boxed{\text{(A) }1} \]
Was this answer helpful?
0
0