Residue theorem to solve improper integrals

965 Views Asked by At

enter image description here

This is an example of using the residue theorem to solve improper integrals. My question is how the πi term came about, because my understanding is $\int_{C{_R}}1/z dz=2 πi$ and not πi. Sorry I must be missing something simple here

2

There are 2 best solutions below

5
On

$\Gamma_R$ is surely a semi-circle, so we just pick up $i\pi$.

3
On

Note that

$$\begin{align} \int_{\Gamma_R}\frac1z\,dz&=\int_0^\pi \frac{1}{Re^{i\phi}}\,iRe^{i\phi}\,d\phi\\\\ &=\pi i \end{align}$$