Formal definition of the pack Intermediate Hartshorne Chapter IV is the worked-example chapter of the book: smooth projective curves over an algebraically closed field k , studied through Riemann-Roch and Serre duality. It opens with Riemann-Roch 04.04.01 and the basic vanishing/special-divisor dictionary, proves Hurwitz's ramification formula 04.04.02 , develops the criteria for a divisor to embed a curve in projective space, treats elliptic curves 04.04.03 with their group law and j -invariant, and closes with the canonical embedding and the resulting classification of curves by genus. Many exercises braid several of these threads at once.
This pack collects nine exercises — two easy, four medium, three hard — each with a hint and a full solution. It is meant to be read alongside its prerequisite units rather than as a standalone development. The exercises group loosely by Hartshorne section: numerical Riemann-Roch warm-ups (easy), Hurwitz and embedding computations (medium), and elliptic-curve and canonical-embedding arguments (hard).
The conventions throughout are Hartshorne's: X is a smooth projective curve of genus g over k = k ˉ ; K X a canonical divisor with deg K X = 2 g − 2 and ℓ ( K X ) = g ; ℓ ( D ) = h 0 ( O X ( D )) ; Riemann-Roch reads ℓ ( D ) − ℓ ( K X − D ) = deg D + 1 − g . A divisor D is very ample when O X ( D ) embeds X in P ℓ ( D ) − 1 ; the canonical divisor is very ample exactly when X is non-hyperelliptic of genus ≥ 3 .
Key theorem with full solution Intermediate Before the pack proper, we work one exercise in full as an exemplar of the format. The remaining eight follow the same structure (problem, hint, full answer in <details> blocks).
Lead exercise. Prove that a divisor D of degree ≥ 2 g + 1 on a smooth projective curve X of genus g is very ample.
Solution. A complete linear system ∣ D ∣ is very ample iff it separates points and separates tangent vectors : for all points P , Q ∈ X (including P = Q ),
ℓ ( D − P − Q ) = ℓ ( D ) − 2.
Separating points (P = Q ) means no hyperplane through the image of P is forced through Q ; separating tangents (P = Q ) means the embedding is an immersion at P . Both conditions are captured by the displayed equality (Hartshorne IV.3.1).
Apply Riemann-Roch 04.04.01 to D and to D − P − Q . Since deg D ≥ 2 g + 1 , also deg D ≥ 2 g − 1 , so deg ( K X − D ) < 0 and ℓ ( K X − D ) = 0 ; thus ℓ ( D ) = deg D + 1 − g . Likewise deg ( D − P − Q ) = deg D − 2 ≥ 2 g − 1 , so ℓ ( K X − D + P + Q ) = 0 and
ℓ ( D − P − Q ) = ( deg D − 2 ) + 1 − g = ℓ ( D ) − 2.
The equality holds for every pair ( P , Q ) , so ∣ D ∣ separates points and tangents, hence D is very ample. □
This is Hartshorne IV.3.2(b) , the everyday embedding criterion. Two consequences route through it: every curve of genus g embeds in P 3 (take a generic D of degree 2 g + 1 , then project), and any line bundle of large enough degree is automatically very ample, which is why ampleness and very-ampleness coincide asymptotically 04.05.05 .
Exercises Intermediate
Exercise 1 (easy, numeric). Genus from the canonical degree.
A smooth projective curve X has canonical divisor K X with deg K X = 12 . Find the genus g and the dimension ℓ ( K X ) of the space of global differentials.
Hint
deg K X = 2 g − 2 and ℓ ( K X ) = g 04.08.02 , 04.04.01 .
Answer
The canonical degree is 2 g − 2 . Setting 2 g − 2 = 12 gives g = 7 .
The space of global differentials H 0 ( X , ω X ) has dimension equal to the genus, so ℓ ( K X ) = g = 7 . (One can also confirm via Riemann-Roch applied to D = K X : ℓ ( K X ) − ℓ ( 0 ) = deg K X + 1 − g = 12 + 1 − 7 = 6 , and ℓ ( 0 ) = 1 , giving ℓ ( K X ) = 7 .)
Exercise 2 (easy, numeric). Riemann-Roch for a generic divisor.
On a curve of genus 4 , compute ℓ ( D ) for a divisor D of degree 10 , and for a divisor D ′ of degree 5 in general position.
Hint
When deg D > 2 g − 2 , the index ℓ ( K X − D ) vanishes and Riemann-Roch is exact. For deg D ′ = 5 between g − 1 and 2 g − 2 , "general position" means ℓ ( K X − D ′ ) = 0 as well.
Answer
Here g = 4 , so deg K X = 2 g − 2 = 6 .
For deg D = 10 > 6 : deg ( K X − D ) = 6 − 10 = − 4 < 0 , so ℓ ( K X − D ) = 0 and
ℓ ( D ) = deg D + 1 − g = 10 + 1 − 4 = 7.
For deg D ′ = 5 : now deg ( K X − D ′ ) = 6 − 5 = 1 ≥ 0 , so ℓ ( K X − D ′ ) could be nonzero. For a general effective divisor of degree 5 , the special divisor K X − D ′ of degree 1 is non-effective (a general degree-1 class has ℓ = 0 unless g = 0 ), so ℓ ( K X − D ′ ) = 0 and
ℓ ( D ′ ) = deg D ′ + 1 − g = 5 + 1 − 4 = 2.
(For a special D ′ — e.g. if K X − D ′ happens to be an effective point — ℓ ( D ′ ) could jump to 3 ; the genus-4 curve is the canonical curve in P 3 and its g 3 1 is the special system.)
Exercise 3 (medium, numeric). Hurwitz for a hyperelliptic curve.
A hyperelliptic curve X of genus g admits a degree-2 map f : X → P 1 . Use the Riemann-Hurwitz formula to determine the number of branch points.
Hint
Riemann-Hurwitz 04.04.02 : 2 g − 2 = deg f ⋅ ( 2 ⋅ 0 − 2 ) + ∑ P ( e P − 1 ) . A double cover in characteristic = 2 has only simple (e P = 2 ) ramification.
Answer
The target P 1 has genus 0 . With deg f = 2 , Riemann-Hurwitz reads
2 g − 2 = 2 ( 2 ⋅ 0 − 2 ) + P ∑ ( e P − 1 ) = − 4 + P ∑ ( e P − 1 ) .
In characteristic 0 (or = 2 ) a degree-2 map is tamely ramified, and every ramification point has e P = 2 (the fiber over a branch point is a single point counted twice), contributing e P − 1 = 1 each. If there are r branch points,
2 g − 2 = − 4 + r ⟹ r = 2 g + 2.
So a hyperelliptic curve of genus g is a double cover of P 1 branched over exactly 2 g + 2 points — the Weierstrass points. For g = 1 this gives 4 branch points, matching the four roots (including ∞ ) of a Legendre-form elliptic curve 04.04.03 ; for g = 2 , six branch points.
Exercise 4 (medium, symbolic). The j -invariant of an elliptic curve.
For the Weierstrass curve y 2 = x 3 + a x + b over k (char k = 2 , 3 ), recall the discriminant Δ = − 16 ( 4 a 3 + 27 b 2 ) and the j -invariant j = − 1728 ( 4 a ) 3 /Δ . Show that two such curves are isomorphic iff they have the same j , and compute j for y 2 = x 3 + x and y 2 = x 3 + 1 .
Hint
The only coordinate changes preserving Weierstrass form are x ↦ u 2 x , y ↦ u 3 y , scaling ( a , b ) ↦ ( u 4 a , u 6 b ) . Check j is invariant and that it pins the pair ( a , b ) up to this scaling.
Answer
An admissible change of variable preserving short Weierstrass form is x = u 2 x ′ , y = u 3 y ′ for u ∈ k × , sending ( a , b ) ↦ ( u 4 a , u 6 b ) and Δ ↦ u 12 Δ . Under this, ( 4 a ) 3 /Δ ↦ u 12 ( 4 a ) 3 / ( u 12 Δ ) is unchanged, so j is an isomorphism invariant.
Conversely, given equal j , the ratio a 3 : b 2 is determined (since j is a function of 4 a 3 / ( 4 a 3 + 27 b 2 ) ). If both a , b = 0 , solve u 4 = a / a ′ and check the same u gives u 6 = b / b ′ using equal j ; the degenerate cases a = 0 (j = 0 ) and b = 0 (j = 1728 ) are handled by the corresponding scalings. So equal j implies isomorphic curves over k ˉ .
Compute. For y 2 = x 3 + x : a = 1 , b = 0 , so Δ = − 16 ⋅ 4 = − 64 and
j = − 1728 ⋅ − 64 ( 4 ) 3 = − 1728 ⋅ − 64 64 = 1728.
For y 2 = x 3 + 1 : a = 0 , b = 1 , so ( 4 a ) 3 = 0 and j = 0 .
Thus y 2 = x 3 + x has j = 1728 (the curve with extra automorphism i , of order 4 ) and y 2 = x 3 + 1 has j = 0 (the curve with the order-6 automorphism). These are exactly the two curves with automorphism groups larger than { ± 1 } , Hartshorne IV.4.
Exercise 5 (medium, numeric). Genus of a curve of bidegree ( a , b ) on a quadric.
Let X ⊂ P 1 × P 1 be a smooth curve of bidegree ( a , b ) (class a { pt } × P 1 + b P 1 × { pt } ). Compute its genus.
Hint
Adjunction on the surface Q = P 1 × P 1 : 2 g − 2 = X ⋅ ( X + K Q ) , with K Q of bidegree ( − 2 , − 2 ) and the intersection product on Q given by ( a , b ) ⋅ ( c , d ) = a d + b c .
Answer
On Q = P 1 × P 1 the intersection pairing on divisor classes is ( a , b ) ⋅ ( c , d ) = a d + b c , and the canonical class is K Q = ( − 2 , − 2 ) 04.08.02 . The adjunction formula gives 2 g − 2 = X ⋅ ( X + K Q ) for the smooth curve X of class ( a , b ) .
Compute X + K Q = ( a − 2 , b − 2 ) , so
X ⋅ ( X + K Q ) = ( a , b ) ⋅ ( a − 2 , b − 2 ) = a ( b − 2 ) + b ( a − 2 ) = 2 ab − 2 a − 2 b .
Hence 2 g − 2 = 2 ab − 2 a − 2 b , i.e.
g = ab − a − b + 1 = ( a − 1 ) ( b − 1 ) .
Checks: bidegree ( 1 , 1 ) (a "diagonal" conic, rational) gives g = 0 ; bidegree ( 2 , 2 ) gives g = 1 (an elliptic curve as a ( 2 , 2 ) on the quadric); bidegree ( 2 , 3 ) gives g = 2 . This is Hartshorne IV.1 Example / Exercise, the quadric-surface analogue of the plane genus-degree formula [from 04.03.E1 Exercise 3].
Exercise 6 (hard, proof). The canonical embedding for non-hyperelliptic curves.
Let X be a smooth projective curve of genus g ≥ 3 . Prove that the canonical divisor K X is very ample iff X is not hyperelliptic, embedding non-hyperelliptic X as a curve of degree 2 g − 2 in P g − 1 .
Hint
By the point-and-tangent criterion (lead exercise), K X fails to separate P , Q iff ℓ ( K X − P − Q ) = ℓ ( K X ) − 1 = g − 1 . By Riemann-Roch this is equivalent to ℓ ( P + Q ) = 2 , i.e. a g 2 1 , i.e. hyperelliptic.
Answer
The complete canonical system ∣ K X ∣ has ℓ ( K X ) = g , so it maps X → P g − 1 . By the very-ampleness criterion (lead exercise) ∣ K X ∣ is very ample iff for all points P , Q ,
ℓ ( K X − P − Q ) = ℓ ( K X ) − 2 = g − 2.
Apply Riemann-Roch 04.04.01 to D = P + Q (degree 2 ):
ℓ ( P + Q ) − ℓ ( K X − P − Q ) = deg ( P + Q ) + 1 − g = 2 + 1 − g = 3 − g .
Since ℓ ( K X ) = g , the failure ℓ ( K X − P − Q ) = g − 1 (one bigger than the very-ample value g − 2 ) is equivalent, by the displayed equation, to
ℓ ( P + Q ) = ( g − 1 ) + ( 3 − g ) = 2.
But ℓ ( P + Q ) = 2 means the degree-2 divisor P + Q moves in a pencil — a g 2 1 — which by definition makes X hyperelliptic (the pencil gives a degree-2 map X → P 1 ).
So ∣ K X ∣ fails to separate some pair P , Q iff X is hyperelliptic. Contrapositive: X non-hyperelliptic ⇒ K X very ample, giving an embedding X ↪ P g − 1 of degree deg K X = 2 g − 2 . This is the canonical embedding (Hartshorne IV.5.2). For g = 3 it realizes a non-hyperelliptic curve as a smooth plane quartic; for g = 4 , as the complete intersection of a quadric and a cubic in P 3 .
Exercise 7 (hard, proof). Every genus-1 curve with a point is a plane cubic.
Let ( X , P 0 ) be a smooth projective curve of genus 1 with a chosen point P 0 . Show that the linear system ∣3 P 0 ∣ embeds X as a smooth cubic curve in P 2 , and that P 0 becomes an inflection point.
Hint
Compute ℓ ( n P 0 ) by Riemann-Roch for small n . Degree 3 = 2 g + 1 on a genus-1 curve is very ample (lead exercise). The image has degree 3 in P 2 .
Answer
For genus g = 1 , deg K X = 0 and ℓ ( K X ) = 1 , so K X ∼ 0 (the canonical class is the zero class, O X ). Riemann-Roch 04.04.01 applied to D = n P 0 (n ≥ 1 ) gives deg ( K X − n P 0 ) = − n < 0 , so ℓ ( K X − n P 0 ) = 0 and
ℓ ( n P 0 ) = n + 1 − g = n ( n ≥ 1 ) .
Thus ℓ ( P 0 ) = 1 , ℓ ( 2 P 0 ) = 2 , ℓ ( 3 P 0 ) = 3 . The degree deg ( 3 P 0 ) = 3 = 2 g + 1 , so ∣3 P 0 ∣ is very ample by the lead exercise, embedding X ↪ P ℓ ( 3 P 0 ) − 1 = P 2 . The image has degree equal to deg ( 3 P 0 ) = 3 , a smooth plane cubic.
A basis of L ( 3 P 0 ) is { 1 , x , y } with x ∈ L ( 2 P 0 ) ∖ L ( P 0 ) (a pole of order 2 at P 0 ) and y ∈ L ( 3 P 0 ) ∖ L ( 2 P 0 ) (pole of order 3 ). The seven functions 1 , x , y , x 2 , x y , y 2 , x 3 lie in the 6 -dimensional L ( 6 P 0 ) , so satisfy one linear relation — a Weierstrass cubic y 2 + ⋯ = x 3 + ⋯ after scaling. The point P 0 maps to the unique point at infinity [ 0 : 1 : 0 ] , where the tangent line { Z = 0 } meets the cubic with multiplicity 3 : P 0 is an inflection (flex) point. This is exactly the construction of the group law 04.04.03 : P 0 is the identity, and collinearity of three points means their sum is 0 (Hartshorne IV.4.6).
Exercise 8 (hard, proof). Clifford-type bound and the genus-2 classification.
Show that every smooth projective curve of genus 2 is hyperelliptic, and that its canonical map is the degree-2 map to P 1 .
Hint
For g = 2 , deg K X = 2 and ℓ ( K X ) = 2 , so ∣ K X ∣ is a g 2 1 . A base-point-free g 2 1 is a degree-2 map.
Answer
For genus g = 2 : deg K X = 2 g − 2 = 2 and ℓ ( K X ) = g = 2 . So the canonical system ∣ K X ∣ is a linear system of dimension ℓ ( K X ) − 1 = 1 and degree 2 — a g 2 1 .
First, ∣ K X ∣ is base-point free . If P were a base point, then ℓ ( K X − P ) = ℓ ( K X ) = 2 ; but deg ( K X − P ) = 1 , and Riemann-Roch gives ℓ ( K X − P ) − ℓ ( P ) = 1 + 1 − 2 = 0 , so ℓ ( K X − P ) = ℓ ( P ) . On a curve of genus ≥ 1 , ℓ ( P ) = 1 (no nonconstant function with a single simple pole, else X ≅ P 1 ). Hence ℓ ( K X − P ) = 1 = 2 , contradiction. So ∣ K X ∣ has no base points.
A base-point-free g 2 1 defines a morphism φ ∣ K X ∣ : X → P 1 of degree 2 (the degree equals deg K X = 2 ). A degree-2 map to P 1 is exactly a hyperelliptic structure. Therefore every genus-2 curve is hyperelliptic , and its canonical map is the hyperelliptic double cover.
This also shows the canonical map is not an embedding for g = 2 (it is 2 -to-1 ), consistent with Exercise 6: the canonical embedding requires non-hyperelliptic, which forces g ≥ 3 . By Riemann-Hurwitz 04.04.02 (Exercise 3) this double cover branches over 2 g + 2 = 6 points, so every genus-2 curve is y 2 = f 6 ( x ) for a sextic f 6 with distinct roots. Hartshorne IV.5.
Exercise 9 (medium, proof). Curves of genus 0 are projective lines.
Let X be a smooth projective curve of genus 0 over k = k ˉ with a k -rational point P . Show X ≅ P 1 .
Hint
Compute ℓ ( P ) by Riemann-Roch. A degree-1 divisor with ℓ = 2 gives a degree-1 map to P 1 .
Answer
For genus g = 0 , deg K X = − 2 . Apply Riemann-Roch 04.04.01 to D = P (degree 1 ): deg ( K X − P ) = − 3 < 0 , so ℓ ( K X − P ) = 0 and
ℓ ( P ) = deg P + 1 − g = 1 + 1 − 0 = 2.
So L ( P ) is 2 -dimensional, spanned by 1 and a nonconstant function f with a single simple pole at P . The map f : X → P 1 (sending P ↦ ∞ ) has degree equal to the number of poles counted with multiplicity, namely 1 . A degree-1 morphism of smooth projective curves is an isomorphism (it is finite, birational, and the target is normal). Hence X ≅ P 1 .
This completes the bottom of the classification by genus : g = 0 gives P 1 ; g = 1 gives the plane cubics / elliptic curves (Exercise 7); g = 2 the hyperelliptic sextic double covers (Exercise 8); g ≥ 3 splits into hyperelliptic and canonically-embedded non-hyperelliptic curves (Exercise 6). Over k = k ˉ every genus-0 curve has a rational point, so the hypothesis is automatic.
Exercise pack EP1 for 04-algebraic-geometry/04-curves. Hartshorne Chapter IV supplement: Riemann-Roch for curves, Hurwitz and ramification, embeddings in projective space, elliptic curves and the j -invariant, canonical embedding and classification by genus (§IV.1–§IV.5).