I am trying to develop an intuition for the difference between $\oint_C 1/z^2 dz = 0$ and $\oint_C 1/z \,dz = 2\pi i$.
The classical proof of Cauchy's integral theorem seems to be to use Green's theorem along with the Cauchy-Riemann equations. This however, requires a simply connected domain, which $1/z^2$ doesn't have. So if $1/z$ and $1/z^2$ both have a pole at $0$, why do they behave differently when integrating around a closed curve?
I know how to compute the integrals by parameterizing a circle of radius $1$ around $0$, so this is not what I am looking for. Terence Tao has an interesting explanation which I have a hard time wrapping my head around, so perhaps someone could explain starting from here?
Another way to view Cauchy’s theorem is an assertion that every (continuously) differentiable function has an antiderivative. This is true infinitesimally (because $f(z_0)+f'(z_0)(z-z_0)$ has an antiderivative of $f(z_0)(z-z_0) + \frac{1}{2} f'(z_0) (z-z_0)^2)$, and it propagates to be true locally (by summing up and estimating the errors), and then (assuming no topological obstructions, such as poles) it is true globally. In one dimension, the corresponding statement is that every continuous function has an antiderivative (i.e. the fundamental theorem of calculus). In two dimensions, one needs an extra order of control on the function (continuous differentiability rather than just continuity) because one needs one better order of control on the error term to compensate for the extra dimension (dividing a non-infinitesimal two-dimensional region into infinitesimal ones requires many more pieces than for a one-dimensional region, thus allowing many more errors to accumulate.)