TITLE: Show that this lengthy integral is equal to $\int_{0}^{\infty}{1\over x^8+x^4+1}\cdot{1\over x^3+1}\mathrm dx={5\pi\over 12\sqrt{3}}$
QUESTION [6 upvotes]: $$\displaystyle\int_{0}^{\infty}{1\over x^8+x^4+1}\cdot{1\over x^3+1}\mathrm dx={5\pi\over 12\sqrt{3}}$$
$x^8+x^4+1=(x^2+x-1)(x^2-x-1)(x^2+x+1)(x^2-x+1)$
$x^3+1=(x+1)(x^2-x+1)$
${A\over x+1}+{Bx+C\over x^2-x+1}={1\over x^3+1}$
${Ax+B\over x^2+x-1}+{Cx+D\over x^2-x-1}+{Ex+F\over x^2+x+1}+{Gx+H\over x^2-x+1}={1\over x^8+x^4+1}$
it would be a nightmare trying to decomposition of fraction.
I would like some help please?

REPLY [6 votes]: If you really love partial fractions you may note that $$I=\int_{0}^{1}\frac{1-x^{3}+x^{6}}{1+x^{4}+x^{8}}\mathrm dx=\frac{1}{4\sqrt{3}}\int_{0}^{1}\frac{1}{x^{2}+\sqrt{3}x+1}\mathrm dx+\frac{1}{4}\int_{0}^{1}\frac{1}{x^{2}+x+1}\mathrm dx
 $$ $$+\frac{3}{4}\int_{0}^{1}\frac{1}{x^{2}-x+1}\mathrm dx-\frac{1}{4\sqrt{3}}\int_{0}^{1}\frac{1}{x^{2}-\sqrt{3}x+1}\mathrm dx
 $$ $$=\frac{1}{2\sqrt{3}}\int_{\sqrt{3}}^{2+\sqrt{3}}\frac{1}{x^{2}+1}\mathrm dx+\frac{1}{2\sqrt{3}}\int_{1/\sqrt{3}}^{\sqrt{3}}\frac{1}{x^{2}+1}\mathrm dx
 $$ $$+\frac{\sqrt{3}}{2}\int_{-1/\sqrt{3}}^{1/\sqrt{3}}\frac{1}{x^{2}+1}\mathrm dx-\frac{1}{2\sqrt{3}}\int_{-\sqrt{3}}^{2-\sqrt{3}}\frac{1}{x^{2}+1}\mathrm dx
 $$ so we have $4$ elementary integrals hence $$I=\color{red}{\frac{5\pi}{12\sqrt{3}}}.$$