Complex Analysis/Cauchy's theorem and Cauchy's integral formula

The Goursat–Pringsheim lemma
Cauchy's theorem states that if $$f:U\to\Complex$$ is holomorphic on $$U$$ ($$U$$ a star-shaped domain; we'll make precise in the next section what that means) and $$\gamma$$ is a closed contour with values in $$U$$, then
 * $$\int_\gamma f(z)dz=0$$

As a first step of proving the theorem, we will prove it in the special case where $$\gamma$$ is a triangle; this is the Goursat–Pringsheim lemma. Goursat had the idea first, but Pringsheim then provided the idea to use triangles (instead of squares, as Goursat had done).

Proof:

Any triangle $$\Delta$$ may be divided into four small triangles of equal side length as indicated in the picture. Each of the small triangles will have half the side length of the original triangle; this is clear from the formulae one would assign to the smaller triangle if one were to make things (even more) rigorous. We shall denote the four triangles as $$\alpha$$, $$\beta$$, $$\gamma$$ and $$\delta$$. But one of the four non-negative numbers
 * $$\left|\int_\alpha f(z)dz\right|,\left|\int_\beta f(z)dz\right|,\left|\int_\gamma f(z)dz\right|,\left|\int_\delta f(z)dz\right|$$

will have to be the largest. We then set $$\Delta_0:=\Delta$$, $$\Delta_1$$ the first of the four smaller triangles arising from $$\Delta_0$$ such that the absolute value as above is largest, and so on; ie. once $$\Delta_n$$ is defined for general $$n\in\N_0$$, we decompose $$\Delta_n$$ into triangles $$\alpha,\beta,\gamma,\delta$$ as above and then define $$\Delta_{n+1}$$ the one of $$\alpha,\beta,\gamma,\delta$$ where the absolute value of the four ones indicated above is largest.

In this fashion, we obtain a sequence of ever smaller triangles $$(\Delta_n)_{n\in\N_0}$$. We now have the following lemma:

