\(\displaystyle\int \frac{4x + 1}{x^2 - x - 2}\,dx\) is equal to (where C is an arbitrary constant)
Answer & explanation
Correct answer: option 1
The correct answer is Option (1) → \(3\log|x - 2| + \log|x + 1| + C\)
The denominator factorises as \(x^2 - x - 2 = (x - 2)(x + 1)\). By partial fractions, let
\( \displaystyle \frac{4x + 1}{(x - 2)(x + 1)} = \frac{A}{x - 2} + \frac{B}{x + 1} \)
So \(4x + 1 = A(x + 1) + B(x - 2)\).
Putting x = 2:
\(9 = 3A\), so A = 3
Putting x = −1:
\(-3 = -3B\), so B = 1
Hence
\( \displaystyle \int \frac{4x + 1}{x^2 - x - 2}\,dx = \int \frac{3}{x - 2}\,dx + \int \frac{1}{x + 1}\,dx \)
\( = 3\log|x - 2| + \log|x + 1| + C \)
Why the other options are incorrect
Option (2) \(\log|x - 2| + 3\log|x + 1| + C\) — Incorrect. The two constants are swapped: the coefficient 3 belongs to \(\frac{1}{x - 2}\).
Option (3) \(3\log|x + 2| + \log|x - 1| + C\) — Incorrect. This uses the factors \((x + 2)(x - 1) = x^2 + x - 2\), which is not the given denominator.
Option (4) \(2\log|x^2 - x - 2| + C\) — Incorrect. Its derivative is \(\frac{2(2x - 1)}{x^2 - x - 2} = \frac{4x - 2}{x^2 - x - 2}\); the numerator 4x + 1 is not a multiple of the derivative 2x − 1 of the denominator.