jackmell said:
I don't see that at all but I'm quite sure you are right about it. :)
I wasn't too clear about how to split the contour into two parts. Take some alpha not equal to pi/2 or 3/2 pi/2. Then we define:
Contour 1: Line from epsilon to R, from R a counterclockwise circle segment to R exp(i alpha), from there a line to epsilon exp(i alpha), from there a clockwise circle segment back to epsilon
Contour 2: Line from epsilon exp(i alpha) to R exp(i alpha), from there a counterclockwise circle segment to R, from there a line to epsilon, from there a clockwise circle segment back to epsilon exp(i alpha).
The function we integrate along contour 1 has a branch cut that intersects contour 2. This is not a problem, but we then can't integrate the same function over contour 2. However, we can analytically continue that function (with its domain restricted a bit) into the region bounded by contour 2. That function will then necessarily have to have a branch cut that will intersect contour 1. The two functions will then agree in the region inbetween that branch cut and the branch cut of the original function.
ALthought this looks more complicated, in reality is simpler as the choice of the branch cuts is not restricted a lot. The integrals along the
r exp(i alpha) lines cancel and it is then easy to see that all you are really doing is integrating a truly multivalued function without branch cuts along the original contour. So, this leads to:
Fifth way: Work with multivalued functions defined on Riemann surfaces.