# Schwarz lemma

In mathematics, the Schwarz lemma, named after Hermann Amandus Schwarz, is a result in complex analysis about holomorphic functions from the open unit disk to itself. The lemma is less celebrated than deeper theorems, such as the Riemann mapping theorem, which it helps to prove. It is, however, one of the simplest results capturing the rigidity of holomorphic functions.

## Statement

Let $\mathbf {D} =\{z:|z|<1\}$ be the open unit disk in the complex plane $\mathbb {C}$ centered at the origin, and let $f:\mathbf {D} \rightarrow \mathbb {C}$ be a holomorphic map such that $f(0)=0$ and $|f(z)|\leq 1$ on $\mathbf {D}$.
Then $|f(z)|\leq |z|$ for all $z\in \mathbf {D}$, and $|f'(0)|\leq 1$.
Moreover, if $|f(z)|=|z|$ for some non-zero $z$ or $|f'(0)|=1$, then $f(z)=az$ for some $a\in \mathbb {C}$ with $|a|=1$.

## Proof

The proof is a straightforward application of the maximum modulus principle on the function
    $g(z)={\begin{cases}{\frac {f(z)}{z}}\,&{\mbox{if }}z\neq 0\\f'(0)&{\mbox{if }}z=0,\end{cases}}$
which is holomorphic on the whole of $D$, including at the origin (because $f$ is differentiable at the origin and fixes zero). Now if $D_{r}=\{z:|z|\leq r\}$ denotes the closed disk of radius $r$ centered at the origin, then the maximum modulus principle implies that, for $r<1$, given any $z\in D_{r}$, there exists $z_{r}$ on the boundary of $D_{r}$ such that
    $|g(z)|\leq |g(z_{r})|={\frac {|f(z_{r})|}{|z_{r}|}}\leq {\frac {1}{r}}.$
As $r\rightarrow 1$ we get $|g(z)|\leq 1$.
Moreover, suppose that $|f(z)|=|z|$ for some non-zero $z\in D$, or $|f'(0)|=1$. Then, $|g(z)|=1$ at some point of $D$. So by the maximum modulus principle, $g(z)$ is equal to a constant $a$ such that $|a|=1$. Therefore, $f(z)=az$, as desired.

## Schwarz–Pick theorem

A variant of the Schwarz lemma, known as the Schwarz–Pick theorem (after Georg Pick), characterizes the analytic automorphisms of the unit disc, i.e. bijective holomorphic mappings of the unit disc to itself:
Let $f:\mathbf {D} \to \mathbf {D}$ be holomorphic. Then, for all $z_{1},z_{2}\in \mathbf {D}$,
    $\left|{\frac {f(z_{1})-f(z_{2})}{1-{\overline {f(z_{1})}}f(z_{2})}}\right|\leq \left|{\frac {z_{1}-z_{2}}{1-{\overline {z_{1}}}z_{2}}}\right|$
and, for all $z\in \mathbf {D}$,
    ${\frac {\left|f'(z)\right|}{1-\left|f(z)\right|^{2}}}\leq {\frac {1}{1-\left|z\right|^{2}}}.$
The expression
    $d(z_{1},z_{2})=\tanh ^{-1}\left|{\frac {z_{1}-z_{2}}{1-{\overline {z_{1}}}z_{2}}}\right|$
is the distance of the points $z_{1}$, $z_{2}$ in the Poincaré metric, i.e. the metric in the Poincaré disc model for hyperbolic geometry in dimension two. The Schwarz–Pick theorem then essentially states that a holomorphic map of the unit disk into itself decreases the distance of points in the Poincaré metric. If equality holds throughout in one of the two inequalities above (which is equivalent to saying that the holomorphic map preserves the distance in the Poincaré metric), then $f$ must be an analytic automorphism of the unit disc, given by a Möbius transformation mapping the unit disc to itself.
An analogous statement on the upper half-plane $\mathbf {H}$ can be made as follows:
   Let $f:\mathbf {H} \to \mathbf {H}$ be holomorphic. Then, for all $z_{1},z_{2}\in \mathbf {H}$,
       $\left|{\frac {f(z_{1})-f(z_{2})}{{\overline {f(z_{1})}}-f(z_{2})}}\right|\leq {\frac {\left|z_{1}-z_{2}\right|}{\left|{\overline {z_{1}}}-z_{2}\right|}}.$
This is an easy consequence of the Schwarz–Pick theorem mentioned above: One just needs to remember that the Cayley transform $W(z)=(z-i)/(z+i)$ maps the upper half-plane $\mathbf {H}$ conformally onto the unit disc $\mathbf {D}$. Then, the map $W\circ f\circ W^{-1}$ is a holomorphic map from $\mathbf {D}$ onto $\mathbf {D}$. Using the Schwarz–Pick theorem on this map, and finally simplifying the results by using the formula for $W$, we get the desired result. Also, for all $z\in \mathbf {H}$,
    ${\frac {\left|f'(z)\right|}{{\text{Im}}(f(z))}}\leq {\frac {1}{{\text{Im}}(z)}}.$
If equality holds for either the one or the other expressions, then $f$ must be a Möbius transformation with real coefficients. That is, if equality holds, then
    $f(z)={\frac {az+b}{cz+d}}$
with $a,b,c,d\in \mathbb {R}$ and $ad-bc>0$.

## Proof of Schwarz–Pick theorem

The proof of the Schwarz–Pick theorem follows from Schwarz's lemma and the fact that a Möbius transformation of the form
    ${\frac {z-z_{0}}{{\overline {z_{0}}}z-1}},\qquad |z_{0}|<1,$
maps the unit circle to itself. Fix $z_{1}$ and define the Möbius transformations
    $M(z)={\frac {z_{1}-z}{1-{\overline {z_{1}}}z}},\qquad \varphi (z)={\frac {f(z_{1})-z}{1-{\overline {f(z_{1})}}z}}.$
Since $M(z_{1})=0$ and the Möbius transformation is invertible, the composition $\varphi (f(M^{-1}(z)))$ maps $0$ to $0$ and the unit disk is mapped into itself. Thus we can apply Schwarz's lemma, which is to say
    $\left|\varphi \left(f(M^{-1}(z))\right)\right|=\left|{\frac {f(z_{1})-f(M^{-1}(z))}{1-{\overline {f(z_{1})}}f(M^{-1}(z))}}\right|\leq |z|.$
Now calling $z_{2}=M^{-1}(z)$ (which will still be in the unit disk) yields the desired conclusion
    $\left|{\frac {f(z_{1})-f(z_{2})}{1-{\overline {f(z_{1})}}f(z_{2})}}\right|\leq \left|{\frac {z_{1}-z_{2}}{1-{\overline {z_{1}}}z_{2}}}\right|.$
To prove the second part of the theorem, we rearrange the left-hand side into the difference quotient and let $z_{2}$ tend to $z_{1}$.

## Further generalizations and related results

The Schwarz–Ahlfors–Pick theorem provides an analogous theorem for hyperbolic manifolds.
De Branges' theorem, formerly known as the Bieberbach Conjecture, is an important extension of the lemma, giving restrictions on the higher derivatives of $f$ at $0$ in case $f$ is injective; that is, univalent.
The Koebe 1/4 theorem provides a related estimate in the case that $f$ is univalent.