Schemes — Spec, Proj, and Morphisms

⚡ Key Takeaways

Schemes are locally ringed spaces locally isomorphic to the spectrum Spec⁡A\operatorname{Spec} A of a commutative ring. The affine spectrum Spec⁡\operatorname{Spec} and the homogeneous spectrum Proj⁡\operatorname{Proj} produce the local affine and projective models; morphisms of schemes are morphisms of locally ringed spaces, glued from ring homomorphisms. Applies to: algebraic geometry, arithmetic geometry, deformation theory, moduli problems. Who/when: Alexander Grothendieck and the Paris school, Éléments de géométrie algébrique (1960–1967), building on Serre's FAC (1955).

💡 The Core Insight

Geometry should be reconstructed from its ring of functions. For an affine variety the coordinate ring determines everything; Grothendieck's leap is to take any commutative ring AA, declare its prime ideals to be points, and recover functions by localization. The value of a "function" f∈Af \in A at a point p\mathfrak{p} is its image in the residue field κ(p)\kappa(\mathfrak{p}), so functions can vanish, be nilpotent, or have different residue fields at different points. Gluing Spec⁡\operatorname{Spec}'s along open sets gives schemes; a morphism is then completely determined by, and dual to, ring maps — geometry and algebra become two views of one category.

Formal Statement

DefinitionThe Prime Spectrum as a Space

Let AA be a commutative ring with 11. The prime spectrum Spec⁡A\operatorname{Spec} A is the set of prime ideals p⊊A\mathfrak{p} \subsetneq A. For an ideal I⊆AI \subseteq A define the vanishing locus

1
V(I)={ p∈Spec⁡A:I⊆p }.\quad V(I) = \{\,\mathfrak{p} \in \operatorname{Spec} A : I \subseteq \mathfrak{p}\,\}.

Derivation hint: a prime p\mathfrak{p} "lies on" V(I)V(I) iff every element of II maps to 00 in κ(p)\kappa(\mathfrak{p}), i.e. I⊆pI \subseteq \mathfrak{p}; check V(I)∪V(J)=V(IJ)V(I)\cup V(J)=V(IJ) and ⋂αV(Iα)=V(∑αIα)\bigcap_\alpha V(I_\alpha)=V(\sum_\alpha I_\alpha). The sets V(I)V(I) are the closed sets of the Zariski topology. A basis of opens is given by the distinguished opens D(f)=Spec⁡A∖V(f)={p:f∉p}D(f) = \operatorname{Spec} A \setminus V(f) = \{\mathfrak{p}: f \notin \mathfrak{p}\} for f∈Af \in A.

DefinitionThe Structure Sheaf

The structure sheaf OX\mathcal{O}_X on X=Spec⁡AX = \operatorname{Spec} A is the unique sheaf of rings with

2
OX(D(f))=Af=A[f−1],OX,p=Ap.\quad \mathcal{O}_X(D(f)) = A_f = A[f^{-1}], \qquad \mathcal{O}_{X,\mathfrak{p}} = A_\mathfrak{p}.

Derivation hint: define OX(U)\mathcal{O}_X(U) for general open UU as compatible families of fractions s:U→∐pAps:U\to\coprod_\mathfrak{p} A_\mathfrak{p} locally of the form a/ga/g; verify the sheaf axioms and that on D(f)D(f) this recovers AfA_f via the localization–covering correspondence. The pair (X,OX)(X,\mathcal{O}_X) is a locally ringed space because each stalk ApA_\mathfrak{p} is local with maximal ideal pAp\mathfrak{p}A_\mathfrak{p}. The residue field at p\mathfrak{p} is

3
κ(p)=Ap/pAp=Frac⁡(A/p).\quad \kappa(\mathfrak{p}) = A_\mathfrak{p}/\mathfrak{p}A_\mathfrak{p} = \operatorname{Frac}(A/\mathfrak{p}).

Derivation hint: Ap/pApA_\mathfrak{p}/\mathfrak{p}A_\mathfrak{p} is the localization of the domain A/pA/\mathfrak{p} at its zero ideal, which is by definition its fraction field.

DefinitionAffine Scheme and Scheme

