How do you solve this question?
Evaluate: $\int \frac{x+1}{(x^2+2)^2}\, dx$ by choosing an appropriate contour in the upper half plane
How would the answer change if this question was evaluated with the lower half plane instead of the upper half.
And how do you give an alternative method for deducing the behaviour of the integral as the contour tends to infinity.