Affine schemes and structure sheaves
Recover a ring from its affine scheme while retaining generic points, residue fields, and nilpotent structure.
On this page
The question for today
What you’ll understand
- Compute structure-sheaf sections on distinguished opens and at stalks.
- Explain why affine-scheme morphisms reverse ring homomorphisms.
- Detect nilpotents that the underlying prime spectrum cannot distinguish.
The prime spectrum packages the possible local behaviors of a ring into one space. Adding the structure sheaf turns that topological package back into an object from which the original ring can be recovered. This is a stronger construction than drawing the common zeros of polynomials over one chosen field. Prime ideals include generic points, residue fields record arithmetic, and nilpotent functions preserve infinitesimal information even when every ordinary point evaluates them to zero. We will compute each of these layers separately rather than treating a spectrum as only its set of closed points.
Distinguished opens turn restriction into localization
For a ring A, the points of Spec A are its prime ideals, with closed sets consisting of primes containing a specified ideal. The distinguished open D(f) consists of the primes avoiding f. These opens form a basis, and their pairwise intersections are D(fg). On D(f), the function f must be invertible, so its ring of regular sections is the localization A_f. Restricting to a smaller distinguished open uses the corresponding universal localization map.
This prescription first defines the structure sheaf on a basis, where the gluing identities can be checked algebraically, and then extends it to arbitrary opens. One must not assign A_f to an arbitrary open merely because it resembles a punctured region in a picture. General opens may need several distinguished charts, and their sections are compatible tuples of localized elements. In particular, different denominators are allowed on different members of a cover as long as they define the same section on overlaps.
Affine geometry remembers the ring, with arrows reversed
A ring homomorphism A→B sends a prime of B to its inverse image in A. This gives the continuous map Spec B→Spec A and, after localization, the required local maps on stalks. Conversely, every affine-scheme morphism arises uniquely in this way. Taking global sections recovers A from Spec A, including its nilpotents and zero divisors. Thus affine schemes and rings form contravariantly equivalent categories, not covariantly equivalent categories.
A map on the underlying topological spectra alone is insufficient. It may admit several different sheaf pullbacks, or no suitable pullback, and it cannot specify what happens to infinitesimal functions. For example, maps out of a ring containing a square-zero element must choose where that element goes, subject to its relation. Two such choices can induce the same map on every prime ideal while defining distinct scheme morphisms. The structure sheaf is therefore essential morphism data rather than a decorative addition to a space.
Reduction preserves the space while changing its functions
Every prime ideal contains every nilpotent element. Consequently the quotient by the nilradical has the same underlying prime spectrum, with the same Zariski topology. The reduced scheme removes those nilpotent functions from the sheaf. A nonreduced scheme can therefore be topologically indistinguishable from a reduced one while carrying different local rings and different infinitesimal maps. Saying that a nilpotent vanishes at all points is a statement about residue-field values, not a statement that it is the zero section.
The dual numbers illustrate this distinction on a single underlying point, while adjoining an ordinary coordinate spreads that infinitesimal direction along a line. A first-order map into the thickened object can detect a square-zero parameter that an ordinary field-valued point cannot. Such information later becomes important in tangent spaces and deformation theory. Before counting points or declaring two geometric objects equal, compare the local rings, the sheaf sections, and the chosen base field as well as the topology.
Work it through
A line with a square-zero direction
Let A=k[x,ε]/(ε²), where k is a field, and fix a∈k. Describe its reduction, its stalk at (x−a,ε), and the distinguished open D(ε).
The nilradical is the ideal (ε), and A/(ε)=k[x]. Every prime contains ε, so Spec A and Spec k[x] have the same underlying topological space. The rings are different because ε remains a nonzero element of A.
At the indicated point the stalk is k[x]_(x−a)[ε]/(ε²). The element ε is still nonzero: as a module over k[x]_(x−a), this ring has basis 1,ε. Its maximal ideal is generated by x−a and ε, and its residue field is k.
Localizing at ε makes an element satisfying ε²=0 invertible. Multiplying that equation by its inverse square forces 1=0. Thus A_ε is the zero ring and D(ε) is empty, consistent with every prime containing ε.
The thickened line has the same points as its reduction but different stalks. A nonzero nilpotent can have an empty nonvanishing open.
The living notebook
Explore the model
Interactive lab · modular
Separate additive order from nilpotence
Pause and Reset; set Modulus m=9,Additive step a=3. Predict the residues 0,3,6 and period 3. In the ring Z/9Z the separate multiplication calculation 3²=0 shows a nonzero nilpotent. For a fresh comparison Reset and set m=9,a=1; predict period 9. The additive instrument checks the stated orders only; an additive period does not by itself establish nilpotence or construct a prime spectrum.
- Residue r0
- 0
- Orbit period · m/gcd(m,a)
- 12
- Distinct residues visited
- 1 of 12
Addition modulo m starts at zero: rₙ = na mod m. Playback advances two additions per second. The orbit has period m/gcd(m,a), including period one for a = 0. This is not a cryptographic security test or a primality algorithm. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.
Look forPointwise vanishing and algebraic zero are different; the defining multiplication relation must be checked explicitly.
Pause & reason
Check your understanding
Your turn
Try it yourself
For A=Z/18Z, compute the rings of sections on D(3) and D(2). Which of these two opens retains nonzero nilpotents?
Take a moment to make a prediction or work it out on paper. Open a hint when you need one.
Give me a hint
Use the Chinese remainder decomposition Z/18Z≅Z/2Z×Z/9Z before inverting the selected element.
Compare with the solution
Inverting 3 kills the Z/9Z factor and leaves Z/2Z, so Γ(D(3),O)=Z/2Z. Inverting 2 kills the Z/2Z factor and leaves Z/9Z, so Γ(D(2),O)=Z/9Z. The latter contains the nonzero square-zero element 3 modulo 9. Both opens have one underlying point, but their section rings and residue characteristics differ.
Keep the idea
Take it with you
- Structure-sheaf restrictions on distinguished opens are localizations.
- Affine-scheme morphisms correspond to ring maps in the opposite direction.
- Reduction preserves topology while removing infinitesimal algebra.
Read further
Original sources and deeper explanations to follow at your own pace.
Optional progress, saved in this browser when available. Revisit any lesson at any time.
Lesson not marked complete.