When I first encountered the integral $\displaystyle \int_{0}^{\infty} \frac{1}{x^{4}-x^{2}+1} d x$, I am very reluctant to solve it by partial fractions and search for any easier methods. Then I learnt a very useful trick to evaluate the integral.
Noting that $$I(1):= \int_{0}^{\infty} \frac{d x}{x^{4}-x^{2}+1} \stackrel{x \mapsto \frac{1}{x}}{=} \int_{0}^{\infty} \frac{x^{2}}{x^{4}-x^{2}+1} $$
Combining them yields
\begin{aligned} I(1)&=\frac{1}{2} \int_{0}^{\infty} \frac{x^{2}+1}{x^{4}-x^{2}+1} d x\\&= \frac{1}{2}\int_{0}^{\infty} \frac{1+\frac{1}{x^{2}}}{x^{2}+\frac{1}{x^{2}}-1} d x \\ &= \frac{1}{2}\int_{0}^{\infty} \frac{d\left(x-\frac{1}{x}\right)}{\left(x-\frac{1}{x}\right)^{2}+1} \\ &= \frac{1}{2}\tan ^{-1}\left(x-\frac{1}{x}\right)_{0}^{\infty} \\ &= \frac{\pi}{2} \end{aligned}
Later, I started to investigate the integrands with higher powers.
Similarly, $$ I(2):= \int_{0}^{\infty} \frac{d x}{\left(x^{4}-x^{2}+1\right)^{2}} \stackrel{x \mapsto \frac{1}{x}}{=}\int_{0}^{\infty} \frac{x^{6}}{\left(x^{4}-x^{2}+1\right)^{2}} d x $$
By division, we decomposed $x^6$ and obtain $$ \frac{x^{6}}{\left(x^{4}-x^{2}+1\right)^{2}}=\frac{x^{2}+1}{x^{4}-x^{2}+1}-\frac{1}{\left(x^{4}-x^{2}+1\right)^{2}} $$$$ I(2)=\int_{0}^{\infty} \frac{x^{2}+1}{x^{4}-x^{2}+1} d x-\int_{0}^{\infty} \frac{1}{\left(x^{4}-x^{2}+1\right)^{2}}dx $$ We can now conclude that $$I(2)=I(1)=\frac{\pi}{2} $$
My Question:
How about the integral $$\displaystyle I_{n}=\int_{0}^{\infty} \frac{d x}{\left(x^{4}-x^{2}+1\right)^{n}}$$ for any integer $n\geq 3$?
In order to tackle the general integral, I define a more general integral
$$ I_{n}(a):=\int_{0}^{\infty} \frac{1}{\left(x^{4}-a x^{2}+1\right)^{n}} d x. $$ where $a<2.$
I am attempting to create a “Reduction Formula” for $I_{n}(a)$.
Differentiating $I_{n}(a)$ twice w.r.t. $a$ yields $$ \int_{0}^{\infty} \frac{x^{4}}{\left(x^{4}-a x^{2}+1\right)^{n+2}} d x=\frac{1}{n(n+1)} I_{n}^{\prime \prime}(a) \tag*{(1)} $$
Differentiating $I_{n+1}(a)$ w.r.t. $a$ yields $$ \int_{0}^{\infty} \frac{x^{2}}{\left(x^{4}-a x^{2}+1\right)^{n+2}} d x=\frac{1}{n+1} I_{n+1}^{\prime}(a) \tag*{(2)} $$
(1)-$a \times $(2) yields
$$ \begin{aligned} \\ \int_{0}^{\infty} \frac{x^{4}-a x^{2}+1-1}{\left(x^{4}-a x^{2}+1\right)^{n+2}} d x=\frac{I_{n}^{\prime \prime}(a)}{n(n+1)}-\frac{a I_{n+1}^{\prime}(a)}{n+1} \\ I_{n+1}(a)-I_{n+2}(a)=\frac{I_{n}^{\prime \prime}(a)}{n(n+1)}-\frac{a I_{n+1}^{\prime}(a)}{n+1} \\ \boxed{I_{n+2}(a)=I_{n+1}(a)-\frac{I_{n}^{\prime \prime}(a)}{n(n+1)}+\frac{a I_{n+1}^{\prime}(a)}{n+1}}, \\ \end{aligned} $$ which is the “Reduction Formula” for $I_n(a).$ Now we need two “initial” integrals, $I_1(a)$ and $I_2(a)$ which can be found in my answer in Quora,
$\displaystyle \boxed{I_{1}(a)=\frac{\pi}{2 \sqrt{2-a}} \text { and } I_{1}^{\prime}(a)=\frac{\pi}{4(2-a)^{\frac{3}{2}}}} \tag*{} $
$\boxed{ \displaystyle I_{2}(a)=\frac{\pi(3-a)}{4(2-a)^{\frac{3}{2}}} \text { and } I_{2}^{\prime}(a)=\frac{\pi(5-a)}{8(2-a)^{\frac{5}{2}}}} \tag*{} $
Now we can apply the formula. $$ \begin{aligned} I_{3}(a) &=I_{2}(a)-\frac{I_{1}^{\prime \prime}(a)}{2}+\frac{a I_{2}^{\prime}(a)}{2} \\ &=\frac{\pi(3-a)}{4(2-a)^{\frac{3}{2}}}-\frac{3 \pi}{16(2-a)^{\frac{5}{2}}}+\frac{a \pi(5-a)}{16(2-a)^{\frac{5}{2}}}\\&= \frac{3 \pi\left(a^{2}-5 a+7\right)}{16(2-a)^{\frac{5}{2}}} \end{aligned} $$ $$\boxed{\int_{0}^{\infty} \frac{1}{\left(x^{4}-a x^{2}+1\right)^{3}} d x= \frac{3 \pi\left(a^{2}-5 a+7\right)}{16(2-a)^{\frac{5}{2}}}}\tag*{}$$
In particular, when $a=1$,
$$ \boxed{I_{n+2}(1)=I_{n+1}(1)-\frac{I_{n}^{\prime \prime}(1)}{n(n+1)}+\frac{I_{m+1}^{\prime}(1)}{n+1}} $$
$$ \int_{0}^{\infty} \frac{d x}{\left(x^{4}-x^{2}+1\right)^{3}}=\frac{9 \pi}{16}, $$ $$ \begin{aligned} \int_{0}^{\infty} \frac{d x}{\left(x^{4}-x^{2}+1\right)^{4}} &=I_{3}(1)-\frac{I_{2}^{\prime \prime}(1)}{6}+\frac{I_{3}^{\prime}(1)}{3} =\frac{9 \pi}{16}-\frac{9 \pi}{48}+\frac{9 \pi}{32} =\frac{21 \pi}{32} \end{aligned} $$
By the way, I had also found 8 other integrals. $ \begin{aligned}&\int_{0}^{\infty} \frac{d x}{x^{4}+x^{2}+1}=I_{1}(-1)=\frac{\pi}{2 \sqrt{3}} \\&\int_{0}^{\infty} \frac{d x}{x^{4}-x^{2}+1}=I_{1}(1)=\frac{\pi}{2} \\&\int_{0}^{\infty} \frac{d x}{\left(x^{4}+x^{2}+1\right)^{2}}=I_{2}(-1)=\frac{\pi}{3 \sqrt{3}} \\&\int_{0}^{\infty} \frac{d x}{\left(x^{4}-x^{2}+1\right)^{2}}=I_{2}(1)=\frac{\pi}{2} \\&\int_{0}^{\infty} \frac{d x}{\left(x^{4}+x^{2}+1\right)^{3}}=I_{3}(-1)=\frac{13}{48 \sqrt{3}} \\&\int_{0}^{\infty} \frac{d x}{x^{4}+1}=I_{1}(0)=\frac{\pi}{2 \sqrt{2}} \\&\int_{0}^{\infty} \frac{d x}{\left(x^{4}+1\right)^{2}}=I_{2}(0)=\frac{3 \pi}{8 \sqrt{2}} \\&\int_{0}^{\infty} \frac{d x}{\left(x^{4}+1\right)^{3}}=I_{3}(0)=\frac{21\pi}{64 \sqrt{2}}\end{aligned} \tag*{} $
Theoretically, I can find the exact values of the integrals one by one. But is there any hope to find the closed forms of $I(a)$ using the formula? Your help is highly appreciated.