Lemma 6.2 (Cantor's intersection theorem):

Let $$K_1\supe K_2\supe K_3\supe\cdots\supe K_n\supe\cdots$$ be a decreasing sequence of compact sets situated in a Hausdorff topological space $$(M, d)$$. Then
 * $$\bigcap_{n\in\N}K_n\ne\varnothing$$

Proof:

In a Hausdorff topological space, compact sets are closed; indeed, let $$K$$ be such a compact set, and assume that the neighbourhood filter of a certain $$x\notin K$$ is such that all its elements have nonempty intersection with $$K$$.

Hence, if we assume that
 * $$\bigcap_{n\in\N}K_n=\varnothing$$

we get by deMorgan's rules, taking complements in $$K_1$$,
 * $$\bigcup_{n\in\N}(K_1\setminus K_n)=K_1$$

Hence, if we regard $$K_1$$ as a topological space with subspace topology, the sets $$(K_1\setminus K_n)_{n\in\N}$$ form an open cover of $$K_1$$. By compactness of $$K_1$$, there is a finite subcover $$K_1\setminus K_{n_1},\ldots,K_1\setminus K_{n_k}$$, where without loss we assume that $$n_1<n_2<\cdots<n_k$$. Due to monoticity, we then obtain that in fact, $$K_1=K_1\setminus K_{n_k}$$ and thus $$K_{n_k}=K_1$$, which is a contradiction.

Thus, we can obtain a point
 * $$z_0\in\bigcap_{n\in\N}\text{Conv}(\Delta_n)$$

where $$\text{Conv}(\Delta_n)$$ shall denote the filled triangle (i.e. the convex hull) of $$\Delta_n$$.

Now by assumption, $$f$$ was differentiable, in particular at $$z_0$$. Therefore, we may write
 * $$f(z)=f(z_0)+f'(z_0)(z-z_0)+h(z)$$

where $$h(z)\to0$$ as $$z\to0$$; indeed, we may set
 * $$h(z)=\frac{f(z)-f(z_0)}{z-z_0}-f'(z_0)$$

Furthermore, if we take any triangle $$\Delta$$ in the complex plane and form the curve integral of a polynomial over it, we get zero; indeed, every polynomial $$p$$ has a primitive $$P$$ which is formed in the obvious way, according to chapter 2; namely it's exactly the same formula as in the real case, and the differentiation formulae confirm that. We may then decompose the triangle $$\Delta$$ into three lines; say that $$a,b,c\in\Complex$$ are the corners of that triangle, then $$\Delta=\overline{a,b}+\overline{b,c}+\overline{c,a}$$ ($$+$$ denoting concatenation, even though we will later, when considering chains, allow for more general curves as arguments on the left and right of $$\cdot+\cdot$$), and we get
 * $$\begin{align}

\int_\Delta p(z)dz&=\int\limits_{\overline{a,b}}p(z)dz+\int\limits_{\overline{b,c}}p(z)dz+\int\limits_{\overline{c,a}}p(z)dz\\ &=(P\circ\gamma)(a)-(P\circ\gamma)(b)+(P\circ\gamma)(b)-(P\circ\gamma)(c)+(P\circ\gamma)(c)-(P\circ\gamma)(a)=0 \end{align}$$ as desired. In particular, we get
 * $$\int\limits_{\Delta_n}f(z)dz=\int\limits_{\Delta_n}h(z)dz$$

and by the fundamental estimate
 * $$2^n||$$

However, this value is actually greater than the absolute value of the original integral, since we will have
 * $$\int\limits_{\Delta_n}f(z)dz=\int\limits_{\alpha_n}f(z)dz+\int\limits_{\beta_n}f(z)dz+\int\limits_{\gamma_n}f(z)dz+\int\limits_{\delta_n}f(z)dz$$

since the integrals cancel out, as indicated in the picture, and hence by the triangle inequality
 * $$\left|\int\limits_{\Delta_n}f(z)dz\right|\le4\left|\int\limits_{\Delta_{n+1}}f(z)dz\right|$$;

then use induction to get this "greaterness" for each $$n$$. But this shows the theorem, since if the absolute value is less or equal than any positive value, it is zero.

Cauchy's theorem on starshaped domains
Now we are ready to prove Cauchy's theorem on starshaped domains. This theorem and Cauchy's integral formula (which follows from it) are the working horses of the theory; from these two we will deduce the local theory of holomorphic functions, and the global theory will then follow as well.

Informally, $$U$$ will "look like a star" with center $$z_0$$.

Regarding these domains, we have the following lemma:

Lemma 6.4:

Let $$f:U\to\Complex$$ be holomorphic, where $$U$$ is star-shaped. Then $$f$$ will have a primitive in $$U$$, i.e. a holomorphic function $$F:U\to\Complex$$ such that $$F'(z)=f(z)$$ at every point $$z\in U$$.

Proof:

We begin by just defining
 * $$F(z):=\int\limits_{\overline{z_0,z}}f(z)dz$$

this will be well-defined just by the star-shapedness of $$U$$, i.e. $$f$$ must be and is defined on all of the path $$\overline{z_0,z}$$. Our claim now is that $$F$$ thus defined is indeed a primitive of $$f$$.

Indeed, pick any fixed $$z\in U$$. Since $$U$$ is open, we find a (possibly small) radius $$r>0$$ such that $$B_r(z)$$ is completely contained in $$U$$.

Cauchy's integral formula
Cauchy's integral formula is a formula which looks at first glance a bit strange:

Now this formula may seem strange at first, but considering the special case $$z = z_0$$ and inserting the definition of curve integrals, we obtain that a special case of it is actually a mean value formula :
 * $$f(z_0)=\frac{1}{2\pi i}\!\int\limits_{\partial B_r(0)}\!\frac{f(w)}{w-z_0}dw=\frac{1}{2\pi}\int\limits_0^{2\pi}f(z_0+re^{it})dt$$

In what follows, we shall always assume that the path $$\partial B_r(z_0)$$ is traversed counterclockwise.

Proof:

We first note that the function
 * $$\Phi:[0,r]\to\Complex,s\mapsto\frac{1}{2\pi}\int\limits_0^{2\pi}f(z_0+se^{it})dt$$

is continuous; this follows from dominated convergence by the boundedness of $$f$$ on compact sets. Then we note that for any $$s>0$$, the above expression coincides with
 * $$\frac{1}{2\pi i}\!\int\limits_{\partial B_s(0)}\!\frac{f(w)}{w-z_0}dw$$

Furthermore, given $$r>s,t>0$$, we have
 * $$\frac{1}{2\pi i}\!\int\limits_{\partial B_s(0)}\!\frac{f(w)}{w-z_0}dw-\frac{1}{2\pi i}\!\int\limits_{\partial B_t(0)}\!\frac{f(w)}{w-z_0}dw=\frac{1}{2\pi i}\int_\gamma\frac{f(w)}{w-z_0}dw$$

where $$\gamma$$ is the curve
 * $$\gamma:[0,1]\to\Complex,\gamma(x)=(\delta_1\cdot\delta_2)\cdot\delta_3=\begin{cases}\delta_1(x)\\\delta_2(x)\\\delta_3(x)\end{cases}$$

where we define
 * $$\delta_1(x):=\begin{cases}

se^{\frac83\pi ix}&x\le\frac14\\ \frac{x-\frac12}{\frac14-\frac12}se^{\frac23\pi i}+\frac{x-\frac14}{\frac12-\frac14}te^{\frac23\pi i}&\frac14\le x\le\frac12\\ te^{\frac23\pi i-\frac83\pi i\bigl(x-\frac12\bigr)}&\frac12\le x\le\frac34\\ \frac{x-1}{\frac34-1} \end{cases},\quad\delta_2(s):=\begin{cases}\end{cases},\quad\delta_3(s):=\begin{cases}\end{cases}$$ $$\cdot$$ denoting concatenation of curves. The curve is depicted in the following picture:

However, one finds star-shaped domains (eg. half-planes) which contain each of the cycles $$\delta_j$$ of which $$\gamma$$ is composed, whence, in fact
 * $$\frac{1}{2\pi i}\int_\gamma\frac{f(w)}{w-z_0}dw=0$$

by Cauchy's theorem on star-shaped domains. Hence, $$\Phi$$ is constant on $$(0,r]$$ and by continuity and $$\Phi(0)=f(z_0)$$, this constant must be exactly $$f(z_0)$$.

Remark: Using a similar construction like the curve $$\gamma$$ above, we in fact obtain the following much more general version of Cauchy's integral formula:

Now note that in our situation, we may differentiate under the integral sign, which gives us formulae for $$f^{(n)}(z)$$ (the higher derivatives) for $$z$$ in the respective ball. Indeed, we get
 * $$\begin{align}

f'(z)&=\frac{1}{2\pi i}\!\int\limits_{\partial B_r(0)}\!\frac{f(w)}{(w-z)^2}dw\\ f^{(2)}(z)&=\frac12\frac{1}{2\pi i}\!\int\limits_{\partial B_r(0)}\!\frac{f(w)}{(w-z)^2}dw\\ f^{(3)}(z)&=\frac16\frac{1}{2\pi i}\!\int\limits_{\partial B_r(0)}\!\frac{f(w)}{(w-z)^3}dw\\ &\vdots\\ f^{(n)}(z)&=\frac{1}{n!}\frac{1}{2\pi i}\!\int\limits_{\partial B_r(0)}\!\frac{f(w)}{(w-z)^n}dw\\ &\vdots \end{align}$$ Later, we will deduce the very same formulae from the Taylor expansion which we will compute; in fact, all holomorphic functions are equal to their Taylor series, as we will show.