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