The contour C given below is on the complex plane z=x+iy, where j=√−1.
The value of the integral 1πj∮Cdzz2−1 is
Let f(z)=1z2−1 then poles are z=±1
But here simple poles and lies inside the given contour
R1=Res f(z)(z=1)=limz→1(z−1)f(z)=limz→1(1z+1)=12
R2=Resf(z)(z=−1)=limz→−1(z+1)f(z)
=limz→−1(1z−1)=−12
But we will take R2=+12 because second contour is in clockwise direction.
So by Cauchy's residue theorem
1πj∮cdzz2−1=1πj [2πj (sum of residues)]
=2[12+12]=2