An affine scheme is a locally ringed space isomorphic to (Spec⁡A,OSpec⁡A)(\operatorname{Spec} A, \mathcal{O}_{\operatorname{Spec} A}) for some ring AA. A scheme is a locally ringed space (X,OX)(X,\mathcal{O}_X) admitting an open cover {Ui}\{U_i\} with each (Ui,OX∣Ui)(U_i,\mathcal{O}_X|_{U_i}) an affine scheme. The global sections functor and Spec⁡\operatorname{Spec} form an adjunction; on affines they invert one another:

4
Hom⁡Sch(X,Spec⁡A)  ≅  Hom⁡CRing(A,Γ(X,OX)).\quad \operatorname{Hom}_{\mathbf{Sch}}(X,\operatorname{Spec} A) \;\cong\; \operatorname{Hom}_{\mathbf{CRing}}(A,\Gamma(X,\mathcal{O}_X)).

Derivation hint: a scheme map to Spec⁡A\operatorname{Spec} A is determined by where the generators of AA go as global functions; conversely a ring map A→Γ(X,OX)A\to\Gamma(X,\mathcal O_X) assembles, on each affine chart, into local maps by the universal property of localization.

TheoremSpec is an Anti-equivalence

The functor

5
Spec⁡:CRingop⟶AffSch,A↦Spec⁡A,\quad \operatorname{Spec}: \mathbf{CRing}^{\mathrm{op}} \longrightarrow \mathbf{AffSch}, \qquad A \mapsto \operatorname{Spec} A,

is an equivalence of categories, with quasi-inverse the global sections functor Γ\Gamma. A ring homomorphism φ:A→B\varphi: A \to B induces Spec⁡φ:Spec⁡B→Spec⁡A\operatorname{Spec}\varphi : \operatorname{Spec} B \to \operatorname{Spec} A, q↦φ−1(q)\mathfrak{q}\mapsto \varphi^{-1}(\mathfrak{q}), continuous and a morphism of locally ringed spaces. Derivation hint: the contraction φ−1(q)\varphi^{-1}(\mathfrak q) of a prime is prime; functoriality and the local-homomorphism condition follow from φ−1(q)Aφ−1(q)⊆\varphi^{-1}(\mathfrak q)A_{\varphi^{-1}(\mathfrak q)} \subseteq preimage of qBq\mathfrak q B_{\mathfrak q}.

DefinitionProj of a Graded Ring

Let S=⨁d≥0SdS = \bigoplus_{d\ge 0} S_d be a Z≥0\mathbb{Z}_{\ge 0}-graded ring with irrelevant ideal S+=⨁d>0SdS_+ = \bigoplus_{d>0} S_d. The homogeneous spectrum

6
Proj⁡S={ p⊂S homogeneous prime:S+⊈p }.\quad \operatorname{Proj} S = \{\,\mathfrak{p} \subset S \text{ homogeneous prime}: S_+ \not\subseteq \mathfrak{p}\,\}.

Derivation hint: discard p⊇S+\mathfrak p \supseteq S_+ because these correspond to the "vertex" of the affine cone; a prime is homogeneous iff it is generated by its homogeneous components. It is covered by affines D+(f)≅Spec⁡((Sf)0)D_+(f) \cong \operatorname{Spec}\big( (S_f)_0 \big) for homogeneous f∈S+f \in S_+, where (Sf)0(S_f)_0 is the degree-zero part of the localization. For S=A[x0,…,xn]S = A[x_0,\dots,x_n] this yields projective nn-space PAn=Proj⁡A[x0,…,xn]\mathbb{P}^n_A = \operatorname{Proj} A[x_0,\dots,x_n].

Why It Holds / Derivation

ProofSpec is a Sheaf and a Locally Ringed Space

Step 1 — Topology. From [1], V(0)=XV(0)=X, V(A)=∅V(A)=\varnothing, V(I)∪V(J)=V(I∩J)=V(IJ)V(I)\cup V(J)=V(I\cap J)=V(IJ), and ⋂αV(Iα)=V(∑αIα)\bigcap_\alpha V(I_\alpha) = V(\sum_\alpha I_\alpha). Hence the V(I)V(I) are closed sets of a topology. The D(f)D(f) form a basis since V(I)=⋂f∈IV(f)V(I) = \bigcap_{f\in I} V(f), so its complement is ⋃f∈ID(f)\bigcup_{f\in I} D(f).

