This problem asks about a few integrals over the open curve $C$, which is the bottom half of a circle centered about the origin with radius $\epsilon\rightarrow 0$.
The first integral was $\int_{\tiny{C}} dz\frac{1}{z}$, which I found to be $\pi\,i$ since it should be 1/2 of the same integral if $C$ was a full circle.
The second integral is $\int_{\tiny{C}} dz\frac{1}{z-i}$. I'd like to say this is equal to 0, since the singularity at $i$ is away from $C$, but then again $C$ doesn't enclose anything. Can I do a contour deformation to include $i$? If so, how?
The third integral is $I = \int_{\tiny{C}} dz\frac{1}{z(z-i)}$ Couldn't I just do $I = -\frac{1}{i}\int_{\tiny{C}}dz\frac{1}{z} + \frac{1}{i}\int_{\tiny{C}}dz\frac{1}{z-i}$ and use the answers to the first two integrals?
Thanks a ton.
HINT:
For the integral $\int_C \frac1{z-i}\,dz=\int_{\pi}^{2\pi}\frac1{\epsilon e^{i\phi}-i}\,i\epsilon e^{i\phi}\,d\phi$, what is the length of the contour and what is the maximum of the magnitude of the integrand on $C$ as $\epsilon \to 0$?
SPOILER ALERT: Scroll over the highlighted area to reveal the solution