\(\int\displaystyle\frac{x}{x^2+x-12}\,dx\) is equal to
Answer & explanation
Correct answer: option 1
The correct answer is Option (1) → \(\displaystyle\frac{3}{7}\log|x-3|+\frac{4}{7}\log|x+4|+C\)
The denominator factorises: \(x^2+x-12 = (x-3)(x+4)\). By partial fractions, let
\( \displaystyle \frac{x}{(x-3)(x+4)} = \frac{A}{x-3}+\frac{B}{x+4} \)
\(x = A(x+4)+B(x-3)\)
Putting x = 3 and x = −4:
\( \displaystyle 3 = 7A, \quad A = \frac{3}{7} \)
\( \displaystyle -4 = -7B, \quad B = \frac{4}{7} \)
Integrating each fraction:
\( \displaystyle \int\frac{x}{x^2+x-12}\,dx = \frac{3}{7}\int\frac{dx}{x-3}+\frac{4}{7}\int\frac{dx}{x+4} \)
\( \displaystyle = \frac{3}{7}\log|x-3|+\frac{4}{7}\log|x+4|+C \)