Step 2 — D(f)⊆D(g)D(f)\subseteq D(g) criterion. D(f)⊆D(g)D(f)\subseteq D(g) iff f∈(g)f \in \sqrt{(g)}, iff fn=ghf^n = g h for some n,hn,h, which is exactly when gg becomes a unit in AfA_f. This gives canonical restriction maps Ag→AfA_g \to A_f and makes the assignment D(f)↦AfD(f)\mapsto A_f a presheaf on the basis.

Step 3 — Sheaf on the basis. A cover D(f)=⋃iD(gi)D(f) = \bigcup_i D(g_i) corresponds to f∈(gi)if \in \sqrt{(g_i)_i}, i.e. some power fN∈(gi)f^N \in (g_i). The sheaf gluing for AfA_f over {Agi}\{A_{g_i}\} reduces to an exact sequence

7
0→Af→∏iAgi→∏i,jAgigj,\quad 0 \to A_f \to \prod_i A_{g_i} \to \prod_{i,j} A_{g_ig_j},

Derivation hint: this is the localized form of faithfully flat descent / a partition-of-unity argument: write 1=∑iaigim1=\sum_i a_i g_i^{m} in AfA_f to patch local fractions, and use injectivity of Af→∏AgiA_f \to \prod A_{g_i} to glue uniquely. which is exact, so the presheaf on distinguished opens is a sheaf and extends uniquely to OX\mathcal{O}_X.

Step 4 — Stalks. OX,p=⁡f∉pAf=Ap\mathcal{O}_{X,\mathfrak{p}} = \varinjlim_{f\notin\mathfrak p} A_f = A_\mathfrak{p}, a local ring; thus (X,OX)(X,\mathcal{O}_X) is a locally ringed space.

Step 5 — Morphisms are local. A ring map φ:A→B\varphi:A\to B pulls back primes and, on stalks, gives Aφ−1(q)→BqA_{\varphi^{-1}(\mathfrak q)} \to B_\mathfrak{q} sending the maximal ideal into the maximal ideal — a local homomorphism. This is the extra condition distinguishing scheme morphisms among arbitrary morphisms of ringed spaces. ■\blacksquare

∎
mathematician · Alexander Grothendieck | 1928–2014

Grothendieck recast algebraic geometry on the foundation of schemes between 1958 and 1970, mostly through the Éléments de géométrie algébrique (EGA), written with Jean Dieudonné, and the seminars SGA. His insight that every commutative ring is the ring of functions on a geometric object dissolved the boundary between geometry and arithmetic, enabling the relative viewpoint (everything is a morphism over a base), representable functors, and the machinery later used to prove the Weil conjectures. He emphasized working with the functor of points T↦Hom⁡(T,X)T \mapsto \operatorname{Hom}(T,X) and the systematic use of base change, sheaf cohomology, and nilpotent thickenings. His program reorganized the entire field around universal properties rather than coordinates.

Building Intuition

🧠 Intuition

Think of Spec⁡A\operatorname{Spec} A as the set of "ways to evaluate" elements of AA. Each prime p\mathfrak{p} gives a homomorphism A→κ(p)A \to \kappa(\mathfrak{p}), and f∈Af\in A becomes a "function" whose value at p\mathfrak{p} is its image f(p)∈κ(p)f(\mathfrak{p}) \in \kappa(\mathfrak{p}) — but the target field changes from point to point. Closed points behave like ordinary points; the generic point (0)(0) of an irreducible scheme lies in every nonempty open and represents "the whole component at once," so a property holding at the generic point holds on a dense open. Nilpotents are functions that are everywhere zero as values yet nonzero in the ring — fuzz that records multiplicity (a double point is Spec⁡k[ϵ]/(ϵ2)\operatorname{Spec} k[\epsilon]/(\epsilon^2)). Proj⁡\operatorname{Proj} glues affine charts the way Pn\mathbb{P}^n is built from An\mathbb{A}^n charts xi≠0x_i \neq 0, where the gluing data is exactly "rescale by ratios of coordinates," matched by degree-zero localizations.

Figure
Spec ℤ as an arithmetic curve: closed points are primes, the generic point (0) is dense
generic point (0): dense, lies in every nonempty open (2) (3) (5) (7) (11) · · · closed points κ((p)) = 𝔽_p κ((0)) = ℚ dim Spec ℤ = 1

