Theorem (Riemann-Hurwitz formula in Algebraic Geometry)

Let $ϕ: V\to W$ be a non-constant morphism of curves. Then $$ \begin{align*} 2g(V) - 2 = (\deg ϕ)(2g(W) - 2) + \sum_{P\in V} (e_P - 1). \end{align*} $$ ($g$, $\deg$, $e$)

Proof

If $g(V) < g(W)$, then there is no non-constant morphism $V\to W$.

If $g(V) = g(W) > 1$, then $\deg ϕ = 1$ so $ϕ$ is an isomorphism.