# Math Help - contour integral with singularities on the contour

1. ## contour integral with singularities on the contour

I want to compute the following integral
$\oint_{|z|=1}\frac{\exp(\frac{1}{z})}{z^2-1}\,dz$
The integrand has essential singularity at the origin, and 2-poles at $\pm 1$,which lie on the curve $|z|=1$ so i can't apply residue formula. How can i proceed?

2. ## Re: contour integral with singularities on the contour

Ive never seen integration where the singularities lie on the contour, is that even defined?

3. ## Re: contour integral with singularities on the contour

You need to define the contour with small semi-circles around the poles of radius some \delta and then take the limit as \delta tends to zero. In that way the function will be analytic in the domain that has avoided the singularities. When f is analytic inside a domain D the integral over D of f = 0. Check any book on complex analysis. You can find the details.