Definition (canonical divisor, genus of curve)

Let $V$ be a curve and $P\in V$.

For a rational differential $ω\in Ω_{V}$, the divisor of $ω$ is $$ \begin{align*} \op{div}(ω) = \sum_{P\in V} ν_P(ω) P \qquad \text{(i.e. $ν_P(\op{div}(ω)) = ν_P(ω)$)} \end{align*} $$ where $ν_P(ω)$ is the valuation of $ω$ at $P$.

Such a divisor is called a canonical divisor (denoted $K_V$), and its divisor class is called the canonical divisor class.

The genus $g(V)$ of $V$ is $l(K_V)$ for any canonical divisor $K_V$.

$\op{div}(ω)$ and $\op{div}(ω')$ are linearly equivalent for any non-zero rational differentials $ω, ω'$, because $Ω_V$ is one-dimensional so $ω' = f ω$ for some $f\in k(V)^\times$.