Worked Examples

ExampleSpec of a non-domain: a disconnected union

Given: A=Z/6ZA = \mathbb{Z}/6\mathbb{Z}. Find Spec⁡A\operatorname{Spec} A and its topology.

Steps: 1. By the Chinese Remainder Theorem Z/6≅Z/2×Z/3\mathbb{Z}/6 \cong \mathbb{Z}/2 \times \mathbb{Z}/3. 2. Primes of a product R1×R2R_1\times R_2 are p1×R2\mathfrak{p}_1\times R_2 and R1×p2R_1\times\mathfrak{p}_2. Here Z/2,Z/3\mathbb{Z}/2,\mathbb{Z}/3 are fields, so each has the single prime (0)(0). 3. Thus Spec⁡(Z/6)={(2)/(6), (3)/(6)}\operatorname{Spec}(\mathbb{Z}/6) = \{(2)/(6),\ (3)/(6)\} — two points. 4. The idempotents e=(1,0), 1−e=(0,1)e=(1,0),\,1-e=(0,1) split the space; both points are open and closed. 5. Residue fields: κ((2))=F2\kappa((2)) = \mathbb{F}_2, κ((3))=F3\kappa((3)) = \mathbb{F}_3.

Answer:

Spec⁡(Z/6)={ptF2} ⊔ {ptF3},dim⁡=0, #points=2.\boxed{\operatorname{Spec}(\mathbb{Z}/6) = \{\mathrm{pt}_{\mathbb{F}_2}\}\ \sqcup\ \{\mathrm{pt}_{\mathbb{F}_3}\}, \quad \dim = 0,\ \#\text{points}=2.}
ExampleProj of a polynomial ring: the projective line

Given: S=k[x0,x1]S = k[x_0,x_1], deg⁡xi=1\deg x_i = 1, kk a field. Describe Pk1=Proj⁡S\mathbb{P}^1_k = \operatorname{Proj} S.

Steps: 1. Irrelevant ideal S+=(x0,x1)S_+=(x_0,x_1). Standard cover by D+(x0),D+(x1)D_+(x_0), D_+(x_1). 2. D+(x0)=Spec⁡((Sx0)0)D_+(x_0) = \operatorname{Spec}\big((S_{x_0})_0\big). Degree-zero elements of k[x0,x1,x0−1]k[x_0,x_1,x_0^{-1}] are polynomials in t=x1/x0t = x_1/x_0, so (Sx0)0=k[t]=Spec⁡Ak1(S_{x_0})_0 = k[t] = \operatorname{Spec}\mathbb{A}^1_k. 3. Likewise D+(x1)=Spec⁡k[u]D_+(x_1) = \operatorname{Spec} k[u], u=x0/x1u = x_0/x_1. 4. Overlap D+(x0x1)D_+(x_0x_1): the gluing identifies u=t−1u = t^{-1} on the locus t≠0t\neq 0. 5. Closed points: [a0:a1][a_0:a_1] with residue field kk (if kk algebraically closed), plus the generic point (0)(0).

Answer:

Pk1=Spec⁡k[t] ∪t↦u−1 Spec⁡k[u],dim⁡=1, #charts=2.\boxed{\mathbb{P}^1_k = \operatorname{Spec} k[t]\ \cup_{t \mapsto u^{-1}}\ \operatorname{Spec} k[u], \quad \dim = 1,\ \#\text{charts}=2.}

Common Misconceptions

⚠️ Common mistake

Points of Spec⁡A\operatorname{Spec} A are NOT just maximal ideals. Every prime is a point, so non-closed (generic) points exist. The Zariski topology is not Hausdorff: distinct points need not be separated, and the generic point is dense. Also, Γ(Spec⁡A,O)=A\Gamma(\operatorname{Spec} A,\mathcal O)=A exactly, but for a general scheme global sections can be tiny (e.g. Γ(Pkn,O)=k\Gamma(\mathbb{P}^n_k,\mathcal O)=k) — you cannot recover the scheme from its global functions alone. Finally, a morphism of schemes is not merely a continuous map plus any ring maps on opens; the homomorphisms on stalks must be local homomorphisms.

CounterexampleContinuous + ringed map that is NOT a morphism of schemes

