Theorem (Riemann-Hurwitz formula in Riemann Surfaces)

Let $f: X\to Y$ be a non-constant analytic map between Riemann surfaces $X$ and $Y$ that are compact.

Their Euler characteristics satisfy $$ \begin{align*} χ(X) = n\cdot χ(Y) - \sum_{x\in X} (d_x - 1) \end{align*} $$ where $n$ is the degree of $f$ and $d_x$ is the ramification degree of $f$ at $x$.

Proof

If $f$ exists, then the genera satisfy $g(X) \geq g(Y)$.

If $g(X) = g(Y) > 1$, then $n=1$ so $f$ is an analytic isomorphism.