Last edited August 2026
Below we will look at Mumford's drawing of \(\operatorname{Spec}\mathbb{Z}[x]\) as a surface fibered over \(\operatorname{Spec}\mathbb{Z}\). This note classifies the primes of \(\mathbb{Z}[x]\) with proof, identifies that fibration, and then reads the splitting, inertia, and ramification of primes in number fields off the resulting geometry.
In the figure below, vertical lines are the fibers \(\mathbb{A}^1_{\mathbb{F}_p}\), the dashed line at the right is the generic fiber \(\mathbb{A}^1_{\mathbb{Q}}\), and the horizontal line at the bottom is the base \(\operatorname{Spec}\mathbb{Z}\). On a fiber, small dots are the \(\mathbb{F}_p\)-rational points \((p, x-a)\), hollow dots are closed points whose residue field is larger than \(\mathbb{F}_p\), and the smudge at the top is the fiber's generic point.
A horizontal curve \(V(f)\) is drawn as \(\deg f\) strands, one for each sheet of the covering \(V(f) \to \operatorname{Spec}\mathbb{Z}\). They land on separate points where \(p\) splits, merge into a single hollow dot where \(p\) is inert, and touch where \(p\) ramifies, converging at the right to the one point of \(\mathbb{A}^1_{\mathbb{Q}}\) the curve came from. Every line, dot, strand, and smudge is a prime ideal of \(\mathbb{Z}[x]\); clicking one gives its generators, height, residue field, and local ring. The next section explains why a single prime is drawn as a whole line or curve rather than a dot.
Figure. \(\operatorname{Spec}\mathbb{Z}[x]\), after Mumford. Click any line, dot, strand, or smudge to see the prime ideal it denotes. A hollow dot is a closed point with residue field larger than \(\mathbb{F}_p\); a shaded halo is multiplicity, i.e. ramification. The primes are spaced evenly rather than to scale. The height of an \(\mathbb{F}_p\)-rational point \((p, x-a)\) is \(\bigl(a+\tfrac12\bigr)/p\), which is a real invariant of the point and not decoration: it is why \(V(2x-1)\) settles toward the middle of the plate, since its root mod \(p\) is \((p+1)/2\) and the curve is tracking the rational number \(\tfrac12\). Heights of higher-degree points are arbitrary, though consistent across curves, since such a point has no natural coordinate. All incidence data, such as which curve meets which point and with what \(e\), \(f\), and residue field, is computed rather than drawn by hand.
Fix a commutative ring \(R\). The points of \(\operatorname{Spec} R\) are the prime ideals of \(R\), and the closed sets are exactly the sets \[ V(I) \;=\; \{\,\mathfrak{p} \in \operatorname{Spec} R \;:\; I \subseteq \mathfrak{p}\,\} \] for ideals \(I \subseteq R\); for a subset \(Z \subseteq \operatorname{Spec} R\) write \(I(Z) = \bigcap_{\mathfrak{p} \in Z} \mathfrak{p}\). The residue field at \(\mathfrak{p}\) is \(\kappa(\mathfrak{p}) = \operatorname{Frac}(R/\mathfrak{p})\), and we write \(\mathbb{A}^1_R = \operatorname{Spec} R[x]\) for the affine line over \(R\). We say a nonempty closed set is irreducible if it is not the union of two strictly smaller closed subsets. Points of this space may not be closed, and the two results below say what a point morally is: it is a closed set, and exactly an irreducible one. That is why a single prime ideal appears in the drawing as a line or a curve rather than as a dot.
\(V(\mathfrak{p})\) is irreducible. By the lemma it is \(\overline{\{\mathfrak{p}\}}\), and the closure of a point is always irreducible: it is nonempty, and if \(\overline{\{\mathfrak{p}\}} = Z_1 \cup Z_2\) with \(Z_i\) closed, then \(\mathfrak{p}\) lies in one of them, say \(Z_1\), and \(Z_1\) being closed forces \(\overline{\{\mathfrak{p}\}} \subseteq Z_1\), so \(Z_1\) is not strictly smaller.
Injectivity. If \(V(\mathfrak{p}) = V(\mathfrak{q})\), then \(\mathfrak{q} \in V(\mathfrak{q}) = V(\mathfrak{p})\) gives \(\mathfrak{p} \subseteq \mathfrak{q}\), and the same argument with the roles exchanged gives \(\mathfrak{q} \subseteq \mathfrak{p}\).
Surjectivity. Let \(Z\) be irreducible closed and set \(\mathfrak{p} = I(Z)\). First, \(\mathfrak{p}\) is prime. It is proper, since \(Z\) is nonempty and so \(\mathfrak{p}\) is contained in some prime. Suppose \(fg \in \mathfrak{p}\). For any prime \(\mathfrak{q}\) we have \(fg \in \mathfrak{q}\) if and only if \(f \in \mathfrak{q}\) or \(g \in \mathfrak{q}\), so \(V(fg) = V(f) \cup V(g)\), and therefore \[ Z \;=\; \big(Z \cap V(f)\big) \,\cup\, \big(Z \cap V(g)\big), \] a union of two closed subsets of \(Z\). Irreducibility forces one of them to be all of \(Z\), say \(Z \subseteq V(f)\), which says \(f \in \mathfrak{q}\) for every \(\mathfrak{q} \in Z\), i.e. \(f \in I(Z) = \mathfrak{p}\). Second, \(V(\mathfrak{p}) = Z\). Writing \(Z = V(J)\), every \(\mathfrak{q} \in Z\) contains \(J\), so \(J \subseteq I(Z) = \mathfrak{p}\) and hence \(V(\mathfrak{p}) \subseteq V(J) = Z\); conversely if \(\mathfrak{q} \in Z\) then \(I(Z) \subseteq \mathfrak{q}\) by definition of \(I(Z)\), so \(\mathfrak{q} \in V(\mathfrak{p})\).
Inclusions and the generic point. If \(\mathfrak{p} \subseteq \mathfrak{q}\) and \(\mathfrak{r} \in V(\mathfrak{q})\), then \(\mathfrak{p} \subseteq \mathfrak{q} \subseteq \mathfrak{r}\), so \(V(\mathfrak{q}) \subseteq V(\mathfrak{p})\); conversely \(V(\mathfrak{q}) \subseteq V(\mathfrak{p})\) applied to \(\mathfrak{q} \in V(\mathfrak{q})\) gives \(\mathfrak{p} \subseteq \mathfrak{q}\). Finally, if \(\mathfrak{q} \in V(\mathfrak{p})\) has \(\overline{\{\mathfrak{q}\}} = V(\mathfrak{p})\), then \(V(\mathfrak{q}) = V(\mathfrak{p})\), so \(\mathfrak{q} = \mathfrak{p}\) by injectivity.
Let’s see what our work tells us so far. In the picture above, the vertical line over \(2\) is the single prime ideal \((2) \subset \mathbb{Z}[x]\), drawn as its closure. A horizontal curve is a single prime ideal \((f)\). The haze covering the whole plate is the single prime \((0)\), whose closure is everything. Only the dots at the crossings are what a classical geometer would call points, and by the lemma those are exactly the maximal ideals.
Note: the smudges are drawn that way for a reason: a generic point is not located anywhere in particular, it is everywhere in its closure at once. Fuzz is the honest notation.
\(\mathbb{Z}[x]\) is a Noetherian UFD but not a PID, e.g. the ideal \((2,x)\) needs two generators. That failure of principality is exactly what gives the space its second dimension. Now, the classification of primes needs one classical input, and that input is about content, so we define it first on \(\mathbb{Q}[x]\) as well as on \(\mathbb{Z}[x]\), since the proof moves between the two.
For a nonzero \(f = a_nx^n + \cdots + a_0 \in \mathbb{Z}[x]\), the content is \[ c(f) \;=\; \gcd(a_0, \ldots, a_n) \;\in\; \mathbb{Z}_{>0}, \] and \(f\) is primitive if \(c(f) = 1\). Dividing through, \(f = c(f)\,f_0\) with \(f_0 \in \mathbb{Z}[x]\) primitive.
For a nonzero \(g \in \mathbb{Q}[x]\), choose \(d \in \mathbb{Z}_{>0}\) with \(dg \in \mathbb{Z}[x]\), e.g. the common denominator of the coefficients, and set \[ c(g) \;=\; \frac{c(dg)}{d} \;\in\; \mathbb{Q}_{>0}. \]
For the factorization, pick \(d\) with \(dg \in \mathbb{Z}[x]\) and write \(dg = c(dg)\,g_0\) with \(g_0\) primitive; dividing by \(d\) gives \(g = c(g)\,g_0\). It is unique because \(g_0 = g/c(g)\) is determined by \(g\): if \(g = \lambda h_0\) with \(\lambda \in \mathbb{Q}_{>0}\) and \(h_0\) primitive, then \(c(g) = \lambda\,c(h_0) = \lambda\). Finally, if \(c(g) \in \mathbb{Z}\) then \(g = c(g)g_0 \in \mathbb{Z}[x]\), and conversely \(c\) is integral on \(\mathbb{Z}[x]\) by definition.
Now let \(f\) be primitive and \(h = fq \in \mathbb{Z}[x]\) with \(q \in \mathbb{Q}[x]\) nonzero. Then \(c(h) = c(f)c(q) = c(q)\), and \(c(h) \in \mathbb{Z}\) because \(h \in \mathbb{Z}[x]\); so \(c(q) \in \mathbb{Z}\) and therefore \(q \in \mathbb{Z}[x]\) by normalization. That gives \(f\mathbb{Q}[x] \cap \mathbb{Z}[x] = f\mathbb{Z}[x]\).
For irreducibility, a factorization in \(\mathbb{Z}[x]\) into factors of degree \(\ge 1\) is already one in \(\mathbb{Q}[x]\). Conversely if \(f = gh\) in \(\mathbb{Q}[x]\) with \(\deg g, \deg h \ge 1\), normalize both: \(f = c(g)c(h)\,g_0h_0\), and taking contents gives \(1 = c(f) = c(g)c(h)\), so \(f = g_0h_0\) is a factorization in \(\mathbb{Z}[x]\) with both factors of degree \(\ge 1\).
Case \(\mathfrak{p} \cap \mathbb{Z} = (p)\). Then \(p \in \mathfrak{p}\), so \(\mathfrak{p}\) is the preimage of a prime of \(\mathbb{Z}[x]/(p) \cong \mathbb{F}_p[x]\). But \(\mathbb{F}_p[x]\) is a PID, so its primes are \((0)\) and \((\bar f)\) with \(\bar f\) irreducible. Pulling back gives \(\mathfrak{p} = (p)\) or \(\mathfrak{p} = (p, f)\) for any lift \(f\) of \(\bar f\). In the latter case \(\mathbb{Z}[x]/(p,f) \cong \mathbb{F}_p[x]/(\bar f)\) is a finite field, so \(\mathfrak{p}\) is maximal.
Case \(\mathfrak{p} \cap \mathbb{Z} = (0)\). Then \(\mathfrak{p}\) misses the multiplicative set \(S = \mathbb{Z}\setminus\{0\}\), so \(\mathfrak{p} \mapsto \mathfrak{p}\,\mathbb{Q}[x]\) is a bijection onto the primes of \(S^{-1}\mathbb{Z}[x] = \mathbb{Q}[x]\), with inverse \(\mathfrak{q} \mapsto \mathfrak{q}\cap\mathbb{Z}[x]\). Again \(\mathbb{Q}[x]\) is a PID. If \(\mathfrak{p}\,\mathbb{Q}[x] = (0)\) then \(\mathfrak{p} = (0)\). Otherwise \(\mathfrak{p}\,\mathbb{Q}[x] = (g)\) for some irreducible \(g \in \mathbb{Q}[x]\). By normalization \(g = c(g)\,f\) with \(f \in \mathbb{Z}[x]\) primitive, so \(f\mathbb{Q}[x] = g\mathbb{Q}[x]\) and \(f\) is irreducible in \(\mathbb{Z}[x]\) by Gauss. Then \[ \mathfrak{p} \;=\; f\mathbb{Q}[x] \cap \mathbb{Z}[x] \;=\; f\mathbb{Z}[x], \] the last equality being Gauss again.
The types are mutually exclusive by inspecting contractions to \(\mathbb{Z}\) and heights, and the height claims follow from the chains exhibited in the corollary that follows.
The two shapes of maximal chain are the two ways to walk down to a closed point, and they are already the vertical/horizontal dichotomy. Notice also the last sentence: all closed points have finite residue field, and the residue characteristic varies from point to point. Unlike \(\mathbb{A}^2_k\), there is no field over which the whole picture lives.
This classification also settles the local structure at a closed point. Recall that a Noetherian local ring \((A,\mathfrak{m})\) of Krull dimension \(d\) is regular if \(\mathfrak{m}\) can be generated by \(d\) elements, and that such a generating set is called a regular system of parameters.
A ring map \(\varphi : R \to A\) induces \(\pi : \operatorname{Spec} A \to \operatorname{Spec} R\) by \(\mathfrak{q} \mapsto \varphi^{-1}(\mathfrak{q})\), which is continuous because \(\pi^{-1}(V(I)) = V(\varphi(I)A)\). The fiber of \(\pi\) over \(\mathfrak{p} \in \operatorname{Spec} R\) is the preimage \(\pi^{-1}(\mathfrak{p})\) with its subspace topology: the set of primes of \(A\) that contract to \(\mathfrak{p}\).
Here \(\mathbb{Z} \hookrightarrow \mathbb{Z}[x]\) gives \(\pi : \mathbb{A}^1_{\mathbb{Z}} \to \operatorname{Spec}\mathbb{Z}\) with \(\pi(\mathfrak{q}) = \mathfrak{q} \cap \mathbb{Z}\), which is exactly the case division the proof of the classification used. So the classification is the fiber decomposition!
Let \(p\) be a rational prime. Then \(\pi^{-1}\big((p)\big) = V(p)\), and reduction \(\mathbb{Z}[x] \twoheadrightarrow \mathbb{F}_p[x]\) induces a homeomorphism \(\pi^{-1}\big((p)\big) \cong \mathbb{A}^1_{\mathbb{F}_p}\).
Over the generic point, the inclusion \(\mathbb{Z}[x] \hookrightarrow \mathbb{Q}[x]\) induces a homeomorphism \(\pi^{-1}\big((0)\big) \cong \mathbb{A}^1_{\mathbb{Q}}\).
For the second, \(\mathfrak{q} \cap \mathbb{Z} = (0)\) says exactly that \(\mathfrak{q}\) is disjoint from \(S = \mathbb{Z} \setminus \{0\}\). Primes of \(S^{-1}\mathbb{Z}[x] = \mathbb{Q}[x]\) correspond to primes of \(\mathbb{Z}[x]\) disjoint from \(S\), again compatibly with closed sets.
Reading this against the classification of primes: the fiber over \((p)\) consists of its generic point \((p)\) together with the closed points \((p,f)\), and the fiber over \((0)\) consists of \((0)\) together with the primes \((f)\). Both fibers are affine lines, one over \(\mathbb{F}_p\) and one over \(\mathbb{Q}\), so \(\mathbb{A}^1_{\mathbb{Z}}\) is a family of lines parametrized by \(\operatorname{Spec}\mathbb{Z}\). That is all "surface" means here: a one-dimensional base with one-dimensional fibers. (The general statement, which we do not need, is that \(\pi^{-1}(\mathfrak{p}) \cong \operatorname{Spec}\big(A \otimes_R \kappa(\mathfrak{p})\big)\); the two computations above are the cases \(\mathbb{Z}[x] \otimes \mathbb{F}_p = \mathbb{F}_p[x]\) and \(\mathbb{Z}[x] \otimes \mathbb{Q} = \mathbb{Q}[x]\).)
Let \(Z = V(\mathfrak{p})\) be irreducible closed of dimension \(1\), so \(\mathfrak{p}\) has height \(1\) and the classification leaves two possibilities. Recall that \(\pi|_Z\) is said to be dominant if its image is dense in \(\operatorname{Spec}\mathbb{Z}\).
Exactly which characteristics is worth pinning down explicitly, because it is where the one non-monic curve in the figure misbehaves.
So \(V(2x-1)\) misses the fiber over \(2\), where its reduction is the constant \(1\); every monic curve meets every fiber.
An order in a number field \(K\) of degree \(n\) is a subring \(\mathcal{O} \subseteq K\) that is finitely generated as a \(\mathbb{Z}\)-module and spans \(K\) over \(\mathbb{Q}\); equivalently, a subring free of rank \(n\) as a \(\mathbb{Z}\)-module.
Monicity is not just decoration here. For \(f = 2x-1\) we get \(\mathbb{Z}[x]/(2x-1) \cong \mathbb{Z}[\tfrac12]\), which is not finitely generated as a \(\mathbb{Z}\)-module, since no finite set of elements has denominators bounded enough to contain every \(1/2^k\); so it is not an order in \(\mathbb{Q}\).
So a closed point of the generic fiber and a horizontal curve are the same datum: a number field \(K\), presented as a point of a \(\mathbb{Q}\)-line, spreads out into a curve over \(\mathbb{Z}\). In the figure each horizontal curve converges on the right to the single dot it came from.
Fix \(f\) monic irreducible of degree \(n\) and a prime \(p\), and factor the reduction into distinct monic irreducibles in \(\mathbb{F}_p[x]\), \[ \bar f \;=\; \prod_{i=1}^{r} \bar g_i^{\,e_i}, \qquad f_i := \deg \bar g_i . \] Call \(e_i\) the ramification index and \(f_i\) the residue degree at \(\bar g_i\). Following the usual terminology, \(p\) is ramified for \(f\) if some \(e_i > 1\); inert if \(r = 1\) with \(e_1 = 1\) and \(f_1 = n\); and split completely if \(r = n\), forcing every \(e_i = f_i = 1\).
We can define the intersection number of the curve with the fiber to be the \(\mathbb{F}_p\)-dimension of the intersection, \[ V(f) \cdot V(p) \;:=\; \dim_{\mathbb{F}_p} \mathbb{Z}[x]/(p,f), \] which counts the intersection points with multiplicity: the point \((p,g_i)\) contributes \(e_i f_i\), its ramification index times the degree of its residue field.
So a degree-\(n\) horizontal curve crosses every vertical fiber in a scheme of dimension exactly \(n\), without exception. What changes from prime to prime is only how that \(n\) is distributed: spread across \(n\) separate points, concentrated at one point with a large residue field, or piled up at one point with multiplicity. Those three are split, inert, and ramified.
To keep going, we will need to blackbox some classical results. To this end, let \(K\) be a number field of degree \(n\) and \(\mathcal{O}_K\) its ring of integers, the integral closure of \(\mathbb{Z}\) in \(K\); it is an order, and it contains every order, so any \(\mathbb{Z}[\alpha] \subseteq \mathcal{O}_K\) has finite index. The next theorem is the one result in this note we do not prove.
So under that hypothesis the intersection of the horizontal curve with the fiber over \(p\) is the factorization of \(p\) in \(\mathcal{O}_K\), and the \(e_i, f_i\) defined above by polynomial factorization agree with the usual ramification indices and residue degrees. The index hypothesis is the price of drawing \(\operatorname{Spec}\mathbb{Z}[\alpha]\) rather than \(\operatorname{Spec}\mathcal{O}_K\), and the figure flags the curves where it can fail.
The second input is the discriminant. For monic \(f\) of degree \(n\) with roots \(\alpha_1, \ldots, \alpha_n\) in an algebraic closure, \(\operatorname{disc}(f) = \prod_{i<j}(\alpha_i - \alpha_j)^2\). It is a universal polynomial with integer coefficients in the coefficients of \(f\), so \(\operatorname{disc}(f) \in \mathbb{Z}\) and reduction commutes with it: \(\operatorname{disc}(\bar f) = \overline{\operatorname{disc}(f)}\).
Since the discriminant of an irreducible polynomial is nonzero, only finitely many fibers are ramified for a given horizontal curve: the ones dividing the discriminant. Those are the primes where the strands in the figure touch instead of crossing.
Let’s think about our above work in the context of Mumford’s drawing. Go turn on the curve \(x^2+1\) in the figure. It is \(V(x^2+1) = \operatorname{Spec}\mathbb{Z}[i]\), monic of degree \(2\), so two strands, and \(\operatorname{disc}(x^2+1) = -4\). Three things happen.
Stepping back from the three primes to the whole curve: the split primes are exactly those with \(p \equiv 1 \pmod 4\) and the inert ones exactly those with \(p \equiv 3 \pmod 4\). Fermat's sum of two-squares theorem and the splitting of primes in the Gaussian integers become one statement about how a single conic in \(\operatorname{Spec}\mathbb{Z}[x]\) crosses the vertical lines.
Turn on \(x\). Since \(\mathbb{Z}[x]/(x - c) \cong \mathbb{Z}\) for any \(c \in \mathbb{Z}\), the curve \(V(x-c)\) is a copy of \(\operatorname{Spec}\mathbb{Z}\) and \(\pi\) restricts to an isomorphism on it: it is a section of \(\pi\). Degree \(1\) means the intersection number with every fiber is \(1\), so it meets each fiber in exactly one rational point, namely \((p,\, x - \bar c)\), always with \(e = f = 1\). A section is never ramified, and consistently \(\operatorname{disc}(x-c) = 1\), divisible by no prime.
Distinct horizontal curves can cross each other. With both \(x^2+1\) and \(x^2-5\) switched on, the figure shows the two curves sharing a point over \(2\) and another over \(3\). This is not an accident of the drawing.
For \(f = x^2+1\) and \(g = x^2-5\) this is concrete: \(f - g = 6\), so \((f,g) = (6,\, x^2+1)\), and a prime containing it contains \(2\) or \(3\). Modulo \(2\) both reduce to \((x+1)^2\), and modulo \(3\) both reduce to the irreducible \(x^2+1\). So \[ V(x^2+1) \,\cap\, V(x^2-5) \;=\; \big\{\,(2,\,x+1),\; (3,\,x^2+1)\,\big\}, \] exactly the two shared dots in the figure. Two number fields that are different over \(\mathbb{Q}\) can still collide modulo small primes, and that collision is a literal crossing of curves on the surface.
Turn on \(2x-1\). It is primitive and irreducible, so \((2x-1)\) is an honest height-one prime, but it is not monic: \(\mathbb{Z}[x]/(2x-1) \cong \mathbb{Z}[1/2]\). Over \(p = 2\) its reduction is the constant \(1\), a unit, so by the lemma on which fibers a curve meets, \(V(2x-1)\) misses the fiber over \(2\) entirely, and the strand runs off the top of the box. The map to \(\operatorname{Spec}\mathbb{Z}\) is neither finite nor surjective, and the constant intersection number fails precisely because monicity fails. This is the arithmetic version of an asymptote.
Turn on \(x^2-5\), with \(\operatorname{disc} = 20\), and look at \(p = 2\): the reduction is \((x+1)^2\), so the drawing shows a tangency and reports ramification. But \(2\) is in fact inert in \(\mathcal{O}_K = \mathbb{Z}\!\left[\tfrac{1+\sqrt5}{2}\right]\), where \(K = \mathbb{Q}(\sqrt5)\). There is no contradiction, because \([\mathcal{O}_K : \mathbb{Z}[\sqrt5]] = 2\), so the hypothesis of Dedekind's criterion fails at \(p = 2\) and the factorization of \(\bar f\) is not entitled to describe the factorization of \(2\mathcal{O}_K\). What the tangency records instead is that \(\operatorname{Spec}\mathbb{Z}[\sqrt5]\) is singular at \((2, x+1)\): the curve drawn is an order, not the maximal one. The figure flags the curves where this can happen.
We have at least three omissions. Only six fibers are drawn, and only finitely many points on each, whereas every fiber \(\mathbb{A}^1_{\mathbb{F}_p}\) has one closed point for each monic irreducible in \(\mathbb{F}_p[x]\) and so is infinite. The vertical position of a closed point of degree \(> 1\) carries no information at all, since such a point has no coordinate to be placed by, unlike \((p, x-a)\), which sits at height \(\bigl(a+\tfrac12\bigr)/p\). And the drawing records the topological space together with which prime each mark denotes; the structure sheaf, which is what makes \(\operatorname{Spec}\mathbb{Z}[x]\) a scheme rather than a space, is not visible anywhere in it. Multiplicity is the one place where non-reduced structure surfaces, and even there it is annotated rather than seen.