Calculate $\displaystyle\int_0^\infty \frac{x^2}{1+x^7} \, dx$
This showed up on a complex analysis qualification exam. First, I will write
$$\displaystyle\int_0^\infty \frac{x^2}{1+x^7} \, dx = \lim_{R \to \infty} \int_0^R \frac{x^2}{1+x^7} \, dx $$
Now, if $\frac{x^2}{1+x^7}$ were even, I would write the above as half of the integral from $-R$ to $R$ and then create a semicircular arc $C_R$, use Jordan's lemma to show that it vanishes, and then get the result. But $\frac{x^2}{1+x^7}$ is not even (nor odd). What can be done here to sidestep this issue? (I'm open to the use of monotone/dominated/bounded convergence theorems as well if that's easier)