I'm having trouble trying to evaluate this definite integral. Mathematica didn't help much.
$$\int_{-\infty}^\infty \frac{x^2 \, dx}{x^4+2a^2x^2+b^4}$$ where $a$, $b$ $\in \Bbb R^+$.
Is it possible to solve it analytically? What methods should I try?
Let we set $\lambda=\frac{b}{a}$ . We want: $$ I(a,b)=\int_{-\infty}^{+\infty}\frac{x^2\,dx}{(x^2+a^2)^2+(b^4-a^4)} = \frac{1}{a}\int_{-\infty}^{+\infty}\frac{x^2\,dx}{(x^2+1)^2+(\lambda^4-1)}$$ and assuming that $\zeta_1(\lambda),\zeta_2(\lambda)$ are the roots of $(x^2+1)^2=1-\lambda^4$ in the upper half-plane, the residue theorem gives: $$ I(a,b)=\frac{2\pi i}{a}\sum_{j=1}^{2}\text{Res}\left(\frac{x^2}{(x^2+1)^2+(\lambda^4-1)},x=\zeta_j\right)$$ that by De l'Hopital theorem simplifies to: $$ I(a,b)=\frac{\pi i}{2a}\sum_{j=1}^{2}\frac{\zeta_j}{1+\zeta_j^2}$$ where $1+\zeta_j^2$ is either $\sqrt{\lambda^4-1}$ or $-\sqrt{\lambda^4-1}$, $\zeta_1+\zeta_2+\overline{\zeta}_1+\overline{\zeta}_2=0$ by Viète's theorem and $\zeta_1-\zeta_2$ is deeply related with the discriminant of $(x^2+1)^2+(\lambda^4-1)$. Can you finish from here? I am getting: