If \(\int\displaystyle \frac{\left(x^2+1\right)\left(x^2+2\right)}{\left(x^2+3\right)\left(x^2+4\right)}\,dx=ax+b\tan^{-1}\left(\frac{x}{\sqrt{3}}\right)+c\tan^{-1}\left(\frac{x}{2}\right)+d\) (Where d is a constant of integration) then \(\displaystyle\frac{a+c}{b}\) is equal to
Answer & explanation
Correct answer: option 1
The correct answer is Option (1) → \(-\sqrt{3}\)
The integrand contains x only through \(x^2\). Let \(z = x^2\) for the partial fractions only. Numerator and denominator have the same degree, so
\( \displaystyle \frac{(z+1)(z+2)}{(z+3)(z+4)} = 1 + \frac{A}{z+3} + \frac{B}{z+4} \)
\( (z+1)(z+2) = (z+3)(z+4) + A(z+4) + B(z+3) \)
Putting z = −3 and z = −4:
\( (-2)(-1) = A(1),\quad A = 2 \)
\( (-3)(-2) = B(-1),\quad B = -6 \)
So
\( \displaystyle \frac{(x^2+1)(x^2+2)}{(x^2+3)(x^2+4)} = 1 + \frac{2}{x^2+3} - \frac{6}{x^2+4} \)
Using the standard integral \(\int\frac{dx}{x^2+k^2} = \frac{1}{k}\tan^{-1}\frac{x}{k}\) with \(k = \sqrt{3}\) and k = 2:
\( \displaystyle \int = x + \frac{2}{\sqrt{3}}\tan^{-1}\left(\frac{x}{\sqrt{3}}\right) - \frac{6}{2}\tan^{-1}\left(\frac{x}{2}\right) + d \)
Comparing:
\( \displaystyle a = 1,\quad b = \frac{2}{\sqrt{3}},\quad c = -3 \)
\( \displaystyle \frac{a+c}{b} = \frac{-2}{\frac{2}{\sqrt{3}}} = -\sqrt{3} \)