The Zariski Topology on Spec

A topology where open sets are huge and closed sets are rare — and why that's exactly right

The Zariski Topology on Spec

Spec ℤ[x] is a surface you can walk around: one line for every prime, curves threading through them, and a generic point that is everywhere at once. Its topology is coarse on purpose, and you can watch exactly how.

Mumford's Treasure Map

Click a dot, a fibre or a curve to light up its closure. Switch on x² + 1 and watch it meet fibre p twice when p ≡ 1 mod 4 and once when p ≡ 3 mod 4. Then switch to the second mode and try to separate two points with open sets.

degree 1 (on the line)
degree 2 (set back)
degree 3 (further back)
Curves V(f) (up to three at once)
Closed points drawn up to degree

Click any dot, fibre or curve to light up its closure. A dot is a maximal ideal (p, g) and stays alone; a fibre line is the prime (p), whose closure is the whole fibre; a curve is the prime (f), whose closure picks out exactly the dots where f vanishes mod p. Two points when p ≡ 1 mod 4 (±i exist in Fp), one degree-2 point when p ≡ 3 mod 4, and a single double point over 2, where x² + 1 = (x + 1)².

Drag to orbit, scroll or pinch to zoom. Degree-one points x = a sit at height a (written between −p/2 and p/2), so a line x = a is straight. A degree-d point sits at the average of its d roots and is pushed back by its degree. Fibres with too many points of some degree (more than 120) skip that degree, except where a curve meets them.

Go deeper:Reading the Map

David Mumford drew this picture in his Red Book to show what Spec ℤ[x] looks like, and it is the best single image of what a scheme is. Every prime ideal of ℤ[x] is one of four kinds, and each kind is something you can see in the demo.

The closed points are the maximal ideals (p, g), where p is a prime number and g is a monic polynomial that is irreducible mod p. They are the dots. Each vertical line collects the dots with the same p, and that line is a copy of Spec 𝔽p[x], the fibre over p. Its dots of degree d are counted by Gauss’s formula, (1/d) Σe|d μ(e) pd/e: p of degree 1, (p² − p)/2 of degree 2, and so on. The demo finds them by testing every monic polynomial with Rabin’s irreducibility test, and its tests check the count against Gauss.

An irreducible f in ℤ[x] gives a horizontal curve V(f). It meets the fibre over p in the dots (p, g) with g dividing f mod p, so drawing it means factoring f mod p, prime by prime. Over most primes a degree-n curve passes through n dots, counted with degree. Where f mod p acquires a repeated factor, two strands merge into one dot marked ×2: the curve is ramified there, which happens exactly at primes dividing the discriminant. Where f mod p stays irreducible of degree 2, the two strands meet at a single degree-2 dot. That is quadratic reciprocity drawn as a picture: x² + 1 splits over p ≡ 1 mod 4, stays whole over p ≡ 3 mod 4, and ramifies over 2.

The dashed line on the right is the generic fibre Spec ℚ[x], the fibre over the generic point (0) of Spec ℤ. Its closed points are the irreducible polynomials over ℚ, so each curve ends there, at its own generic point (f). The rose haze is the generic point (0) of the whole surface.

Go deeper:Closure Is Containment

The Zariski topology on Spec(R) declares the closed sets to be V(I) = {𝔭 : I ⊆ 𝔭}, one for each ideal I. The smallest closed set containing a point 𝔭 is V(𝔭), so the closure of a point is every prime that contains it. When 𝔮 lies in the closure of 𝔭, we say 𝔭 specialises to 𝔮.

That is the rule the demo applies when you click. A dot (p, g) is a maximal ideal, so nothing bigger contains it and it lights up alone: closed points are closed. A fibre (p) is contained in every (p, g), so its closure is the whole vertical line. A curve (f) is contained in (p, g) exactly when g divides f mod p, so its closure is the curve together with the dots it passes through. And (0) is contained in everything, so the generic point’s closure is the whole surface. Points of different dimensions coexist in one space, ordered by specialisation: surface, then curves and fibres, then dots.

The reading also runs backwards. Click a dot and the readout lists what specialises to it: (0), its fibre, and any drawn curve through it. A closed point remembers every irreducible closed set it lies on, because each one has a generic point sitting above it.

Go deeper:Why No Two Points Can Be Separated

The basic open sets are D(f) = Spec(R) ∖ V(f), the points where f does not vanish, and every open set is a union of them. In the second mode the demo picks f vanishing at B but not at A, and g vanishing at A but not B. For two dots on different fibres p and q it uses f = q and g = p; on the same fibre it uses the two polynomials themselves. So A ∈ D(f) and B ∈ D(g), as a Hausdorff space would want.

But D(f) ∩ D(g) = D(fg), and since ℤ[x] is an integral domain, fg is never zero. So the generic point (0) lies in D(fg), and so does the fibre over every prime not dividing fg, and with each fibre almost all of its dots. However you edit f and g, green points remain. Every non-empty open set contains (0), and the closure of (0) is everything, so every non-empty open set is dense. Spec of an integral domain is irreducible, and an irreducible space with more than one point is never Hausdorff.

This is not a defect. Polynomials are rigid: one that vanishes on a dense set vanishes everywhere, and the topology says exactly that. Each D(f) is again an affine scheme, Spec Rf, which is what lets sheaves on these huge open sets carry the algebra.

Key Takeaways

  • Spec ℤ[x] has closed points (p, g), fibres (p), horizontal curves (f) and a generic point (0).
  • A curve V(f) meets the fibre over p at the irreducible factors of f mod p.
  • The closure of a point is V(𝔭): every prime that contains it.
  • D(f) ∩ D(g) = D(fg) always contains the generic point, so no two points can be separated.

Spot a mistake or have an idea?

Search