I am terribly confused by complex integrals involving $|z|$. Please help me. Let's say I want to evaluate $$ \int_{a<|x|
But on $\Gamma$, we have $$ \int_\Gamma {dz \over |z|} = \int_0^\pi {b i e^{i \theta} \over b}d\theta = -2 $$ Similarly $$ \int_\gamma {dz \over |z|} = 2 $$ Thus I conclude $$ \left( \int_{-b}^{-a} + \int_{a}^{b} \right) {dz \over |z|} = 0 $$ And of course I know this is wrong -- the integral is 2 $\ln(b/a)$. What am I doing wrong? Thank you for your help!