Definition (hyperplane section, degree of curve)

Let $V \subseteq \mathbb{P}^n$ be a curve.

For a hyperplane $H = Z(L)$ (where $L$ is a linear form) which does not contain $V$, the hyperplane section $\op{div}(H)$ of $V$ by $H$ is the effective divisor given by $$ \begin{align*} ν_P(\op{div}(H)) := ν_P(L/x_i) \end{align*} $$ the valuation of $L/x_i$, where $x_i$ is any homogeneous coordinate with $x_i(P)\neq 0$.

The degree of $V$ is the degree of a hyperplane section.

This is well-defined: if $x_i(P), x_j(P)\neq 0$, then $ν_P(L/x_j) = ν_P(L/x_i) + ν_P(x_i/x_j) = ν_P(L/x_i)$ since $x_i/x_j$ is regular and non-zero at $P$.

We can similarly define, for $f\in k[x_0, \ldots, x_n]$ homogeneous of degree $d$, its divisor $\op{div}(f)$ by $$ \begin{align*} ν_P(\op{div}(f)) = ν_P(f/x_i^d) \end{align*} $$ for any $x_i$ with $x_i(P)\neq 0$. > This satisfies $\op{div}(fg) = \op{div}(f) + \op{div}(g)$, so for any linear form $L$ which does not identically vanish on $V$, we get $\op{div}(f) = \op{div}(f/L^d) + d \op{div}(L)$ which is linearly equivalent to $d \op{div}(L)$.

Any two hyperplane sections are linearly equivalent, as $L/L'$ is a rational function. Therefore any two hyperplane sections have the same degree.

Hyperplane section is not preserved under isomorphism, hence neither is the degree of curves.

If $V = Z(f) \subseteq \mathbb{P}^2$ is a plane curve and $f$ is homogeneous of degree $d$, then the degree of $V$ is $d$. (Proof)