246C notes 1: Meromorphic functions on Riemann surfaces, and the Riemann-Roch theorem

What's new 2018-03-29

The fundamental object of study in real differential geometry are the real manifolds: Hausdorff topological spaces {M = M^n} that locally look like open subsets of a Euclidean space {{\bf R}^n}, and which can be equipped with an atlas {(\phi_\alpha: U_\alpha \rightarrow V_\alpha)_{\alpha \in A}} of coordinate charts {\phi_\alpha: U_\alpha \rightarrow V_\alpha} from open subsets {U_\alpha} covering {M} to open subsets {V_\alpha} in {{\bf R}^n}, which are homeomorphisms; in particular, the transition maps {\tau_{\alpha,\beta}: \phi_\alpha( U_\alpha \cap U_\beta ) \rightarrow \phi_\beta( U_\alpha \cap U_\beta )} defined by {\tau_{\alpha,\beta}: \phi_\beta \circ \phi_\alpha^{-1}} are all continuous. A smooth real manifold is a real manifold in which the transition maps are all smooth.

In a similar fashion, the fundamental object of study in complex differential geometry are the complex manifolds, in which the model space is {{\bf C}^n} rather than {{\bf R}^n}, and the transition maps {\tau_{\alpha\beta}} are required to be holomorphic (and not merely smooth or continuous). In the real case, the one-dimensional manifolds (curves) are quite simple to understand, particularly if one requires the manifold to be connected; for instance, all compact connected one-dimensional real manifolds are homeomorphic to the unit circle (why?). However, in the complex case, the connected one-dimensional manifolds – the ones that look locally like subsets of {{\bf C}} – are much richer, and are known as Riemann surfaces. For sake of completeness we give the (somewhat lengthy) formal definition:

