Question
Mathematics Question on integral
Integrate the rational function: (x+1)(x+2)x
Answer
Let (x+1)2(x+2)x = (x−1)A+(x−1)2B+(x+2)C
x = A(x-1)(x+2)+B(x+2)+C(x-1)2
Substituting x = 1, we obtain
B = 31
Equating the coefficients of x2 and constant term, we obtain
A + C = 0
−2A + 2B + C = 0
On solving, we obtain
A = 92 and C = -92
∴(x+1)2(x+2)x=9(x−1)2+3(x−1)21−9(x+2)2
⇒∫(x+1)2(x+2)xdx=92∫(x−1)1dx+31∫(x−1)21dx−92∫(x+2)1dx
=92log∣x−1∣+31(x−1−1)−92log∣x+2∣+C
=92log∣x+2x−1∣−3(x−1)1+C