Lecture 11: applications of Cauchy’s formula to analyticity

Complex analysis, lecture 2
(March 4, 2026)

1.  Morera’s theorem

Recall Cauchy’s theorem: if f(z) is analytic on a domain D, then the differential form f(z)dz is closed on D. Consequently, the integral of f over the boundary of the domain vanishes, so by Green’s theorem Df(z)𝑑z=D0𝑑z=0.

Loosely speaking, Morera’s theorem establishes that the converse holds. More precisely:

Theorem (Morera’s theorem, version 1).

Let f be a continuous function on a domain D. If for any sub-domain DD we have

Df(z)𝑑z=0,

then f is analytic on D.

It is noteworthy that in order to apply Morera’s theorem we only need f to be continuous, and only check a condition on its integrals; but the conclusion is that f is analytic, which we’ve seen implies that it is actually infinitely differentiable. This is analogous to the fact that not only do harmonic functions satisfy the mean value property, but in fact any continuous function satisfying the mean value property is harmonic. Characteristically, the version for analytic functions in place of harmonic functions is more flexible and more powerful, but the idea is fundamentally similar.

Actually, we do not need to check every possible sub-domain. It is sufficient to check the condition for a specific class of rectangles, giving us a more practically useful version of the theorem:

Theorem (Morera’s theorem, version 2).

Let f be a continuous function on a domain D. If for any rectangle RD with sides parallel to the coordinate axes we have

Rf(z)𝑑z=0,

then f is analytic on D.

DR

To prove Morera’s theorem, it suffices to prove version 2. We can further simplify the problem by assuming D is a disk. This is valid because we can pick a small disk around any point in D and use Morera’s theorem on that disk to show f is analytic there, which implies f is analytic on all of D. Assuming D is a disk centered at a point z0, every closed form is exact, so we expect to find a primitive F such that f=F. We define this primitive by integrating along grid lines:

F(z)=z0zf(w)𝑑w

where the path of integration travels horizontally and then vertically.

z0z

Fix a small complex number h with magnitude |h|<ϵ. The difference in our function is given by

F(z+h)F(z)=zz+hf(w)𝑑w

where the path is defined by tracing from z backwards to z0 (the reverse of the previous path), and then from z0 to z+h as defined above. Because the integral over the boundary of any rectangle is 0 by assumption, we can equivalently just move the line of integration to trace the edges of a small rectangle directly from z to z+h:

z0zz+h
z0zz+h

Now we can analyze the local difference algebraically:

zz+hf(w)𝑑w =zz+h(f(z)+(f(w)f(z)))𝑑w
=hf(z)+zz+h(f(w)f(z))𝑑w.

Since f is continuous, for any chosen δ>0 we can ensure that |f(w)f(z)|<δ by taking ϵ small enough. Furthermore, the length of the path from z to z+h along the rectangle edges is at most 2|h|. By the ML bound, we then have

|F(z+h)F(z)hf(z)|<2δ|h|.

Dividing both sides by h yields

|F(z+h)F(z)hf(z)|<2δ.

Because we can take δ to be as small as we like as h0, this absolute difference must go to 0. This implies that F is complex differentiable, i.e. analytic. Finally, by Cauchy’s formula for derivatives, the derivative of an analytic function is itself analytic, which tells us that F=f is analytic, completing the proof.

2.  Goursat’s theorem

By definition, for an analytic function f on a domain D,

  • it must be complex differentiable on D;

  • and its derivative f must be continuous on D.

We previously claimed that this second condition is redundant. We are now in a position to rigorously justify this.

Theorem (Goursat’s theorem).

If f:D is a function such that

f(z0)=limzz0f(z)f(z0)zz0

exists for every z0D, then f is analytic (i.e. f is automatically continuous).

To prove this, we first note that if f is differentiable, it is automatically continuous, otherwise the limit defining the derivative would not exist. This continuity means we can hope to apply Morera’s theorem. To do so, let RD be an arbitrary rectangle. Our goal is to show that the integral over its boundary is zero:

Rf(z)𝑑z=0.

We proceed by repeatedly dividing the rectangle. First, divide R into four equal, smaller rectangles R1,R2,R3,R4:

Because the inner edges are traversed twice in opposite directions, their contributions cancel, so the integral over the boundary of R splits nicely into the sum over the sub-rectangles:

Rf(z)𝑑z=R1f(z)𝑑z+R2f(z)𝑑z+R3f(z)𝑑z+R4f(z)𝑑z

By the triangle inequality, at least one of these smaller rectangles, which we will call Ri, must carry at least a quarter of the total value:

|Rif(z)𝑑z|14|Rf(z)𝑑z|.

We relabel this chosen rectangle as R1 and repeat the same subdivision process on it:

Again, one of the inner rectangles (call it R2) must satisfy the proportional bound:

|R2f(z)𝑑z|14|R1f(z)𝑑z|142|Rf(z)𝑑z|.

We continue this subdivision indefinitely:

This produces a nested sequence of rectangles RR1R2, where the n-th rectangle bounds the integral of the original rectangle by

|Rnf(z)𝑑z|14n|Rf(z)𝑑z|.

Because the diameters of the rectangles Rn are strictly decreasing to 0 and they are all nested within one another, they must converge towards a single point z0. By our initial assumption, f is differentiable at this specific point z0. This means that for any zRn, the approximation f(z)f(z0)zz0 is close to the derivative:

|f(z)f(z0)zz0f(z0)|<ϵn

for some sequence ϵn0 as n.

Let L denote the perimeter length of the original rectangle R. By construction, the perimeter length of Rn is L/2n. The differentiability bound translates to

|f(z)f(z0)f(z0)(zz0)|<ϵn|zz0|ϵnL2n.

Notice that the function given by f(z0)+f(z0)(zz0) is a linear polynomial in z, so it is analytic everywhere. By Cauchy’s theorem, its integral around any closed loop is zero:

Rn(f(z0)+f(z0)(zz0))𝑑z=0.

We can subtract this zero integral from our evaluation over Rn and then apply the ML bound:

|Rnf(z)𝑑z| =|Rn(f(z)f(z0)f(z0)(zz0))𝑑z|
L2nϵnL2n
=L24nϵn.

Combining this with our earlier inequality relating Rn and R, we obtain

|Rf(z)𝑑z|4n|Rnf(z)𝑑z|L2ϵn

for all integers n. Since ϵn0 as n goes to infinity, the integral over the original rectangle R must vanish. Because R was arbitrary, Morera’s theorem implies that f is indeed analytic.