How should I start?
Thank you. I get it now. The contour integral over which does not enclose a pole will be 0 according to Cauchy integral theorem (Cauchy Integral Formula -- from Wolfram MathWorld). Hence the countour integral over is equal to the countour integral of the semicircle in red ( and ). Then we can use either the Cauchy integral formula or the Residue formulas to calculate the semicircle countour integral. The Residue formula could be more convenient sometimes as we won't have to do partial fractions/complete square that we sometimes need to do when using Cauchy integral formula approach.
Thanks very much for helping me. (I didn't realize this is a complex integration and was trying to solve it as a real integral lol.)
... where the are the residues of the poles of f(z) inside . In Your case the only pole of f(z) inside is at z=j [see figure]...
... and the residue is...
If R tends to infinity the integral along the 'bif half circle' tends to 0 so that the result is...
Thanks for writing out the solutions. I calculated without changing the sign in the beginning, i.e. I evaluated the LHS of below equation that you wrote.
The solution I got for the last step is instead of .
Why does equation (1) hold? How can the LHS and RHS yield different results if they are equal?