I would like some help with the following integral.
I would like to find a contour line to evaluate $$\int_1^\infty \frac {dx}{x^3+1}$$
So one can see that on any circumference it goes to $0$, but how do I connect it to $1$?
I have tried a number of things but without results. Can somebody offer any help?
Since you want to evaluate this integral using contour integration method, although, I am not the expert of this method, I'll try to help you. Let $y=x-1$, then $$I=\int_1^\infty\frac{\mathrm dx}{x^3+1}=\int_0^\infty\frac{\mathrm dy}{(y+2)(y^2+y+1)}$$ Now, we can consider the contour integral \begin{align} \int_\Gamma\underbrace{\frac{\ln z}{(z+2)(z^2+z+1)}}_{f(z)}\frac{\mathrm dz}{2\pi i} =&\int^\infty_0\frac{\ln{x}-(\ln{x}+2\pi i)}{(x+2)(x^2+x+1)}\frac{\mathrm dx}{2\pi i}\\ =&-I\\ =&\color{#E2062C}{{\rm \ Res}\left(f(z),-2\right)}+\color{#00A000}{{\rm Res}\left(f(z),e^{2\pi i/3}\right)}+\color{#21ABCD}{{\rm Res}\left(f(z),e^{\color{red}{4\pi} i\color{red}{/3}}\right)}\\ =&\color{#E2062C}{\frac{1}{3}\ln{2}+\frac{\pi i}{3}}+\color{#00A000}{\frac{\pi}{3\sqrt{3}}-\frac{\pi i}{9}}\color{#21ABCD}{-\frac{2\pi}{3\sqrt{3}}-\frac{2\pi i}{9}}\\ =&-\frac{\pi}{3\sqrt{3}}+\frac{1}{3}\ln{2} \end{align} where $\Gamma$ is a keyhole contour. You may also refer to the following sources $[1]$, $[2]$, $[3]$, and $[4]$ for the rest calculation. I hope this helps.