If \(\int\displaystyle\frac{dx}{(x+1)(x+2)}=\int\displaystyle\frac{A}{x+1}\,dx+\int\displaystyle\frac{B}{x+2}\,dx\), then \(A+B=\)
Answer & explanation
Correct answer: option 3
The correct answer is Option (3) → 0
The integrands must be equal, which is the partial fraction split:
\( \displaystyle \frac{1}{(x+1)(x+2)} = \frac{A}{x+1}+\frac{B}{x+2} \)
Multiplying by \((x+1)(x+2)\):
\(1 = A(x+2)+B(x+1)\)
Putting x = −1:
\(1 = A(1)\), so \(A = 1\)
Putting x = −2:
\(1 = B(-1)\), so \(B = -1\)
\(A+B = 1+(-1) = 0\)
NCERT (2026-27 edition):
Integration by Partial Fractions
