The Gamma function
is not analytic on
but has simple poles at![]()
The residues at each of these points is![]()
Suppose then that we want to evaluate the integral of
around the contour consisting of the circle
shown below.

The distance from -1 to -i is
and the distance from -2 to -i is
so both these points are inside the circle. Of course the origin is inside the circle.
According to Cauchy's Residue Theorem, the integral of
around the circle is
![]()
![]()