Definition 1 (Riemann surface) If {M} is a Hausdorff connected topological space, a (one-dimensional complex) atlas is a collection {(\phi_\alpha: U_\alpha \rightarrow V_\alpha)_{\alpha \in A}} of homeomorphisms from open subsets {(U_\alpha)_{\alpha \in A}} of {M} that cover {M} to open subsets {V_\alpha} of the complex numbers {{\bf C}}, such that the transition maps {\tau_{\alpha,\beta}: \phi_\alpha( U_\alpha \cap U_\beta ) \rightarrow \phi_\beta( U_\alpha \cap U_\beta )} defined by {\tau_{\alpha,\beta}: \phi_\beta \circ \phi_\alpha^{-1}} are all holomorphic. Here {A} is an arbitrary index set. Two atlases {(\phi_\alpha: U_\alpha \rightarrow V_\alpha)_{\alpha \in A}}, {(\phi'_\beta: U'_\beta \rightarrow V'_\beta)_{\beta \in B}} on {M} are said to be equivalent if their union is also an atlas, thus the transition maps {\phi'_\beta \circ \phi_\alpha^{-1}: \phi_\alpha(U_\alpha \cap U'_\beta) \rightarrow \phi'_\beta(U_\alpha \cap U'_\beta)} and their inverses are all holomorphic. A Riemann surface is a Hausdorff connected topological space {M} equipped with an equivalence class of one-dimensional complex atlases.

A map {f: M \rightarrow M'} from one Riemann surface {M} to another {M'} is holomorphic if the maps {\phi'_\beta \circ f \circ \phi_\alpha^{-1}: V_\alpha \cap \phi_\alpha(f^{-1}(U'_\beta)) \rightarrow {\bf C}} are holomorphic for any charts {\phi_\alpha: U_\alpha \rightarrow V_\alpha}, {\phi'_\beta: U'_\beta \rightarrow V'_\beta} of an atlas of {M} and {M'} respectively; it is not hard to see that this definition does not depend on the choice of atlas. It is also clear that the composition of two holomorphic maps is holomorphic (and in fact the class of Riemann surfaces with their holomorphic maps forms a category).

Here are some basic examples of Riemann surfaces.

Example 2 (Quotients of {{\bf C}}) The complex numbers {{\bf C}} clearly form a Riemann surface (using the identity map {\phi: {\bf C} \rightarrow {\bf C}} as the single chart for an atlas). Of course, maps {f: {\bf C} \rightarrow {\bf C}} that are holomorphic in the usual sense will also be holomorphic in the sense of the above definition, and vice versa, so the notion of holomorphicity for Riemann surfaces is compatible with that of holomorphicity for complex maps. More generally, given any discrete subgroup {\Lambda} of {{\bf C}}, the quotient {{\bf C}/\Lambda} is a Riemann surface. There are an infinite number of possible atlases to use here; one such is to pick a sufficiently small neighbourhood {U} of the origin in {{\bf C}} and take the atlas {(\phi_\alpha: U_\alpha \rightarrow U)_{\alpha \in {\bf C}/\Lambda}} where {U_\alpha := \alpha+U} and {\phi_\alpha(\alpha+z) := z} for all {z \in U}. In particular, given any non-real complex number {\omega}, the complex torus {{\bf C} / \langle 1, \omega \rangle} formed by quotienting {{\bf C}} by the lattice {\langle 1, \omega \rangle := \{ n + m \omega: n,m \in {\bf Z}\}} is a Riemann surface.

Example 3 Any open connected subset {U} of {{\bf C}} is a Riemann surface. By the Riemann mapping theorem, all simply connected open {U \subset {\bf C}} are isomorphic (as Riemann surfaces) to the unit disk (or, equivalently, to the upper half-plane).

Example 4 (Riemann sphere) The Riemann sphere {{\bf C} \cup \{\infty\}}, as a topological manifold, is the one-point compactification of {{\bf C}}. Topologically, this is a sphere and is in particular connected. One can cover the Riemann sphere by the two open sets {U_1 := {\bf C}} and {U_2 := {\bf C} \cup \{\infty\} \backslash \{0\}}, and give these two open sets the charts {\phi_1: U_1 \rightarrow {\bf C}} and {\phi_2: U_2 \rightarrow {\bf C}} defined by {\phi_1(z) := z} for {z \in {\bf C}}, {\phi_2(z) := 1/z} for {z \in {\bf C} \backslash \{0\}}, and {\phi_2(\infty) := 0}. This is a complex atlas since the {1/z} is holomorphic on {{\bf C} \backslash \{0\}}.

An alternate way of viewing the Riemann sphere is as the projective line {\mathbf{CP}^1}. Topologically, this is the punctured complex plane {{\bf C}^2 \backslash \{(0,0)\}} quotiented out by non-zero complex dilations, thus elements of this space are equivalence classes {[z,w] := \{ (\lambda z, \lambda w): \lambda \in {\bf C} \backslash \{0\}\}} with the usual quotient topology. One can cover this space by two open sets {U_1 := \{ [z,1]: z \in {\bf C} \}} and {U_2: \{ [1,w]: w \in {\bf C} \}} and give these two open sets the charts {\phi: U_1 \rightarrow {\bf C}} and {\phi_2: U_2 \rightarrow {\bf C}} defined by {\phi_1([z,1]) := z} for {z \in {\bf C}}, {\phi_2([1,w]) := w}. This is a complex atlas, basically because {[z,1] = [1,1/z]} for {z \in {\bf C} \backslash \{0\}} and {1/z} is holomorphic on {{\bf C} \backslash \{0\}}.

Exercise 5 Verify that the Riemann sphere is isomorphic (as a Riemann surface) to the projective line.

Example 6 (Smooth algebraic plane curves) Let {P(z_1,z_2,z_3)} be a complex polynomial in three variables which is homogeneous of some degree {d \geq 1}, thus

\displaystyle  P( \lambda z_1, \lambda z_2, \lambda z_3) = \lambda^d P( z_1, z_2, z_3). \ \ \ \ \ (1)

Define the complex projective plane {\mathbf{CP}^2} to be the punctured space {{\bf C}^3 \backslash \{0\}} quotiented out by non-zero complex dilations, with the usual quotient topology. (There is another important topology to place here of fundamental importance in algebraic geometry, namely the Zariski topology, but we will ignore this topology here.) This is a compact space, whose elements are equivalence classes {[z_1,z_2,z_3] := \{ (\lambda z_1, \lambda z_2, \lambda z_2, \lambda z_3)\}}; by the fundamental theorem of algebra it is non-empty. Inside this plane we can define the (projective, degree {d}) algebraic curve

\displaystyle  Z(P) := \{ [z_1,z_2,z_3] \in \mathbf{CP}^2: P(z_1,z_2,z_3) = 0 \};

this is well defined thanks to (1). It is easy to verify that {Z(P)} is a closed subset of {\mathbf{CP}^2} and hence compact.

Suppose that {P} is irreducible, which means that it is not the product of polynomials of smaller degree. As we shall show in the appendix, this makes the algebraic curve connected. (Actually, algebraic curves remain connected even in the reducible case, thanks to Bezout’s theorem, but we will not prove that theorem here.) We will in fact make the stronger nonsingularity hypothesis: there is no triple {(z_1,z_2,z_3) \in {\bf C}^3 \backslash \{(0,0,0)\}} such that the three numbers {P(z_1,z_2,z_3), \frac{\partial}{\partial z_j} P(z_1,z_2,z_3)} simultaneously vanish for {j=1,2,3}. (This looks like four constraints, but is in fact essentially just three, due to the Euler identity

\displaystyle  \sum_{j=1}^3 z_j \frac{\partial}{\partial z_j} P(z_1,z_2,z_3) = d P(z_1,z_2,z_3)

that arises from differentiating (1) in {\lambda}. The fact that nonsingularity implies irreducibility is another consequence of Bezout’s theorem, which is not proven here.) For instance, the polynomial {z_1^2 z_3 - z_2^3} is irreducible but singular (there is a “cusp” singularity at {[0,0,1]}). With this hypothesis, we call the curve {Z(P)} smooth.

Now suppose {[z_1,z_2,z_3]} is a point in {Z(P)}; without loss of generality we may take {z_3} non-zero, and then we can normalise {z_3=1}. Now one can think of {P(z_1,z_2,1)} as an inhomogeneous polynomial in just two variables {z_1,z_2}, and by nondegeneracy we see that the gradient {(\frac{\partial}{\partial z_1} P(z_1,z_2,1), \frac{\partial}{\partial z_2} P(z_1,z_2,1))} is non-zero. By the (complexified) implicit function theorem, this ensures that the affine algebraic curve

\displaystyle  Z(P)_{aff} := \{ (z_1,z_2) \in {\bf C}^2: P(z_1,z_2,1) = 0 \}

is a Riemann surface in a neighbourhood of {(z_1,z_2,1)}; we leave this as an exercise. This can be used to give a coordinate chart for {Z(P)} in a neighbourhood of {[z_1,z_2,z_3]} when {z_3 \neq 0}. Similarly when {z_1,z_2} is non-zero. This can be shown to give an atlas on {Z(P)}, which (assuming the connectedness claim that we will prove later) gives {Z(P)} the structure of a Riemann surface.

Exercise 7 State and prove a complex version of the implicit function theorem that justifies the above claim that the charts in the above example form an atlas, and an algebraic curve associated to a non-singular polynomial is a Riemann surface.

Exercise 8

  • (i) Show that all algebraic curves of degree {1} are isomorphic to the Riemann sphere. (Hint: reduce to an explicit linear polynomial such as {z_3}.)
  • (ii) Show that all algebraic curves of degree {2} are isomorphic to the Riemann sphere. (Hint: to reduce computation, first use some linear algebra to reduce the homogeneous quadratic polynomial to a standard form, such as {z_1^2+z_2^2+z_3^2} or {z_2 z_3 - z_1^2}.)

Exercise 9 If {a,b} are complex numbers, show that the projective cubic curve

\displaystyle  \{ [z_1, z_2, z_3]: z_1^2 z_3 = z_2^3 + a z_2 + b \}

is nonsingular if and only if the discriminant {-16 (4a^3 + 27b^2)} is non-zero. (When this occurs, the curve is called an elliptic curve (in Weierstrass form), which is a fundamentally important example of a Riemann surface in many areas of mathematics, and number theory in particular. One can also define the discriminant for polynomials of higher degree, but we will not do so here.)

A recurring theme in mathematics is that an object {X} is often best studied by understanding spaces of “good” functions on {X}. In complex analysis, there are two basic types of good functions:

Definition 10 Let {X} be a Riemann surface. A holomorphic function on {X} is a holomorphic map from {X} to {{\bf C}}; the space of all such functions will be denoted {{\mathcal O}(X)}. A meromorphic function on {X} is a holomorphic map from {X} to the Riemann sphere {{\bf C} \cup \{\infty\}}, that is not identically equal to {\infty}; the space of all such functions will be denoted {M(X)}.

One can also define holomorphicity and meromorphicity in terms of charts: a function {f: X \rightarrow {\bf C}} is holomorphic if and only if, for any chart {\phi_\alpha: U_\alpha \rightarrow X}, the map {f \circ \phi^{-1}_\alpha: \phi_\alpha(U_\alpha) \rightarrow {\bf C}} is holomorphic in the usual complex analysis sense; similarly, a function {f: X \rightarrow {\bf C} \cup \{\infty\}} is meromorphic if and only if the preimage {f^{-1}(\{\infty\})} is discrete (otherwise, by analytic continuation and the connectedness of {X}, {f} will be identically equal to {\infty}) and for any chart {\phi_\alpha: U_\alpha \rightarrow X}, the map {f \circ \phi_\alpha^{-1}: \phi_\alpha(U_\alpha) \rightarrow {\bf C} \cup \{\infty\}} becomes a meromorphic function in the usual complex analysis sense, after removing the discrete set of complex numbers where this map is infinite. One consequence of this alternate definition is that the space {{\mathcal O}(X)} of holomorphic functions is a commutative complex algebra (a complex vector space closed under pointwise multiplication), while the space {M(X)} of meromorphic functions is a complex field (a commutative complex algebra where every non-zero element has an inverse). Another consequence is that one can define the notion of a zero of given order {k}, or a pole of order {k}, for a holomorphic or meromorphic function, by composing with a chart map and using the usual complex analysis notions there, noting (from the holomorphicity of transition maps and their inverses) that this does not depend on the choice of chart. (However, one cannot similarly define the residue of a meromorphic function on {X} this way, as the residue turns out to be chart-dependent thanks to the chain rule. Residues should instead be applied to meromorphic {1}-forms, a concept we will introduce later.) A third consequence is analytic continuation: if two holomorphic or meromorphic functions on {X} agree on a non-empty open set, then they agree everywhere.

On the complex numbers {{\bf C}}, there are of course many holomorphic functions and meromorphic functions; for instance any power series with an infinite radius of convergence will give a holomorphic function, and the quotient of any two such functions (with non-zero denominator) will give a meromorphic function. Furthermore, we have extremely wide latitude in how to specify the zeroes of the holomorphic function, or the zeroes and poles of the meromorphic function, thanks to tools such as the Weierstrass factorisation theorem or the Mittag-Leffler theorem (covered in previous quarters).

It turns out, however, that the situation changes dramatically when the Riemann surface {X} is compact, with the holomorphic and meromorphic functions becoming much more rigid. First of all, compactness eliminates all holomorphic functions except for the constants:

Lemma 11 Let {f \in \mathcal{O}(X)} be a holomorphic function on a compact Riemann surface {X}. Then {f} is constant.

This result should be seen as a close sibling of Liouville’s theorem that all bounded entire functions are constant. (Indeed, in the case of a complex torus, this lemma is a corollary of Liouville’s theorem.)

Proof: As {f} is continuous and {X} is compact, {|f(z_0)|} must attain a maximum at some point {z_0 \in X}. Working in a chart around {z_0} and applying the maximum principle, we conclude that {f} is constant in a neighbourhood of {z_0}, and hence is constant everywhere by analytic continuation. \Box

This dramatically cuts down the number of possible meromorphic functions – indeed, for an abstract Riemann surface, it is not immediately obvious that there are any non-constant meromorphic functions at all! As the poles are isolated and the surface is compact, a meromorphic function can only have finitely many poles, and if one prescribes the location of the poles and the maximum order at each pole, then we shall see that the space of meromorphic functions is now finite dimensional. The precise dimensions of these spaces are in fact rather interesting, and obey a basic duality law known as the Riemann-Roch theorem. We will give a mostly self-contained proof of the Riemann-Roch theorem in these notes, omitting only some facts about genus and Euler characteristic, as well as construction of certain meromorphic {1}-forms (also known as Abelian differentials).

— 1. Divisors —

To discuss the zeroes and poles of meromorphic functions, it is convenient to introduce an abstraction of the concept of “a collection of zeroes and poles”, known as a divisor.

Definition 12 (Divisor) Let {X} be a compact Riemann surface. A divisor on {X} is a formal integer linear combination {\sum_P c_P \cdot (P)}, where {P} ranges over a finite collection of points in {X}, and {c_P} are integers, with the obvious additive group structure; equivalently, the space {\mathrm{Div}(X)} of divisors is the free abelian group with generators {(P)} with {P \in X} (where we make the usual convention {1 \cdot (P) = (P)}). The number {\sum_P c_P} is the degree of the divisor; we call each {c_P} the order of the divisor {D} at {P}, with the convention that the order is zero for points not appearing in the sum. A divisor is non-negative (or effective) if all the {c_P} are non-negative, and we partially order the divisors by writing {D_1 \geq D_2} if {D_1-D_2} is non-negative. This makes {\mathrm{Div}(X)} a lattice, so we can define the maximum {\max(D_1,D_2)} or minimum {\min(D_1,D_2)} of two divisors. Given a non-zero meromorphic function {f \in M(X)}, the principal divisor {(f)} associated to {f} is the divisor {\sum_P \mathrm{ord}_P(f) \cdot (P)}, where {P} ranges over the zeroes and poles of {f}, and {\mathrm{ord}_P(f)} is the order of zero (or negative the order of pole) at {P}. (Note that as zeroes and poles are isolated, and {X} is compact, the number of zeroes and poles is automatically finite.)

Informally, one should think of {c_P \cdot (P)} as the abstraction of a zero of order {c_P} at {P}, or a pole of order {-c_P} if {c_P} is negative.

Example 13 Consider a rational function

\displaystyle  f(z) = \alpha \frac{(z-z_1) \dots (z-z_m)}{(z-w_1)\dots(z-w_n)}

for some non-zero complex number {\alpha} and some complex numbers {z_1,\dots,z_m,w_1,\dots,w_n}. This is a meromorphic function on {{\bf C}}, and {f(1/z)} is also meromorphic, so {f} extends to a meromorphic function on the Riemann sphere {{\bf C} \cup \{\infty\}}. It has zeroes at {z_1,\dots,z_m} and poles at {w_1,\dots,w_n}, and also has a zero of order {n-m} (or a pole of order {m-n}) at {\infty}, as can be seen by inspection of {z \mapsto f(1/z)} near the origin (or the growth of {f(z)} near infinity), and thus

\displaystyle  (f) = \sum_{j=1}^m (z_j) - \sum_{j=1}^n (w_n) + (n-m) \cdot (\infty).

In particular, {(f)} has degree zero.

Exercise 14 Show that all meromorphic functions on the Riemann sphere come from rational functions as in the above example. In particular, every principal divisor on the Riemann sphere has degree zero. Give an alternate proof of this fact using the residue theorem. (We will generalise this fact to other Riemann surfaces shortly; see Proposition 24.)

It is easy to see (by working in a coordinate chart around {P}) that if {f, g \in M(X)} are non-zero meromorphic functions, that one has the valuation axioms

\displaystyle  \mathrm{ord}_P(fg) = \mathrm{ord}_P(f) + \mathrm{ord}_P(g)

\displaystyle  \mathrm{ord}_P(f/g) = \mathrm{ord}_P(f) - \mathrm{ord}_P(g)

\displaystyle  \mathrm{ord}_P(f+g) \geq \min( \mathrm{ord}_P(f), \mathrm{ord}_P(g) )

for any {P \in X} (adopting the convention the zero function has order {+\infty} everywhere); thus we have

\displaystyle  (fg) = (f) + (g), \quad (f/g) = (f) - (g); \quad (f+g) \geq \min( (f), (g) ) \ \ \ \ \ (2)

again adopting the convention that {(0)} is larger than every divisor. In particular, the space {\mathrm{PDiv}(X)} of principal divisors of {X} is a subgroup of {\mathrm{Div}(X)}.

The properties (2) have the following consequence. Given a divisor {D}, let {L(D)} be the space of all meromorphic functions {f \in M(X)} such that {(f)+D \geq 0} (including, by convention, the zero function {0}); thus, if {D = \sum_P c_P \cdot (P)}, then {L(D)} consists of functions that have at worst a pole of order {c_P} at {P} (or a zero of order {-c_P} or greater, if {c_P} is negative). For instance, {L( 2(P) + (Q) - (R))} is the space of meromorphic functions that have at most a double pole at {P}, a single pole at {Q}, and at least a simple zero at {R}, if {P,Q,R} are distinct points in {X}. From (2) (and the fact that non-zero constant functions have principal divisor zero) we see that each {L(D)} is a vector space. We clearly have the nesting properties {L(D_1) \leq L(D_2)} if {D_1 \leq D_2}, and also if {f \in L(D_1), g \in L(D_2)} then {fg \in L(D_1+D_2)}.

Remark 15 In the language of vector bundles, one can identify a divisor {D} with a certain holomorphic line bundle on {X}, and {L(D)} can be identified with the space of sections of this bundle. This is arguably the more natural way to think about divisors; however, we will not adopt this language here.

If {D \leq 0} and {f \in L(D)}, then {f} is holomorphic on {X} and hence (by Lemma 11) constant. We can thus easily compute {L(D)} for zero or negative divisors:

Corollary 16 Let {X} be a compact Riemann surface. Then {L(0)} consists only of the constant functions, and {L(D)} consists only of {0} if {D<0}. In particular, {L(D)} has dimension {1} when {D=0} and {0} when {D<0}.

Exercise 17 If {(f)} and {(g)} are principal divisors with {(f) \leq (g)}, show that {f} is a constant multiple of {g} with {(f) = (g)}.

Exercise 18 Let {D} be a divisor. Show that {\mathrm{dim}(L(D)) > 0} if and only if {D} is linearly equivalent to an effective divisor.

The situation for {D \not \leq 0} (i.e., {D} contains at least one pole) is more interesting. We first have a simple observation from linear algebra:

Lemma 19 Let {X} be a compact Riemann surface, {D} be a divisor, and {P \in X} be a point. Then {L(D)} has codimension at most {1} in {L(D+(P))}.

Proof: Let {\phi: U \rightarrow {\bf C}} be a chart that maps {P} to the origin, and suppose that {D} already had order {m} at {P} (so that {D+(P)} had order {m+1}). Then functions {f \in L(D+(P))}, when composed with the inverse {\phi^{-1}} of the chart function have Laurent expansion

\displaystyle  f( \phi^{-1}(z) ) = \frac{a_{m+1}}{z^{m+1}} + \frac{a_m}{z^m} + \dots

for some complex coefficients {a_{m+1},a_m,\dots} (which will depend on the choice of chart). The map {f \mapsto a_{m+1}} is clearly a linear map from {L(D+(P))} to {{\bf C}}, whose kernel is {L(D)}, and the claim follows. \Box

As a corollary of this lemma and Corollary 16, we see that the spaces {L(D)} are all finite dimensional, with the dimension {\mathrm{dim}(L(D))} increasing by zero or one each time one adds an additional pole to {D}.

Here is another simple linear algebra relation between the dimensions of the spaces {L(D)}:

Lemma 20 Let {X} be a compact Riemann surface, and let {D_1,D_2} be divisors. Then

\displaystyle  \mathrm{dim} L(D_1) + \mathrm{dim} L(D_2)

\displaystyle \leq \mathrm{dim} L(\min(D_1,D_2)) + \mathrm{dim} L(\max(D_1,D_2)).

Proof: From linear algebra we have

\displaystyle  \mathrm{dim} L(D_1) + \mathrm{dim} L(D_2) = \mathrm{dim}(L(D_1) \cap L(D_2)) + \mathrm{dim} (L(D_1)+L(D_2)).

Since {L(D_1) \cap L(D_2) = L(\min(D_1,D_2))} and {L(D_1) + L(D_2) \subset L(\max(D_1,D_2))}, the claim follows. \Box

If {D} is a divisor and {(f)} is an effective divisor, then (2) gives an isomorphism between {L(D)} and {L(D+(f))}, by mapping {g \in L(D)} to {gf \in L(D+(f))}. In particular, the dimensions {\mathrm{dim}(L(D))} and {\mathrm{dim}(L(D+(f)))} are the same. If we define a divisor class to be a coset {D + \mathrm{PDiv}(X) = \{ D + (f): f \in M(X) \backslash \{0\}\}} of the principal divisors in {\mathrm{Div}(X)}, then we conclude that the dimension {\mathrm{dim}(L(D))} depends only on the divisor class {D + \mathrm{PDiv}(X)} of {D}. The space {\mathrm{Div}(X)/\mathrm{PDiv}(X)} of divisor classes is an abelian group, which is known as the divisor class group. (For nonsingular algebraic curves, this group also coincides with the Picard group, though the situation is more subtle if one allows singularities). We call two divisors linearly equivalent if they differ by a principal divisor.

It is now easy to understand the spaces {L(D)} for the Riemann sphere:

Exercise 21 Show that two divisors on the Riemann sphere are equivalent if and only if they have the same degree, so that the degree map gives an isomorphism between the divisor class group of the Riemann sphere and the integers. If {D} is a divisor on the Riemann sphere, show that {\mathrm{dim}(L(D))} is equal to {\max( 0, \mathrm{deg}(D) + 1 )}. (Hint: first show that for any integer {m}, that {L(m \cdot (\infty))} is the space of polynomials of degree at most {m}.)

From the above exercise we observe in particular that

\displaystyle  \mathrm{dim}(L(D)) - \mathrm{dim}(L(K-D)) = \mathrm{deg}(D) + 1, \ \ \ \ \ (3)

whenever {K} has degree {-2}; as we will see later, this is a special case of the Riemann-Roch theorem.

— 2. Meromorphic {1}-forms —

To proceed further, we will introduce the concept of a meromorphic {1}-form on a compact Riemann surface {X}. To motivate this concept, observe that one can think of a meromorphic function {f \in M(X)} on {X} as a collection of meromorphic functions {f_\phi := f \circ \phi^{-1}: \phi(U) \rightarrow {\bf C} \cup \{\infty\}} on open subsets of the complex plane, where {\phi: U \rightarrow {\bf C}} ranges over a suitable atlas of {X}. These meromorphic functions {f_\phi} are compatible with each other in the following sense: if {\phi: U \rightarrow {\bf C}} and {\psi: V \rightarrow {\bf C}} are charts, then we have

\displaystyle  f_\psi(z) = f_\phi( \phi \circ \psi^{-1}(z) ) \ \ \ \ \ (4)

for all {z \in \psi(U \cap V)} (this condition is vacuous if {U,V} do not overlap). As already noted, one can define such concepts as the order of {f} at a pole {P} by declaring it to be the order of {f_\phi} at {\phi(P)} for any chart {\phi: U \rightarrow {\bf C}} that contains {P} in its domain, and the compatibility condition (4) ensures that this definition is well defined.

On the other hand, several other basic notions in complex analysis do not seem to be well defined for such meromorphic functions. Consider for instance the question of how to define the residue of {f} at a pole {P}. The natural thing to do is to again pick a chart {\phi} around {P} and use the residue of {f_\phi}; however one can check that this is not independent of the choice of chart in general, as from (4) one will find that the residues of {f_\psi} and {f_\phi} are related to each other, but not equal. Similarly, one encounters a difficulty integrating {f} on a contour {\gamma} in {X}, even if the contour is short enough to fit into the domain {U} of a single chart {\phi: U \rightarrow {\bf C}} and also avoids all the poles of {f}; the natural thing to do is to compute {\int_{\phi \circ \gamma} f_\phi(z)\ dz}, but again this will depend on the choice of chart (substituting (4) will reveal that {\int_{\psi \circ \gamma} f_\psi(z)\ dz} is not equal to {\int_{\phi \circ \gamma} f_\phi(z)\ dz} in general due to an additional Jacobian factor). Finally, one encounters a difficulty trying to differentiate a meromorphic function {f \in M(X)}; on each chart {\phi: U \rightarrow {\bf C}} one would like to just differentiate {f_\phi}, but the resulting derivatives {(f_\phi)'} do not obey the compatibility condition (4), but instead (by the chain rule) obey the slightly different condition

\displaystyle  (f_\psi)'(z) = (f_\phi)'( \phi \circ \psi^{-1}(z) ) (\phi \circ \psi^{-1})'(z).

The solution to all of these issues is to introduce a new type of object on {X}, the meromorphic {1}-forms.

Definition 22 A meromorphic {1}-form {\omega} on {X} is a collection of expressions {\omega_\phi(z)\ dz} for each coordinate chart {\phi: U \rightarrow {\bf C}} of {X}, with {\omega_\phi} meromorphic on {\phi(U)}, which obey the compatibility condition

\displaystyle  \omega_\psi(z) = \omega_\phi( \phi \circ \psi^{-1}(z) ) (\phi \circ \psi^{-1})'(z) \ \ \ \ \ (5)

for any pair {\phi: U \rightarrow {\bf C}}, {\psi: V \rightarrow {\bf C}} of charts and any {z \in U \cap V}. If all the {\omega_\phi} are holomorphic, we say that {\omega} is holomorphic also. The space of meromorphic {1}-forms will be denoted {M\Omega^1(X)}.

As with meromorphic functions, we can define the order {\mathrm{ord}_P(\omega)} of {\omega} at a point {P \in X} to be the order of {\omega_\phi} at {\phi(P)} for some chart {\phi} that contains {U} in its domain; from (5) we see that this is well defined. Similarly we may define the divisor {(\omega)} of {\omega}. The divisor of a non-zero meromorphic {1}-form is called a canonical divisor. (We will show later that at least one non-zero meromorphic {1}-form is available, so that canonical divisors exist.)

Let {\omega} be a meromorphic {1}-form. Given a contour {\gamma: [a,b] \rightarrow X} that lies in the domain {U} of a single chart {\phi: U \rightarrow {\bf C}} and avoids the poles of {\omega}, we can define the integral {\int_\gamma \omega} to be equal to {\int_{\phi \circ \gamma} \omega_\phi(z)\ dz}. One checks from (5) and the change of variables formula that this definition is independent of the choice of chart. One then defines {\int_\gamma \omega} for longer contours by partitioning into short contours; again, one can check that this definition is independent of the choice of partition.

The residue of {\omega} at {P} can be defined as the residue of {\omega_\phi} at {\phi(P)} for a chart {\phi} that contains {P} in its domain, or equivalently (by the residue theorem) {\frac{1}{2\pi i} \int_\gamma \omega} where {\gamma} is a sufficiently small contour winding around {P} once anticlockwise (note that we have a consistent orientation on {X} since invertible holomorphic maps are orientation preserving).

Meromorphic {1}-forms are also known as Abelian differentials, while holomorphic {1}-forms are Abelian differentials of the first kind. (Abelian differentials of the second kind are meromorphic {1}-forms in which all residues vanish, while Abelian differentials of the third kind are meromorphic {1}-forms in which all poles are simple.) To specify a meromorphic form {\omega}, it suffices to prescribe {\omega_\phi} for all {\phi} in a single atlas of {X}; as long as (5) is obeyed within this atlas, it is easy to see that {\omega_\psi} can then be defined uniquely using (5) for all other coordinate charts.

There are two basic ways to create meromorphic {1}-forms. One is to start with a meromorphic function {f \in M(X)} and form its differential {df}, which when evaluated any chart {\phi: U \rightarrow {\bf C}} of {X} is given by the formula

\displaystyle  (df)_\phi\ dz := (f \circ \phi^{-1})'(z)\ dz;

the compatibility condition (5) is then clear from the chain rule. Another way is to start with an existing meromorphic {1}-form {\omega} and multiply it by a meromorphic function {f} to give a new meromorphic {1}-form {f \omega}, which when evaluated at a given chart {\phi: U \rightarrow {\bf C}} of {X} is given by

\displaystyle  (f\omega)_\phi\ dz := f(z) \omega_\phi(z)\ dz;

again, it is clear that the compatibility condition (5) holds. Conversely, given two meromorphic {1}-forms {\omega_1, \omega_2}, with {\omega_2} not identically zero, one can form the ratio {\omega_1/\omega_2} to be the unique meromorphic function {f} such that {\omega_1 = f \omega_2}; it is easy to see that {f} exists and is unique. These properties are compatible with taking divisors, thus {(f\omega) = (f) + (\omega)} and {(\omega_1/\omega_2) = (\omega_1) - (\omega_2)}.

Of course, one can also add two meromorphic {1}-forms to obtain another meromorphic {1}-form. Thus {M\Omega^1(X)} is in fact a one-dimensional vector space over the field {M(X)} (here we assume that non-zero meromorphic {1}-forms exist, a claim which we will return to later). In particular, the canonical divisor is unique up to linear equivalence.

Later on we will discuss a further way to create a meromorphic {1}-form, by taking the gradient of a harmonic function with specific types of singularities.

Example 23 The coordinate function {z} can be viewed as a meromorphic function on the Riemann sphere {{\bf C} \cup \{\infty\}} (it has a simple zero at {0} and a simple pole at {\infty}). Its derivative {dz} then has a double pole at infinity (note that in the reciprocal coordinate {w = 1/z}, {dz} transforms to {-\frac{1}{w^2} dw}), so {(dz) = - 2 \cdot (\infty)}. Any other meromorphic {1}-form is of the form {f(z) dz}, where {f} is a meromorphic function (that is to say, a rational function). In particular, since meromorphic functions have divisor of degree {0}, all meromorphic {1}-forms on the Riemann sphere have a divisor of degree {-2}; indeed, the canonical divisors here are precisely the divisors of degree {-2}.

We now give a key application of meromorphic {1}-forms to the divisors of meromorphic functions:

Proposition 24 Let {X} be a compact Riemann surface.

  • (i) For any meromorphic {1}-form {\omega}, the sum of all the residues of {\omega} vanishes.
  • (ii) Every principal divisor {(f)} has degree zero.

Proof: We begin with (i). By evaluating at coordinate charts, the counterclockwise integral of {\omega} around any small loop {\gamma} that avoids any pole is zero; thus {\omega} is closed outside of these poles, and hence by Stokes’ theorem we conclude that the integral of {\gamma} around the sum of small counterclockwise loops around every pole is zero. On the other hand, by the residue theorem applied in each chart, this integral is equal to {2\pi i} times the sum of the residues, and the claim follows.

To prove (ii), apply (i) to the meromorphic function {df/f} (cf. the usual proof of the argument principle). \Box

Exercise 25 Let {X} be a compact Riemann surface, and let {D} be a divisor on {X}.

  • (i) If {\mathrm{deg}(D) < 0}, show that {\mathrm{dim}(L(D)) = 0}.
  • (ii) If {\mathrm{deg}(D) = 0}, show that {\mathrm{dim}(L(D))} is equal to {0} or {1}, with the latter occuring if and only if {D} is principal. Furthermore, any non-zero element of {L(D)} has divisor {D}.
  • (iii) If {\mathrm{deg}(D) \geq 0}, establish the bound {\mathrm{dim}(L(D)) \leq \mathrm{deg}(D) + 1}.

We have already discussed how algebraic curves {Z(P)} give good examples of Riemann surfaces. In the converse direction, it is common for Riemann surfaces to map into algebraic curves, as hinted by the following exercise:

Exercise 26 Let {X} be a compact Riemann surface, and let {f, g} be two non-constant meromorphic functions on {X}. Show that there exists a non-zero polynomial {P(z_1,z_2)} of two variables with complex coefficients such that {P(f,g)=0}. (Hint: look at the monomials {f^i g^j} for {i,j \leq N} for some large {N}, and show that they lie in {L(D_N)} for a suitable divisor {D_N}. Then use part (iii) of the previous exercise and linear algebra.) Show furthermore that one can take {P} to be irreducible.

— 3. The case of a complex torus —

For the special case when the Riemann surface being studied is a complex torus {{\bf C}/\Lambda}, one can obtain more precise information on the dimensions {\mathrm{dim}(L(D))} by explicit computations. First observe we have a natural holomorphic {1}-form on {{\bf C}/\Lambda}, namely the form {dz}, defined in any small coordinate chart {\phi: U \hbox{ mod } \Lambda \rightarrow U} on a small disk {U} in {{\bf C}} (with {\phi(z+\Lambda) = z}) by {(dz)_\phi = dz}, and then defined for any other coordinate chart by compatibility. This form has no poles and zeroes, and so {0} is a canonical divisor. Using this {1}-form, we have a bijection between meromorphic functions and meromorphic {1}-forms on {{\bf C}/\Lambda} which maps {f(z)} to {f(z)\ dz}; in contrast to the situation with other Riemann surfaces with non-zero canonical divisor, this bijection does not affect the divisor. In particular, canonical divisors are principal and vice versa. Using this bijection, we can think of the differential {df} of a meromorphic function as another meromorphic function, which we call the derivative {f'}, as per the familiar formula {f' = df / dz}. Of course, with respect to the above coordinate charts, this derivative corresponds to the usual complex derivative.

We also have a fundamental meromorphic function on {{\bf C}/\Lambda}, or equivalently a {\Lambda}-periodic function on {{\bf C}}, namely the Weierstrass {p}-function

\displaystyle  \wp(z) := \frac{1}{z^2} + \sum_{w \in \Lambda} (\frac{1}{(z-w)^2} - \frac{1}{w^2}). \ \ \ \ \ (6)

It is easy to see that the sum converges outside of {\Lambda}, and that this is a meromorphic {\Lambda}-periodic function on {{\bf C}} that has a double pole at every point in {\Lambda}; this descends to a meromorphic function on {{\bf C}/\Lambda} with divisor {2 \cdot (0 + \Lambda)}. By translation we can then create a meromorphic function {\wp_P} with divisor {2 \cdot (P)} for any {{\bf C}/\Lambda}.

Using this function and some manipulations, we can compute {\mathrm{dim}(L(D))} for most divisors {D}:

Lemma 27 Let {{\bf C}/\Lambda} be a complex torus, and let {D} be a divisor.

  • (i) If {\mathrm{deg}(D) < 0}, then {\mathrm{dim}(L(D)) = 0}.
  • (ii) If {\mathrm{deg}(D) = 0}, then {\mathrm{dim}(L(D))} is equal to {0} or {1}. If {D = (P)-(Q)} for some distinct {P,Q \in {\bf C}/\Lambda}, then {\mathrm{dim}(L(D)) = 0}. Also, {\mathrm{dim}(L(D)) = \mathrm{dim}(-L(D))}.
  • (iii) If {\mathrm{deg}(D) > 0}, then {\mathrm{dim}(L(D)) = \mathrm{deg}(D)}.

Proof: Part (i) and the first claim of part (ii) follows from Exercise 25. To prove the second claim of part (ii), it suffices by Exercise 25 to show that there is no meromorphic function with divisor {(P)-(Q)}, that is to say a simple pole at {P} and a simple zero at {Q}. But this follows from Proposition 24(i) (and identifying meromorphic functions with meromorphic {1}-forms) since the residue at {P} is non-zero and there is no other residue to cancel it. The third claim comes from Exercise 25 and the observation that {D} is principal if and only if {-D} is.

Call a divisor {D} good if {\mathrm{dim}(L(D)) = \mathrm{deg}(D)}. We need to show that all divisors of positive degree are good. First we check that {(P)} is good for a point {P}. By Proposition 24(i) we see that the only meromorphic functions in {L((P))} are constant, hence {\mathrm{dim}(L((P))) = 1}, and so {(P)} is good.

The Weierstrass {p}-function {\wp_P} at {P} gives a an element of {L(2 \cdot (P))} which is non-constant (it has a double pole at {P}), so by Lemma 19 we have {\mathrm{dim}(L(2 \cdot (P))) = 2}, and so {2 \cdot (P)} is good. Taking a derivative of {\wp_P} to obtain a meromorphic function with a triple pole at {P}, we obtain a further element of {L(3 \cdot (P))} that is not in {L(2 \cdot (P))}, and so {\mathrm{dim}(L(3 \cdot (P))) = 3}, and so {3 \cdot (P)} is good. Continuing to differentiate in this fashion we see that {k \cdot (P)} is good for any natural number {k}. Combining this with the constants we see that {\mathrm{dim}(L((P)+(Q))) \geq 2}, while from Lemma 19 and the fact that {(P)} is good, we conclude that {(P)+(Q)} is good.

Observe from Lemma 19 and Lemma 20 we see that if {D} is a divisor and {P,Q} are distinct points such that {D, D+(P), D+(Q)} are good, then {D+(P)+(Q)} is also good. We have just shown that all effective divisors of degree {1} and {2} are good; by induction one can now show that all effective divisors of positive degree are good.

Call a degree one divisor {D} very good if {D+D'} is good for every {D' \geq 0}. We have shown that {(P)} is very good for all {P}. We now claim that if {D} is very good then so is {\tilde D := D + (P) - (Q)} is very good. First note that {\tilde D - (P)} and {\tilde D - (Q)} cannot both be principal, since their difference {(P)-(Q)} is not principal. Thus by Exercise 25, at least one of {\mathrm{dim}(L(\tilde D-(P))} or {\mathrm{dim}(L(\tilde D- (Q))} vanishes, and hence {\mathrm{dim}(L(\tilde D)) \leq 1} by Lemma 19. On the other hand, as {D} is very good, {\tilde D+(Q) = D+(P)} is good, and so {\mathrm{dim}(L(\tilde D + (Q))) = 2}. By Lemma 19 we conclude that {\tilde D} is good.

For any {R}, we know that {\tilde D} and {\tilde D + (Q) + (R) = D + (P) + (R)} are good, hence by Lemma 19 the intermediate divisor {\tilde D + (R)} must also be good. Iterating this argument we see that {\tilde D +D'} is good for every {D' \geq 0}, thus {\tilde D'} is very good. Iterating this we see that all degree one divisors are very good, giving (iii). \Box

As a corollary of the above proposition we obtain the complex torus case of the Riemann-Roch theorem:

\displaystyle  \mathrm{dim}(L(D)) - \mathrm{dim}(L(-D)) = \mathrm{deg}(D), \ \ \ \ \ (7)

valid for any divisor {D} (regardless of degree); compare with (3).

Exercise 28 Let {{\bf C}/\Lambda} be a complex torus. Show that the Weierstrass function {\wp} obeys the differential equation

\displaystyle  \wp'(z)^2 = 4\wp(z)^3 - g_2 \wp(z) - g_3

for some complex numbers {g_2,g_3} depending on {\Lambda}. Also show that the map {z \mapsto [\wp(z), \wp'(z),1]} for {z \in {\bf C} /\Lambda \backslash \{0+\Lambda\}} (with {0+\Lambda} mapping to {[0,1,0]}) is a holomorphic invertible map from {{\bf C}/\Lambda} to the algebraic curve

\displaystyle  \{ [z_1,z_2,z_3]: z_1^2 z_3 = 4 z_2^3 - g_2 z_2 z_3^2 - g_3 z_3^3 \}

which is non-singular and irreducible. (Thus, every complex torus is isomorphic to an elliptic curve. The converse is also true, but will not be established here.)

The one remaining point is to work out which degree zero divisors are principal. It turns out that there is an additional constraint beyond degree zero:

Exercise 29 Suppose that {(P_1)+\dots+(P_n)-(Q_1)-\dots-(Q_n)} is a principal divisor on a complex torus {{\bf C}/\Lambda} (we allow repetition). Show that {P_1+\dots+P_n-Q_1-\dots-Q_n=0} using the group law on {{\bf C}/\Lambda}. (Hint: if {f} is a meromorphic function with zeroes at {P_1,\dots,P_n} and poles at {Q_1,\dots,Q_n}, integrate {z \frac{f'(z)}{f(z)}} around a parallelogram fundamental domain of {{\bf C}/\Lambda} (translating if necessary so that the boundary of the parallelogram avoids the zeroes and poles).)

In fact, this is the only condition:

Proposition 30 A degree zero divisor {(P_1)+\dots+(P_n)-(Q_1)-\dots-(Q_n)} is principal if and only if {P_1+\dots+P_n-Q_1-\dots-Q_n=0}.

Proof: By the above exercise it suffices to establish the “if” direction. We may of course assume {n \geq 1}. By Lemma 27, the space {L( (P_1) + \dots + (P_n) - (Q_1) - \dots - (Q_{n-1}) )} is one-dimensional, thus there exists a non-zero meromorphic function {f} with poles at {P_1,\dots,P_n}, zeroes at {Q_1,\dots,Q_{n-1}}, and no further poles (counting multiplicity). By Proposition 24(ii) {f} must have one further zero, and by the above exercise this zero must be {Q_n}. The claim follows. \Box

One can explicitly write down a formula for these meromorphic functions using theta functions, but we will not do so here.

The above proposition links the group law on a complex torus with the group law on divisors. This is part of a more general relation involving the Jacobian variety of a curve and the Abel-Jacobi theorem, but we will not discuss this further in this course.

Proposition 31 Let {{\bf C}/\Lambda} be a complex torus, and let {f: {\bf C}/\Lambda \rightarrow {\bf C}/\Lambda} be a function. Show that {f} is holomorphic if and only if it takes the form

\displaystyle  f( z + \Lambda ) = \alpha z + z_0 + \Lambda

for all {z \in {\bf C}}, and some complex numbers {\alpha,z_0}, with {\alpha} lying in the set {\Gamma := \{ \alpha \in {\bf C}: \alpha \lambda \in \Lambda \hbox{ for all } \lambda \in \Lambda \}}. Furthermore, show that {\Gamma} is either equal to the integers, or to a lattice of the form {\{ n + m \alpha_0: n,m \in {\bf Z} \}} for some quadratic algebraic integer {\alpha_0} (thus {\alpha_0} obeys an equation {\alpha_0^2 + b \alpha_0 + c = 0} for some integers {b,c}). In the latter case, the complex torus is said to have complex multiplication.

— 4. The Riemann Roch theorem —

We now leave the example of the complex torus and return to more general compact Riemann surfaces {X}. We would like to generalise the identity (7) (or (3)) to this setting. As a first step we establish

Proposition 32 (Baby Riemann Roch theorem) Let {K} be a canonical divisor in a compact Riemann surface {X}, and let {D} be an effective divisor. Then

\displaystyle  \mathrm{dim} L(D) - \mathrm{dim}L(K-D) \leq \mathrm{deg}(D) + 1 - \mathrm{dim}(L(K)).

Proof: Write {D = \sum_{P \in {\mathcal P}} n_P \cdot (P)} where {P} ranges over some finite set {{\mathcal P}} of points in {X}, and {n_P} are positive integers. Around each {P} let us form a chart {\phi_P: U_P \rightarrow {\bf C}} that maps {P} to {0}. Then for any {f \in L(D)}, {f \circ \phi_P^{-1}} has a pole of order at most {n_P} at the origin, and can thus be written as

\displaystyle  f \circ \phi_P^{-1}(z) = \sum_{j=1}^{n_P} \frac{c_{P,j}}{z^j} + h_P(z)

for {z} near {0}, where {c_{P,j}} are complex numbers and {h_P(z)} is holomorphic at the origin. We call the expression {\sum_{j=1}^{n_P} \frac{c_{P,j}}{z^j}} the principal part of {f} (uniformised by {\phi_P}) at {P}. If we let {V} denote the collection of tuples {(\sum_{j=1}^{n_P} \frac{c_{P,j}}{z^j})_{P \in {\mathcal P}}} with {c_{P,j}} complex, then {V} is a complex vector space of dimension {\sum_{P \in {\mathcal P}} n_P = \mathrm{deg}(D)}. Inside this space we have the subspace {W} of tuples that can actually arise as the principal parts of a meromorphic function {f} in {L(D)}. Observe that if two functions {f,g \in L(D)} have the same principal parts, then their difference {f-g} is holomorphic and hence constant by Lemma 11. Thus, the space {W} has dimension exactly {\mathrm{dim}(L(D)) - 1}.

As {K} is a canonical divisor, we have a meromorphic {1}-form {\omega} with divisor {K}. If {h \in L(K)}, then {h \omega} is a holomorphic {1}-form. If {v = (\sum_{j=1}^{n_P} \frac{c_{P,j}}{z^j})_{P \in {\mathcal P}}} is a tuple in {V}, we can define a pairing {\langle h, v \rangle} by the formula

\displaystyle  \langle h, v \rangle := \sum_{P \in {\mathcal P}} \mathrm{Res}_{z=0}( ((h \omega) \circ \phi_P^{-1})(z) \sum_{j=1}^{n_P} \frac{c_{P,j}}{z^j}).

This is a bilinear pairing from {L(K) \times V} to {{\bf C}}. If {v \in W}, then all the components of {v} are principal parts of some {f \in L(D)}, and {\langle h, v \rangle} is just the sum of the residues of {h f \omega}, which vanishes by Proposition 24(i). Thus {\langle h,v = 0 \rangle} whenever {h \in L(K)} and {v \in W}. As row rank equals column rank, we conclude that there is a subspace {U} of {L(K)} of dimension at least

\displaystyle \mathrm{dim} L(K) - (\mathrm{dim}(V) - \mathrm{dim}(W)) = \mathrm{dim} L(K) - \mathrm{deg}(D) + \mathrm{dim} L(D) - 1

such that {\langle h, v \rangle = 0} whenever {h \in U} and {v \in V}. But then if {h \in U}, {h \omega} must vanish to order at least {n_P} at each {P}, hence {(h \omega) \geq D}, which is equivalent to {(h) \geq D-K} and hence to {L(K-D)}. One concludes that

\displaystyle \mathrm{dim} L(K-D) \geq \mathrm{dim} L(K) - \mathrm{deg}(D) + \mathrm{dim} L(D) - 1

and the claim follows by rearranging. \Box

One can amplify this proposition if one is in possession of the following three non-trivial claims.

  1. There is at least one non-zero meromorphic {1}-form; in particular, canonical divisors exist.
  2. Every canonical divisor has degree {2g-2}, where {g} is the (topological) genus of {X}.
  3. The space of holomorphic {1}-forms has dimension {g}. Equivalently, for any canonical divisor {K}, {\mathrm{dim} L(K) = g}. (In algebraic geometry language, this asserts that for compact Riemann surfaces, the topological genus is equal to the geometric genus.)

Example 33 The Riemann sphere {{\bf C} \cup \{\infty\}} has genus {g=0}. All meromorphic {1}-forms, such as {dz}, have degree {-2} and so cannot be holomorphic, so there are no holomorphic {1}-forms. Meanwhile, a complex torus {{\bf C}/\Lambda} has genus {1}. All meromorphic {1}-forms, such as {dz}, have degree {0}. In particular, a holomorphic {1}-form is {dz} times a holomorphic function, so by Lemma 11 the space of holomorphic {1}-forms is one-dimensional.

Assuming these claims, the above proposition gives, for any canonical divisor {K}, that

\displaystyle  \mathrm{dim} L(D) - \mathrm{dim}L(K-D) \leq \mathrm{deg}(D) + 1 - g

when {D} is effective and (replacing {D} by {K-D})

\displaystyle  \mathrm{dim} L(K-D) - \mathrm{dim}L(D) \leq (2g-2 - \mathrm{deg}(D)) + 1 - g.

when {K-D} is effective. Since the second right-hand side is the negative of the first, we conclude that

\displaystyle  \mathrm{dim} L(D) - \mathrm{dim}L(K-D) = \mathrm{deg}(D) + 1 - g

whenever {D} and {K-D} are both effective. In fact we have the more general

Theorem 34 (Riemann-Roch theorem) Let {X} be a compact Riemann surface of genus {g}, let {K} be a canonical divisor, and let {D} be any divisor. Then

\displaystyle  \mathrm{dim} L(D) - \mathrm{dim}L(K-D) = \mathrm{deg}(D) + 1 - g.

This of course generalises (3) on the Riemann sphere (which has genus zero) and (7) on a complex torus (which has genus one).

It remains to establish the above three claims, and to obtain the Riemann-Roch theorem in full generality. I have not been able to locate particularly simple proofs of these steps that do not require significant machinery outside of complex analysis, so will only sketch some arguments justifying each of these.

To create meromorphic {1}-forms one can take gradients of harmonic functions, in the spirit of the proof of the uniformization theorem that was (mostly) given in these 246A lecture notes. A function {f: X \rightarrow {\bf R}} is said to be harmonic if, for every coordinate chart {\phi: U \rightarrow {\bf C}}, {f \circ \phi^{-1}: \phi(U) \rightarrow {\bf R}} is harmonic; as the property of being harmonic on open subsets of the complex plane is unaffected by conformal transformations, this definition does not depend on the choice of atlas that the charts are drawn from. If {f} is harmonic, one can form a holomorphic {1}-form {Df} on {X} by defining

\displaystyle  (Df)_\phi(x+iy)\ d(x+iy) := (\frac{\partial}{\partial x} (f \circ \phi^{-1})(x+iy)

\displaystyle - i \frac{\partial}{\partial y} (f \circ \phi^{-1})(x+iy)) d(x+iy)

for each chart {\phi: U \rightarrow {\bf C}} and {x+iy \in \phi(U)}.

For instance, on {{\bf C}}, the harmonic function {x^2-y^2} gives rise to the holomorphic {1}-form {(2x + 2iy) d(x+iy) = 2z dz}.

Exercise 35 Show that this definition indeed defines a holomorphic {1}-form (thus the {(Df)_\phi} are all holomorphic and obey the compatibiltiy condition (5). (The computations are slightly less tedious if one uses Wirtinger derivatives.)

Unfortunately, for compact Riemann surfaces {X}, the same maximum principle argument used to prove Lemma 11 shows that there are no non-constant globally harmonic functions on {X}, so we cannot use this construction directly to produce non-trivial holomorphic or meromorphic {1}-forms on {X}. However, one can produce harmonic functions with logarithmic singularities, a prototypical example of which is the function {\log|z|} on the Riemann sphere, which is harmonic except at {z=0} and {z=\infty}. More generally, one has

Proposition 36 (Existence of dipole Green’s function) Let {X} be a Riemann surface, and let {P,Q} be distinct points in {X}. Then there exists a harmonic function {f} on {X \backslash \{P,Q\}} with the property that for any chart {\phi: U \rightarrow {\bf C}} that maps {P} to {0}, {f \circ \phi^{-1}(z)} is equal to {\log |z|} plus a bounded function near {0}, and for any chart {\psi: V \rightarrow {\bf C}} that maps {Q} to {0}, {f \circ \psi^{-1}(z)} is equal to {-\log |z|} plus a bounded function near {0}.

This proposition is essentially Proposition 65 of these 246A notes and can be proven using (a somewhat technical modification of) Perron’s method of subharmonic functions; we will not do so here. One can combine this proposition with the preceding construction to obtain a non-constant meromorphic {1}-form:

Exercise 37 Using the above proposition, show that if {X} is a compact Riemann surface and {P,Q} are distinct points in {X}, then there is a meromorphic {1}-form on {X} with poles only at {P,Q}, with a residue of {1} at {P} and a residue of {-1} at {Q}.

Using this, conclude the Riemann existence theorem: for any compact Riemann surface {X} and distinct points {P,Q} in {X}, there exists a meromorphic function on {X} that takes different values at {P} and {Q} and is in particular non-constant. (In other words, the meromorphic functions separate points.)

To prove the full Riemann-Roch theorem we will also need a variant of this exercise, not proven here:

Proposition 38 If {X} is a compact Riemann surface, {P} is a point in {X}, and {n \geq 2}, then there exists a meromorphic {1}-form on {X} with a pole of order {n} at {P} and no other poles.

The {1}-forms constructed by this proposition can be viewed as generalisations of the Weierstrass functions {\wp_P} (and their derivatives) to other Riemann surfaces. Note from Proposition 24 that the {1}-form constructed by the above proposition automatically have vanishing residue at {P}.

The first claim is now settled by Exercise 37, so we now turn to the second. A non-constant meromorphic function {f} on {X} can be viewed as a non-constant holomorphic map from {X} to the Riemann sphere {{\bf C} \cup \{\infty\}}. By Proposition 24(ii), the number of times {f} equals {\infty} (counting multiplicity) equals the number of times {f} equals {0} (counting multiplicity). Calling this number {d} (the degree of {f}), then {d \geq 1} by Lemma 11, and we see (by again applying Proposition 24(ii) to {f-c} for any constant {c}) that {f} attains each value {c} on the Riemann sphere {d} times (counting multiplicity). As long as one stays away from the zeroes of {f'}, the zeroes of {f(z)-c} are all simple, and vary continuously in {z} by the inverse function theorem (or Rouché’s theorem), and hence after deleting a finite number of ramification points from {{\bf C} \cup \{\infty\}} (and also deleting their preimages from {X}), one can think of {f} as a {d}-fold covering map from (a punctured version) of {X} by (a punctured version of) {{\bf C} \cup \{\infty\}}, that is to say {X} is a {d}-fold branched cover of {{\bf C} \cup \{\infty\}}. By applying a fractional linear transformation if necessary, we may assume that {\infty} is not a ramification point of this cover (this is mainly for notational convenience).

One can use such a branched covering, together with some algebraic topology (which we will assume here as “black boxes”), to verify the second claim. Instead of working directly with the genus {g} of {X}, one can work instead with the Euler characteristic {\chi(X)} of {X}, which is known from algebraic topology to equal {2-2g}. For instance, the Riemann sphere {{\bf C} \cup \{\infty\}} has genus {0} and Euler characteristic {2}, while a complex torus {{\bf C}/\Lambda} has genus {1} and Euler characteristic {0}.

If one has a {d}-fold covering map from one surface {X} to another {Y}, one can show that the Euler characteristics are related by the formula {\chi(Y) = d \chi(X)}. With branched coverings this is not quite the case, but there is a substitute formula that takes into account the ramification points known as the Riemann-Hurwitz formula. Basically, if since we have a {d}-fold cover from a punctured version {X \backslash S} of {X} to a punctured version {{\bf C} \cup \{\infty\} \backslash R} of the Riemann sphere, we have

\displaystyle  \chi(X \backslash S) = d \chi( {\bf C} \cup \{\infty\} \backslash R ).

On the other hand, if one reinserts a point {z} from {R} back into the punctured Riemann sphere, and also inserts all the preimages {f^{-1}(z)} of that point back into {X}, one can calculate that the Euler characteristic of the punctured sphere increases by {1}, while the Euler characteristic of the punctured version of {X} increases by the cardinality {\# f^{-1}(z)} of the preimage. We conclude the Riemann-Hurwitz formula

\displaystyle  \chi(X) - \sum_{z \in R} \# f^{-1}(z) = d (\chi({\bf C} \cup \{\infty\}) - |R|).

As {f} has degree {d}, we have

\displaystyle  \sum_{P \in f^{-1}(z)} \mathrm{ord}_P(f-z) = d

for each {z \in R} and so we can rearrange the above (using {\chi(X) = 2-2g} and {\chi({\bf C} \cup \{\infty\}) = 2}) as

\displaystyle  \sum_{z \in R} \sum_{P \in f^{-1}(z)} (\mathrm{ord}_P(f-z)-1) - 2d = - (2-2g). \ \ \ \ \ (8)

The meromorphic {1}-form {dz} on the Riemann sphere has a double pole at {\infty} and no zeroes. As {\infty} is not a point of ramification, the pullback {f^* dz} of this form then has a double pole at each of the {d} preimages in {f^{-1}(\infty)}. However, it also acquires a zero of order {\mathrm{ord}_P(f-z)-1} whenever {z \in R} and {P \in f^{-1}(z)}. Taking divisors, we conclude that the left-hand side of (8) is equal to the degree of {(f^* dz)}, which is a canonical divisor. Since all canonical divisors have the same degree, this gives the second claim.

Exercise 39 Let {X} and {Y} be compact Riemann surfaces, with {Y} having higher genus than {X}. Show that there does not exist any non-constant holomorphic map from {X} to {Y}.

Now we discuss the third claim. It is relatively easy to show that the dimension of the space of holomorphic {1}-forms is upper bounded by {g}. Indeed, we may assume without loss of generality that there exists at least one non-zero holomorphic {1}-form, giving an effective canonical divisor {K}, which we have just shown to have degree {2g-2}. From Proposition 32 applied to {D=K} we then have

\displaystyle  \mathrm{dim} L(K) - 1 \leq 2g-2 + 1 - \mathrm{dim}(L(K))

and hence {\mathrm{dim}(L(K))\leq g}, giving the claimed upper bound.

The lower bound is harder. Basically, it asserts that the pairing {\langle,\rangle} in Proposition 32, when quotiented down to a pairing between {L(K)/L(K-D)} and {V/W}, is non-degenerate. This is a special case of an algebraic geometry fact known as Serre duality, which we will not prove here. It can also be proven from Hodge theory, using the fact that the first de Rham cohomology has dimension {2g}; we do not pursue this approach here. Alternatively, one can try to explicitly construct {g} linearly holomorphic {1}-forms on the Riemann surface {X}. We will not do this in general, but show how to do this in the case of a smooth algebraic curve of degree {d}. The genus of such a curve turns out to be given by the genus-degree formula

\displaystyle  g = \frac{(d-1)(d-2)}{2}.

One can sketch a proof of this using the Riemann-Hurwitz formula. For simplicity of notation let us assume that the polynomial is in “general position” in a number of senses that we will not specify precisely. We focus on the affine curve

\displaystyle  Z(P)_{aff} = \{ [z_1,z_2,1]: P(z_1,z_2,1) = 0 \};

generically this is {Z(P)} with {d} points deleted, and thus will have an Euler characteristic of {2-2g-d}. The projection map from {Z(P)_{aff}} to {{\bf C}} (which has Euler characteristic {1}) that maps {[z_1,z_2,1]} to {z_1} has ramification points whenever {\frac{\partial P}{\partial z_2}(z_1,z_2,1)} vanishes, which generically will be simple; away from these points one has a {d}-fold covering. Bezout’s theorem shows that this happens {d(d-1)} times. A modification of the proof of (8) then gives

\displaystyle  d(d-1) - d = - (2 - 2g - d)

which gives the claim.

To construct {\frac{(d-1)(d-2)}{2}} linearly independent holomorphic {1}-forms on {Z(P)} one can argue as follows. Again it is convenient for notational reasons to work on the affine curve {Z(P)_{aff}} and assume that {P} is in general position. The cases {d=0,1,2} can be worked out by hand, so suppose {d \geq 3}. Taking the differential of the coordinate function {z_1} gives a meromorphic {1}-form {dz_1}, which generically has simple zeroes whenever the degree {d-1} polynomial {\frac{\partial P}{\partial z_2}(z_1,z_2,1)} vanishes, and has a pole of order {2} at the {d} points in {Z(P) \backslash Z(P)_{aff}} (i.e., the {d} points where {Z(P)} meets the line at infinity). This implies that for any polynomial {Q(z_1,z_2)} of degree at most {d-3}, the {1}-form

\displaystyle  \frac{Q(z_1,z_2)}{\frac{\partial P}{\partial z_2}(z_1,z_2,1)} dz_1

is holomorphic (we have killed all the poles and removed the simple zeroes, while possibly creating new zeroes where {Q} vanishes). The space of such polynomials has dimension {\frac{(d-1)(d-2)}{2} = g}, giving the claim.

It remains to remove the condition that {D} and {K-D} be effective to obtain the Riemann-Roch theorem in full generality. We first prove a weaker version known as Riemann’s inequality:

Proposition 40 (Riemann’s inequality) Let {X} be a compact Riemann surface of genus {g}, and let {D} be a divisor. Then {\mathrm{dim} L(D) \geq \mathrm{deg}(D) + 1 - g}.

Proof: Let {K} be a canonical divisor. Choose a non-zero effective divisor {D'} such that {K+D' \geq D}. We will show that

\displaystyle  \mathrm{dim} L(K+D') = \mathrm{deg}(D') + g - 1;

since from Lemma 19 we have {\mathrm{dim} L(K+D') \leq \mathrm{dim} L(D) + \mathrm{deg}(K+D'-D)}, and {\mathrm{deg}(K) = 2g-2}, Riemann’s inequality will follow after a brief calculation.

Dividing through by a meromorphic {1}-form of divisor {K}, we see that {\mathrm{dim} L(K+D')} is the dimension of the space {M} of meromorphic {1}-forms with divisor at least {-D'}. If {D' = \sum_{P \in {\mathcal P}} n_P \cdot (P)} with {n_P \geq 1}, {M} is the space of meromorphic {1}-forms {\omega} that have poles of order at most {n_P} at each {P \in {\mathcal P}}, and no other poles.

As in the proof of Proposition 32, let {V} be the space of tuples {(\sum_{j=1}^{n_P} \frac{c_{P,j}}{z^j})_{P \in {\mathcal P}}} with {c_{P,j}} complex; this has dimension {\mathrm{deg}(D') \geq 1}, and there is a linear map {T: M \rightarrow V} that takes a meromorphic {1}-form {\omega} in {M} to the tuple of its principal parts at points in {{\mathcal P}}. The image is constrained by Proposition 24(i), which forces the residues {c_{P,1}} to sum to zero. On the other hand, by taking linear combinations of the meromorphic {1}-forms from Exercise 37 and Propsosition 38, we see conversely that any tuple in {V} whose residues sum to zero lies in the image of {T}. Thus the image of {T} has dimension {\mathrm{deg}(D') - 1}. On the other hand, the kernel of {T} is simply the space of holomorphic {1}-forms, which has dimension {g}. The claim follows. \Box

Now we prove the Riemann-Roch theorem. We split into cases, depending on the dimensions of {L(D)} and {L(K-D)}.

First suppose that {L(D)} and {L(K-D)} are both positive dimensional. By Exercise 18, {D} is linearly equivalent to an effective divisor, hence by Proposition 32 we have

\displaystyle  \mathrm{dim} L(D) - \mathrm{dim}L(K-D) \leq \mathrm{deg}(D) + 1 - g

and similarly (replacing {D} by {K-D}

\displaystyle  \mathrm{dim} L(K-D) - \mathrm{dim}L(K-D) \leq \mathrm{deg}(K-D) + 1 - g

and the claim then follows by using {\mathrm{deg}(K) = 2g-2}.

Now suppose that {L(D)} and {L(K-D)} are both trivial. Riemann’s inequality then gives

\displaystyle  0 \leq \mathrm{deg}(D) + 1-g, \mathrm{deg}(K-D) + 1-g,

which (again using {\mathrm{deg}(K)=2g-2}) gives {\mathrm{deg}(D) = g-1}, and the claim again follows.

Now suppose that {L(K-D)} is trivial but {L(D)} is positive dimensional. From Exercise 18 and Proposition 32 as before we have

\displaystyle  \mathrm{dim} L(D) - \mathrm{dim}L(K-D) \leq \mathrm{deg}(D) + 1 - g,

while from Riemann’s inequality and the triviality of {L(K-D)} we have

\displaystyle  \mathrm{dim} L(D) - \mathrm{dim}L(K-D) \geq \mathrm{deg}(D) + 1 - g,

giving the claim. The final case when {L(D)} is trivial and {L(K-D)} is positive dimensional then follows by swapping {D} with {K-D}.

Exercise 41 Let {X} be a compact Riemann surface, and let {\infty} be a point on {X}. Show that for any points {P,Q} on {X}, there is a unique point {P+Q} on {X} such that {(P) + (Q) - (P+Q) - (\infty)} is a principal divisor. Furthermore show that this defines an abelian group law on {X}. What is this group law in the case that {X} is an elliptic curve?

Exercise 42 Let {X} be a compact Riemann surface, and there exists a meromorphic function {f} on {X} with one simple pole and no other poles. Show that {f} is an isomorphism between {X} and the Riemann sphere. Conclude in particular that the Riemann sphere is the only genus zero compact Riemann surface (up to isomorphism, of course).

Exercise 43 Let {X} be a compact Riemann surface of genus {g}, and let {D} be a divisor of degree {2g-2}. Show that {\mathrm{dim}L(D)=g} when {D} is a canonical divisor, and {\mathrm{dim} L(D)=g-1} otherwise.

Exercise 44 (Gap theorems) Let {X} be a compact Riemann surface of genus {g}.

  • (i) (Weierstrass gap theorem) If {P} is a point in {X}, show that there are precisely {g} positive integers {n} with the property that there does not exist a meromorphic function on {X} with a pole of order {n} at {X}, and no other poles. Show in addition that all of these integers are less than or equal to {2g-1}.
  • (ii) (Noether gap theorem) If {P_1, P_2, \dots} are a sequence of distinct points in {X}, show that there are precisely {g} positive integers {n} with the property that there does not exist a meromorphic function with simple poles at {P_1,\dots,P_n} and no other poles. Show in addition that all of these integers are less than or equal to {2g-1}.

— 5. Appendix: connectedness of irreducible algebraic curves —

In this section we prove

Theorem 45 Let {P(z_1,z_2,z_3)} be an irreducible homogeneous polynomial of degree {d \geq 1}. Then {Z(P)} is connected.

We begin with the affine version of this theorem:

Proposition 46 Let {P(z_1,z_2)} be an irreducible polynomial of degree {d \geq 1}. Then the affine curve

\displaystyle  Z(P)_{aff} := \{ (z_1,z_2) \in {\bf C}^2: P(z_1,z_2) = 0 \}

is connected.

We observe that this theorem fails if one replaces the complex numbers by the real ones; for instance, the quadratic polynomial {x_2^2 - x_1^2 - 1} is irreducible, but the hyperbola it defines in {{\bf R}^2} is disconnected. Thus we will need properties of the complex numbers that are not true for the reals. We will rely in particular on the fundamental theorem of algebra, the removability of bounded singularities, the generalised Liouville theorem that entire functions of polynomial growth are polynomial, and the fact that the complex numbers remain connected even after removing finitely many points.

We now prove the proposition. We will use the classical approach of thinking of {Z(P)^{aff}} as a branched {d}-fold cover over the complex numbers, possibly after some preparatory change of variables; the main difficulty is then to work around the ramification points of this cover. We turn to the details. Let {P(z_1,z_2)} be an irreducible polynomial of degree {d \geq 1}, then we can write it as

\displaystyle  P(z_1,z_2) = P_d(z_1) z_2^d + P_{d-1}(z_1) z_2^{d-1} + \dots + P_0(z_1)

where for {j=0,\dots,d}, {P_j} lies in the space {\mathrm{Poly}_{\leq d-j}} of polynoimals of one variable of degree at most {d-j}. In particular {P_d = P_d(z_1)} is a constant. It could happen that this constant vanishes (e.g., consider the example {d=2} and {P(z_1,z_2) = z_2 - z_1^2}); but in that case we will make a change of variables and consider instead the polynomial {P( z_1 + \lambda z_2, z_2 )} for a complex parameter {\lambda}. Now the analogue of {P_d} is a non-trivial polynomial function of {\lambda} (because one of the {P_j} must have degree exactly {d-j}), and so this quantity will be non-zero for some {\lambda} (in fact for all but at most {d} values of {\lambda}).

Henceforth we assume we have placed {P(z_1,z_2)} into a form where {P_d} is non-zero. Then, for each {z_1}, the function {P_{z_1}: z_2 \mapsto P(z_1,z_2)} is a polynomial of one variable of degree exactly {d}, so it has {d} roots (counting multiplicity) by the fundamental theorem of algebra. Let us call these set of roots {\Sigma_{z_1}}, thus

\displaystyle  Z(P)_{aff} = \bigcup_{z_1 \in {\bf C}} \{z_1\} \times \Sigma_{z_1}

and

\displaystyle  P_{z_1}(\zeta) = P_d \prod_{\zeta \in \Sigma_{z_1}} (z_2 - \zeta).

From Rouché’s theorem we know that the zero set varies continuously in {z_1} in the following sense: for any {z_1} and {\varepsilon>0}, each point of {\Sigma_{z'_1}} will stay within {\varepsilon} of some point in {\Sigma_{z_1}} if {z'_1} is sufficiently close to {z_1}. (In other words, {z_1 \mapsto \Sigma_{z_1}} is continuous with respect to Hausdorff distance.) We also see that the elements in {\Sigma_{z_1}} grow at most polynomially in {z_1}. For some values of {Z_1}, some of these roots in {\Sigma_{z_1}} may be repeated. For instance, if {P(z_1,z_2) = z_2^2 + z_1^2 - 1}, then {P_{z_1}(z_2) = z_2^2 + (z_1^2-1)}, which has a double root at {z_2=0} if {z_1=-1} or {z_1=+1}. However, if this occurs for some {z_1}, the the degree {d} polynomial {P_{z_1}(z_2)} and the degree {d-1} {P'_{z_1}(z_2)} have a common root {w_{z_1}}. This only occurs when the resultant {\mathrm{Res}(P_{z_1}, P'_{z_1})} of {P_{z_1}} and {P'_{z_1}} vanishes. From the definition of the resultant we see that {\mathrm{Res}(P_{z_1}, P'_{z_1})} is a polynomial in {z_1}, and furthermore we have a Bezout identity

\displaystyle  \mathrm{Res}(P_{z_1}, P'_{z_1}) = P_{z_1} A_{z_1} + P'_{z_1} B_{z_1}

where {A_{z_1}, B_{z_1}} are polynomials of degree at most {d-2} and {d-1} in {z_2} respectively, with coefficients that are polynomials in {z_1}. The resultant cannot vanish identically, as this would mean that {P_{z_1}} divides {P'_{z_1} B_{z_1}} viewed as polynomials in {z_1,z_2}, which contradicts unique factorisation and the irreducibility of {P} since {P_{z_1}} cannot divide the lower degree polynomials {P'_{z_1}} or {B_{z_1}}. Thus the resultant can only vanish for a finite number of {z_1}, and so for all but finitely many {z_1} the roots of {P_{z_1}} are distinct, thus {\Sigma_{z_1}} has cardinality exactly {d} and {P'_{z_1}} is non-vanishing at each element of {\Sigma{z_1}}.

From this and the inverse function theorem we see that for {z_1} outside of a finite number of points (known as ramification points), the set {\Sigma_{z_1}} varies holomorphically with {z_1}. Locally, one can thus describe {\Sigma_{z_1}} as a family {\{f_1(z_1),\dots,f_d(z_1)\}} of holomorphic functions, although the order in which one labels these points is arbitrary, as one varies {z_1} around one of the ramification points, theis ordering may be permuted (consider for instance the case {P_{z_1}(z_2) = z_2^2 - z_1} as {z_1} goes around the origin, in which we can write {\Sigma_{z_1} = \{ + z_2^{1/2}, - z_2^{-1/2} \}} for various branches of the square root function).

Now suppose that {Z(P)_{aff}} is disconnected, so it splits into two non-empty clopen subsets {Z_1 \cup Z_2}. At each non-ramified point {z_1}, the set {Z_1} meets some subset of {\{z_1 \}\times \Sigma_{z_1}}. In local coordinates, the {f_j(z_1)} are distinct and vary continuously with {z_1}, the number of points in which {Z_1} meets {\{z_1\} \times \Sigma_{z_1}} is locally constant; since {{\bf C}} with finitely many points removed is connected, this number is then globally constant, thus there is {0 \leq k \leq d} such that {Z_1 \cap \{z_1\} \times \Sigma_{z_1}} has cardinality precisely {k}. This lets us factor {P_{z_1} = P_d Q_{z_1} R_{z_2}}, where {Q_{z_1}} is the degree {k} polynomial

\displaystyle  Q_{z_1}(z_2) := \prod_{(z_1,\zeta) \in Z_1 \cap \Sigma_{z_1}} (z_2 - \zeta)

and {R_{z_1}} is the degree {d-k} polynomial

\displaystyle  Q_{z_1}(z_2) := \prod_{(z_1,\zeta) \in Z_2 \cap \Sigma_{z_1}} (z_2 - \zeta)

The coefficients of these polynomials are functions of {z_1} that vary holomorphically with {z_1} outside of the ramification points; they also stay bounded as one approaches these points and grow at most polynomially. Hence (by the generalised Liouville theorem) they depend polynomially on {z_1}, thus {Q_{z_1}(z_2)} and {R_{z_1}(z_2)} are in fact a polynomial jointly in {z_1,z_2}. But this contradicts the irreducibility of {P}, unless {k=0} or {k=d}. We conclude that {Z(P)_{aff}} is connected after deleting its ramification points. But from the continuous dependence of {\Sigma_{z_1}} on {z_1}, the ramification points adhere to the rest of {Z(P)_{aff}} (the zeroes of {P_{z_1}} are stable under small perturbations, even at points of ramification), so that {Z(P)_{aff}} is connected, proving the proposition.

Now we prove the theorem. The case {d=1} can be done by hand, so assume {d>1}. Let {P(z_1,z_2,z_3)} be an irreducible homogeneous polynomial of degree {d}. Then {P(z_1,z_2,1)} is an irreducible polynomial of degree {d} (it cannot be less than {d}, as this will make {P(z_1,z_2,z_3)} contain a power of {z_3} which makes it reducible since {d>1}). As a consequence, we see from the proposition that the affine part {Z(P) \cap \{ [z_1,z_2,z_3] \in \mathbf{CP}^2: z_3 \neq 0\}} is connected; similarly if we replace the condition {z_3 \neq 0} with {z_1 \neq 0} and {z_2 \neq 0}. As these three pieces of {Z(P)} cover the whole zero locus, it will suffice to show that they intersect each other; for instance, it will suffice to show that the zero set of {P(z_1,z_2,1)} is not completely contained in any line. But this is clear from the proof of the proposition, which shows that (after a linear transformation) almost every vertical line meets this zero set in {d>1} points.