I am solving the following integral: $$\int_0^\infty \frac{x}{1+x^3}dx$$ I need to solve it using integration and residue theorems. I tried to convert it to complex function, for example $\frac{z}{1+z^3}$, but it is not even, so it is difficult to find the curve for integration.
Any hints are welcome!
Thank you!
Consider the contour integral
$$\oint_C dz \frac{z \log{z}}{1+z^3} $$
where $C$ is a keyhole contour about the positive real axis.
(This works for nonsymmetric functions over $[0,\infty)$.)
Then, by letting the outer radius go to $\infty$ and the inner radius go to zero, you will find that, because of the multivalued behavior of the log,
$$-i 2 \pi \int_0^{\infty} dx \frac{x}{1+x^3} = i 2 \pi \sum_k \operatorname*{Res}_{z=z_k} \frac{z \log{z}}{1+z^3} $$
where $z_k$ are the poles of the integrand, i.e., $z=e^{i (2 k+1) \pi/3}$ for $k \in \{0,1,2\}$.
One thing to keep in mind is that, because of the way the contour is defined, $\arg{z} \in [0,2 \pi]$, so that when evaluating the $\log{z_k}$, you need to make sure the values fall in that range.