I=∫x2(x2+4)(x2+9)dx
⇒∫x2(x2+4)(x2+9)=Ax+Bx2+4+Cx+Dx2+9
=(x2+4)(Cx+D)+(x2+9)(Ax+B)(x2+4)(x2+9)
Denominators are equal, so we require equality of numerators:
x2=x3(A+C)+x2(B+D)+x(9A+4C)+9B+4D
Coefficients near like terms should be equal, so the following system is obtained:
A+C=0,B+D=1,9A+4C=0,9B+4D=0
By solving it, we get that
A=0,B=−45,C=0,D=95
Therefore, I=−45(x2+4)+95(x2+9)dx
Integrate term by term,
=−45∫1x2+4dx+95∫1x2+9
We know that ∫1x2+1dx=tan−1x
So, I=−45.12tan−1x2+95.13tan−1x3+C
I=35tan−1(x3)−25tan−1(x2)+C