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.)
The formula I spoke about gives the integral of an f(z) along a closed path ...
(1)
... 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...
(2)
If R tends to infinity the integral along the 'bif half circle' tends to 0 so that the result is...
(3)
Kind regards
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?
Because and have the same real part and the inaginary part of Your integral is 0 the substituion is perfectly possible... but why the substitution?... the reason is that using the value of the function on the 'upper big half circle' is and it tends to 0 if R tends to infinity, so that the Jordan's lemma is satisfied...
Kind regards