Solution
Factorising,
x2−4=(x+2)(x−2)
Let
(x+1)(x+2)(x−2)5x=x+1A+x+2B+x−2C
Multiplying by the denominator,
5x=A(x+2)(x−2)+B(x+1)(x−2)+C(x+1)(x+2)
Putting x=−1,
−5=−3A
Therefore,
A=35
Putting x=−2,
−10=4B
Therefore,
B=−25
Putting x=2,
10=12C
Therefore,
C=65
Hence,
(x+1)(x+2)(x−2)5x=3(x+1)5−2(x+2)5+6(x−2)5
Integrating,
∫(x+1)(x2−4)5xdx=35log∣x+1∣−25log∣x+2∣+65log∣x−2∣+C