📌 Commutative Algebra & Algebraic Geometry Focus
From Spec to Sheaves: Localization and the Nullstellensatz
Purpose. How does a commutative ring become a geometric object? Why are prime ideals points, why does localization describe a neighborhood, and what additional information does a sheaf carry? This note develops the chain
The Nullstellensatz explains how classical algebraic sets over an algebraically closed field fit into this picture. It does not say that all prime ideals are closed points: nonmaximal primes are generic points.
Throughout, rings are commutative with identity, ring maps preserve identity, and prime ideals are proper. Unless otherwise indicated, denotes a field. We use the convention that an affine variety is an irreducible algebraic set; some authors allow reducible varieties. The word scheme is used only in the standard locally ringed space sense. These are supplementary notes connecting commutative algebra and algebraic geometry, not a claim about what the exam syllabus requires.
1. Algebraic sets and the ideal–zero set correspondence
Given , define
Given , define . Both assignments reverse inclusion. The closed sets define the classical Zariski topology on . For any family and ideals ,
The second equality follows because a point at which a product vanishes for all , must vanish on one of the two ideals: otherwise choose a nonvanishing and .
The radical satisfies . Thus equations such as and define the same classical subset, even though the rings and are different.
2. Hilbert’s Nullstellensatz
Weak Nullstellensatz. If is algebraically closed and is a maximal ideal of , then
for a unique . Equivalently, every proper ideal has a common zero in .
The nontrivial ingredient is Zariski’s lemma: a field finitely generated as an algebra over is a finite algebraic extension of . Applied to the quotient by a maximal ideal, it shows that the residue field is when is algebraically closed. We use this lemma rather than purporting to prove it here.
Strong Nullstellensatz. Under the same hypothesis on , for every ideal ,
Proof from the weak form (Rabinowitsch trick). Inclusion is immediate. For the converse, let vanish at all common zeros of . In consider . It has no common zero: a common zero of has , making . By the weak form, is the whole ring. Therefore for finitely many ,
Substitute in . The final term vanishes. Clearing a sufficiently large power of yields , proving . If the conclusion is immediate.
Consequently, algebraic subsets of correspond contravariantly to radical ideals, and irreducible algebraic subsets correspond to prime ideals. The coordinate ring of an algebraic set is ; it is reduced. It is a domain precisely when is irreducible.
Why the field hypothesis matters. Over , , so , whereas . Also is maximal in but is not the kernel of evaluation at a real point. For non-algebraically closed fields one must distinguish geometric points from -rational points.
3. Spectrum and the Zariski topology
For any ring ,
Define and . The sets are the closed sets, while the form a basis. Indeed,
Also and precisely when is nilpotent. The latter uses the theorem that the nilradical is the intersection of all prime ideals.
Closure of a point. For ,
To prove it, a closed set contains exactly when , so the smallest closed set containing is . Thus is a closed point exactly when it is maximal. A point whose closure is a closed set is called a generic point of . Each irreducible closed subset of has a unique generic point, namely the prime defining it.
Example:
The primes are and for positive prime integers . Each is closed, while is generic: its closure is all of . The basic open consists of and all with when . The geometric point has residue field ; the generic point has residue field .
Example: the affine line
If is algebraically closed, the points of are and the maximal ideals for . The closed points recover the classical affine line , but the scheme also has the generic point . In contrast, over the maximal ideal supplies a closed point with residue field , which is not an -rational point.
4. Localization: algebra and geometry
Let be multiplicatively closed and contain . In , a fraction is an equivalence class, where
The extra factor matters when has zero divisors. Localization is characterized by its universal property: every map from that makes all elements of invertible factors uniquely through .
Prime correspondence. Contraction gives a bijection
with inverse . A prime disjoint from gives a prime extension because is a localization of a domain. Conversely, contraction of a prime is prime and disjoint from since elements of become units; fraction equality establishes that extension and contraction are inverse.
Two cases are central:
- For , write . Its spectrum is naturally homeomorphic to . If is nilpotent, is the zero ring and both spectra are empty.
- For , write . Its primes correspond to primes , and its unique maximal ideal is . Thus is a local ring.
Important distinction. is an open subspace of . The image of is the set of generalizations ; it need not be open. The local ring captures germs around , but its spectrum is not generally an ordinary open neighborhood.
Examples
- has prime ideals and for . Geometrically it corresponds to , which removes the closed points .
- has maximal ideal and residue field . Its spectrum has points and .
- Let . In , is invertible, so and . The open is the -axis with the origin removed, at the level of classical closed points. This demonstrates how localization simplifies an equation on an open set.
- A nonzero element may become zero: in the same , in because . Hence the map need not be injective.
5. Exactness and modules
For an -module , localization is defined similarly. It is exact: from one obtains
Indeed, exactly when some annihilates ; this criterion proves injectivity and middle exactness, and surjectivity follows from lifting numerators. Equivalently, is flat over , since .
A useful local criterion is
For the nontrivial direction, take . The proper ideal lies in some maximal ideal . If in , some would annihilate , a contradiction. Consequently a map of modules is an isomorphism if and only if all its localizations at prime ideals are isomorphisms: apply exact localization and the criterion to its kernel and cokernel.
6. Classical affine varieties and affine schemes
An affine algebraic set has coordinate ring . When is algebraically closed, the Nullstellensatz identifies its classical points with maximal ideals of , via
The affine scheme also includes nonmaximal primes. If is a domain, is a generic point of the entire scheme. If is prime, is irreducible and is its generic point. The point is not an extra classical coordinate tuple; it records the irreducible closed subset itself.
For any prime , its residue field is
A section or global element has a value in , not necessarily in . If is algebraically closed and is a finitely generated -algebra, closed points have residue field ; generic points usually do not.
A ring map gives a continuous map in the opposite direction,
because the preimage of is . This reversal is the algebraic reason maps of affine schemes correspond contravariantly to ring homomorphisms. For a full scheme morphism one also specifies the compatible morphism of structure sheaves.
7. Presheaves, sheaves, and stalks
A presheaf of rings on a space assigns a ring to each open and a restriction map whenever , satisfying identity and composition laws.
It is a sheaf if for every open cover :
- (Uniqueness) sections of agreeing on all are equal.
- (Existence) sections with glue to a section of .
A section is not generally a single globally chosen fraction: it can have different local formulas on different open sets, provided they agree on overlaps.
The stalk at is the direct limit
Two pairs and define the same germ if their restrictions agree on some open neighborhood of contained in . The sheaf condition makes compatible local data global; the stalk forgets everything except behavior near one point.
Caution: locally constant versus constant presheaf. The presheaf that assigns the same ring to every nonempty open set and uses identity restrictions may fail the sheaf gluing axiom on a disconnected space. The sheaf of locally constant -valued functions is the corresponding correct sheaf; its sections can take different values on disjoint components.
8. The structure sheaf of an affine scheme
Let . For an open , define to consist of families
such that locally around every there are , throughout a neighborhood, and in . Restrictions discard components outside the smaller open. This defines a sheaf of rings: local representability is itself a local condition, and compatible families glue pointwise.
The two essential formulas are
\boxed{\mathcal O_{X,\mathfrak p}\cong A_{\mathfrak p}}.$$ The first says regular functions on $D(f)$ are represented by fractions with denominator a power of $f$. The second says germs at $\mathfrak p$ are exactly fractions with denominator outside $\mathfrak p$. In particular $\mathcal O_X(X)\cong A$ by taking $f=1$. ### Why the formulas are plausible, and what needs proof The stalk formula follows directly from the local-fraction definition: $a/f\in A_{\mathfrak p}$ is represented on $D(f)$, and two such representatives define the same germ exactly when they agree after localization at $\mathfrak p$. For the basic-open formula, the natural map $A_f\to\mathcal O_X(D(f))$ sends a fraction to its compatible local germs. Injectivity follows from the local zero criterion: if a fraction vanishes in all stalks over $D(f)$, its cyclic submodule localizes to zero at every prime of $A_f$, so it is zero. Surjectivity is the substantial gluing statement: a section has local fraction formulas, finitely many basic opens cover $D(f)$ by quasi-compactness, and clearing denominators plus the partition-of-unity identity obtained from the basic-open cover produces one fraction in $A_f$. This is a proof sketch; carrying out the common-denominator algebra is a standard exercise in the construction of the affine structure sheaf. The pair $(\operatorname{Spec}A,\mathcal O_X)$ is the **affine scheme** associated to $A$. It is a locally ringed space because every stalk $A_{\mathfrak p}$ is local. A scheme is a locally ringed space admitting an open cover by affine schemes. ## 9. Why topology alone is not enough Take the dual numbers $A=k[\varepsilon]/(\varepsilon^2)$. Every prime contains $\varepsilon$, and the only prime is $(\varepsilon)$, so $\operatorname{Spec}A$ has one point. The spectrum of $k$ also has one point, with the same topology. Yet $$\Gamma(\operatorname{Spec} A,\mathcal O)=A\not\cong k=\Gamma(\operatorname{Spec} k,\mathcal O).$$ The nilpotent $\varepsilon$ maps to zero in the residue field $k$ at the only point, but is a nonzero global section. Thus pointwise values in residue fields need not determine a section on a nonreduced scheme. The sheaf records nilpotent information invisible to the underlying topological space and to classical pointwise evaluation. More generally, $\operatorname{Spec}A$ and $\operatorname{Spec}(A/\sqrt0)$ have the same underlying topological space, but their structure sheaves can differ. ## 10. Worked example: the crossing $xy=0$ Let $A=k[x,y]/(xy)$, with $k$ algebraically closed. The classical algebraic set is the union of the coordinate axes. Its irreducible components correspond to the minimal primes $(x)$ and $(y)$ in $A$; these are generic points for the two components. The origin corresponds to the maximal ideal $(x,y)$, a closed point in both components. - $D(x)$ removes the $y$-axis and the origin at the classical-point level, with $\mathcal O(D(x))\cong k[x,x^{-1}]$. - $D(y)$ similarly gives $k[y,y^{-1}]$. - $D(x)\cap D(y)=D(xy)=\varnothing$ because $xy=0$ in $A$. - $D(x)\cup D(y)$ omits the origin; it does not cover all of $\operatorname{Spec}A$. - The stalk at the crossing is $A_{(x,y)}$, a local ring with two minimal primes. Its residue field is $k$. The stalk retains information about both branches that is lost if one looks only at the residue field. This example separates three kinds of data: the point-set topology, local function rings, and residue fields. ## 11. A compact dictionary | Algebra | Geometry | |---|---| | Prime ideal $\mathfrak p$ | A point of $\operatorname{Spec} A$; generic point of $V(\mathfrak p)$ | | Maximal ideal $\mathfrak m$ | A closed point | | $A/\mathfrak p$ | Coordinate ring of the closed subscheme cut out by $\mathfrak p$ | | $A_f$ | Regular functions on the basic open $D(f)$ | | $A_{\mathfrak p}$ | Local ring, i.e. stalk at $\mathfrak p$ | | $\kappa(\mathfrak p)$ | Field in which values at $\mathfrak p$ lie | | Nilpotent element | Structure-sheaf information invisible in all residue-field values | | Ring map $A\to B$ | Affine-scheme map $\operatorname{Spec}B\to\operatorname{Spec}A$ | ## 12. Practice and oral examination — no solutions 1. Prove the closed-set identities for $V(I)$ and the basic-open identity $D(f)\cap D(g)=D(fg)$. Show that $D(f)\subseteq D(g)$ if and only if $f\in\sqrt{(g)}$. 2. Determine all points, closures, residue fields, and basic opens of $\operatorname{Spec}\mathbb Z/12\mathbb Z$. Which nilpotent elements are invisible to the topology? 3. Prove the prime correspondence for localization, including extension and contraction. In $k[x,y]/(xy)$ compute the images of $x$ and $y$ in $A_x$, $A_y$, and $A_{(x,y)}$. 4. Explain carefully why $\operatorname{Spec}A_{\mathfrak p}$ maps to generalizations of $\mathfrak p$ rather than to specializations. Give an example where its image is not open. 5. Prove the strong Nullstellensatz from the weak form using the Rabinowitsch trick. Identify the precise point where algebraic closedness is used. Find a counterexample over $\mathbb R$. 6. In $k[x,y]$, find the minimal primes and classical zero set of $(x^2,xy)$. Compare this ring with its reduced quotient and explain what the underlying spectrum cannot distinguish. 7. State the sheaf axioms. Give an example of a presheaf failing gluing and verify the failure. Define a stalk and prove the local-ring formula for $\mathcal O_{\operatorname{Spec}A,\mathfrak p}$. 8. Prove that a module map is an isomorphism if and only if all its prime localizations are isomorphisms. Explain the link with checking a sheaf morphism on stalks. 9. For $A=k[x,y]/(xy)$, find the generic points of components and the closed crossing point. Compute $D(x)\cap D(y)$ and explain why $D(x)\cup D(y)$ is not all of $\operatorname{Spec}A$. 10. Oral questions: What does a nonmaximal prime represent? Why is $A_f$ associated to an open set while $A_{\mathfrak p}$ is associated to a germ? Why can a nonzero function vanish at every point? What changes if the ground field is not algebraically closed? ## References and scope - Atiyah–Macdonald, *Introduction to Commutative Algebra*, Chapters 1–3: ideals, prime spectrum, modules, and localization. This supplied text is the main commutative algebra reference; the structure-sheaf and scheme material is supplementary. - The strong Nullstellensatz proof above is given from the weak form; Zariski's lemma is explicitly used without proof. Precise theorem numbers in the supplied text were not checked for this note. - The affine structure sheaf theorem is stated with a proof sketch of its basic-open formula, not a complete proof of its surjectivity.