# Divisor (algebraic geometry)

In algebraic geometry, divisors are a generalization of codimension one subvarieties of algebraic varieties; two different generalizations are in common use, Cartier divisors and Weil divisors (named for Pierre Cartier and André Weil). Both are ultimately derived from the notion of divisibility in the integers and algebraic number fields.

Cartier divisors and Weil divisors are parallel notions. Weil divisors are codimension one objects, while Cartier divisors are locally described by a single equation. On non-singular varieties, these two are identical, but when the variety has singular points, the two can differ. An example of a surface on which the two concepts differ is a cone, i.e. a singular quadric. At the (unique) singular point, the vertex of the cone, a single line drawn on the cone is a Weil divisor, but is not a Cartier divisor (since it is not locally principal).

The divisor appellation is part of the history of the subject, going back to the DedekindWeber work which in effect showed the relevance of Dedekind domains to the case of algebraic curves.[1] In that case the free abelian group on the points of the curve is closely related to the fractional ideal theory.

An algebraic cycle is a higher-dimensional generalization of a divisor; by definition, a Weil divisor is a cycle of codimension one.

## Divisors in a Riemann surface

A Riemann surface is a 1-dimensional complex manifold, so its codimension 1 submanifolds are 0-dimensional. The divisors of a Riemann surface are the elements of the free abelian group over the points of the surface.

Equivalently, a divisor is a finite linear combination of points of the surface with integer coefficients. The degree of a divisor is the sum of its coefficients.

We define the divisor of a meromorphic function f as

$(f):=\sum_{z_\nu \in R(f)} s_\nu z_\nu$

where R(f) is the set of all zeroes and poles of f, and sν is given by

