Integrate the rational functions.
Let
⇒ 2x = A(x + 2)+ B(x + 1) …(1)
Substituting x = -1 and -2 respectively in equation (1), we get,
A = -2, B = 4
Thus,
= 4log|x + 2| -2log|x + 1| + C