Theorem (degree and ramification)
Let $ϕ: X\to Y$ be a non-constant morphism of (possibly singular) curves.
$ϕ$ is surjective. For all but finitely many $P\in X$, $ϕ$ is unramified at $P$.
Furthermore, for all $Q\in Y$, $$ \begin{align*} \sum_{P\in ϕ\inv(Q)} e_P = \deg ϕ \end{align*} $$ where $e_P$ is the ramification degree at $P$ and $\deg ϕ$ is the degree of $ϕ$.
Proof TODO
If $f\in k(X)^\ast$ is a non-zero rational function on a curve $X$, then $\sb{P\in V}{ν_P(f) \neq 0}$ is finite and $$ \begin{align*} \sum_{P\in V} ν_P(f) = 0. \end{align*} $$ (Proof)
$X$ is birational to $\mathbb{P}^1$ iff there exists $f\in k(X)^\ast$ with a unique simple pole. (Proof) Recall if $X$ is smooth, then "birational" is the same as "isomorphic".