Evaluate: $$\int_{-\infty}^{\infty}\frac{\cos x}{1+x^6}$$
I have found many examples on similar questions with -- $1+x^2$ -- in the denominator but I am not sure how the higher power would affect the solution. Any help or solution would be much appreciated
You proceed as in the case with $1+x^2$ in the denominator. Define $$ f(z)=\frac{e^{iz}}{1+z^6} $$ and integrate along a semicircle of radius $R$ on the upper half-plane, use the residue theorem, and let $R\to\infty$. The poles go $f$ are the solutions of the equation $1+z^6=0$.