Homework StatementNeed to evaluate int(-inf,inf)(x/(x^3+1)).
The Attempt at a SolutionI don't believe finding the residues will be a problem. However, the integral is over the whole real line, and there is a singularity at -1 on the real line, so I'm not sure how to draw an appropriate contour to integrate around. Am I supposed to integrate over a keyhole contour avoiding the singularity at -1 from the right and then from the left? Any help / advice will be much appreciated.