Corollary (maximum modulus principle)

Let $U\subseteq \C$ be a domain.

If $U$ is bounded, and $f:U\cup \partial U\to \C$ is continuous on $U\cup \partial U$ and holomorphic on $U$, then $|f|$ achieves its maximum on $\partial U$.

Proof