$s_\nu := \left\{ \begin{array}{rl} a & \ \text{if } z_\nu \text{ is a zero of order }a \\ -a & \ \text{if } z_\nu \text{ is a pole of order }a. \end{array} \right.$

A divisor that is the divisor of a meromorphic function is called principal. On a compact Riemann surface, a meromorphic function has as many poles as zeroes, and therefore on such surfaces the degree of a principal divisor is 0. Since the divisor of a product is the sum of the divisors, the set of principal divisors is a subgroup of the group of divisors. Two divisors that differ by a principal divisor are called linearly equivalent.

We define the divisor of a meromorphic 1-form similarly. Since the space of meromorphic 1-forms is a 1-dimensional vector space over the field of meromorphic functions, any two meromorphic 1-forms yield linearly equivalent divisors. The equivalence class of these divisors is called the canonical divisor (usually denoted K).

The Riemann–Roch theorem is an important relation between the divisors of a Riemann surface and its topology.

## Weil divisor

Let X be an algebraic variety over a field. A Weil divisor on X is a finite linear combination with integral coefficients of irreducible subvarieties of X of codimension one. For example, a divisor on an algebraic curve is a formal sum of its closed points. The degree of a divisor is the sum of its coefficients. An effective Weil divisor is one in which all the coefficients of the formal sum are non-negative. One writes DD' if the difference D - D' is effective.

Suppose X is normal. If Z is an irreducible subvariety of codimension one, the local ring at the generic point of Z is a discrete valuation ring since X is normal; thus it comes with a valuation denoted by ordZ. If f is a nonzero rational function on X, one then puts:

$(f) = \sum_Z \operatorname{ord}_Z (f) [Z].$

This is a Weil divisor called the principal (Weil) divisor generated by f.

If D is a Weil divisor on X, then the sheaf O(D) on X is defined by:[2]

$\Gamma(U, O(D)) = \{ f \in K | (f) + D \ge 0 \text{ on } U \}$

where K is the field of rational functions on X (by convention, (f) + D ≥ 0 for any D if f is identically zero). If D is principal, given by, say, a function g, then O(D) is isomorphic to the structure sheaf OX of X via $f \mapsto fg$ (by normality, the absence of poles of codimension one means regular). Conversely, if O(D) is free, then D is principal. It follows that D is locally principal if and only if O(D) is locally free of rank one; i.e., an invertible sheaf.

If X is locally factorial; i.e., local rings are unique factorization domains, which is the case for example when X is smooth, then D is locally principal and so O(D) is invertible. In general, however, a Weil divisor need not be locally principal (which amounts to being Cartier). The standard example is the following:[3] Let X be the quadric cone $z^2 = xy$, and D the line y = z = 0, a ruling of the cone; D is not principal near the origin.

Let Div(X) be the abelian group of Weil divisors on X. Since principal divisors form a subgroup, one can form the quotient group:

$\operatorname{Cl}(X) = \operatorname{Div}(X)/\{ (f) | f \in K^* \}$

called the divisor class group of X. Two divisors are said to be linearly equivalent if they belong to the same divisor class.

Example: Take X to be a projective space. Then $\operatorname{deg}: \operatorname{Cl}(X) \simeq \mathbb{Z}$. The divisor corresponding to 1 is (up to linear equivalence) the hyperplane divisor H: x0 = 0.

As before, let X be a normal variety. If L is a line bundle (i.e., invertible sheaf) on X and s is a nonzero rational section of L; i.e., s is a section of L over some open dense subset of X, then one can still define:

$(s) = \sum_Z \operatorname{ord}_Z (s) [Z]$

since, on each open set in which L is trivial, s can be identified with a rational function. It is called the (Weil) divisor cut out by s; it is locally principal by definition and (s) is effective (i.e., s has no poles) if and only if s is a global section (by normality). Any line bundle admits a nonzero rational section (by local triviality) and, moreover, different choices differ by a nonzero rational function. Thus, there is a well-defined injective group homomorphism:

$\operatorname{Pic}(X) \hookrightarrow \operatorname{Cl}(X)$

where Pic(X) is the Picard group of X and tensor product corresponds to addition. The image of this map consists of classes of locally principal Weil divisors, and $D \mapsto O(D)$ gives the inverse map from the image to Pic(X). In particular, if X is locally factorial, then the map is an isomorphism (continuing the previous example one gets: Pic(Pn) = Cl(Pn) = Z.)

## Cartier divisor

A Cartier divisor in an algebraic variety X (see the paragraph below for the scheme case) can be represented by an open cover by affine subsets ${U_i}$ of X, and a collection of rational functions $f_i$ defined on $U_i$. The functions must be compatible in this sense: on the intersection of two sets in the cover, the quotient of the corresponding rational functions should be regular and invertible. A Cartier divisor is said to be effective if these $f_i$ can be chosen to be regular functions, and in this case the Cartier divisor defines an associated subvariety of codimension 1 by forming the ideal sheaf generated locally by the $f_i$.

The notion can also be described with the abstract function field instead of rational functions: in this setup X can be any scheme. For each affine open subset U, define M′(U) to be the total quotient ring of OX(U). Because the affine open subsets form a basis for the topology on X, this defines a presheaf on X. (This is not the same as taking the total quotient ring of OX(U) for arbitrary U, since that does not define a presheaf.[4]) The sheaf MX of rational functions on X is the sheaf associated to the presheaf M′, and the quotient sheaf MX* / OX* is the sheaf of local Cartier divisors.

A Cartier divisor is a global section of the quotient sheaf MX*/OX*. We have the exact sequence $1 \to \mathcal O^*_X \to M^*_X \to M^*_X / \mathcal O^*_X \to 1$, so, applying the global section functor $\Gamma (X, \bullet)$ gives the exact sequence $1 \to \Gamma (X, O^*_X) \to \Gamma (X, M^*_X) \to \Gamma (X, M^*_X / \mathcal O^*_X) \to H^1(X, \mathcal O^*_X)$.

A Cartier divisor is said to be principal if it is in the range of the morphism $\Gamma (X, M^*_X) \to \Gamma (X, M^*_X / \mathcal O^*_X)$, that is, if it is the class of a global rational function.

### Cartier divisors in nonrigid sheaves

Of course the notion of Cartier divisors exists in any sheaf (any ringed space). But if the sheaf is not rigid enough, the notion tends to lose some of its interest. For example in a fine sheaf (e.g. the sheaf of real-valued continuous, or smooth, functions on an open subset of a euclidean space, or locally homeomorphic, or diffeomorphic, to such a set, such as a topological manifold), any local section is a divisor of 0, so that the total quotient sheaves are zero, so that the sheaf contains no non-trivial Cartier divisor.

## From Cartier divisors to Weil divisor

There is a natural homomorphism from the group of Cartier divisors to that of Weil divisors, which is an isomorphism for integral separated Noetherian schemes provided that all local rings are unique factorization domains.

## From Cartier divisors to line bundles

The notion of transition map associates naturally to every Cartier divisor D a line bundle (strictly, invertible sheaf) commonly denoted by $\mathcal O_X(D)$ or sometimes also $\mathcal L(D)$.

The line bundle $\mathcal L (D)$ associated to the Cartier divisor D is the sub-bundle of the sheaf MX of rational fractions described above whose stalk at $x \in X$ is given by $D_x \in \Gamma (x, M^*_X/\mathcal O^*_X)$ viewed as a line on the stalk at x of $\mathcal O_X$ in the stalk at x of $M_X$. The subsheaf thus described is tautologically locally freely monogenous over the structure sheaf $\mathcal O_X$.

The mapping $D \mapsto \mathcal L (D)$ is a group homomorphism: the sum of divisors corresponds to the tensor product of line bundles, and isomorphism of bundles corresponds precisely to linear equivalence of Cartier divisors. The group of divisors classes modulo linear equivalence therefore injects into the Picard group. The mapping is not surjective for all compact complex manifolds, but surjectivity does hold for all smooth projective varieties. The latter is true because, by the Kodaira embedding theorem, the tensor product of any line bundle with a sufficiently high power of any positive line bundle becomes ample; thus, on any such manifold, any line bundle is the formal difference between two ample line bundles, and any ample line bundle may be viewed as an effective divisor.

## Global sections of line bundles and linear systems

Recall that the local equations of a Cartier divisor $D$ in a variety $X$ give rise to transition maps for a line bundle $\mathcal L (D)$, and linear equivalences induce isomorphism of line bundles.

Loosely speaking, a Cartier divisor D is said to be effective if it is the zero locus of a global section of its associated line bundle $\mathcal L(D)$. In terms of the definition above, this means that its local equations coincide with the equations of the vanishing locus of a global section.

From the divisor linear equivalence/line bundle isomorphism principle, a Cartier divisor is linearly equivalent to an effective divisor if, and only if, its associated line bundle $\mathcal L (D)$ has non-zero global sections. Two collinear non-zero global sections have the same vanishing locus, and hence the projective space $\mathbb P \Gamma (X, \mathcal L (D))$ over k identifies with the set of effective divisors linearly equivalent to $D$.

If $X$ is a projective (or proper) variety over a field $k$, then $\Gamma (X, \mathcal L (D))$ is a finite-dimensional $k$-vector space, and the associated projective space over $k$ is called the complete linear system of $D$. Its linear subspaces are called linear systems of divisors. The Riemann-Roch theorem for algebraic curves is a fundamental identity involving the dimension of complete linear systems in the setup of projective curves.

## ℚ-divisors

Let X be a normal variety. A (Weil) $\mathbb{Q}$-divisor is a finite formal linear combination of irreducible subvarieties of codimension one of X with rational coefficients. (An $\mathbb{R}$-divisor is defined similarly.) A $\mathbb{Q}$-divisor is called effective if the coefficients are nonnegative. A $\mathbb{Q}$-divisor is called $\mathbb{Q}$-Cartier if some integral multiple of it is a Cartier divisor. If X is smooth, then any $\mathbb{Q}$-divisor is $\mathbb{Q}$-Cartier.

If $D = \sum a_j Z_j$ is a $\mathbb{Q}$-divisor, then its integer part is the divisor

$[D] = \sum [a_j] Z_j$

where $[a_j]$ are integer parts of $a_j$.

## Relative Cartier divisors

An effective Cartier divisor in a scheme X over a ring R is a closed subscheme D of X that (1) is flat over R and (2) the ideal sheaf $I(D)$ of D is locally free of rank one (i.e., invertible sheaf). Equivalently, a closed subscheme D of X is an effective Cartier divisor if there is an open affine cover $U_i = \operatorname{Spec} A_i$ of X and nonzerodivisors $f_i \in A_i$ such that the intersection $D \cap U_i$ is given by the equation $f_i = 0$ (called local equations) and its ideal sheaf $I(D)|_{U_i} = A / f_i A$ is flat over R and such that they are compatible.

• If D and D' are effective Cartier divisors, then the sum $D + D'$ is the effective Cartier divisor defined locally as $fg = 0$ if f, g give local equations for D and D' .
• If D is an effective Cartier divisor and $R \to R'$ is a ring homomorphism, then $D \times_R R'$ is an effective Cartier divisor in $X \times_R R'$.
• If D is an effective Cartier divisor and $f: X' \to X$ a flat morphism over R, then $D' = D \times_X X'$ is an effective Cartier divisor in X' with the ideal sheaf $I(D') = f^* (I(D))$.

Taking $I(D)^{-1} \otimes_{\mathcal{O}_X} -$ of $0 \to I(D) \to \mathcal{O}_X \to \mathcal{O}_D \to 0$ gives the exact sequence

$0 \to \mathcal{O}_X \to I(D)^{-1} \to I(D)^{-1} \otimes \mathcal{O}_D \to 0$.

This allows one to see global sections of $\mathcal{O}_X$ as global sections of $I(D)^{-1}$. In particular, the constant 1 on X can be thought of as a section of $I(D)^{-1}$ and D is then the zero locus of this section. Conversely, if $L$ is a line bundle on X and s a global section of it that is a nonzerodivisor on $\mathcal{O}_X$ and if $L/\mathcal{O}_X$ is flat over R, then $s = 0$ defines an effective Cartier divisor whose ideal sheaf is isomorphic to the inverse of L.

From now on suppose X is a smooth curve (still over R). Let D be an effective Cartier divisor in X and assume it is proper over R (which is immediate if X is proper.) Then $\Gamma(D, \mathcal{O}_D)$ is a locally free R-module of finite rank. This rank is called the degree of D and is denoted by $\operatorname{deg} D$. It is a locally constant function on $\operatorname{Spec} R$. If D and D' are proper effective Cartier divisors, then $D + D'$ is proper over R and $\operatorname{deg}(D + D') = \operatorname{deg}(D) + \operatorname{deg}(D')$. Let $f: X' \to X$ be a finite flat morphism. Then $\operatorname{deg}(f^* D) = \operatorname{deg}(f) \operatorname{deg}(D)$.[5] On the other hand, a base change does not change degree: $\operatorname{deg}(D \times_R R') = \operatorname{deg}(D)$.[6]

A closed subscheme D of X is finite, flat and of finite presentation if and only if it is an effective Cartier divisor that is proper over R.[7]