Take X=Spec⁡KX=\operatorname{Spec} K (KK a field, one point with residue field KK) and Y=Spec⁡RY=\operatorname{Spec} R where RR is a DVR with maximal ideal m\mathfrak m, fraction field KK, residue field kk. The inclusion R↪KR\hookrightarrow K induces a scheme morphism sending the point of XX to the generic point (0)(0) of YY. If instead one tried to send XX to the closed point m\mathfrak m while pulling back along R→KR \to K, the induced stalk map Rm=R→KR_\mathfrak{m}=R \to K would have to send m\mathfrak m into 00 — but m↦mK=K\mathfrak m \mapsto \mathfrak m K = K, which is not contained in the maximal ideal (0)(0) of KK. The locality of the stalk homomorphism fails, so this is not a valid morphism of locally ringed spaces. This shows why the locality axiom is essential and not automatic.

Connections

connection

Spec⁡\operatorname{Spec} and Proj⁡\operatorname{Proj} provide the affine and projective building blocks for all of Scheme Theory and feed directly into Quasi-coherent Sheaves, where modules over AA become sheaves M~\widetilde{M} on Spec⁡A\operatorname{Spec} A and graded modules over SS become sheaves on Proj⁡S\operatorname{Proj} S (yielding the twisting sheaves O(n)\mathcal O(n)). The functorial perspective links to Representable Functors and the Functor of Points via [4] and the Yoneda Lemma. Properties of morphisms — separated, proper, flat, smooth, étale — are studied in Morphisms of Schemes and are the inputs to Sheaf Cohomology and Intersection Theory. The special case Spec⁡Z\operatorname{Spec}\mathbb{Z} and its function-field analogues underlie Arithmetic Geometry and the Weil Conjectures.

Real-World Applications

🔬 Where this appears

Historical Development

⏳ History
- 1882 — Dedekind & Weber: algebraic function fields treated geometrically; primes of a ring as "points," a conceptual ancestor of Spec⁡\operatorname{Spec}.
- 1930s–40s — Krull, van der Waerden, Zariski: valuation theory, the Zariski topology, and generic points sharpen the local algebra of varieties.
- 1946 — Weil, Foundations: abstract varieties via gluing, setting the stage for relative geometry.
- 1955 — Serre, FAC: Faisceaux algébriques cohérents introduces coherent sheaves and sheaf cohomology on varieties using the Zariski topology.
- 1956 — Chevalley & others: notions of "scheme" over a field circulate; Cartier and Chevalley formulate early prime-spectrum spaces.
- 1958 — Grothendieck (Edinburgh ICM): announces the program reorganizing geometry around Spec⁡\operatorname{Spec} of arbitrary rings.
- 1960–1967 — EGA (Grothendieck–Dieudonné): the definitive treatment of schemes, morphisms, Proj⁡\operatorname{Proj}, cohomology, and the relative point of view.
- 1960s — SGA seminars: étale cohomology, descent, fundamental groups — tools that resolved the Weil conjectures (Deligne, 1974).
- 1977 — Hartshorne, Algebraic Geometry: the standard graduate text crystallizing scheme theory for generations of students.

Subtleties & Limits

open-problem

Scheme theory is foundationally complete, yet conceptual extensions remain active. Derived and spectral algebraic geometry (Lurie, Toën–Vezzosi) replace commutative rings by simplicial/connective ring spectra so that Spec⁡\operatorname{Spec} records higher homotopical data, essential for cotangent complexes and virtual fundamental classes; the right "Proj⁡\operatorname{Proj}" and intersection theory in this setting are still being developed. Non-commutative geometry seeks a Spec⁡\operatorname{Spec} for non-commutative rings where prime ideals are too few to topologize usefully. In arithmetic, the search for the field with one element F1\mathbb{F}_1 and a geometry under Spec⁡Z\operatorname{Spec}\mathbb{Z} aims to realize a curve-over-a-field analogue that would attack the Riemann Hypothesis; competing frameworks (Connes–Consani, Borger's λ\lambda-rings, Durov) have not yet converged. Effective bounds and decidability for natural schematic questions (e.g. existence of rational points, the Hilbert scheme's components) remain genuinely open.

See Also

Scheme Theory · Commutative Algebra · Quasi-coherent Sheaves · Morphisms of Schemes · Sheaf Cohomology · Projective Varieties · Arithmetic Geometry · Representable Functors and the Functor of Points