Integrate the rational functions.


Let

x = A(x + 2) + B(x +1)


On comparing the coefficients of x and constant term, we get,


A + B = 1


2A + B = 0


On solving above two equations, we get,


A = -1 and B = 2


Thus,




= -log|X + 1| + 2log|x + 2| + C


= log (x+2)2 – log |x + 1| + C



1
1