It's a very simple problem. I put it into wolfram alpha and it gave me a hugely complicated answer. This makes me think that I am supposed to be doing it differently.
I believe I am supposed to use the residue theorem for this answer but have no idea how. $$\int_{0}^{\infty}\frac{x^2}{x^4+16}dx = 2\pi i \sum_{n=0}^{\infty} Res\big(\frac{x^2}{x^4+16}\big)$$ I have no idea what Res() is or how to use this in any way.
Any and all help is appreciated, thank you.
Sorry, I typed the equation in wrong, I just corrected it from $\frac{x^4}{x^2+16}$ to $\frac{x^2}{x^4+16}$
With substitution $x^2=4\tan u$ then \begin{align} \int_0^\infty\dfrac{x^2}{x^4+16}\ dx &= \dfrac14\int_0^{\pi/2}\sqrt{\tan u} \ du \\ &= \dfrac14\int_0^{\pi/2}\sin^{2(\frac34)-1}u \cos^{2(\frac14)-1}u\ du \\ &= \dfrac18\beta(\dfrac34,\dfrac14) \\ &= \dfrac18\Gamma(\dfrac34)\Gamma(\dfrac14) \\ &= \color{blue}{\dfrac{\pi}{4\sqrt{2}}} \end{align} here $\beta(x,y)$ is Beta function and $$\Gamma(1+x)\Gamma(1-x)=\dfrac{\pi x}{\sin\pi x}$$