I am trying to calculate the complex line integral of $f(z)=z^{-1}$ around the square of sides 2, centred at the origin counter clock wise. I know I cant use Cauchy theorem because of the singularity.
I thought maybe since f is holomorphic I could use the fundamental theorem, but then even nif my $F(z)=ln(z)$ I don't know what to use as my endpoints. I tried breaking it up into parts, ie end points at $1+i$ , $-1+i$, $-1-i$ and $1-i$, but when I compute using FTC that gives me 0. However, the correct answer I am told is $i2\pi$ ,
by the way , I also know that i2pi is the result of doing this integration but around a circle of radius irrelevant, maybe that could tie in somehow? I am looking for help. Thanks