Commutative Algebra: A Digest of the Lectures

This is a digest of the thirty lectures. It keeps the narrative, the definitions, the statements of the main results and some examples, and it leaves out the proofs. The results carry the same numbers as in the lecture notes, where the proofs can be found.

  1. Prelude; rings and ideals
  2. Operations on ideals; maximal and prime ideals
  3. Radicals, local rings and modules; first examples
  4. Polynomial and power series rings; the Hilbert basis theorem
  5. Affine varieties; monomial orderings
  6. Division with remainder; Gröbner bases
  7. Buchberger's criterion and algorithm
  8. The Hilbert function and the Hilbert polynomial
  9. Dimension of a variety; towards the Nullstellensatz
  10. Integral extensions
  11. Noether normalisation
  12. The weak Nullstellensatz
  13. The strong Nullstellensatz
  14. Irreducible decomposition; the Zariski topology
  15. Regular maps; the theorem of Ax
  16. The spectrum of a ring
  17. Krull dimension; Artinian rings
  18. Localisation
  19. Local rings: Nakayama's lemma
  20. Krull's height theorem and the principal ideal theorem
  21. Proof of the height theorem; dimension of polynomial rings
  22. The Cohen–Seidenberg theorems
  23. Valuation rings
  24. Valuations and discrete valuation rings
  25. Artin–Rees, Krull's intersection theorem and the main theorem on DVRs
  26. Dedekind domains
  27. Completion of a discrete valuation ring
  28. p-adic numbers and Hensel's lemma
  29. I-adic completion
  30. What we left out

Prelude

Lecture 1. Prelude; rings and ideals [full lecture][pdf]

Commutative Algebra has its roots in Algebraic Number Theory and forms the foundation of the modern theory of Algebraic Geometry.

Algebraic Geometry is the study of algebraic varieties, spaces cut out by polynomial equations in several variables, whose algebraic functions form a quotient of a polynomial ring: \(k[X,Y]/(X^2-Y^3)\) for the subspace of \(k^2\) cut out by \(X^2=Y^3\), where \(k\) is a field. Hilbert’s Nullstellensatz, one of the main themes in this course, gives a dictionary between the geometry of algebraic varieties and the algebra of functions on them.

Algebraic Number Theory was developed with the main goal of solving Fermat’s Last Theorem: there are no solutions in positive integers to \(X^n+Y^n=Z^n\) for \(n>2\). An early approach used the factorisation \[ Y^n = \prod _{i=0}^{n-1} (Z- \xi ^i X) \text {\ with \ } \xi \text {\ a primitive $n^{th}$ root of unity} \] in \(\mathbb {Z}[\xi ]\), which leads to a contradiction if every element of \(\mathbb {Z}[\xi ]\) can be factorised into primes, as in \(\mathbb {Z}\); whether such unique factorisation holds depends on \(n\).

Hilbert’s proofs of the Hilbert basis theorem and the Nullstellensatz were non-constructive, relying on the law of excluded middle and, often, on a version of the Axiom of Choice. The crux of constructive methods is the theory of Gröbner bases and Buchberger’s algorithm; we favour them when this does not take us too far afield, and specify whenever an argument is non-constructive.

Rings, Ideals and Modules

\(\blacksquare \) In this course, a ring will always mean a commutative ring with identity: a set \((R,+,\cdot , 0,1)\) such that \((R,+,0)\) is an abelian group and \[ a \cdot (b \cdot c) = (a \cdot b) \cdot c, \quad a \cdot (b + c) = a \cdot b + a \cdot c, \quad a \cdot b = b \cdot a, \quad a \cdot 1 = 1 \cdot a = a. \]

A field is a ring with \(1 \neq 0\) where every non-zero element is invertible; invertible elements are called units. An integral domain is a subring of a field, equivalently a ring \(R \neq \{0\}\) in which \(ab=0\) implies \(a=0\) or \(b=0\) (it embeds in its field of fractions \(\mathrm {Frac}(R)\)). A homomorphism of rings \(f: R \to S\) satisfies \(f(a+b) = f(a)+f(b)\), \(f(ab) = f(a)f(b)\) and \(f(1)=1\). An integral domain is a unique factorisation domain (UFD) if every non-zero element factors as a product of irreducible elements and a unit, uniquely up to reordering and multiplying by units, and a Euclidean domain if it has a norm \(| \cdot | : R \to \mathbb {N}\) such that given \(a, b\) with \(b \neq 0\), we can find \(r, q\) such that \(a = bq + r\) and \(|r| < |b|\).

Unique factorisation fails in other rings of integers, such as \(\mathbb {Z}[\sqrt {-5}]\), where \[ 21 = 3 \times 7 = (1+ 2 \sqrt {-5}) (1-2 \sqrt {-5}). \] The theory of ideals (“ideal numbers”) was motivated by a desire to restore it: we will see that in \(\mathbb {Z}[\sqrt {-5}]\) every non-zero ideal factors uniquely as a product of prime ideals.

An ideal of a ring \(R\) is a kernel of a homomorphism \(f: R \to S\); equivalently, it is a subset \(I \subset R\) such that \[ 0 \in I, \ \ a \pm b \in I \text { for } a,b \in I, \ \ a r \in I \text { for } a \in I, r \in R. \] The ideals of the ring \(R/I\) correspond bijectively to the ideals \(J \subset R\) such that \(I \subset J\). The ideal generated by a subset \(S\) of \(R\) is \[ (S) = \{ r_1 s_1 + \ldots + r_t s_t | r_i \in R, s_i \in S, t \in \mathbb {N} \}, \] written \((f_1,f_2,\ldots , f_t)\) when \(S = \{f_1,\ldots ,f_t\}\). An ideal is proper if it is not equal to \((1) = R\), and principal if it is generated by a single element; an integral domain is a principal ideal domain (PID) if every ideal is principal. A Euclidean domain is a PID, and a PID is a UFD (this uses the Axiom of Dependent Choice).

A ring is called Noetherian if all of its ideals are finitely generated; most rings of interest in this course are Noetherian, but not all.

Lecture 2. Operations on ideals; maximal and prime ideals [full lecture][pdf]

Ideals can be added and multiplied: \[ I + J = \{ a + b | a \in I, b \in J \}, \qquad IJ = \{ \sum _{i=1}^t a_i b_i | a_i \in I, b_i \in J, t \in \mathbb {N}\}. \] Multiplication is commutative and associative. \(I \cap J\) is also an ideal, and in general \(IJ \subset I \cap J\).

Proposition 2.1. Suppose that the ideals \(I, J\) of a ring \(R\) are coprime, that is \(I+J=R\), then \(IJ = I \cap J\).

Corollary 2.2. Suppose \(I, J\) are coprime ideals in \(R\), then \(R/IJ \simeq R/I \times R/J\).

By induction, we get the following theorem (known as the Sunzi remainder theorem when \(R=\mathbb {Z}\)).

Theorem 2.3. Suppose \(I_1,I_2,\ldots , I_r\) are pairwise coprime ideals, that is, \(I_i + I_j = R\) for \(i\neq j\), then \(I_1 I_2 \ldots I_r = I_1 \cap I_2 \cap \ldots \cap I_r\) and \[ R / (I_1 \cap I_2 \cap \ldots \cap I_r) \simeq R/I_1 \times R/I_2 \times \ldots \times R/I_r. \]

There is also a quotient operation for ideals, \(I:J \coloneqq \{ a \in R : a J \subset I \}\), and the saturation \(I:J^\infty \coloneqq \{ a \in R : aJ^n \subset I \text { for some } n \}\).

A maximal ideal of a ring \(R\) is a proper ideal \(\mathfrak {m}\) such that, for any ideal \(I\), \(\mathfrak {m} \subset I\) implies \(\mathfrak {m}=I\) or \(I=R\). An ideal \(\mathfrak {m}\) is maximal if and only if \(R/\mathfrak {m}\) is a field. The next proposition is an application of Zorn’s lemma (a partially ordered set in which every totally ordered subset has an upper bound has a maximal element), which is equivalent to the Axiom of Choice.

Proposition 2.4. If \(I\) is a proper ideal, then there exists at least one maximal ideal containing \(I\).

For the rings of main interest there are constructive ways of proving this.

The main idea of algebraic geometry is that a commutative ring \(R\) is the space of functions on a space (an algebraic variety). The maximal ideals of \(R\) then correspond to geometric points of this space.

\(\blacktriangleright \) In \(R= \mathbb {C}[X,Y]\) the ideals \(\mathfrak {m}_{a,b}=(X-a,Y-b)\), \((a,b) \in \mathbb {C}^2\), are maximal: \(\mathfrak {m}_{a,b}\) is the kernel of the evaluation homomorphism \(\mathbb {C}[X,Y] \to \mathbb {C}\) sending \(f\) to \(f(a,b)\). We will prove later in the course (“Nullstellensatz”) that there are no other maximal ideals in \(\mathbb {C}[X,Y]\).

If \(f: R_1 \to R_2\) is a ring map and \(\mathfrak {m}\) is a maximal ideal of \(R_2\), then \(f^{-1}(\mathfrak {m})\) need not be maximal: for the inclusion \(f: \mathbb {Z} \to \mathbb {Q}\), \(f^{-1}((0)) = (0)\) is not maximal. A proper ideal \(I\) in \(R\) is a prime ideal if whenever \(xy \in I\), then \(x \in I\) or \(y \in I\). An ideal \(I\) is prime if and only if \(R/I\) is an integral domain; in particular, a maximal ideal is prime.

Proposition 2.5. If \(f: R_1 \to R_2\) is a ring homomorphism and \(\mathfrak {p} \subset R_2\) is a prime ideal, then \(f^{-1}(\mathfrak {p})\) is a prime ideal.

Since maximal ideals are prime, there are many prime ideals, but we can be more precise. A subset \(S\) of a ring is called a multiplicative set if \(1 \in S\), and \(a,b \in S \implies ab \in S\).

Proposition 2.6 (Krull’s lemma). Let \(R\) be a ring, \(S \subset R\) a multiplicative set, and \(I\) an ideal of \(R\) disjoint from \(S\). Then, there exists a prime ideal \(\mathfrak {p}\) of \(R\) containing \(I\) and disjoint from \(S\).

By Zorn’s lemma, the set of ideals containing \(I\) and disjoint from \(S\) has a maximal element, and this maximal element is prime.

(Non-examinable appendix.) Conversely, the statement that every non-zero ring has a maximal ideal implies the Axiom of Choice (Hodges). The Axiom of Choice follows from a weak form of Zorn’s lemma, and the maximal element of a partially ordered set \(X\) required there is obtained from an ideal of the polynomial ring \(k[X]\) over a field \(k\), whose variables are the elements of \(X\), that is maximal among the ideals disjoint from a certain multiplicative set.

Lecture 3. Radicals, local rings and modules; first examples [full lecture][pdf]

Let \(I\) be an ideal in \(R\). The radical of \(I\) is the ideal \[ \sqrt {I} = \{ r \in R | r^n \in I \text { for some } n >0 \}, \] and \(I\) is called a radical ideal if \(I = \sqrt {I}\).

Proposition 2.7. \(\sqrt {I} = \bigcap _{\mathfrak {p} \supset I} \mathfrak {p}.\)

The non-trivial inclusion follows from Krull’s lemma (Proposition 2.6) applied to \(S = \{ 1, x, x^2, \ldots \}\) for \(x \notin \sqrt {I}\). In particular, \(\sqrt {(0)}\), the set of nilpotent elements, is the intersection of all prime ideals of \(R\). It is called the nilradical and is denoted \(\mathcal {N}(R)\). The intersection of all maximal ideals of \(R\) is called the Jacobson radical and is denoted \(\mathcal {J}(R)\).

A ring \(R\) is called a local ring if it has a unique maximal ideal \(\mathfrak {m}\). Then \(\mathfrak {m} = \mathcal {J}(R)\) and the units of \(R\) are precisely the elements of \(R \setminus \mathfrak {m}\); conversely, a ring whose non-units form an ideal is a local ring.

Proposition 2.9 (Prime avoidance). Suppose that \(I\) is an ideal contained in \(\bigcup _{i=1}^n \mathfrak {p}_i\) for some prime ideals \(\mathfrak {p}_1, \ldots , \mathfrak {p}_n\), then \(I \subset \mathfrak {p}_j\) for some \(j\).

The name comes from the contrapositive: if \(I\) is not contained in any single \(\mathfrak {p}_j\), then there is an element \(x \in I\) lying in none of the \(\mathfrak {p}_j\). So this is a tool for finding elements of an ideal that avoid finitely many prime ideals.

A module \(M\) over \(R\) is an abelian group \((M,+)\) together with a map \(R\times M \to M\), \((r,m) \mapsto rm\) which satisfies \[ (r_1r_2)m = r_1 (r_2 m), \quad (r_1+r_2)m = r_1 m + r_2 m, \quad r ( m_1 + m_2) = r m_1 + r m_2, \quad 1 m = m. \] A \(\mathbb {Z}\)-module is the same thing as an abelian group, and a module over a field \(k\) is a \(k\)-vector space. A submodule of \(M\) is a subgroup \(N \subset M\) such that \(rn \in N\) for all \(r \in R\) and \(n \in N\); a submodule of \(R\) is the same thing as an ideal. To a module \(M\) we associate its annihilator, the ideal \[ \mathrm {ann}(M) \coloneqq \{ r \in R : rm=0 \text { for all } m \in M \}. \] For an ideal \(I\) we have \(I = \mathrm {ann}(R/I)\); the modules of the form \(R/I\) are called cyclic, and they can be generated by a single element. More generally, \(M\) is finitely generated if there exist \(x_1,\ldots , x_m \in M\) such that \(M = R \cdot x_1 + R \cdot x_2 + \ldots + R \cdot x_m\). For \(m \in M\) we also define the ideal \(\mathrm {ann}(m) \coloneqq \{ r \in R : rm =0\}\).

Proposition 2.10. Let \(M\) be an \(R\)-module and let \(m \in M\) be non-zero. Suppose that \(\mathrm {ann}(m)\) is maximal, with respect to inclusion, among the annihilators of non-zero elements of \(M\); that is, there is no non-zero \(m' \in M\) with \(\mathrm {ann}(m') \supsetneq \mathrm {ann}(m)\). Then \(\mathrm {ann}(m)\) is a prime ideal.

A prime ideal of the form \(\mathrm {ann}(m)\) with \(m \neq 0\) is called an associated prime of \(M\); so the maximal annihilators are associated primes.

\(\blacktriangleright \) The converse fails: for \(R = k[x,y]\) and \(M = R/(x^2,xy)\), both \(\mathrm {ann}(\bar {y}) = (x)\) and \(\mathrm {ann}(\bar {x}) = (x,y)\) are associated primes, but \((x)\) is not maximal among annihilators.

Examples

\(\blacksquare \) \(k\) will always denote a field.

There are two main classes of rings of interest: polynomial rings (and their quotients) with field coefficients, the “geometric” class, and rings of integers of algebraic number fields (finite ring extensions of \(\mathbb {Z}\)), the “arithmetic” class.

\(\blacktriangleright \) The prime ideals of \(\mathbb {Z}\) are \((p)\) for \(p\) a prime number and \((0)\). The prime ideals of \(k[X]\) are \((f)\) for \(f\) an irreducible polynomial and \((0)\); if \(k\) is algebraically closed, the only monic irreducible polynomials are \(X-\lambda \), \(\lambda \in k\). Both \(\mathbb {Z}\) and \(k[X]\) are Euclidean domains, hence PID, and so UFD.

\(\blacktriangleright \) The simplest quadratic extension is the ring of Gaussian integers \(\mathbb {Z}[i]\). The Eisenstein integers \(\mathbb {Z}[\omega ]\) with \(\omega = e^{2\pi i/3} = \frac {-1 + \sqrt {3}i}{2}\) and its subring \(\mathbb {Z}[\sqrt {-3}]\) are also good examples to know: \(\mathbb {Z}[\sqrt {-3}]\) is not a UFD but \(\mathbb {Z}[\omega ]\) is.

Lecture 4. Polynomial and power series rings; the Hilbert basis theorem [full lecture][pdf]

Let \(R\) be a ring. The polynomial ring with coefficients in \(R\) is \[ R[X] = \{a_0 + a_1 X + \dots + a_n X^n | a_i \in R, \ n \in \mathbb {Z}_{\geq 0} \}, \] and the ring of formal power series with coefficients in \(R\) is \[ R[[T]] = \{ a_0 + a_1 T + \dots | a_i \in R \}. \] In both, the addition is coefficient-wise and the multiplication is given by the formula \[ \left ( \sum _{i \geq 0} a_iT^i \right ) \left ( \sum _{j \geq 0} b_jT^j \right ) = \sum _{i \geq 0} \left ( \sum _{j + k = i, \ j \geq 0, \ k \geq 0} a_jb_k \right ) T^i. \] Define \(R[X_1, \dots , X_n] = R[X_1] \dots [X_n]\) and \(R[[T_1, \dots , T_n]] = R[[T_1]] \dots [[T_n]]\).

The ring \(k[X_1,\ldots , X_n]\) is an integral domain, and a UFD. \(k[X_1]\) is in fact a PID, but \(k[X_1,\ldots , X_n]\) is not a PID for \(n>1\): the ideal \((X_1,X_2)\) is not principal.

\(\blacktriangleright \) A monomial ideal in \(k[X,Y]\) is given by \(I= (X^{i_1} Y^{j_1}, X^{i_2} Y^{j_2}, \ldots , X^{i_t} Y^{j_t})\) for \(i_s,j_s \in \mathbb {N}\). Drawing the monomials \(X^iY^j\), a \(k\)-basis of \(k[X,Y]\), on a grid, a monomial ideal such as \((XY^3, X^2Y, X^5)\) is specified by a staircase: it is spanned by the monomials lying above the staircase, and a generating set is given by the “corners”.

\(\blacktriangleright \) The arithmetic cousin of \(k[X,Y]\) is the ring \(\mathbb {Z}[X]\). For a prime ideal \(\mathfrak {p} \neq (0)\) of \(\mathbb {Z}[X]\), the ideal \(\mathfrak {p} \cap \mathbb {Z}\) is prime in \(\mathbb {Z}\) (Proposition 2.5). If \(\mathfrak {p} \cap \mathbb {Z} = \{0\}\), then \(\mathfrak {p} = (f)\) where \(f \in \mathbb {Z}[X]\) is an irreducible polynomial. If \(\mathfrak {p} \cap \mathbb {Z} = (p)\) with \(p\) a prime number, then \(\mathfrak {p} = (p, f)\) where \(f=0\) or \(f \in \mathbb {Z}[X]\) is a monic polynomial whose mod \(p\) reduction \(\overline {f} \in \mathbb {F}_p[X]\) is irreducible. In other words, a maximal ideal of \(\mathbb {Z}[X]\) is given by a prime number \(p\) and an irreducible polynomial \(\overline {f} \in \mathbb {F}_p[X]\), as \((p, f)\) for any lift \(f \in \mathbb {Z}[X]\) of \(\overline {f}\).

We next give a geometric and an arithmetic example of a local ring.

\(\blacktriangleright \) The power series ring \(k[[X]]\) is a local ring with the unique maximal ideal \(\mathfrak {m}=(X)\): its units are precisely the elements \(f(X) = a_0 + a_1 X + \ldots \) with \(a_0 \neq 0\). For a prime number \(p\), the ring \(\mathbb {Z}_{(p)} \coloneqq \{ \frac {a}{b} \in \mathbb {Q}: p \nmid b \}\subset \mathbb {Q}\) is a local ring with maximal ideal \(\{ \frac {a}{b} \in \mathbb {Z}_{(p)} : p \mid a \}\).

The ring \(k[X_1,X_2,\ldots , X_n]\)

Theorem 4.1 (Hilbert basis theorem). \(k[X_1,X_2,\ldots , X_n]\) is Noetherian. More generally, if \(R\) is Noetherian, then \(R[X]\) is also Noetherian.

A ring is Noetherian, that is, all of its ideals are finitely generated, if and only if it satisfies the Ascending Chain Condition (ACC): all ascending chains of ideals \[ I_1 \subset I_2 \subset I_3 \subset \ldots \] are eventually constant, that is, there exists \(s\) such that \(I_s = I_{s+i}\) for all \(i \geq 0\). The argument that ACC implies finite generation, sometimes referred to as Noetherian induction, uses the Axiom of Dependent Choice. The proof of the Hilbert basis theorem only uses the other implication, so it does not depend on the Axiom of Choice.

Over a general ring \(R\) we cannot divide by leading coefficients, so the proof keeps track of them instead: for a nonzero ideal \(I \subset R[X]\) and \(n \geq 0\), let \(J_n \subset R\) be the ideal consisting of \(0\) and the leading coefficients of the elements of \(I\) of degree \(n\). The chain \(J_0 \subset J_1 \subset \ldots \) stabilises at some \(J_s\), and \(I\) is generated by finitely many polynomials \(f_{m,j} \in I\) of degree \(m\), \(0 \leq m \leq s\), whose leading coefficients generate \(J_m\).

\(\blacktriangleright \) Regard \(I = (XY^3, X^2Y, X^5)\) as an ideal of \(R[X]\) with \(R = k[Y]\). Then \(J_n\) is generated by \(Y^h\) where \(h\) is the height of the staircase above the column of \(X^n\): \[ J_0 = 0, \quad J_1 = (Y^3), \quad J_2 = J_3 = J_4 = (Y), \quad J_n = R \text { for } n \geq 5. \] So \(s=5\), and the proof produces the generators \(XY^3, X^2Y, X^3Y, X^4Y, X^5\) of \(I\). These include the corners of the staircase, but the generating set is not minimal.

\(\blacktriangleright \) The finiteness of the number of variables is essential: \(k[X_1, X_2, X_3, \ldots ]\) is not Noetherian, since the chain \[ (X_1) \subset (X_1, X_2) \subset (X_1, X_2, X_3) \subset \ldots \] never stabilises. Also, not every subring of a Noetherian ring is Noetherian.

Corollary 4.2. Any finitely generated algebra over \(\mathbb {Z}\) or over a field \(k\) is Noetherian.

Lecture 5. Affine varieties; monomial orderings [full lecture][pdf]

Let \(S \subset k[X_1,\ldots , X_n]\). The affine variety defined by \(S\) is \[ \mathcal {V}(S) = \{ (x_1,\ldots , x_n) \in k^n : f(x_1,\ldots , x_n) =0 \text { for all } f\in S \}. \] If \(I = (S)\), the Hilbert basis theorem gives \(I=(f_1,\ldots , f_h)\), and then \(\mathcal {V}(S) = \mathcal {V}(I) = \mathcal {V}( \{f_1,\ldots , f_h \})\): every affine variety is the vanishing locus of a finite set of polynomials. Given a subset \(U \subset k^n\), we define an ideal \[ \mathcal {I}(U) = \{ f \in k[X_1,\ldots , X_n] : f(x_1,x_2,\ldots , x_n) = 0 \text { for all } (x_1,x_2,\ldots , x_n) \in U \}. \] In general, \(\mathcal {V}(\mathcal {I}(U))\) is the smallest affine variety containing \(U\); it is called the Zariski closure of \(U\) and denoted by \(\overline {U}\). We have \(\mathcal {V}(I+J) = \mathcal {V}(I) \cap \mathcal {V}(J)\) and \(\mathcal {V}(IJ) = \mathcal {V}(I \cap J) = \mathcal {V}(I) \cup \mathcal {V}(J)\), and Hilbert’s Nullstellensatz, which we will see later in the course, implies that if \(k\) is algebraically closed, \(\mathcal {V}(I : J^\infty ) = \overline {\mathcal {V}(I) \setminus \mathcal {V}(J)}\).

\(\blacktriangleright \) \(\mathcal {I}\) forgets multiplicities: in \(k[X]\) we have \(\mathcal {V}(X^2) = \{0\}\) and \(\mathcal {I}(\{0\}) = (X)\), so \(\mathcal {I}(\mathcal {V}(I)) \neq I\) in general. In fact \(\mathcal {I}(U)\) is always a radical ideal.

The next few sections answer three basic questions. Given \(I = (f_1,f_2,\ldots , f_s)\) and \(f \in k[X_1,\ldots , X_n]\), how can we decide if \(f \in I\)? Does \(f\) vanish on \(\mathcal {V}(I)\)? Given \(S \subset k[X_1,\ldots , X_n]\), is \(\mathcal {V}(S) \neq \emptyset \)? If \(U = \mathcal {V}(S)\) is non-empty, what is the dimension of \(U\)? First we have to develop some tools.

For \(\alpha = (\alpha _1,\ldots , \alpha _n) \in \mathbb {N}^n\) write \(X^\alpha = X_1^{\alpha _1} X_2^{\alpha _2} \ldots X_n^{\alpha _n}\) and \(|\alpha |= \alpha _1 + \alpha _2 + \ldots + \alpha _n\) for its total degree. Unlike the case of \(k[X]\), when \(n>1\) it is unclear which monomial has the highest degree, for example in \(X^2 Y + 42 X Y^2\). To address this, a total ordering \(\leq \) on \(\mathbb {N}^n\) is called a monomial ordering if \(0 = (0,\ldots , 0) \leq \alpha \) for all \(\alpha \in \mathbb {N}^n\), and \(\alpha \leq \beta \) implies \(\alpha + \gamma \leq \beta + \gamma \) for all \(\gamma \in \mathbb {N}^n\). This is the same thing as an ordering of the monomials of \(k[X_1,\ldots ,X_n]\); as it is total, every non-zero polynomial has a well-defined largest term.

\(\blacktriangleright \) Lexicographic order: \(\alpha <_{lex} \beta \) if the first non-zero entry of \(\beta - \alpha \in \mathbb {Z}^n\) is positive. Graded lexicographic order: \(\alpha \leq _{grlex} \beta \) if either \(|\alpha | < |\beta |\) or if \(|\alpha |= |\beta |\) and \(\alpha \leq _{lex} \beta \). By contrast, the ordering by divisibility, \(\alpha _i \leq \beta _i\) for all \(i\), satisfies both conditions but is not total when \(n>1\).

\(\blacktriangleright \) Let \(A \in GL(n,\mathbb {R})\) be a matrix such that the first non-zero entry of each column is positive, and define \(\alpha <_A \beta \) if the first non-zero entry of \(A(\beta - \alpha ) \in \mathbb {R}^n\) is positive. Each row of \(A\) is a weight vector: monomials are compared by their first weight, ties are broken by the second weight, and so on. Suitable matrices define \(\leq _{lex}\), \(\leq _{grlex}\) and the graded reverse lexicographic order \(\leq _{grevlex}\), in which monomials of the same total degree are compared by their exponent of \(X_n\), the smaller exponent being the larger monomial, with ties broken by the exponent of \(X_{n-1}\), and so on. In fact, any monomial ordering on \(\mathbb {N}^n\) arises this way for some matrix \(A\).

\(\blacksquare \) In what follows, we fix a monomial ordering \(\leq \), and write \(X^\alpha \leq X^\beta \) to mean that \(\alpha \leq \beta \).

Given a non-zero polynomial \[ f = a_{\alpha ^{(1)}} X^{\alpha ^{(1)}} + a_{\alpha ^{(2)}} X^{\alpha ^{(2)}} + \ldots + a_{\alpha ^{(s)}} X^{\alpha ^{(s)}} \] with \(\alpha ^{(1)} > \alpha ^{(2)} > \ldots > \alpha ^{(s)}\) and all coefficients non-zero, we define the leading term \(LT(f) \coloneqq a_{\alpha ^{(1)}} X^{\alpha ^{(1)}}\), the leading monomial \(LM(f) \coloneqq X^{\alpha ^{(1)}}\) and the leading coefficient \(LC(f) \coloneqq a_{\alpha ^{(1)}}\).

The ideal membership problem is easy to solve for monomial ideals.

Lemma 4.4. Let \(I \subset k[X_1,\ldots , X_n]\) be a monomial ideal, that is, an ideal generated by a (possibly infinite) set \(G\) of monomials, and let \(f \in k[X_1,\ldots , X_n]\). Then \(f \in I\) if and only if every term of \(f\) is divisible by a monomial in \(G\).

Combined with the Hilbert basis theorem (Theorem 4.1), it gives the following.

Lemma 4.5. Let \((g_i)_{i \geq 1}\) be a sequence of monomials such that \(g_1 \geq g_2 \geq g_3 \geq \ldots \). Then, there exists \(r \geq 1\) such that \(g_r=g_{r+1}=g_{r+2}=\ldots \).

Lecture 6. Division with remainder; Gröbner bases [full lecture][pdf]

Proposition 4.6 (Division with remainder). Let \(f, f_1,\ldots , f_s \in k[X_1,\ldots ,X_n]\) be non-zero polynomials. Then there exist polynomials \(h_1,\ldots , h_s, r \in k[X_1,\ldots ,X_n]\) such that \[ f = h_1 f_1 + h_2 f_2 + \ldots + h_s f_s + r \] with the following properties: \(LT(h_if_i) \leq LT(f)\) for all \(i\) with \(h_i \neq 0\); and either \(r=0\), or no term of \(r\) is divisible by any of \(LT(f_1),\ldots ,LT(f_s)\) and \(LT(r) \leq LT(f)\).

The proof is an algorithm: if some \(LT(f_i)\) divides \(LT(f)\), take the smallest such \(i\) and replace \(f\) by \(f - \frac {LT(f)}{LT(f_i)} f_i\); otherwise move \(LT(f)\) into the remainder. The leading monomial strictly decreases at each step, so this terminates by Lemma 4.5.

\(\blacktriangleright \) Let \(f = XY^2-X\), \(f_1 = XY+1\), \(f_2 = Y^2-1\), and use the lex order with \(X > Y\). Since \(XY | XY^2\), we can write \(\tilde {f} = f - Yf_1 = -X -Y\), and neither \(X\) nor \(Y\) is divisible by \(XY\) or \(Y^2\), hence \[ f = Y f_1 + 0 f_2 + (-X -Y). \] Using instead that \(Y^2 | XY^2\), we get \(\tilde {f} = f - Xf_2 = 0\), so \[ f = 0 f_1 + X f_2 + 0. \] Hence the remainder \(r\) is not unique: it depends on the order in which \(f_1,f_2,\ldots , f_s\) are listed.

The following notion is due to Buchberger. Let \(I \subset k[X_1,\ldots ,X_n]\) be a non-zero ideal. The initial ideal of \(I\) is the monomial ideal \[ \ini (I) \coloneqq ( LT(f) : 0 \neq f \in I ). \] A finite subset \(G \subset I \setminus \{0\}\) is called a Gröbner basis of \(I\) (with respect to the fixed monomial ordering) if the leading terms of its elements generate the initial ideal, that is, \(\ini (I) = (LT(g) : g \in G)\). Every non-zero ideal \(I\) has a Gröbner basis, since \(\ini (I)\) is finitely generated by the Hilbert basis theorem. However, if \(I = (f_1,f_2,\ldots , f_s)\), then \(\ini (I)\) need not equal \((LT(f_1), \ldots , LT(f_s))\). Note also that the initial ideal depends on the monomial order.

Theorem 4.8 (Buchberger). Let \(G=\{g_1,\ldots , g_s\}\) be a Gröbner basis of a non-zero ideal \(I \subset k[X_1,\ldots , X_n]\).

(i) For a non-zero \(f \in k[X_1,\ldots ,X_n]\), use division with remainder to write \[ f = h_1 g_1 + h_2 g_2 + \ldots + h_s g_s + r. \] Then \(r=0\) if and only if \(f \in I\). Moreover, \(r\) does not depend on the order in which \(g_1,g_2,\ldots , g_s\) are listed. It also follows that \(I = (G)\).

(ii) Let \(C(I) \coloneqq \{ \alpha \in \mathbb {N}^n : LT(g_i) \nmid X^\alpha \text { for all } i \}\). Then \(\{ X^\alpha + I : \alpha \in C(I) \}\) is a basis of \(k[X_1,\ldots , X_n]/I\) as a \(k\)-vector space.

Although \(C(I)\) is defined using \(G\), it depends only on \(I\) and the monomial ordering: by Lemma 4.4, \(\alpha \in C(I)\) if and only if \(X^\alpha \notin \ini (I)\). The monomials \(X^\alpha \) with \(\alpha \in C(I)\) are called the standard monomials of \(I\).

Corollary 4.9. The variety \(\mathcal {V}(I) \subset k^n\) defined by \(I\) has finitely many points if \(C(I)\) is finite.

Indeed, \(k[X_1,\ldots ,X_n]/I\) is then finite-dimensional, so for each \(i\) some non-zero polynomial in \(X_i\) alone lies in \(I\), and the \(i\)-th co-ordinates of the points of \(\mathcal {V}(I)\) take only finitely many values.

\(\blacktriangleright \) The converse holds when \(k\) is algebraically closed, as a consequence of the Nullstellensatz, which we will prove later in the course. Over \(k = \mathbb {R}\) it fails: \(\mathcal {V}(X^2+Y^2+1) = \emptyset \), but \(C((X^2+Y^2+1))\) is infinite.

Theorem 4.8 gives an algorithm for solving the ideal membership problem provided that we know a Gröbner basis for the ideal.

Lecture 7. Buchberger's criterion and algorithm [full lecture][pdf]

Problem: How to construct a Gröbner basis? Let \(f,g \in k[X_1,\ldots , X_n]\) be non-zero polynomials and let \(X^\gamma = \mathrm {lcm}(LM(f),LM(g))\). The \(S\)-polynomial of \(f\) and \(g\) is \[ S(f,g) = \frac {X^\gamma }{LT(f)} f - \frac {X^\gamma }{LT(g)} g. \] It is designed to produce cancellation of leading terms: if \(S(f,g) \neq 0\), then \(LM(S(f,g)) < \mathrm {lcm}(LM(f), LM(g))\). The name is short for “syzygy polynomial”: a syzygy is a linear relation between polynomials with polynomial coefficients.

\(\blacktriangleright \) Let \(f = 4X^2 Z - 7 Y^2\) and \(g = XYZ^2 + 3XZ^4\). Using the \(\leq _{lex}\) order with \(X > Y > Z\), we have \(\mathrm {lcm}(LM(f),LM(g)) =X^2 Y Z^2\) and \[ S(f,g) = \tfrac 14 YZ f - X g = -3X^2 Z^4 - \tfrac 74 Y^3 Z. \]

Theorem 4.11 (Buchberger’s criterion). Let \(I \subset k[X_1,\ldots , X_n]\) be a non-zero ideal and let \(G = \{g_1,\ldots , g_s\} \subset I \setminus \{0\}\) be such that \(I = (g_1,\ldots , g_s)\). Then, \(G\) is a Gröbner basis for \(I\) if and only if for all \(1 \leq i < j \leq s\), the remainder on division of \(S(g_i,g_j)\) by \(g_1,\ldots , g_s\) is \(0\).

The proof rests on a technical result (Lemma 4.12), whose idea is that every cancellation of leading terms among polynomials of the same leading monomial comes from the cancellation that occurs for \(S\)-polynomials.

\(\blacktriangleright \) By definition, \(S(g_i,g_j)\) is a combination \(h_ig_i + h_j g_j\) of \(g_i\) and \(g_j\). It is a common mistake to conclude that the division with remainder of \(S(g_i,g_j)\) by \(g_i,g_j\) has zero remainder: this expression is not usually the one produced by the division algorithm. For example, let \(g_1 = X^2\) and \(g_2 = XY+Y^2\) with the lex order \(X > Y\). Then \(S(g_1,g_2) = Y g_1 - X g_2 = -XY^2\), and division by \(g_1, g_2\) gives \(-XY^2 = 0 \cdot g_1 - Y g_2 + Y^3\) with remainder \(Y^3 \neq 0\).

These results provide an algorithm for constructing a Gröbner basis (hence, an algorithm for determining whether a polynomial belongs to an ideal \(I\)). Given \(f_1,\ldots , f_t\) with \(I \coloneqq (f_1,\ldots , f_t)\) and a monomial ordering, initialise with \(G = \{f_1,\ldots , f_t\}\). Now, suppose \(G= \{g_1,\ldots , g_s\}\). For \(1 \leq i < j \leq s\) let \(r_{ij}\) be the remainder on division of \(S(g_i,g_j)\) by \(g_1,\ldots ,g_s\). If \(r_{ij}=0\) for all \(i,j\), then stop: \(G\) is a Gröbner basis of \(I\) by Theorem 4.11. Otherwise, pick \(i,j\) with \(r_{ij} \neq 0\), replace \(G\) by \(G \cup \{ r_{ij}\}\) and repeat; since \(r_{ij} \in I\), the new \(G\) still generates \(I\).

Proposition 4.13. The procedure described above stops in finitely many steps.

Indeed, each step makes the ideal generated by the leading terms of the elements of \(G\) strictly larger, and \(k[X_1,\ldots , X_n]\) is Noetherian by the Hilbert basis theorem (Theorem 4.1).

A Gröbner basis \(G=\{g_1,\ldots ,g_s \}\) of an ideal \(I\) is said to be reduced if \(LC(g_i)=1\) for all \(i\) and for all \(i\) none of the terms of \(g_i\) is divisible by any of the \(LT(g_j)\) for \(j\neq i\). Starting from any Gröbner basis, it is easy to produce a reduced one, and an important property is that an ideal \(I\) has a unique reduced Gröbner basis with respect to a fixed monomial order.

\(\blacktriangleright \) Consider the ideal \(I=(X-Z^2,Y-Z^3)\) in \(k[X,Y,Z]\). For the lexicographic order with \(X>Y>Z\), the reduced Gröbner basis is \(\{X-Z^2,Y-Z^3\}\). For the graded lexicographic order with \(X>Y>Z\), it is \(\{X^2-YZ, XZ-Y, Z^2-X\}\). So the number of elements in the reduced Gröbner basis for a given ideal depends on the monomial ordering.

Lecture 8. The Hilbert function and the Hilbert polynomial [full lecture][pdf]

Problem: How to measure the “size” of an ideal \(I\), or equivalently the “dimension” of the affine variety \(\mathcal {V}(I)\)? Let \(I \subset k[X_1,\ldots ,X_n]\) be an ideal and \(s \in \mathbb {N}\), and write \[ k[X_1,\ldots , X_n]_{\leq s} \coloneqq \{ f\in k[X_1,\ldots , X_n] : f=0 \text { or } \mathrm {deg}(f) \leq s \} \] and \(I_{\leq s} \coloneqq I \cap k[X_1,\ldots , X_n]_{\leq s}\). The Hilbert function of \(I\) is the function \(HF_I : \mathbb {N} \to \mathbb {N}\), \[ HF_I(s) = \mathrm {dim}_{k} \left ( \frac {k[X_1,\ldots , X_n]_{\leq s}}{I_{\leq s} } \right ) < \infty . \]

\(\blacktriangleright \) If \(I = k[X_1,\ldots , X_n]\), then \(HF_I(s)=0\) for all \(s\). If \(I = \{0 \}\), then \(HF_I(s)\) is the number of monomials \(X^\alpha \) with \(|\alpha | \leq s\), which is \(\binom {s+n}{n}\), a polynomial in \(s\) of degree \(n\). If \(I=(f)\) where \(f \neq 0\) has degree \(d\), then \(I_{\leq s} = \{ g \cdot f : g \in k[X_1,\ldots ,X_n]_{\leq s-d} \}\), so \(HF_I(s) = \binom {n+s}{n}\) for \(s < d\) and \[ HF_I(s) = \binom {n+s}{n} - \binom {n+s-d}{n} = \frac {d}{(n-1)!} s^{n-1} + \text {lower order terms} \quad \text {for } s \geq d. \]

Lemma 4.15 (Macaulay). Let us equip \(k[X_1,\ldots , X_n]\) with the graded lexicographic order \(\leq _{grlex}\) (any graded monomial order would do). Let \(I\) be an ideal, and \(\ini (I) = (LT(f) : f \in I)\). Then \[ HF_{I}(s) = HF_{\ini (I)}(s) \text {\ \ for all\ \ }s \geq 0. \]

The hypothesis that the order is graded cannot be dropped: for \(I = (X - Y^2) \subset k[X,Y]\) with the lex order, \(X > Y\), we have \(\ini (I) = (X)\) and \(HF_{\ini (I)}(s) = s+1\), but \(HF_I(s) = 2s+1\). By Macaulay’s lemma and Lemma 4.4, \(HF_I(s)\) is the number of standard monomials of degree \(\leq s\), that is, monomials of degree \(\leq s\) not in \(\ini (I)\).

\(\blacktriangleright \) Let \(I = (Y-X^2, Z-X^3) \subset k[X,Y,Z]\). Using \(\leq _{grlex}\), one can show that \(G=\{ X^2-Y,XY-Z, XZ-Y^2,Y^3-Z^2 \}\) is a Gröbner basis, so \(\ini (I) = (X^2,XY,XZ,Y^3)\). The standard monomials are \(1, X, Y, Z\) and \(Z^{r}, Y Z^{r-1}, Y^2 Z^{r-2}\) for \(r \geq 2\), so \(HF_I(s) = 3s+1\) for all \(s \geq 0\).

The next theorem shows that \(HF_I(s)\) is always given by a polynomial for large \(s\).

Theorem 4.16. Let \(I \subset k[X_1,\ldots , X_n]\) be an ideal. There exist a unique polynomial \(HP_I(t) \in \mathbb {Q}[t]\), called the Hilbert polynomial of \(I\), and an integer \(s_0 \geq 0\) such that \[ HF_I(s) = HP_I(s) \text { \ \ for all \ \ } s \geq s_0. \] If \(I=k[X_1,\ldots ,X_n]\) then \(HP_I(t)=0\). Otherwise \(HP_I(t) \neq 0\), and if we write \[ HP_I(t) = a_d t^d + a_{d-1}t^{d-1} + \ldots +a_0 \] with \(a_d \neq 0\), then \(a_i d! \in \mathbb {Z}\) for all \(i\) and \(a_d d! > 0\).

For the proof, Macaulay’s lemma reduces to the case of a monomial ideal \(I\), where \(HF_I(s)\) is the number of \(\alpha \in C(I)\) with \(|\alpha | \leq s\); one shows that \(C(I)\) is a finite union of translates of coordinate subspaces of \(\mathbb {N}^n\), each of which contributes a binomial coefficient that is a polynomial in \(s\), and concludes by the inclusion-exclusion principle. The proof also shows that \(\deg HP_I(t)\) is the largest dimension of a translated coordinate subspace contained in \(C(I)\), which will be used in the next lecture.

\(\blacktriangleright \) The proof can be visualised on the staircase diagram of a monomial ideal. For \(I = (XY^3, X^2Y, X^5) \subset k[X,Y]\), the points of \(C(I)\) lie below the staircase, and they form the \(\alpha _2\)-axis together with six isolated points. Now \(HF_I(s)\) counts the points of \(C(I)\) on or below the line \(\alpha _1 + \alpha _2 = s\): the axis contributes \(s+1\) and each isolated point \(\alpha \) contributes \(1\) once \(s \geq |\alpha |\). Hence \(HF_I(s) = s+7\) for \(s \geq 4\), and \(HP_I(t) = t + 7\) with \(s_0 = 4\).

Lecture 9. Dimension of a variety; towards the Nullstellensatz [full lecture][pdf]

The Hilbert polynomial provides one computable way of defining the dimension of a variety. Let \(V = \mathcal {V}(I)\) be an affine variety defined by an ideal \(I \subset k[X_1,\ldots , X_n]\). If \(V \neq \emptyset \), then \(\mathcal {I}(V) \neq k[X_1,\ldots , X_n]\) and \(HP_{\mathcal {I}(V)} \neq 0\). We define \[ \mathrm {dim}(V) \coloneqq \mathrm {deg} HP_{\mathcal {I}(V)} (t). \] One justification is that this generalises the notion of dimension for linear spaces: if \(V \subset k^n\) is a linear subspace, defined by linear forms \(f_j = \sum _{i=1}^n a_{ij} X_i\), \(1 \leq j \leq m\), then \(\mathrm {dim}_k V = \mathrm {deg} HP_I(t)\), where \(I = (f_1, \ldots , f_m)\). Here is a more geometric justification that applies in general.

Corollary 4.18. Let \(I \subset k[X_1,\ldots ,X_n]\) be a proper ideal. Then \(\mathrm {deg} HP_{I}(t)\) is the largest \(d \geq 0\) such that \[ I \cap k[X_{i_1},\ldots , X_{i_d}] = \{0\} \text { \ \ for some \ \ } 1 \leq i_1 < i_2 < \ldots < i_d \leq n. \] (For \(d = 0\) the condition reads \(I \cap k = \{0\}\), which holds since \(I\) is proper.)

In other words, \(\mathrm {deg} HP_I(t)\) is the largest number of variables \(X_{i_1}, \ldots , X_{i_d}\) that are “algebraically independent” modulo \(I\), that is, satisfy no non-trivial polynomial relation in \(k[X_1,\ldots ,X_n]/I\). Geometrically, these are \(d\) independent directions in which to project \(\mathcal {V}(I) \subset k^n\) to \(k^d\). After a linear change of co-ordinates (for \(k\) infinite) one can further show that the projection is onto with finite fibres; this is the Noether normalisation theorem, which we will see later.

\(\blacktriangleright \) We have seen that the initial ideal of \(I = (Y-X^2, Z-X^3) \subset k[X,Y,Z]\) with respect to \(\leq _{grlex}\) is \(\ini (I) = (X^2,XY,XZ,Y^3)\). Now \(\ini (I) \cap k[Z] = \{0\}\), while \(\ini (I) \cap k[X,Z]\), \(\ini (I) \cap k[Y,Z]\) and \(\ini (I) \cap k[X,Y]\) are all non-trivial. Hence \(\mathrm {dim} \mathcal {V}(I) = 1\).

We now turn to the Nullstellensatz, the theorem of zeros. Recall that \(k[X]\) is a PID, hence any ideal is of the form \(I=(f)\) for some \(f \in k[X]\), and the affine variety \(\mathcal {V}(I)\) is simply the set of roots of \(f\). If \(k\) is algebraically closed, then every non-constant polynomial \(f\) has a root. Therefore \(\mathcal {V}(I)=\emptyset \) if and only if \(I = k[X]\): any proper ideal corresponds to a non-empty affine variety. The assumption that \(k\) is algebraically closed is necessary, as the example \(I= (X^2+1) \subset \mathbb {R}[X]\) shows. An important result of Hilbert, known by the German name Nullstellensatz (literally “theorem of the zero places”), says that the same holds for polynomial rings in several variables.

Theorem 4.19 (Weak Nullstellensatz). If \(k\) is algebraically closed and \(I \subset k[X_1,\ldots , X_n]\) is a proper ideal, then \(\mathcal {V}(I) \neq \emptyset \).

There are various equivalent formulations (and proofs) of the Weak Nullstellensatz, as well as a Strong Nullstellensatz. The approach taken here goes via the Noether normalisation lemma, which is an important structural result for finitely generated algebras over \(k\). We will spend some time developing the notion of “integral dependence” before giving a proof of the Nullstellensatz.

Lecture 10. Integral extensions [full lecture][pdf]

Suppose \(A \subset B\) are commutative rings. We say that \(b \in B\) is integral over \(A\) if there exist \(m \geq 1\) and \(a_0, a_1,\ldots , a_{m-1} \in A\) such that \[ b^m + a_{m-1} b^{m-1} + \ldots + a_1 b +a_0 = 0, \] in other words, if there exists a monic polynomial \(f \in A[X]\) such that \(f(b)=0\). We say that \(B\) is integral over \(A\) if all elements of \(B\) are integral over \(A\).

\(\blacktriangleright \) The elements of \(\mathbb {Q}\) integral over \(\mathbb {Z}\) are exactly the integers. The element \(\omega = (-1+\sqrt {-3})/2\) of \(\mathbb {Q}(\sqrt {-3})\) is integral over \(\mathbb {Z}[\sqrt {-3}]\), since \(\omega ^2 + \omega + 1 = 0\). In algebraic number theory one studies the ring of integers \(\mathcal {O}_K = \{ b \in K : b \text {\ is integral over \ }\mathbb {Z} \}\) of a number field \(K\); that this is a ring follows from Corollary 4.23(b) below.

Lemma 4.21. Let \(A \subset B\) be commutative rings and \(b\in B\). The following conditions are equivalent: (i) \(b\) is integral over \(A\); (ii) \(A[b] \coloneqq \{f(b) : f\in A[X]\}\) is finitely generated over \(A\) as a module; (iii) there exists a subring \(C \subset B\) such that \(A[b] \subset C\) and \(C\) is finitely generated over \(A\) as a module.

The proof that (iii) implies (i) uses Cramer’s rule to exhibit \(b\) as a root of \(\mathrm {det}(X I_n - N)\) for a matrix \(N\) with entries in \(A\).

\(\blacktriangleright \) Let \(B=k[X,Y]/(X^2-Y^2)\), with \(x, y \in B\) the classes of \(X, Y\), and \(A = k[y] \subset B\). Then \(B= A\cdot 1 + A \cdot x\) since \(x^2 = y^2\), hence \(B\) is integral over \(A\) by the lemma. Geometrically, this inclusion corresponds to the projection of the two lines \(x = \pm y\) in \(k^2\) onto the \(y\)-axis: every fibre is finite. Compare this with \(k[x] \subset k[X,Y]/(XY-1)\), the projection of the hyperbola \(xy=1\) onto the \(x\)-axis: the fibre over \(x=0\) is empty, the hyperbola “escapes to infinity” as \(x \to 0\), and indeed \(y\) is not integral over \(k[x]\). In general, for \(k\) algebraically closed, an integral extension of coordinate rings of affine varieties corresponds to a map of varieties which is onto with finite fibres.

Let \(k\) be a field. A \(k\)-algebra is a commutative ring \(A\) (with unity) which is a vector space over \(k\) such that \(\lambda (a \cdot b) = (\lambda a)\cdot b = a \cdot (\lambda b)\). It is finitely generated if \(A = \{ f(a_1,\ldots , a_n) : f\in k[X_1,\ldots , X_n] \}\) for some \(a_1,\ldots , a_n \in A\); we write \(A=k[a_1,\ldots , a_n]\), and then \(A\) is of the form \(k[X_1,\ldots , X_n]/I\). More generally, for commutative rings \(A \subset B\), we say that \(B\) is finitely generated as an \(A\)-algebra if \(B=A[b_1,\ldots , b_n]\), the subring of \(B\) generated by \(A\) and \(b_1,\ldots , b_n\), for some \(b_i \in B\). This is not to be confused with being a finitely generated \(A\)-module: \(A[X]\) is the former but not the latter.

Corollary 4.23. Let \(A\) and \(B\) be commutative rings with \(A \subset B\).

(a) Suppose \(B = A[b_1,\ldots , b_n]\) where each \(b_i\) is integral over \(A[b_1,\ldots , b_{i-1}]\). Then \(B\) is finitely generated as an \(A\)-module, and hence integral over \(A\).

(b) The integral closure \(\overline {A}_B \coloneqq \{ b \in B : b \text { is integral over } A \}\) is a subring of \(B\).

(c) If \(C\) is a ring with \(A\subset C \subset B\) such that \(C\) is integral over \(A\) and \(B\) is integral over \(C\), then \(B\) is integral over \(A\).

(d) Let \(B\) be integral over \(A\). If \(B\) is a field, then \(A\) is also a field. Conversely, if \(A\) is a field, and \(B\) is an integral domain, then \(B\) is also a field.

It follows that \(B\) is finitely generated as an \(A\)-module if and only if \(B\) is finitely generated as an \(A\)-algebra and integral over \(A\).

\(A\) is said to be integrally closed in \(B\) if \(\overline {A}_B = A\). An integral domain \(A\) is normal if it is integrally closed in its field of fractions \(\mathrm {Frac}(A)\), and the integral closure of \(A\) in \(\mathrm {Frac}(A)\) is called the normalisation of \(A\).

Lecture 11. Noether normalisation [full lecture][pdf]

Let \(A\) be a \(k\)-algebra. We say that \(a_1,\ldots , a_n \in A\) are algebraically independent over \(k\) if there is no non-zero polynomial \(F \in k[X_1,\ldots , X_n]\) such that \(F(a_1,\ldots , a_n)=0\), that is, if \(k[a_1,\ldots , a_n]\) is a polynomial ring in \(a_1,\ldots ,a_n\).

Theorem 4.25 (Noether normalisation lemma). Let \(A\) be a finitely generated \(k\)-algebra. Then there exist \(d \geq 0\) and \(a_1,\ldots , a_d \in A\) such that \(a_1,\ldots , a_d\) are algebraically independent over \(k\), and \(A\) is integral over \(k[a_1,\ldots , a_d]\).

In other words, a finitely generated extension \(k \subset A\) can be written as a composition \[ k \subset k[a_1,\ldots , a_d] \subset A \] where the first extension is “free” (given by a polynomial algebra over \(k\)) and the second one is “finite” (finitely generated as a module). The proof rests on the following change of variables, which makes a given polynomial monic in \(X_n\) up to a non-zero constant.

Lemma 4.26. Let \(0 \neq f \in k[X_1,\ldots , X_n]\). Then there exist \(\phi _1,\ldots , \phi _{n-1} \in k[X_n]\) such that \[ f(X_1 + \phi _1, \ldots , X_{n-1} + \phi _{n-1}, X_n) = c X_n^N + g_{N-1} X_n^{N-1} + \ldots + g_1 X_n + g_0 \] for some \(N \geq 0\), \(c \in k^\times \) and \(g_j \in k[X_1,\ldots , X_{n-1}]\). If \(k\) is infinite, one can take \(\phi _i = c_i X_n\) with \(c_i \in k\); in general, one can take \(\phi _i = X_n^{r_i}\) with \(r_i \in \mathbb {N}\).

The theorem follows by induction on the number of generators of \(A = k[x_1,\ldots , x_n]\): if the \(x_i\) satisfy a non-zero relation \(f\), the lemma shows that \(x_n\) is integral over \(B = k[y_1,\ldots , y_{n-1}]\), where \(y_i = x_i - \phi _i(x_n)\), and one concludes with Corollary 4.23.

Geometrically, let \(V \subset k^n\) be an affine variety and \(A= k[X_1,\ldots , X_n]/ \mathcal {I}(V)\) the \(k\)-algebra of polynomial functions on \(V\). Noether normalisation gives polynomial functions \(a_1,\ldots , a_d \in A\) on \(V\) such that \(A\) is integral over \(k[a_1,\ldots , a_d]\). The corresponding map of varieties \(\pi : V \to k^d\), \(p \mapsto (a_1(p),\ldots , a_d(p))\), is onto with finite fibres for \(k\) algebraically closed.

\(\blacktriangleright \) After a linear change of coordinates, \(k[X,Y]/(XY) \simeq k[X,Y]/(X^2+XY)\) is an integral extension of \(k[Y]\) obtained by adjoining \(X\), which satisfies the monic equation \(X^2+YX=0\).

It can be shown that the number \(d\) in the Noether normalisation lemma is equal to the maximal number of elements in \(A\) that are algebraically independent over \(k\). This is another way to measure the dimension.

Proposition 4.27. Let \(V \subset k^n\) be an affine variety, \(I = \mathcal {I}(V)\) and \(A = k[X_1,\ldots , X_n]/I\) the co-ordinate ring of \(V\). Then, the maximal number of algebraically independent elements in \(A\) is equal to \(\mathrm {dim} V = \mathrm {deg} HP_I(t)\).

\(\blacktriangleright \) Consider the \(k\)-algebra \(A = k[X,Y,Z]/(XY,XZ)\) and let \(x, y, z \in A\) be the classes of \(X, Y, Z\). Both \(\{x\}\) and \(\{y,z\}\) are maximal algebraically independent subsets of \(A\) over \(k\). So, unlike in the case of field extensions, not all maximal algebraically independent subsets have the same cardinality.

We can remedy this by restricting attention to integral domains \(A = k[X_1,\ldots , X_n]/ \mathfrak {p}\), where \(\mathfrak {p}\) is a prime ideal, with field of fractions \(K=\mathrm {Frac}(A)\). If \(\{a_1,\ldots , a_d\}\) is a maximal algebraically independent subset of \(A\), then in \[ k \subset k(a_1,\ldots , a_d) \subset K\] the first extension is purely transcendental and the second one is algebraic, that is, \(\{a_1,\ldots , a_d\}\) is a transcendence basis of \(K\) over \(k\). Since all transcendence bases have the same cardinality, the transcendence degree \(\mathrm {trdeg}_k K\), so do all maximal algebraically independent subsets of \(A\). Combining this with Proposition 4.27 gives a field-theoretic characterisation of dimension.

Corollary 4.28. Let \(V \subset k^n\) be an affine variety, and suppose that \(\mathfrak {p} = \mathcal {I}(V)\) is a prime ideal. Then \(\mathrm {dim} V\) is equal to the transcendence degree of the field extension \(k \subset \mathrm {Frac}(A)\), where \(A = k[X_1,\ldots , X_n] / \mathfrak {p}\).

Lecture 12. The weak Nullstellensatz [full lecture][pdf]

We next turn to one of the most important theorems in this course.

Theorem 4.29 (Nullstellensatz - weak version). Suppose that \(k\) is algebraically closed. Then, the maximal ideals of \(k[X_1,\ldots , X_n]\) are exactly the ideals \[ (X_1 - a_1, X_2 -a_2, \ldots , X_n -a_n) , \text {\ where \ } a_i \in k. \] Furthermore, if \(I \subset k[X_1,\ldots , X_n]\) is a proper ideal, then \(\mathcal {V}(I) \neq \emptyset \).

The key point is that for a maximal ideal \(\mathfrak {m}\) the field \(A = k[X_1,\ldots , X_n] /\mathfrak {m}\) is, by Noether normalisation (Theorem 4.25), integral over a polynomial ring \(k[u_1,\ldots ,u_d]\), which must be a field by Corollary 4.23(d); hence \(d=0\), and \(A = k\) since \(k\) is algebraically closed. The second statement follows, since a proper ideal is contained in a maximal ideal by Proposition 2.4.

\(\blacktriangleright \) So, for \(k\) algebraically closed, the points of \(k^n\) correspond bijectively to the maximal ideals of \(k[X_1,\ldots , X_n]\): \[ a = (a_1,\ldots , a_n) \longmapsto \mathfrak {m}_a = (X_1 - a_1, \ldots , X_n - a_n), \] the kernel of evaluation at \(a\). Moreover, \(I \subset \mathfrak {m}_a\) if and only if \(a \in \mathcal {V}(I)\): the points of \(\mathcal {V}(I)\) are the maximal ideals containing \(I\).

The argument used that \(k\) is algebraically closed only in its last step, so it also proves the following.

Lemma 4.30 (Zariski’s lemma). Suppose that a field \(K\) is finitely generated as an algebra over a field \(k\). Then \(K\) is finitely generated as a \(k\)-module, that is, \(K \supset k\) is a finite field extension.

In other words, for a field extension the two notions of finitely generated coincide.

The appeal to Proposition 2.4, whose proof uses Zorn’s lemma, is rather unsatisfactory. Using instead that \(k[X_1,\ldots , X_n]\) is Noetherian (Theorem 4.1) still requires a countable version of the Axiom of Choice. Here is a constructive proof, following Arrondo, which avoids any choice.

Theorem 4.31 (Nullstellensatz without choice). Let \(k\) be any field. Any proper ideal \(I \subset k[X_1,X_2,\ldots , X_n]\) is contained in a maximal ideal \(\mathfrak {m}\).

The inductive step rests on the following lemma, proved using a resultant with respect to \(X_n\).

Lemma 4.32. Let \(I \subset k[X_1,\ldots ,X_n]\) be a proper ideal containing a polynomial \(g\) that is monic in \(X_n\), that is, \[ g = X_n^d + X_n^{d-1}g_{d-1} + \ldots + X_n g_1 + g_0 \text {\ with\ } g_i \in k[X_1,\ldots , X_{n-1}], \] and let \(\mathfrak {m}' \subset k[X_1,\ldots , X_{n-1}]\) be a maximal ideal containing \(I' = I \cap k[X_1,\ldots , X_{n-1}]\). Denote by \((\mathfrak {m}')\) the ideal generated by \(\mathfrak {m}'\) in \(k[X_1,\ldots , X_n]\). Then the ideal \(I + (\mathfrak {m'}) \subset k[X_1,\ldots , X_n]\) is proper.

\(\blacktriangleright \) For \(k\) algebraically closed, Theorem 4.29 gives the lemma a geometric meaning. The maximal ideal \(\mathfrak {m}'\) is a point \(b \in \mathcal {V}(I') \subset k^{n-1}\), and the zeros of \(I + (\mathfrak {m}')\) are the points of \(\mathcal {V}(I)\) above \(b\) for the projection \(k^n \to k^{n-1}\). So the lemma says that every point of \(\mathcal {V}(I')\) is the image of a point of \(\mathcal {V}(I)\). The monic polynomial \(g\) is what prevents points of \(\mathcal {V}(I)\) from escaping to infinity above \(b\). Without it the lemma fails: for \(I = (XY - 1) \subset k[X,Y]\) we have \(I' = 0\), and for \(\mathfrak {m}' = (X)\) the ideal \((XY - 1, X)\) contains \(1\). The change of variables of Lemma 4.26 repairs this: after \(X \mapsto X+Y\) the hyperbola becomes \(Y^2+XY=1\), which is monic in \(Y\) and meets every vertical line.

The theorem follows by induction on \(n\), the case \(n=1\) being clear as \(k[X]\) is a PID: if \(I \neq (0)\), by Lemma 4.26 we may assume that \(I\) contains a polynomial monic in \(X_n\), by induction there is a maximal ideal \(\mathfrak {m}'\) containing \(I'\), and since \(I + (\mathfrak {m}')\) is proper, the case \(n=1\) over the field \(k'= k[X_1,\ldots , X_{n-1}]/ \mathfrak {m}'\) gives a maximal ideal containing it. So for polynomial rings with field coefficients and their quotients, every proper ideal has a maximal ideal containing it, without the Axiom of Choice.

Lecture 13. The strong Nullstellensatz [full lecture][pdf]

Theorem 4.33 (Nullstellensatz - strong version). Suppose that \(k\) is algebraically closed and let \(I \subset k[X_1,\ldots , X_n]\) be an ideal. Then \[ \mathcal {I}(\mathcal {V}(I)) = \sqrt {I}. \]

The inclusion \(\sqrt {I} \subset \mathcal {I}(\mathcal {V}(I))\) is easy. The converse uses the Rabinowitsch trick: if \(I = (f_1,\ldots , f_s)\) and \(f \in \mathcal {I}(\mathcal {V}(I))\), then the ideal \(\tilde {I} = (f_1,\ldots , f_s, 1-Yf) \subset k[X_1,\ldots , X_n,Y]\) has no zero, so it contains \(1\) by the weak Nullstellensatz (Theorem 4.29), and substituting \(Y = \frac {1}{f}\) and clearing denominators gives \(f^\ell \in I\) for some \(\ell > 0\).

\(\blacktriangleright \) The theorem says that the only way a polynomial can vanish on \(\mathcal {V}(I)\) without belonging to \(I\) is that one of its powers belongs to \(I\). For instance, let \(I = (Y - X^2, Y) \subset k[X,Y]\), which describes the intersection of the parabola \(Y = X^2\) with the line \(Y = 0\). Then \(\mathcal {V}(I) = \{(0,0)\}\) and \(\mathcal {I}(\mathcal {V}(I)) = (X,Y)\), but \(X \notin I = (X^2, Y)\): the ideal remembers that the line is tangent to the parabola, as \(k[X,Y]/I\) has dimension \(2\) rather than \(1\). By contrast, the line \(Y = X\) meets the parabola transversally at \((0,0)\) and \((1,1)\), and the ideal \((Y - X^2, Y - X) = (X^2 - X, Y - X)\) is radical. The hypothesis that \(k\) is algebraically closed cannot be dropped: over \(\mathbb {R}\), the ideal \((X^2 + Y^2)\) is prime, hence radical, but its variety is the single point \((0,0)\), whose ideal is \((X, Y)\).

\(\blacktriangleright \) The most important consequence of the Nullstellensatz is that, for \(k\) algebraically closed, \(\mathcal {I}\) and \(\mathcal {V}\) are mutually inverse, inclusion-reversing bijections \[ \{\text {affine varieties in } k^n\} \underset {\mathcal {V}}{\overset {\mathcal {I}}\rightleftarrows } \{\text {radical ideals of } k[X_1,\ldots , X_n]\}. \] Points of \(k^n\) correspond to maximal ideals, as we saw in Lecture 12, and we will see in the next lecture that irreducible varieties correspond to prime ideals.

The second half of the proof works over any field, which gives a test for membership in the radical.

Corollary 4.34. Let \(k\) be a field (not necessarily algebraically closed) and \(I = (f_1,\ldots , f_s) \subset k[X_1,\ldots ,X_n]\). Then \(f \in \sqrt {I}\) if and only if \(1\) belongs to the ideal \(\tilde {I} = (f_1,\ldots , f_s, 1-Yf) \subset k[X_1,\ldots ,X_n,Y]\).

This gives an algorithm for deciding whether \(f \in \sqrt {I}\): compute a Gröbner basis of \((f_1,\ldots , f_s, 1-Yf)\) and check whether it contains a non-zero constant.

Corollary 4.35. Let \(k\) be algebraically closed and let \(I \subset k[X_1,\ldots , X_n]\) be a proper ideal, so that \(V =\mathcal {V}(I)\) is non-empty by the weak Nullstellensatz. Then \[ \mathrm {dim}(V) = \mathrm {deg} HP_{I} (t), \] where \(\mathrm {dim}(V) \coloneqq \mathrm {deg} HP_{\mathcal {I}(V)}(t)\). In other words, the dimension of \(V\) can be computed from any ideal \(I\) with \(\mathcal {V}(I) = V\).

Corollary 4.36. Let \(k\) be algebraically closed and let \(I \subset k[X_1,X_2,\ldots , X_n]\) be a proper ideal. Then \(\sqrt {I}\) is the intersection of the maximal ideals containing \(I\): \[ \sqrt {I} = \bigcap _{\mathfrak {m} \supset I} \mathfrak {m}. \]

The last corollary should be contrasted with Proposition 2.7, which says that \(\sqrt {I}\) is the intersection of the prime ideals containing \(I\): in \(k[X_1,\ldots , X_n]\) it suffices to take the maximal ideals containing \(I\), and these are in bijection with the points of \(\mathcal {V}(I)\).

A ring \(R\) is called a Jacobson ring or Hilbert ring if every prime ideal of \(R\) is an intersection of maximal ideals. The last corollary says that \(k[X_1,\ldots , X_n]\) is a Jacobson ring when \(k\) is algebraically closed. A field is obviously a Jacobson ring, and so is \(\mathbb {Z}\), but the local ring \(k[[X]]\) is not: \((0)\) is a prime ideal, but the only maximal ideal is \((X)\). A generalisation of Hilbert’s Nullstellensatz states that any finitely generated algebra over a Jacobson ring is Jacobson; in particular, \(k[X_1,\ldots , X_n]\) is a Jacobson ring for every field \(k\).

Lecture 14. Irreducible decomposition; the Zariski topology [full lecture][pdf]

In the last lecture we saw that, for \(k\) algebraically closed, the radical of a proper ideal \(I \subset k[X_1,\ldots , X_n]\) is the intersection of the maximal ideals containing \(I\) (Corollary 4.36). We also have a decomposition in terms of finitely many prime ideals containing \(I\), which will turn out to be the minimal ones.

Corollary 4.37. Let \(k\) be algebraically closed and \(I\) a proper ideal in \(k[X_1,\ldots , X_n]\). Then there exist prime ideals \(\mathfrak {p}_1,\mathfrak {p}_2,\ldots , \mathfrak {p}_r \subset k[X_1,\ldots , X_n]\) such that \[ \sqrt {I} = \mathfrak {p}_1 \cap \mathfrak {p}_2 \cap \ldots \cap \mathfrak {p}_r .\] Moreover, \[ \mathrm {deg} HP_I(t) = \mathrm {deg} HP_{\sqrt {I}}(t) = \mathrm {max} \{ \mathrm {deg} HP_{\mathfrak {p_i}}(t) : 1 \leq i \leq r \}. \]

A non-empty affine variety \(V\) is said to be irreducible if \(V\) cannot be written as a union \(V =V_1 \cup V_2\) where \(V_1, V_2 \subsetneq V\) are affine varieties.

Lemma 4.39. A non-empty affine variety \(V\) is irreducible if and only if \(\mathcal {I}(V)\) is a prime ideal. In particular, if \(k\) is algebraically closed, then \(\mathcal {V}(\mathfrak {p})\) is irreducible for every prime ideal \(\mathfrak {p}\).

For the corollary, the Noetherian property of \(k[X_1,\ldots ,X_n]\) shows that every non-empty affine variety is a union of finitely many irreducible affine varieties; writing \(\mathcal {V}(I) = V_1 \cup \ldots \cup V_r\) in this way, the strong Nullstellensatz gives \(\sqrt {I} = \bigcap _{i=1}^r \mathcal {I}(V_i)\), and the ideals \(\mathfrak {p}_i = \mathcal {I}(V_i)\) are prime by the lemma. Thanks to Gröbner bases and Theorem 4.31, Corollary 4.37 is independent of the Axiom of Choice.

The decomposition is unique in the following sense. Call a decomposition \(\sqrt {I} = \mathfrak {p}_1 \cap \mathfrak {p}_2 \cap \ldots \cap \mathfrak {p}_r\) minimal if \(\mathfrak {p}_i \not \subset \mathfrak {p}_j\) for \(i \neq j\); any decomposition becomes minimal after discarding those \(\mathfrak {p}_i\) that contain another \(\mathfrak {p}_j\). Since a prime ideal \(\mathfrak {q}\) containing \(I\) contains \(\mathfrak {p}_i\) for some \(i\), two minimal decompositions coincide up to reordering, and the \(\mathfrak {p}_i\) in a minimal decomposition are exactly the minimal prime ideals containing \(I\). Geometrically, the \(V_i = \mathcal {V}(\mathfrak {p}_i)\) are the maximal irreducible subvarieties of \(\mathcal {V}(I)\), called its irreducible components.

\(\blacktriangleright \) Let \(I = (XZ, YZ) \subset k[X,Y,Z]\). Then \(\mathcal {V}(I)\) is the union of the plane \(\mathcal {V}(Z)\) and the line \(\mathcal {V}(X,Y)\). Correspondingly, \(I = (Z) \cap (X,Y)\) is the minimal prime decomposition; in particular \(I\) is radical. The two components have dimensions \(2\) and \(1\), and indeed \(\mathrm {deg} HP_I(t) = 2\): the standard monomials are \(X^a Y^b\) and \(Z^c\), so \(HF_I(s) = \binom {s+2}{2} + s\).

The following table summarises the correspondence between algebra and geometry (for \(k[X_1,\ldots , X_n]\) with \(k\) algebraically closed):

Algebra Geometry
radical ideal \(\sqrt {I}\) affine variety \(\mathcal {V}(\sqrt {I})\)
\(\sqrt {\sqrt {I}+\sqrt {J}} = \sqrt {I+J}\) \( \mathcal {V}(\sqrt {I}) \cap \mathcal {V}(\sqrt {J})\)
\(\sqrt {IJ} = \sqrt {I} \cap \sqrt {J}\) \(\mathcal {V}(\sqrt {I}) \cup \mathcal {V}(\sqrt {J})\)
\(\sqrt {I} : \sqrt {J}\) \(\overline {\mathcal {V} (\sqrt {I}) \setminus \mathcal {V}(\sqrt {J})}\)
prime ideal \(\mathfrak {p}\) irreducible affine variety \(\mathcal {V}(\mathfrak {p})\)
maximal ideal \(\mathfrak {m}= (X_1-a_1,\ldots , X_n-a_n)\) point \((a_1,\ldots ,a_n) \in k^n\)
prime decomposition \(\sqrt {I} = \mathfrak {p}_1 \cap \ldots \cap \mathfrak {p}_r\)irreducible components \(\mathcal {V}(\mathfrak {p}_1), \ldots , \mathcal {V}(\mathfrak {p}_r)\)

It remains to explain the fourth row. Any finite union and any intersection of affine varieties is an affine variety: \(\mathcal {V}(I) \cup \mathcal {V}(J) = \mathcal {V}(IJ)\) and \(\bigcap _\alpha \mathcal {V}(I_\alpha ) = \mathcal {V}(\sum _\alpha I_\alpha )\). So we can define a topology on \(k^n\) whose closed sets are the affine varieties, called the Zariski topology. An affine variety \(V \subset k^n\) can be endowed with the subspace topology, whose closed sets are the affine varieties contained in \(V\). When \(k= \mathbb {R}\) or \(\mathbb {C}\), the Zariski topology is much coarser than the usual (Euclidean) topology, and it is not Hausdorff; in fact, any two non-empty open subsets of \(k^n\) intersect.

Proposition 4.40. The closure in the Zariski topology of \(\mathcal {V}(I) \setminus \mathcal {V}(J)\) is contained in \(\mathcal {V}(I:J)\), that is, \[ \overline {\mathcal {V}(I) \setminus \mathcal {V}(J)} \subset \mathcal {V}(I:J). \] Moreover, equality holds if \(I = \sqrt {I}\) is a radical ideal and \(k\) is algebraically closed.

\(\blacktriangleright \) Let \(I = (XY)\) and \(J = (X)\) in \(k[X,Y]\): \(\mathcal {V}(I)\) is the union of the two coordinate axes and \(\mathcal {V}(J)\) is the \(Y\)-axis. Then \(\mathcal {V}(I) \setminus \mathcal {V}(J)\) is the \(X\)-axis with the origin removed, which is not an affine variety. Its Zariski closure is the whole \(X\)-axis, and indeed \(I : J = (XY) : (X) = (Y)\). So the colon ideal removes the component \(\mathcal {V}(J)\), and the closure puts back the points of the other components lying on it.

Lecture 15. Regular maps; the theorem of Ax [full lecture][pdf]

We have seen that, for \(k\) algebraically closed, there is an intimate relationship between finitely generated \(k\)-algebras without non-zero nilpotents (also called reduced), that is, \(k\)-algebras of the form \(k[X_1,\ldots , X_n]/\sqrt {I}\), and the affine varieties \(\mathcal {V}(\sqrt {I}) \subset k^n\). What about maps between such objects?

A regular mapping between affine varieties \(V = \mathcal {V}(I) \subset k^n\) and \(W = \mathcal {V}(J) \subset k^m\) is a map \(\phi : V \to W\) given by polynomials \(f_1,\ldots , f_m \in k[X_1,\ldots , X_n]\), that is, \(\phi (\mathbf {v}) = (f_1(\mathbf {v}), \ldots , f_m(\mathbf {v}))\) for all \(\mathbf {v} \in V\). The regular functions on \(V\) are the regular mappings \(V \to k\); they form a \(k\)-algebra \(k[V]\), the coordinate ring of \(V\). Two polynomials define the same regular function on \(V\) if and only if their difference lies in \(\mathcal {I}(V)\), hence \[ k[V] \simeq k[X_1,\ldots , X_n] / \mathcal {I}(V), \] which is a finitely generated reduced \(k\)-algebra. A regular mapping \(\phi = (f_1,\ldots , f_m) : V \to W\) induces a \(k\)-algebra homomorphism in the opposite direction, the pullback \[ \phi ^* : k[W] \to k[V], \qquad g \mapsto g \circ \phi , \] which sends \(Y_i \mapsto f_i(X_1,\ldots , X_n)\).

For \(k\) algebraically closed, Theorem 4.29 shows that the maximal ideals of \(k[V]\) are the ideals \(\mathfrak {m}_{\mathbf {v}}\) of regular functions vanishing at a point \(\mathbf {v} \in V\), and similarly for \(W\), with maximal ideals \(\mathfrak {n}_{\mathbf {w}}\), \(\mathbf {w} \in W\). Then \(\phi \) is recovered from \(\phi ^*\): \[ (\phi ^{*})^{-1}(\mathfrak {m}_{\mathbf {v}}) = \mathfrak {n}_{\phi (\mathbf {v})}. \] Moreover, \(\phi \mapsto \phi ^*\) is a bijection between the regular mappings \(V \to W\) and the \(k\)-algebra homomorphisms \(k[W] \to k[V]\). Together with the Nullstellensatz, which says that every finitely generated reduced \(k\)-algebra is of the form \(k[V]\) when \(k\) is algebraically closed, this gives an (anti)equivalence between the category of affine varieties over \(k\), with regular mappings as morphisms, and the category of finitely generated reduced \(k\)-algebras. Isomorphisms of affine varieties, meaning regular mappings with a regular inverse, correspond to isomorphisms of \(k\)-algebras.

\(\blacktriangleright \) Consider the regular mapping \(\phi : k \to W = \mathcal {V}(Y^2 - X^3) \subset k^2\), \(\phi (t) = (t^2, t^3)\), onto the cuspidal cubic. It is bijective, but it is not an isomorphism: the pullback \(\phi ^*: k[X,Y]/(Y^2 - X^3) \to k[T]\) sends \(X \mapsto T^2\) and \(Y \mapsto T^3\), so its image is \(k[T^2, T^3] \subsetneq k[T]\). So a bijective regular mapping need not be an isomorphism.

Interlude: An application of the Nullstellensatz

Theorem 5.1 (Ax). Suppose \(p : \mathbb {C}^n \to \mathbb {C}^n\) is a regular mapping given by \(p= (p_1,p_2,\ldots , p_n)\) with \(p_i\in \mathbb {C}[X_1,\ldots , X_n]\). If \(p\) is injective, then it is also surjective.

We need an important consequence of Hilbert’s Nullstellensatz that applies to “arithmetic” rings; its proof rests on Zariski’s lemma (Lemma 4.30).

Theorem 5.2. Let \(A\) be a finitely generated \(\mathbb {Z}\)-algebra, that is, \(A \simeq \mathbb {Z}[X_1,\ldots , X_n]/I\), and let \(\mathfrak {m} \subset A\) be a maximal ideal. Then \(A/\mathfrak {m}\) is a finite field. In other words, a field which is finitely generated as a ring is finite.

The idea of the proof of Theorem 5.1 is to reduce to finite fields, where the statement is trivial, since an injective map from a finite set to itself is surjective. If \(p\) were injective but not surjective, the Nullstellensatz would express both the injectivity of \(p\) and the fact that some point is not in its image by polynomial identities; these hold over a finitely generated \(\mathbb {Z}\)-algebra \(A \subset \mathbb {C}\), and reducing them modulo a maximal ideal \(\mathfrak {m}\) of \(A\) gives an injective but not surjective mapping \((A/ \mathfrak {m})^n \to (A/\mathfrak {m})^n\), where \(A/\mathfrak {m}\) is a finite field by Theorem 5.2. Since \(A\) is countable, \(\mathfrak {m}\) can be found without Zorn’s lemma; as the Nullstellensatz was proved without choice in Theorem 4.31, the proof does not use the Axiom of Choice at all.

It is also true that any injective polynomial mapping \(p : \mathbb {R}^n \to \mathbb {R}^n\) is surjective, but our proof does not give this more difficult result.

Abstract commutative algebra

Lecture 16. The spectrum of a ring [full lecture][pdf]

We now begin studying commutative rings via more abstract methods, leaving the constructive mindset behind for now and admitting the consequences of Zorn’s lemma. The first question is: given a general commutative ring \(A\), can we define a space on which \(A\) is the ring of algebraic functions?

The maximal spectrum \(\mathrm {mSpec} (A)\) is the set of maximal ideals of \(A\). If \(A= k[X_1,X_2, \ldots , X_n]\) and \(k\) is algebraically closed, then the weak Nullstellensatz (Theorem 4.29) identifies \(\mathrm {mSpec}(A)\) with \(k^n\). For a general commutative ring, using prime ideals is more fruitful: for a ring homomorphism \(f: A \to B\) and a maximal ideal \(\mathfrak {m} \subset B\), the ideal \(f^{-1}(\mathfrak {m})\) need not be maximal (take \(\mathbb {Z} \to \mathbb {Q}\) and \(\mathfrak {m} = (0)\)), whereas \(f^{-1}(\mathfrak {p})\) is prime whenever \(\mathfrak {p}\) is prime (Proposition 2.5). The spectrum of \(A\) is \[ \mathrm {Spec} (A) \coloneqq \{ \mathfrak {p} \subset A : \mathfrak {p} \text {\ is a prime ideal} \}, \] and for an ideal \(I \subset A\) and for \(S \subset \mathrm {Spec}(A)\) we define \[ \mathscr {V}(I) \coloneqq \{ \mathfrak {p} \in \mathrm {Spec}(A) : I \subset \mathfrak {p} \}, \qquad \mathscr {I}(S) \coloneqq \bigcap _{\mathfrak {p} \in S} \mathfrak {p}. \] The notation changes from \(\mathcal {V}, \mathcal {I}\) to \(\mathscr {V}, \mathscr {I}\) because, for \(A=k[X_1,X_2,\ldots , X_n]\) with \(k\) algebraically closed, \(\mathscr {V}(I)\) is in bijection with the irreducible affine varieties contained in \(\mathcal {V}(I)\), not with its points.

The sets \(\mathscr {V}(I)\) are the closed sets of a topology on \(\mathrm {Spec}(A)\), the (abstract) Zariski topology.

Lemma 6.1. For \(S \subset \mathrm {Spec}(A)\) we have \(\mathscr {V}(\mathscr {I}(S))= \overline {S}\).

Lemma 6.2. Let \(I \subset A\) be an ideal. Then \(\mathscr {I}(\mathscr {V}(I)) = \sqrt {I}\).

Together, the two lemmas say that \(I \mapsto \mathscr {V}(I)\) is a bijection between the radical ideals of \(A\) and the closed subsets of \(\mathrm {Spec}(A)\). Lemma 6.2 is Proposition 2.7; it is only a formal analogue of the Nullstellensatz, and much easier: the Nullstellensatz says that for \(A = k[X_1,\ldots , X_n]\) with \(k\) algebraically closed it suffices to intersect the maximal ideals.

How can \(A\) be viewed as functions on \(\mathrm {Spec}(A)\)? For \(\mathfrak {p} \in \mathrm {Spec}(A)\), let \(k(\mathfrak {p}) = \mathrm {Frac}(A/\mathfrak {p})\), called the residue field at \(\mathfrak {p}\). The “value” \(f(\mathfrak {p})\) of \(f \in A\) at \(\mathfrak {p}\) is the image of \(f\) under \(A \to A / \mathfrak {p} \to k(\mathfrak {p})\), so \(f(\mathfrak {p}) = 0\) if and only if \(\mathfrak {p} \in \mathscr {V}((f))\). An element of \(A\) is not determined by its values: \(f(\mathfrak {p}) = 0\) for all \(\mathfrak {p}\) if and only if \(f \in \sqrt {(0)}\), as for the class of \(X\) in \(k[X]/(X^2)\). For \(A = k[X_1,\ldots , X_n]/I\) with \(k\) algebraically closed, on the maximal ideals we recover the usual functions on \(\mathcal {V}(I)\). In general, an element of \(A\) is a generalised function on \(\mathrm {Spec}(A)\), whose values lie in fields \(k(\mathfrak {p})\) that vary with the point \(\mathfrak {p}\); this is the starting point of Grothendieck’s scheme theory.

\(\blacktriangleright \) The points of \(\mathrm {Spec}(\mathbb {Z})\) are the maximal ideals \((p)\), for \(p\) a prime number, and the prime ideal \((0)\). An element \(n \in \mathbb {Z}\) is the function \[ (0) \mapsto n \in \mathbb {Q}, \qquad (p) \mapsto n \bmod p \in \mathbb {F}_p. \] The closed sets are the finite sets of maximal ideals \(\mathscr {V}((n)) = \{ (p) : p \mid n \}\), \(n \neq 0\), and the whole space \(\mathscr {V}((0))\), the only closed set containing the point \((0)\).

A topological space \(X\) is Noetherian if every chain \(Y_1 \supset Y_2 \supset \ldots \) of closed subsets of \(X\) stabilises, reducible if \(X= X_1 \cup X_2\) with \(X_1,X_2\) proper closed subsets of \(X\), and irreducible if it is non-empty and not reducible. The following is proved exactly as Corollary 4.37 and Lemma 4.39. If \(A\) is a Noetherian ring, then \(\mathrm {Spec}(A)\) is a Noetherian topological space. A closed subset \(Y \subset \mathrm {Spec}(A)\) is irreducible if and only if \(\mathscr {I}(Y)\) is prime; hence the irreducible closed subsets of \(\mathrm {Spec}(A)\) are exactly the closures \(\overline {\{\mathfrak {p}\}} = \mathscr {V}(\mathfrak {p})\) of its points, and \(\mathfrak {p}\) is the generic point of \(\mathscr {V}(\mathfrak {p})\). A Noetherian topological space is a finite union of closed irreducible subsets.

Proposition 6.4. Let \(A\) be a Noetherian ring and \(I \subset A\) a proper ideal. Then there exist finitely many prime ideals \(\mathfrak {p}_1, \mathfrak {p}_2,\ldots , \mathfrak {p}_r\) with \(\mathfrak {p}_i \not \subset \mathfrak {p}_j\) for \(i \neq j\) such that \(\sqrt {I} = \mathfrak {p}_1 \cap \mathfrak {p}_2 \cap \ldots \cap \mathfrak {p}_r\). Moreover, if \(\mathfrak {q} \in \mathrm {Spec}(A)\) with \(I \subset \mathfrak {q}\), then there exists \(i\) such that \(\mathfrak {p}_i \subset \mathfrak {q}\). In particular, \(A\) has only finitely many minimal prime ideals.

Lecture 17. Krull dimension; Artinian rings [full lecture][pdf]

For a topological space \(X\) we define \[ \dim X \coloneqq \sup \{ n \geq 0 : \exists \ X_0 \subsetneq X_1 \subsetneq \ldots \subsetneq X_n \subset X \text { with } X_i \text { closed and irreducible} \}. \] For a ring \(A\), the Krull dimension is defined to be \[ \dim A \coloneqq \dim \mathrm {Spec}(A) = \sup \{ n \geq 0 : \exists \ \mathfrak {p}_0 \subsetneq \mathfrak {p}_1 \subsetneq \ldots \subsetneq \mathfrak {p}_n \text { with } \mathfrak {p}_i \subset A \text { prime} \}; \] the two descriptions agree because the irreducible closed subsets of \(\mathrm {Spec}(A)\) are the sets \(\mathscr {V}(\mathfrak {p})\). For a prime ideal \(\mathfrak {p} \in \mathrm {Spec}(A)\), its height is \[ h(\mathfrak {p}) \coloneqq \sup \{ n \geq 0 : \exists \ \mathfrak {p}_0 \subsetneq \mathfrak {p}_1 \subsetneq \ldots \subsetneq \mathfrak {p}_n = \mathfrak {p} \text { with } \mathfrak {p}_i \text { prime} \}. \]

\(\blacktriangleright \) An integral domain \(A\) has \(\dim A = 0\) if and only if it is a field. For \(A=k[X_1,\ldots , X_n]\), the chain of prime ideals \((0) \subsetneq (X_1) \subsetneq (X_1,X_2) \subsetneq \ldots \subsetneq (X_1,X_2,\ldots , X_n)\) shows that \(\dim A \geq n\); we will see later that in fact \(\dim A = n\). If \(A\) is a UFD and \(\mathfrak {p} \subset A\) is a prime ideal, then \(h(\mathfrak {p})=1\) if and only if \(\mathfrak {p}= (a)\) with \(a \in A\) an irreducible element. In a PID every non-zero prime ideal is of this form, so \(\dim \mathbb {Z} = 1\) and \(\dim k[X] = 1\).

We next want to understand rings which have \(\dim A =0\) that are not fields; they are characterised by chain conditions on their ideals. An \(A\)-module \(M\) is Noetherian if every ascending chain of \(A\)-submodules \(M_1 \subset M_2 \subset \ldots \subset M\) becomes stationary, and Artinian if every descending chain \(M \supset M_1 \supset M_2 \supset \ldots \) becomes stationary. A ring \(A\) is Noetherian or Artinian if \(A\) as an \(A\)-module is so. Despite the similarity of the definitions, being an Artinian ring is much more restrictive: \(\mathbb {Z}\) is Noetherian but not Artinian, since \((2) \supsetneq (4) \supsetneq (8) \supsetneq \ldots \), whereas a \(k\)-algebra which is finite-dimensional as a \(k\)-vector space is both.

Proposition 6.7. In an Artinian ring every prime ideal is maximal.

Theorem 6.8. Let \(A\) be a Noetherian ring. Then \(\dim A =0\) if and only if \(A\) is also Artinian.

To prove that \(\dim A = 0\) implies that \(A\) is Artinian, we need composition series. An \(A\)-module \(M\) is simple if \(M \neq \{0\}\) and \(\{0\}\) and \(M\) are the only \(A\)-submodules of \(M\); the simple \(A\)-modules are, up to isomorphism, the modules \(A/\mathfrak {m}\) with \(\mathfrak {m} \subset A\) a maximal ideal. A chain of \(A\)-submodules \(M=M_0 \supsetneq M_1 \supsetneq \ldots \supsetneq M_n = \{0\}\) is called a Jordan–Hölder series or composition series of length \(n\) if each quotient \(M_i/ M_{i+1}\) is a simple \(A\)-module. If \(M\) admits a composition series, the length \(\ell (M)\) of \(M\) is the smallest length of a composition series of \(M\).

Proposition 6.10 (Jordan–Hölder). An \(A\)-module \(M\) admits a composition series if and only if \(M\) is Noetherian and Artinian. In this case, every chain of submodules \(M = K_0 \supsetneq K_1 \supsetneq \ldots \supsetneq K_m\) has length \(m \leq \ell (M)\), and every composition series of \(M\) has length \(\ell (M)\).

\(\blacktriangleright \) For \(A = k[X,Y]/(X^2, XY^2, Y^3)\), the monomials \(1, X, Y, XY, Y^2\) form a basis over \(k\), and \[ A \supsetneq (X,Y) \supsetneq (X,Y^2) \supsetneq (XY,Y^2) \supsetneq (XY) \supsetneq \{0\} \] is a composition series of \(A\): each quotient is one-dimensional over \(k\). So \(\ell (A) = 5\).

For Theorem 6.8, if \(\dim A = 0\) then \(A\) has only finitely many prime ideals \(\mathfrak {m}_1, \ldots , \mathfrak {m}_r\), all maximal (Proposition 6.4), and products of them give a chain of ideals from \(A\) to \(\{0\}\) whose successive quotients are finite-dimensional vector spaces over the fields \(A/\mathfrak {m}_i\); it refines to a composition series of \(A\), so \(A\) is Artinian by Proposition 6.10. In fact, an Artinian ring is automatically Noetherian.

Theorem 6.11 (Akizuki). A ring \(A\) is Artinian if and only if \(A\) is Noetherian and \(\dim A=0\).

A local Artinian ring is called a primary ring. By Theorems 6.8 and 6.11, these are precisely the Noetherian rings with exactly one prime ideal; examples are \(\mathbb {Z}/(p^s)\), \(k[X]/(X^s)\) and \(k[X,Y]/(X^2, XY^2, Y^3)\).

Theorem 6.12. Let \(A\) be a Noetherian ring with \(\dim A =0\). Then \(A\) is isomorphic to a finite product of primary rings (in a unique way).

This does not classify the Artinian rings: even for finite-dimensional \(k\)-algebras over an algebraically closed field \(k\), a classification is known only up to dimension 6; from dimension 7 onwards, there are infinitely many isomorphism types.

Lecture 18. Localisation [full lecture][pdf]

We next discuss an important construction that is the algebraic analogue of the geometric notion of concentrating attention near a point.

Let \(A\) be an integral domain and \(S \subset A\) a subset not containing \(0\). We can then consider the subring \[ S^{-1}A = A[ \{1/s : s \in S\} ] \subset \mathrm {Frac}(A), \] in which every element of \(S\) becomes invertible. Now let \(A\) be any ring and \(S \subset A\) a multiplicative set, that is, \(1 \in S\) and \(S\) is closed under multiplication, which possibly contains zero divisors. We would like to construct a ring \(B\) and a homomorphism \(\iota : A \to B\) such that \(\iota (s)\) is invertible for all \(s \in S\). If \(as = 0\) for some \(a \in A\) and \(s \in S\), then \(\iota (a)\iota (s) = 0\) forces \(\iota (a) = 0\), so \(\iota \) cannot be injective: such elements \(a\) have to be killed first. This can be done directly, by imitating the construction of the field of fractions with a small modification of the equivalence relation. Consider the set \(A \times S\) with the equivalence relation \[ (a,s) \sim (b,s') \text {\ if and only if there exists\ } t \in S \text {\ such that\ } t(as'-bs)=0. \] Writing \(\frac {a}{s}\) for the equivalence class of \((a,s)\), we define the ring of fractions \(S^{-1}A \coloneqq \{ \frac {a}{s} : a \in A, s \in S \}\) with \[ \frac {a}{s} + \frac {b}{s'} \coloneqq \frac {as' + bs}{ss'}, \qquad \frac {a}{s} \cdot \frac {b}{s'} \coloneqq \frac {ab}{ss'}. \] The ring \(S^{-1}A\) is also called the localisation of \(A\) with respect to \(S\).

There is a homomorphism \(\iota : A \to S^{-1}A\) given by \(a \mapsto \frac {a}{1}\), and it satisfies \(\iota (s) \frac {1}{s}=1\) for all \(s \in S\). Its kernel is \(\mathrm {ker}(\iota ) = \{ a\in A : \exists \, t \in S,\ at =0 \}\). In particular, \(S^{-1}A = \{0\}\) if and only if \(0 \in S\), and \(\iota \) is injective if \(A\) is an integral domain and \(0 \notin S\). If \(I \subset A\) is an ideal, we write \(S^{-1}I = \{ \frac {a}{s} : a \in I,\ s \in S \}\) for the ideal of \(S^{-1}A\) generated by \(\iota (I)\), also denoted by \(I\,S^{-1}A\). Localisation satisfies the following universal property: if \(B\) is a ring and \(g: A \to B\) is a ring homomorphism such that \(g(s)\) is invertible for all \(s \in S\), then there exists a unique homomorphism \(h: S^{-1}A \to B\) such that \(g = h \circ \iota \), namely \(h(\frac {a}{s}) = g(a) g(s)^{-1}\).

The following two are the main examples of localisation.

(a) Let \(f \in A\) and \(S = \{ 1, f, f^2, \ldots \}\). We write \(A_f \coloneqq S^{-1}A\). We have \(\mathrm {ker}(\iota ) = \{ a \in A : \exists \, n \geq 0, \ af^n =0 \}\), and \(A_f = \{0\}\) if and only if \(f\) is nilpotent.

\(\blacktriangleright \) For \(0 \neq b \in \mathbb {Z}\) we have \(\mathbb {Z}_b = \{ \frac {a}{b^s} \in \mathbb {Q} : a \in \mathbb {Z},\ s \geq 0 \} = \mathbb {Z}[1/b]\).

\(\blacktriangleright \) Let \(A = k[X,Y]/(XY)\), the coordinate ring of the union of the two axes in \(k^2\). Then \(A_X\) is isomorphic to the ring \(k[X,X^{-1}]\): inverting \(X\) removes the line \(X = 0\); the function \(Y\) vanishes on what remains, so it becomes zero in \(A_X\).

(b) Let \(\mathfrak {p} \subset A\) be a prime ideal. Then \(S \coloneqq A \setminus \mathfrak {p}\) is a multiplicative set, by the definition of a prime ideal, and we write \(A_\mathfrak {p} \coloneqq S^{-1}A\). This is a local ring with unique maximal ideal \(S^{-1}\mathfrak {p}\), also written \(\mathfrak {p}A_\mathfrak {p}\): by Lemma 6.14(iii) in the next lecture, its prime ideals are the ideals \(S^{-1}\mathfrak {q} = \mathfrak {q}A_\mathfrak {p}\) with \(\mathfrak {q} \subset \mathfrak {p}\) a prime ideal of \(A\). Beware of the notation: in \(A_f\) the element \(f\) is inverted, while in \(A_{\mathfrak {p}}\) the elements outside \(\mathfrak {p}\) are inverted.

\(\blacktriangleright \) For \(A = \mathbb {Z}\), Lemma 6.14(iii) says that \(\mathrm {Spec}(\mathbb {Z}[1/6])\) consists of the points of \(\mathrm {Spec}(\mathbb {Z})\) other than \((2)\) and \((3)\), while \(\mathrm {Spec}(\mathbb {Z}_{(5)})\) consists only of \((5)\) and \((0)\).

\(\blacktriangleright \) If \(A\) is an integral domain, then \(A_{(0)}\) is the field of fractions of \(A\). For the prime ideal \((p) \subset \mathbb {Z}\) we get \(\mathbb {Z}_{(p)} = \{ \frac {a}{b} \in \mathbb {Q} : p \nmid b \}\). For the maximal ideal \((X) \subset k[X]\) we get \(k[X]_{(X)} = \{ \frac {f}{g} \in k(X): X \nmid g \}\), the rational functions that are defined at the point \(0\).

Lecture 19. Local rings: Nakayama's lemma [full lecture][pdf]

We begin with some basic properties of localisation. Throughout, \(S \subset A\) is a multiplicative set and \(\iota : A \to S^{-1}A\), \(a \mapsto \frac {a}{1}\), is the canonical homomorphism.

Lemma 6.14. (i) Let \(J \subset S^{-1}A\) be an ideal and \(I = \iota ^{-1}(J) \subset A\). Then \(J = S^{-1}I\). In particular, \(S^{-1}A\) is Noetherian if \(A\) is Noetherian. On the other hand, for an ideal \(I \subset A\) we have \(\iota ^{-1}(S^{-1}I) = \{ a \in A : ta \in I \text { for some } t \in S \}\).

(ii) (Localisation commutes with quotients) Let \(I\) be an ideal in \(A\), and write \(\overline {S}\) for the image of \(S\) under the canonical ring homomorphism \(A \to A/I\). Then \(\overline {S}^{-1} (A/I) \simeq S^{-1}A / S^{-1}I\).

(iii) The map \(\iota ^{-1}: \mathrm {Spec}(S^{-1}A) \to \mathrm {Spec}(A)\) is an inclusion-preserving bijection onto the subset \(\{ \mathfrak {p} \in \mathrm {Spec}(A) : \mathfrak {p}\cap S = \emptyset \}\), with inverse given by \(\mathfrak {p} \mapsto S^{-1}\mathfrak {p}\).

Part (iii) describes the spectra of the two localisations \(A_f\) and \(A_\mathfrak {p}\) of Lecture 18.

Corollary 6.15. (i) For \(f \in A\), the map \(\iota ^{-1}\) identifies \(\mathrm {Spec}(A_f)\) with the basic open set \(D(f) = \{ \mathfrak {q} \in \mathrm {Spec}(A) : f \notin \mathfrak {q} \}\).

(ii) For a prime ideal \(\mathfrak {p} \subset A\), the map \(\iota ^{-1}\) identifies \(\mathrm {Spec}(A_\mathfrak {p})\) with \(\{ \mathfrak {q} \in \mathrm {Spec}(A) : \mathfrak {q} \subset \mathfrak {p} \}\), preserving inclusions. In particular, \(\dim A_{\mathfrak {p}} = h(\mathfrak {p})\).

Thus \(A_f\) plays the role of the ring of “regular functions” on the open set \(D(f)\). The passage from \(A\) to \(A_{\mathfrak {p}}\) cuts out all the prime ideals except those contained in \(\mathfrak {p}\), in contrast to the passage from \(A\) to \(A/\mathfrak {p}\), which cuts out all the prime ideals except those containing \(\mathfrak {p}\). The ring \(A_{\mathfrak {p}}\) is the algebraic analogue of the germs of functions defined near the point \(\mathfrak {p}\) of \(\mathrm {Spec}(A)\), and the dimension of \(A\) can be computed from these local rings: \[ \dim A = \sup _{\mathfrak {p} \in \mathrm {Spec}(A)} \dim A_{\mathfrak {p}} = \sup _{\mathfrak {m} \in \mathrm {mSpec}(A)} \dim A_{\mathfrak {m}}. \] Next, we come to a very useful lemma in the study of local rings, which will later on help us understand how to compute \(\dim A_{\mathfrak {p}}\).

Lemma 6.16 (Nakayama’s Lemma). Let \(A\) be a local ring with maximal ideal \(\mathfrak {m}\). Let \(M\) be a finitely generated \(A\)-module and \(N \subset M\) be a submodule with the property that \(M = N + \mathfrak {m}M\). Then \(M=N\).

Thus many properties of the finitely generated modules over a local ring \(A\) can be studied via linear algebra over the field \(A/\mathfrak {m}\). As a first application, write \(\mu (M)\) for the minimal number of generators of a finitely generated module \(M\).

Proposition 6.17. Let \(A\) be a local ring with maximal ideal \(\mathfrak {m}\) and residue field \(k = A/ \mathfrak {m}\), and let \(M\) be a finitely generated \(A\)-module. Elements \(x_1, \ldots , x_n \in M\) generate \(M\) if and only if their images \(\overline {x}_1, \ldots , \overline {x}_n\) span the \(k\)-vector space \(M/\mathfrak {m}M\). In particular, \(\mu (M) = \dim _{k} M/\mathfrak {m}M\).

For a Noetherian local ring \(A\) with maximal ideal \(\mathfrak {m}\) and residue field \(k\), we write \[ \mu (A) \coloneqq \mu (\mathfrak {m}) = \dim _k \mathfrak {m}/\mathfrak {m}^2 \] for the minimal number of generators of \(\mathfrak {m}\).

\(\blacktriangleright \) Here is the geometric meaning of \(\mu (A)\). Let \(V \subset k^n\) be an affine variety with \(\mathcal {I}(V) = (f_1, \ldots , f_m)\), let \(\mathbf {v} \in V\), and let \(A = k[V]_{\mathfrak {m}_\mathbf {v}}\) be the local ring of \(V\) at \(\mathbf {v}\), so that \(\mathfrak {m}/\mathfrak {m}^2 \simeq \mathfrak {m}_\mathbf {v}/\mathfrak {m}_\mathbf {v}^2\). Write \(d_\mathbf {v} g = \sum _i \frac {\partial g}{\partial X_i}(\mathbf {v}) (X_i - v_i)\) for the linear part of a polynomial \(g\) at \(\mathbf {v}\), viewed as a linear form on \(k^n\). Then \(g \mapsto d_\mathbf {v} g\) induces an isomorphism \(\mathfrak {m}_\mathbf {v}/\mathfrak {m}_\mathbf {v}^2 \simeq (k^n)^*/\langle d_\mathbf {v} f_1, \ldots , d_\mathbf {v} f_m \rangle \), and the right hand side is the dual of the tangent space \[ T_\mathbf {v} V = \{ \mathbf {w} \in k^n : d_\mathbf {v} f_j(\mathbf {w}) = 0 \text { for } j = 1, \ldots , m \}. \] So \(\mu (A) = \dim _k T_\mathbf {v}V\). For the parabola \(V = \mathcal {V}(Y - X^2)\), the tangent space at the origin is the line \(Y = 0\), so \(\mu (A) = 1 = \dim A\). For the cusp \(V = \mathcal {V}(Y^2 - X^3)\), we have \(d_{\mathbf {0}}(Y^2 - X^3) = 0\), so the tangent space at the origin is all of \(k^2\) and \(\mu (A) = 2\), while \(\dim A = 1\).

Lecture 20. Krull's height theorem and the principal ideal theorem [full lecture][pdf]

In the last lecture we defined, for a Noetherian local ring \(A\) with maximal ideal \(\mathfrak {m}\) and residue field \(k\), the minimal number of generators \(\mu (A) = \dim _k \mathfrak {m}/\mathfrak {m}^2\) of \(\mathfrak {m}\), which for the local ring of an affine variety \(V\) at a point \(\mathbf {v}\) is the dimension of the tangent space \(T_\mathbf {v}V\). What is the relation between \(\mu (A)\) and \(\dim A\)? The answer is given by the following theorem of Krull, which we prove in this lecture and the next. It provides a lower estimate for the number of generators of an ideal in a Noetherian ring (and for the number of equations needed to describe an affine variety).

Theorem 6.18 (Krull’s height theorem). Let \(A\) be a Noetherian ring, and let \(I =(a_1,\ldots , a_r)\) be an ideal generated by \(r\) elements. Let \(\mathfrak {p} \subset A\) be a prime ideal which is minimal (with respect to inclusion) among the prime ideals containing \(I\). Then \[ h(\mathfrak {p}) \leq r. \]

Corollary 6.19. Let \(A\) be a Noetherian local ring with maximal ideal \(\mathfrak {m}\). Then \(\dim A \leq \mu (A)\). In particular, \(\dim A\) is finite.

Theorem 6.18 makes precise the intuition that each additional equation can decrease the dimension of the space of solutions by at most one. A Noetherian local ring \(A\) is said to be regular if \(\dim A = \mu (A)\).

\(\blacktriangleright \) For a point \(\mathbf {v} \in k^n\), the local ring \(A = k[X_1,\ldots ,X_n]_{\mathfrak {m}_\mathbf {v}}\) is regular of dimension \(n\). More generally, a point \(\mathbf {v}\) of an affine variety \(V\) is called a smooth point if \(\dim _k T_\mathbf {v} V = \dim k[V]_{\mathfrak {m}_\mathbf {v}}\), that is, if the local ring of \(V\) at \(\mathbf {v}\) is regular. By Corollary 6.19, \(\dim _k T_\mathbf {v} V \geq \dim k[V]_{\mathfrak {m}_\mathbf {v}}\) always, and the origin of the cusp is not a smooth point.

The proof of Theorem 6.18 is by induction on the number \(r\) of generators. The case \(r = 1\) is the hardest part, and we state it separately.

Theorem 6.21 (Krull’s principal ideal theorem / Hauptidealsatz). Let \(A\) be a Noetherian ring, let \(a \in A\) be a non-unit, and let \(\mathfrak {p}\) be a prime ideal which is minimal among the prime ideals containing \(a\). Then \(h(\mathfrak {p}) \leq 1\).

After localising at \(\mathfrak {p}\), the proof shows that a prime ideal \(\mathfrak {q} \subsetneq \mathfrak {p}\) has height \(0\) by means of its symbolic powers \(\mathfrak {q}^{(n)} \coloneqq \iota ^{-1}(\mathfrak {q}^n A_\mathfrak {q})\), where \(\iota : A \to A_\mathfrak {q}\) is the localisation map: since \(A/(a)\) is Artinian, they become stationary modulo \((a)\), and Nakayama’s lemma then gives \(\mathfrak {q}^{(n)} = \mathfrak {q}^{(n+1)}\) and \(\mathfrak {q}^nA_\mathfrak {q} = \{0\}\) for some \(n\). We think of the \(\mathfrak {q}^{(n)}\) as the functions vanishing to order at least \(n\) along the irreducible closed set \(W = \mathcal {V}(\mathfrak {q})\); they measure the room around \(W\), and the proof shows that there is none.

\(\blacktriangleright \) Geometrically, let \(f \in k[X_1, \ldots , X_n]\) be non-constant, with \(k\) algebraically closed. The irreducible components of the hypersurface \(\mathcal {V}(f)\) are the sets \(\mathcal {V}(\mathfrak {p})\), where \(\mathfrak {p}\) runs over the minimal prime ideals containing \(f\). The theorem says that each of these has \(h(\mathfrak {p}) \leq 1\), and since \((0) \subsetneq \mathfrak {p}\), in fact \(h(\mathfrak {p}) = 1\). Thus every irreducible component of a hypersurface has codimension one.

Here is an application of the principal ideal theorem.

Theorem 6.22. Let \(\mathfrak {p} \subset \mathfrak {q}\) be prime ideals in a Noetherian ring \(A\). If there exists a prime ideal strictly between them, then there are infinitely many.

\(\blacktriangleright \) In \(k[X,Y]\), the prime ideals strictly between \((0)\) and \((X,Y)\) are the ideals \((f)\) with \(f\) irreducible and \(f(0,0) = 0\), that is, the irreducible curves through the origin.

Lecture 21. Proof of the height theorem; dimension of polynomial rings [full lecture][pdf]

Let us now turn to the proof of Krull’s height theorem (Theorem 6.18) in general. We argue by induction on \(r\), the case \(r = 1\) being Theorem 6.21: after localising at \(\mathfrak {p}\), we take a prime ideal \(\mathfrak {q}\) which is maximal among the prime ideals strictly contained in \(\mathfrak {p}\), and use Theorem 6.21 in a quotient of \(A\) to find an ideal \(I_1 \subset \mathfrak {q}\) generated by \(r-1\) elements such that \(\mathfrak {q}\) is minimal among the prime ideals containing \(I_1\), so that \(h(\mathfrak {q}) \leq r-1\) by the induction hypothesis.

Theorem 6.18 has the following converse.

Theorem 6.23. Let \(A\) be a Noetherian ring, and let \(\mathfrak {p} \subset A\) be a prime ideal of height \(n\). Then there exist \(a_1, \ldots , a_n \in \mathfrak {p}\) such that \(\mathfrak {p}\) is minimal among the prime ideals containing \((a_1, \ldots , a_n)\).

The elements \(a_i\) are found one at a time, using prime avoidance (Proposition 2.9) to choose \(a_i \in \mathfrak {p}\) outside all the prime ideals which are minimal among those containing \((a_1, \ldots , a_{i-1})\).

Since Theorem 6.18 is now proved, so is Corollary 6.19: a Noetherian local ring has finite dimension. Somewhat disturbingly, a Noetherian ring need not have finite dimension (Nagata’s example, a localisation of the polynomial ring \(k[X_1, X_2, X_3, \ldots ]\) in infinitely many variables).

We can now compute the dimension of a polynomial ring, as promised in Lecture 17. When \(k\) is algebraically closed, the maximal ideals of \(k[X_1, \ldots , X_n]\) are the ideals \((X_1 - a_1, \ldots , X_n - a_n)\) by the weak Nullstellensatz (Theorem 4.29); for an arbitrary field we need the following version of it.

Theorem 6.24 (weak Nullstellensatz for an arbitrary field). Let \(k\) be an arbitrary field. Every maximal ideal \(\mathfrak {m} \subset k[X_1,\ldots ,X_n]\) is of the form \[ \mathfrak {m} = (f_1,f_2,\ldots , f_n) \text {\ with\ } f_i \in k[X_1,\ldots , X_i] = k[X_1,\ldots , X_{i-1}][X_i] \text {\ monic in\ } X_i .\]

By Zariski’s lemma (Lemma 4.30), the field \(K = k[X_1,\ldots ,X_n]/\mathfrak {m}\) is a finite extension of \(k\), and \(f_i\) is obtained from the minimal polynomial of \(\alpha _i = X_i + \mathfrak {m}\) over the field \(k[\alpha _1, \ldots , \alpha _{i-1}]\).

Corollary 6.25. For any field \(k\), \(\dim k[X_1,\ldots , X_n]=n\).

Indeed, the chain of prime ideals \((0) \subsetneq (X_1) \subsetneq (X_1, X_2) \subsetneq \ldots \subsetneq (X_1, \ldots , X_n)\) shows that the dimension is at least \(n\), as we saw in Lecture 17. Conversely, the dimension is the supremum of \(h(\mathfrak {m})\) over the maximal ideals \(\mathfrak {m}\), and by Theorem 6.24 each \(\mathfrak {m}\) is generated by \(n\) elements, hence \(h(\mathfrak {m}) \leq n\) by Theorem 6.18.

Lecture 22. The Cohen–Seidenberg theorems [full lecture][pdf]

Let \(V \subset k^n\) be an irreducible affine variety, so that \(\mathcal {I}(V) \subset k[X_1,\ldots , X_n]\) is a prime ideal, and let \(A = k[X_1,\ldots , X_n]/\mathcal {I}(V)\) be its coordinate ring. We now have two notions of dimension: the dimension \(\dim V = \deg HP_{\mathcal {I}(V)}(t)\) of the variety, defined by the Hilbert polynomial, and the Krull dimension \(\dim A\) of its coordinate ring, defined by chains of prime ideals. How do they compare?

Theorem 6.26. \(\dim V = \dim A\).

By the Noether normalisation lemma (Theorem 4.25), there exist algebraically independent elements \(a_1,\ldots , a_d \in A\) such that \(A\) is integral over \(k[a_1,\ldots , a_d]\). Then \(\{a_1,\ldots , a_d\}\) is a transcendence basis of \(\mathrm {Frac}(A)\) over \(k\), so \(d = \dim V\) by Corollary 4.28, while \(\dim k[a_1,\ldots , a_d] = d\) by Corollary 6.25. Thus Theorem 6.26 follows once we know that the Krull dimension does not change under integral extensions. This is part of the following theorem.

Theorem 6.27 (Cohen–Seidenberg). Let \(A \subset B\) be rings such that \(B\) is integral over \(A\).

(1) (Lying over) For every prime ideal \(\mathfrak {p} \subset A\), there exists a prime ideal \(\mathfrak {q} \subset B\) such that \(\mathfrak {q} \cap A = \mathfrak {p}\). In other words, the map \(\mathrm {Spec}(B) \to \mathrm {Spec}(A)\), \(\mathfrak {q} \mapsto \mathfrak {q} \cap A\), is surjective.

(2) (Incomparability) If \(\mathfrak {q}_1 \subset \mathfrak {q}_2\) are prime ideals of \(B\) such that \(\mathfrak {q}_1 \cap A = \mathfrak {q}_2 \cap A\), then \(\mathfrak {q}_1 = \mathfrak {q}_2\).

(3) (Going up) Given prime ideals \(\mathfrak {p}_0 \subset \mathfrak {p}_1\) of \(A\) and a prime ideal \(\mathfrak {q}_0 \subset B\) such that \(\mathfrak {q}_0 \cap A = \mathfrak {p}_0\), there exists a prime ideal \(\mathfrak {q}_1 \subset B\) such that \(\mathfrak {q}_0 \subset \mathfrak {q}_1\) and \(\mathfrak {q}_1 \cap A = \mathfrak {p}_1\).

As a consequence of (1), (2) and (3), we have \(\dim A = \dim B\).

If \(\mathfrak {q} \cap A = \mathfrak {p}\), we say that \(\mathfrak {q}\) lies over \(\mathfrak {p}\).

\(\blacktriangleright \) The ring \(B = k[X,Y]/(X^2-Y^2)\) is integral over \(A = k[Y]\), and the prime ideals of \(B\) lying over \((Y - c)\) are \((X - c, Y - c)\) and \((X + c, Y - c)\): the points of the two lines \(X = \pm Y\) above the point \(c\) of the \(Y\)-axis. On the other hand, \(C = k[X,Y]/(XY-1)\) is not integral over \(k[X]\), and no prime ideal of \(C\) lies over \((X)\), since \(X\) is a unit in \(C\): no point of the hyperbola lies above \(0\). Incomparability can also fail for extensions which are not integral: in \(k \subset k[X]\), the prime ideals \((0) \subset (X)\) both lie over \((0)\).

We need two lemmas for the proof. By Lemma 6.28, if \(B\) is integral over \(A\), then \(B/I\) is integral over \(A/(I \cap A)\) for every ideal \(I\) of \(B\), and \(S^{-1}B\) is integral over \(S^{-1}A\) for every multiplicative set \(S \subset A\).

Lemma 6.29. Let \(A \subset B\) be rings such that \(B\) is integral over \(A\), and let \(\mathfrak {q} \subset B\) be a prime ideal. Then \(\mathfrak {q}\) is a maximal ideal of \(B\) if and only if \(\mathfrak {q} \cap A\) is a maximal ideal of \(A\).

For (1) and (2) one localises at \(S = A \setminus \mathfrak {p}\), after which Lemma 6.29 applies, and (3) is (1) for the integral extension \(A/\mathfrak {p}_0 \subset B/\mathfrak {q}_0\). This also completes the proof of Theorem 6.26.

\(\blacktriangleright \) We can now justify the geometric picture of integral extensions from Lectures 10 and 11. Let \(k\) be algebraically closed, and let \(\phi : V \to W\) be a regular mapping of affine varieties such that \(\phi ^*: k[W] \to k[V]\) is injective and \(k[V]\) is integral over the subring \(\phi ^*(k[W])\). Then \(\phi \) is surjective, by lying over and Lemma 6.29. In particular, the map \(\pi : V \to k^d\) given by a Noether normalisation of \(k[V]\) is surjective.

\(\blacktriangleright \) There is also a going-down theorem. Let \(A \subset B\) be integral domains such that \(B\) is integral over \(A\) and \(A\) is normal. Given prime ideals \(\mathfrak {p}_0 \subset \mathfrak {p}_1\) of \(A\) and a prime ideal \(\mathfrak {q}_1 \subset B\) lying over \(\mathfrak {p}_1\), there exists a prime ideal \(\mathfrak {q}_0 \subset \mathfrak {q}_1\) of \(B\) lying over \(\mathfrak {p}_0\).

Lecture 23. Valuation rings [full lecture][pdf]

We saw that the \(0\)-dimensional Noetherian rings are precisely the Artinian rings. We next want to explore the structure of \(1\)-dimensional Noetherian rings. We begin with a class of local rings which, as we shall see in the next two lectures, contains the most important local rings of dimension one.

Let \(R\) be an integral domain and \(K\) its field of fractions. We say that \(R\) is a valuation ring, or a valuation ring of \(K\), if for all \(x \in K \setminus \{0\}\) we have \(x \in R\) or \(x^{-1}\in R\). Obviously, \(K\) itself is a valuation ring of \(K\). Here is a more interesting example. For a prime number \(p\), the local ring \[ \mathbb {Z}_{(p)} = \{ \tfrac {a}{b} \in \mathbb {Q} : p \nmid b \} \] is a valuation ring of \(\mathbb {Q}\): write \(x \in \mathbb {Q} \setminus \{0\}\) as \(\frac {a}{b}\) in lowest terms; if \(p \nmid b\), then \(x \in \mathbb {Z}_{(p)}\), and otherwise \(p \nmid a\), so that \(x^{-1} = \frac {b}{a} \in \mathbb {Z}_{(p)}\). The same argument shows that if \(A\) is a UFD with field of fractions \(K\) and \(\pi \in A\) is a prime element, then \(A_{(\pi )} = \{ \tfrac {a}{b} : a,b \in A, \pi \nmid b \}\) is a valuation ring of \(K\). For example, \(k[X]_{(X)}\) is a valuation ring of \(k(X)\). The ring \(k[[X]]\) is also a valuation ring; its field of fractions is the field of formal Laurent series \(k((X)) \coloneqq k[[X]][X^{-1}]\).

\(\blacktriangleright \) The ring \(\mathbb {Z}\) is not a valuation ring, since neither \(\frac {2}{3}\) nor \(\frac {3}{2}\) is an integer. A local integral domain need not be a valuation ring either: neither \(\frac {X}{Y}\) nor \(\frac {Y}{X}\) lies in \(k[X,Y]_{(X,Y)}\).

Proposition 6.31. Let \(R\) be a valuation ring with field of fractions \(K\).

(i) If \(I\) and \(J\) are ideals of \(R\), then \(I \subset J\) or \(J \subset I\).

(ii) \(R\) is a local ring. Its maximal ideal, which we denote by \(\mathfrak {m}_R\), is the set of non-units of \(R\).

(iii) \(K \setminus R = \{ x\in K \setminus \{0\} : x^{-1} \in \mathfrak {m}_R\}\).

Our next aim is to show that valuation rings exist in abundance. Let \(A \subset B\) be rings. We say that an ideal \(I \subset A\) survives in \(B\) if \(IB \neq B\), or equivalently \(1 \notin IB\).

Lemma 6.32. Let \(R\) be a subring of a field \(K\), let \(I\) be a proper ideal of \(R\), and let \(x \in K \setminus \{0\}\). Then \(I\) survives in \(R[x]\) or in \(R[x^{-1}]\).

Theorem 6.33. Let \(K\) be a field, \(A \subset K\) a subring, and \(\mathfrak {p} \subset A\) a prime ideal. Then there exists a valuation ring \(R\) of \(K\) such that \(A \subset R\) and \(\mathfrak {m}_R \cap A = \mathfrak {p}\).

After replacing \(A\) by \(A_\mathfrak {p}\), Zorn’s lemma gives a subring \(R\) of \(K\) which is maximal among the subrings containing \(A\) in which \(\mathfrak {p}\) survives, and \(R\) is a valuation ring by Lemma 6.32.

Theorem 6.34. Let \(K\) be a field.

(i) Every valuation ring \(R\) of \(K\) is integrally closed in \(K\). In other words, valuation rings are normal.

(ii) Let \(A \subset K\) be a subring. Then \[ \overline {A}_K = \{ x \in K : x \text { integral over } A \} = \bigcap _{A\subset R \subset K} R, \] where the intersection is taken over all valuation rings \(R\) of \(K\) containing \(A\).

\(\blacktriangleright \) Here is Theorem 6.34(ii) for \(A = \mathbb {Z}\) and \(K = \mathbb {Q}\). The valuation rings of \(\mathbb {Q}\) are \(\mathbb {Q}\) itself and the rings \(\mathbb {Z}_{(p)}\) for the prime numbers \(p\), so their intersection is \(\bigcap _p \mathbb {Z}_{(p)}\), the set of rational numbers whose denominator in lowest terms is not divisible by any prime number. This is \(\mathbb {Z}\), which is indeed the integral closure of \(\mathbb {Z}\) in \(\mathbb {Q}\), as we saw in Lecture 10.

Lecture 24. Valuations and discrete valuation rings [full lecture][pdf]

Why are valuation rings called valuation rings? A valuation ring of a field \(K\) always comes from a function on \(K\), called a valuation, which behaves like the order of vanishing of a rational function at a point. The values of a valuation lie in an ordered abelian group \(\Gamma \), that is, an abelian group with a total order \(\leq \) such that \(a \leq b\) and \(c \leq d\) imply \(a+c \leq b+d\) for all \(a,b,c,d\in \Gamma \).

We extend the order and the addition of \(\Gamma \) to \(\Gamma \cup \{\infty \}\) by \(\gamma < \infty \) and \(\gamma + \infty = \infty + \infty = \infty \) for all \(\gamma \in \Gamma \). A map \(\nu : K \to \Gamma \cup \{ \infty \}\) is called a valuation of \(K\) if, for all \(x,y \in K\), (1) \(\nu (xy) = \nu (x) + \nu (y)\), (2) \(\nu (x+y) \geq \min \{ \nu (x), \nu (y)\}\), (3) \(\nu (x) = \infty \) if and only if \(x=0\). Writing \(K^\times = K \setminus \{0\}\), the subgroup \(\nu (K^\times )\) of \(\Gamma \) is called the value group of \(\nu \).

\(\blacktriangleright \) The subset \(R_\nu \coloneqq \{ x \in K : \nu (x) \geq 0 \}\) is a valuation ring of \(K\), with maximal ideal \(\mathfrak {m}_\nu = \{ x\in K : \nu (x) >0\}\).

Every valuation ring arises in this way.

Proposition 6.37. Let \(R\) be a valuation ring of a field \(K\). Then there exist an ordered abelian group \(\Gamma \) and a valuation \(\nu : K \to \Gamma \cup \{\infty \}\) such that \(R= R_\nu \).

The proof takes \(\Gamma = K^\times / R^\times \), the value group of \(R\), where \(R^\times \) is the group of units of \(R\), ordered by \(xR^\times \leq yR^\times \) if and only if \(yx^{-1} \in R\).

We next want to understand the valuation rings that are Noetherian. A discrete valuation of a field \(K\) is a surjective valuation \(\nu : K \to \mathbb {Z} \cup \{\infty \}\). An integral domain \(R\) with field of fractions \(K\) is called a discrete valuation ring (DVR) if \(R = R_\nu \) for a discrete valuation \(\nu \) of \(K\).

Theorem 6.39. Let \(R\) be a valuation ring with field of fractions \(K\), and suppose that \(R \neq K\). Then the following are equivalent: (1) \(R\) is a discrete valuation ring, (2) \(R\) is a principal ideal domain, (3) \(R\) is Noetherian.

\(\blacktriangleright \) Let \(R\) be a DVR with discrete valuation \(\nu \). An element \(t \in R\) with \(\nu (t) = 1\) is called a uniformiser of \(R\). The uniformisers are the generators of \(\mathfrak {m}_R\), and the non-zero ideals of \(R\) are \(R \supsetneq (t) \supsetneq (t^2) \supsetneq (t^3) \supsetneq \ldots \) In particular, \(\dim R = 1\).

\(\blacktriangleright \) \(\mathbb {Z}_{(p)}\) is a DVR with uniformiser \(p\). Its discrete valuation is the \(p\)-adic valuation \(\nu _p : \mathbb {Q} \to \mathbb {Z} \cup \{\infty \}\), with \(\nu _p(p^n \frac {a}{b}) = n\) for integers \(a, b\) not divisible by \(p\); for example, \(\nu _2(12) = 2\) and \(\nu _5(\frac {3}{50}) = -2\). Likewise, \(k[X]_{(X)}\) is a DVR with uniformiser \(X\), and its discrete valuation is the order of vanishing at \(0\).

\(\blacktriangleright \) Not every valuation is discrete: the field of Puiseux series \(K = \bigcup _{n\geq 1} k(( t^{\frac {1}{n}} ))\) has a valuation \(\nu : K \to \mathbb {Q} \cup \{\infty \}\) with value group \(\mathbb {Q}\), which sends a non-zero series to the smallest exponent of \(t\) occurring in it with a non-zero coefficient.

Finally, we state the main theorem on DVRs, which characterises them among all rings and is proved in the next lecture.

Theorem 6.40. Let \(R\) be a ring. The following are equivalent:

(1) \(R\) is a discrete valuation ring,

(2) \(R\) is a local principal ideal domain and not a field,

(3) \(R\) is Noetherian, local, \(\dim R > 0\) and its maximal ideal is principal,

(4) \(R\) is Noetherian, local, normal and \(\dim R =1\).

\(\blacktriangleright \) Condition (3) says that \(\dim R = \mu (R) = 1\): the DVRs are precisely the regular local rings of dimension one. Condition (4) then says that a Noetherian local integral domain of dimension one is regular if and only if it is normal. For example, let \(A = k[X,Y]/(Y^2 - X^3)\) be the coordinate ring of the cusp and \(\mathfrak {m}\) the maximal ideal of the origin. Then \(\mu (A_\mathfrak {m}) = 2\) by Lecture 19, so \(A_\mathfrak {m}\) is not a DVR; indeed, it is not normal.

Lecture 25. Artin–Rees, Krull's intersection theorem and the main theorem on DVRs [full lecture][pdf]

In this lecture we prove Theorem 6.40. The main point is to show that a Noetherian local ring whose maximal ideal \(\mathfrak {m} = (t)\) is principal looks like a discrete valuation ring: every non-zero element is of the form \(ut^n\) with \(u\) a unit. For this we must know that \(\bigcap _{n} \mathfrak {m}^n = (0)\). This is Krull’s intersection theorem, which we deduce from the Artin–Rees lemma.

Let \(A\) be a ring and \(I \subset A\) an ideal. The Rees algebra or blow-up algebra of \(I\) in \(A\) is the subring \[ B_I A \coloneqq \bigoplus _{n\geq 0} I^n T^n \subset A[T], \] where \(I^0 = A\). If \(I = (a_1, \ldots , a_r)\), then \(B_IA = A[a_1T, \ldots , a_rT]\), so \(B_IA\) is Noetherian if \(A\) is, by Hilbert’s basis theorem (Theorem 4.1). An \(I\)-filtration of an \(A\)-module \(M\) is a descending chain \(M = M_0 \supset M_1 \supset \ldots \) of submodules such that \(I M_n \subset M_{n+1}\) for all \(n \geq 0\). It is called \(I\)-stable if \(I M_n = M_{n+1}\) for all sufficiently large \(n\). The main example is the \(I\)-adic filtration \(M_n = I^nM\), which is \(I\)-stable. For any \(I\)-filtration, \(B_I M \coloneqq \bigoplus _{n \geq 0} M_n T^n\) is a module over \(B_IA\). If \(A\) is Noetherian and \(M\) is finitely generated, then \(B_IM\) is a finitely generated \(B_IA\)-module if and only if the filtration \((M_n)_{n\geq 0}\) is \(I\)-stable (Proposition 6.43).

Lemma 6.44 (Artin–Rees). Let \(A\) be a Noetherian ring, \(I \subset A\) an ideal, \(M\) a finitely generated \(A\)-module and \(N \subset M\) a submodule. Then there exists \(c \geq 0\) such that \[ I^nM \cap N = I^{n-c} (I^c M \cap N) \text {\ for all\ } n \geq c. \]

The proof applies Proposition 6.43 to the \(I\)-filtration \((I^nM \cap N)_{n \geq 0}\) of \(N\), using that the ring \(B_IA\) is Noetherian.

\(\blacktriangleright \) The lemma says that the \(I\)-adic filtration \((I^nN)_{n \geq 0}\) of \(N\) and the filtration \((I^nM \cap N)_{n \geq 0}\) induced by the \(I\)-adic filtration of \(M\) differ by a bounded shift: \(I^nN \subset I^nM \cap N \subset I^{n-c}N\) for all \(n \geq c\). For \(A = M = k[X]\), \(I = (X)\) and \(N = (X^2)\) we have \(I^nN = (X^{n+2})\) and \(I^nM \cap N = (X^n)\) for \(n \geq 2\), and we can take \(c = 2\).

Corollary 6.45 (Krull’s intersection theorem). Let \(A\) be a Noetherian local ring with maximal ideal \(\mathfrak {m}\), and let \(M\) be a finitely generated \(A\)-module. Then \[ \bigcap _{n \geq 0} \mathfrak {m}^n M = \{ 0\} . \] In particular, for \(M=A\), we have \(\bigcap _{n \geq 0} \mathfrak {m}^n = (0)\).

Indeed, the Artin–Rees lemma gives \(N = \mathfrak {m}N\) for \(N \coloneqq \bigcap _{n \geq 0} \mathfrak {m}^nM\), and Nakayama’s lemma (Lemma 6.16) gives \(N = \{0\}\).

\(\blacktriangleright \) Think of the elements of \(\mathfrak {m}^n\) as the functions which vanish to order at least \(n\) at a point. Then the theorem says that only the zero function vanishes to infinite order. This fails for infinitely differentiable functions of a real variable \(x\): the function \(e^{-1/x^2}\), extended by \(0\) at \(x = 0\), is divisible by \(x^n\) for all \(n\).

We can now prove Theorem 6.40. For \((3) \implies (1)\), Krull’s intersection theorem shows that every non-zero element of \(R\) is of the form \(ut^n\) with \(u\) a unit and \(n \geq 0\), from which it follows that \(R\) is an integral domain and a valuation ring, hence a discrete valuation ring by Theorem 6.39. For \((4) \implies (3)\) we must show that \(\mathfrak {m}\) is principal. If some element \(s\) of the field of fractions \(K\) of \(R\) satisfies \(s\mathfrak {m} = R\), then \(\mathfrak {m} = s^{-1}R\) is principal. Step 1 finds \(s \in K \setminus R\) with \(s\mathfrak {m} \subset R\); this uses that \(\dim R = 1\). Then \(s\mathfrak {m}\) is an ideal of the local ring \(R\), so it is either contained in \(\mathfrak {m}\) or equal to \(R\). Step 2 excludes the first possibility: \(s\mathfrak {m} \subset \mathfrak {m}\) would make \(s\) integral over \(R\), but \(R\) is normal.

\(\blacktriangleright \) The cusp shows that both steps are needed. Let \(R\) be the local ring at the origin of \(k[X,Y]/(Y^2-X^3)\), a Noetherian local integral domain of dimension one with maximal ideal \(\mathfrak {m} = (x,y)\). The element \(s = \frac {y}{x}\) is not in \(R\), but \(s x = y\) and \(s y = x^2\) are, so \(s\) is as in Step 1. But \(s\mathfrak {m} = (y, x^2) \subset \mathfrak {m}\), so Step 2 fails: \(s\) is integral over \(R\), as \(s^2 = x\), and \(\mathfrak {m}\) is not principal.

Lecture 26. Dedekind domains [full lecture][pdf]

A discrete valuation ring is a local ring: it sees one prime number of \(\mathbb {Z}\), or one point of a curve, at a time. In this lecture we study the global version. The main result is that in a Dedekind domain every non-zero ideal is a product of prime ideals in a unique way. This restores the unique factorisation which fails for elements, as we saw in Lecture 1 for \(\mathbb {Z}[\sqrt {-5}]\).

Let \(R\) be an integral domain with field of fractions \(K\). A fractional ideal of \(R\) is a non-zero \(R\)-submodule \(I \subset K\) for which there exists a non-zero element \(a \in R\) such that \(aI \subset R\). Fractional ideals are multiplied like ideals, and for a fractional ideal \(I\), \[ I^{-1} \coloneqq \{ b \in K : bI \subset R\} \] is again a fractional ideal. We say that \(I\) is invertible if \(II^{-1} = R\). Every non-zero principal fractional ideal \((x) = Rx\), \(x \in K^\times \), is invertible, with inverse \((x^{-1})\), but the ideal \(I = (X,Y)\) of \(k[X,Y]\) is not: here \(I^{-1} = k[X,Y]\).

An integral domain \(R\) is called a Dedekind domain if every non-zero ideal of \(R\) is invertible; then every fractional ideal is invertible. Every principal ideal domain is a Dedekind domain. To characterise them, we need to know that normality can be checked locally: an integral domain \(R\) is normal if and only if \(R_{\mathfrak {m}}\) is normal for all maximal ideals \(\mathfrak {m}\) (Proposition 6.49).

Theorem 6.50. For an integral domain \(R\), the following conditions are equivalent: (1) Every non-zero ideal of \(R\) is invertible. (2) \(R\) is either a field or a Noetherian, normal ring of dimension 1. (3) \(R\) is Noetherian, and \(R_{\mathfrak {p}}\) is a DVR for every non-zero prime ideal \(\mathfrak {p}\) of \(R\).

\(\blacktriangleright \) The ring of integers \(\mathcal {O}_K\) of a number field \(K\), the integral closure of \(\mathbb {Z}\) in \(K\), is a Dedekind domain: it is normal, \(\dim \mathcal {O}_K = \dim \mathbb {Z} = 1\) by Theorem 6.27, and it is Noetherian, which we do not prove here.

Theorem 6.51. Let \(R\) be a Dedekind domain. Every non-zero ideal \(I \neq R\) of \(R\) can be written as a product of a finite number of prime ideals, and this factorisation is unique up to the order of the factors.

\(\blacktriangleright \) We can now return to the example of Lecture 1. The ring \(\mathbb {Z}[\sqrt {-5}]\) is a Dedekind domain, in which \[ 21 = 3 \cdot 7 = (1+ 2 \sqrt {-5}) (1-2 \sqrt {-5}) . \] The ideals \(\mathfrak {p} = (3, 1+2\sqrt {-5})\), \(\mathfrak {p}' = (3, 1-2\sqrt {-5})\), \(\mathfrak {q} = (7, 1+2\sqrt {-5})\) and \(\mathfrak {q}' = (7, 1-2\sqrt {-5})\) are maximal, and \(\mathfrak {p}\mathfrak {p}' = (3)\), \(\mathfrak {q}\mathfrak {q}' = (7)\), \(\mathfrak {p}\mathfrak {q} = (1+2\sqrt {-5})\), \(\mathfrak {p}'\mathfrak {q}' = (1-2\sqrt {-5})\). Therefore \[ (21) = (3)(7) = \mathfrak {p}\mathfrak {p}' \cdot \mathfrak {q}\mathfrak {q}' \quad \text {and} \quad (21) = (1+2\sqrt {-5})(1-2\sqrt {-5}) = \mathfrak {p}\mathfrak {q} \cdot \mathfrak {p}'\mathfrak {q}' . \] The two factorisations of the number \(21\) are two ways of grouping the same four prime ideals.

\(\blacktriangleright \) Geometrically, for a field \(k\) of characteristic different from \(2\), the coordinate ring \(R = k[X,Y]/(Y^2 - X^3 + X)\) of the curve \(Y^2 = X^3 - X\) is a Dedekind domain. The curve meets the \(X\)-axis in the points \(P_c = (c,0)\), \(c \in \{-1,0,1\}\), with maximal ideals \(\mathfrak {p}_c = (x-c,\, y)\), and \[ (x) = \mathfrak {p}_0^2, \quad (x-1) = \mathfrak {p}_1^2, \quad (x+1) = \mathfrak {p}_{-1}^2, \quad (y) = \mathfrak {p}_{-1}\, \mathfrak {p}_0\, \mathfrak {p}_1 . \] The function \(y\) vanishes to first order at each of the three points, while \(x\) vanishes only at \(P_0\), but to second order, because the line \(X = 0\) is tangent to the curve at \(P_0\).

Corollary 6.52. If \(R\) is a Dedekind domain, the fractional ideals of \(R\) form an abelian group with respect to multiplication. It is freely generated by the non-zero prime ideals of \(R\).

The quotient of this group by the subgroup of principal fractional ideals is called the ideal class group of \(R\). It is trivial if and only if \(R\) is a principal ideal domain, so it measures how far \(R\) is from being one. For \(\mathbb {Z}[\sqrt {-5}]\) it has two elements: the class of the principal ideals and the class of the ideal \(\mathfrak {p}\) above.

Lecture 27. Completion of a discrete valuation ring [full lecture][pdf]

Recall that \(\mathbb {R}\) is constructed as a completion of \(\mathbb {Q}\) using the distance function \(d(x,y)=|x-y|\), via Cauchy sequences. We can adapt this in ring theory, and we begin with discrete valuation rings.

Let \(K\) be a field and \(\nu : K \to \mathbb {Z} \cup \{ \infty \}\) a discrete valuation. Let \(r \in \mathbb {R}\) with \(r>1\), and set \(|x|_{\nu } = r^{-\nu (x)}\) for \(x\in K\), with \(r^{-\infty } = 0\). This is a norm on \(K\): \[ |xy|_{\nu } = |x|_{\nu } |y|_{\nu }, \qquad |x+y|_{\nu } \leq \mathrm {max} \{ |x|_{\nu } , |y|_{\nu } \}, \qquad |x|_{\nu } =0 \iff x=0. \] The second property is called the non-archimedean property. It implies the triangle inequality, so \(d(x,y) = |x-y|_\nu \) is a distance function, which gives \(K\) a topology not depending on \(r\). In non-archimedean geometry every triangle is isosceles:

Lemma 6.53. If \(|x|_{\nu } < |y|_{\nu }\) then \(|x-y|_{\nu } = |y|_{\nu }\).

A sequence \((x_n)_{n \geq 1}\) in \(K\) is a Cauchy sequence if for all \(N >0\) there exists \(n_0 \geq 1\) such that \(\nu (x_n-x_m) >N\) for all \(n,m \geq n_0\), and \(K\) is called complete with respect to \(\nu \) if every Cauchy sequence in \(K\) has a limit in \(K\). We write \(K_\nu \) for \(K\) considered together with \(\nu \), with valuation ring \(R_\nu \), maximal ideal \(\mathfrak {m}_\nu \) and residue field \(k_\nu = R_\nu / \mathfrak {m}_\nu \). A field \(\hat {K}_\nu \supset K_{\nu }\) with a discrete valuation \(\hat {\nu }\) extending \(\nu \) is a completion of \(K_{\nu }\) if \(\hat {K}_{\nu }\) is complete with respect to \(\hat {\nu }\) and \(K_\nu \) is dense in \(\hat {K}_\nu \).

A completion is constructed as for \(\mathbb {R}\). The Cauchy sequences in \(K\) form a ring \(\mathcal {C}_{\nu }\), in which the sequences with limit \(0\) form a maximal ideal \(\mathcal {I}_{\nu }\). Hence \(\hat {K}_{\nu } \coloneqq \mathcal {C}_{\nu } / \mathcal {I}_{\nu }\) is a field, which contains \(K_\nu \) as the classes of the constant sequences. If \((x_n) \in \mathcal {C}_{\nu } \setminus \mathcal {I}_\nu \), then \(\nu (x_n)\) is constant and finite for large \(n\) (Lemma 6.54). So for \(0 \neq \alpha \in \hat {K}_{\nu }\) represented by \((x_n)\) we can define \[ \hat {\nu }(\alpha ) \coloneqq \mathrm {lim}_{n\to \infty }\nu (x_n) \quad \text {and} \quad \hat {\nu }(0) \coloneqq \infty . \] This is a well-defined discrete valuation of \(\hat {K}_\nu \) extending \(\nu \) (Lemma 6.55).

Theorem 6.56. The field \(\hat {K}_{\nu }\) with the valuation \(\hat {\nu }\) is a completion of \(K_\nu \). More precisely: (i) If \(\alpha \in \hat {K}_{\nu }\) is represented by \((x_n)_{n \geq 1} \in \mathcal {C}_{\nu }\), then \(\lim _{n \to \infty } x_n = \alpha \). In particular, \(K_\nu \) is dense in \(\hat {K}_{\nu }\). (ii) Every Cauchy sequence in \(\hat {K}_{\nu }\) converges.

\(\blacktriangleright \) For \(K = \mathbb {Q}\) and the \(p\)-adic valuation \(\nu _p\), the completion is the field of \(p\)-adic numbers, the subject of the next lecture. For \(K = k(X)\) and the order of vanishing at \(0\), it is the field \(k((X))\) of formal Laurent series.

The valuation ring \(\hat {R}_\nu = \{ x \in \hat {K}_\nu : \hat {\nu }(x) \geq 0 \}\), with maximal ideal \(\hat {\mathfrak {m}}_\nu \), is called the completion of the discrete valuation ring \(R_\nu \). We have \(R_\nu = \hat {R}_\nu \cap K\), and an element \(t \in R_\nu \) with \(\nu (t)=1\) is a uniformiser of both rings.

Lemma 6.57. For all \(n \geq 1\), the inclusion \(R_\nu \subset \hat {R}_\nu \) induces an isomorphism of rings \[ R_{\nu }/t^{n}R_{\nu } \simeq \hat {R}_{\nu } / t^n \hat {R}_{\nu }. \] In particular, \(R_\nu \) and \(\hat {R}_\nu \) have the same residue field: \(k_\nu = R_\nu /\mathfrak {m}_\nu \simeq \hat {R}_\nu / \hat {\mathfrak {m}}_\nu \).

An infinite sum \(\sum _{n \geq 0} x_n\) of elements of \(\hat {K}_\nu \) converges if and only if \(\lim _{n \to \infty } x_n = 0\). For example, \(\sum _{n \geq 0} t^n = \frac {1}{1-t}\).

Proposition 6.58. Let \(A \subset \hat {R}_\nu \) be a set of representatives of \(k_{\nu }= \hat {R}_{\nu } / \hat {\mathfrak {m}}_{\nu }\); for example, by Lemma 6.57, any set of representatives of \(R_\nu /\mathfrak {m}_\nu \) in \(R_\nu \). Then for every sequence \((a_m)_{m \geq 0}\) of elements of \(A\) the sum \(\sum _{m=0}^\infty a_m t^m\) converges in \(\hat {R}_\nu \), and every element of \(\hat {R}_{\nu }\) can be written uniquely as \(\sum _{m=0}^\infty a_m t^m\) with \(a_m \in A\). If \(A \subset R_\nu \), then a representative Cauchy sequence \((x_n)_{n \geq 0}\) is given by the partial sums \(x_n = \sum _{m=0}^n a_m t^m \in R_\nu \).

However, determining the coefficients of a sum or a product of two such series can be quite complicated: the proposition does not mean that every \(\hat {R}_{\nu }\) is isomorphic to \(k_{\nu }[[t]]\). For \(R_\nu = \mathbb {Z}_{(p)}\), \(t = p\) and \(A = \{0, 1, \ldots , p-1\}\), the digits \(a_m\) are added with carries, as in decimal arithmetic, and \(\hat {R}_\nu \) is not isomorphic to \(\mathbb {F}_p[[t]]\), because \(p \neq 0\) in \(\hat {R}_\nu \). On the other hand, if \(A \subset R_\nu \), the coefficients up to degree \(n\) can be computed in \(R_\nu \) modulo \(t^{n+1}\), thanks to Lemma 6.57. In fact, the lemma shows that \(\hat {R}_\nu \) is determined by the rings \(R_\nu /t^nR_\nu \) for \(n \geq 1\); we shall make this precise in Lecture 29.

Lecture 28. p-adic numbers and Hensel's lemma [full lecture][pdf]

In this lecture we look at the most important example of a completion, the \(p\)-adic numbers, and we prove Hensel’s lemma, which finds roots of polynomials in the completion of a discrete valuation ring.

Let \(p\) be a prime number. The field of \(p\)-adic numbers is \(\mathbb {Q}_p = \hat {\mathbb {Q}}_{\nu _p}\), the completion of \(\mathbb {Q}\) with respect to the \(p\)-adic valuation \(\nu _p\), and the \(p\)-adic integers are \[ \mathbb {Z}_p \coloneqq \{ a \in \mathbb {Q}_p : \hat {\nu }_p(a) \geq 0 \}, \] the completion of \(\mathbb {Z}_{(p)}\), a local ring with maximal ideal \((p)\). By Lemma 6.57, \(\mathbb {Z}_p /(p^s) \simeq \mathbb {Z}/p^s\) for all \(s \geq 1\), and in particular \(\mathbb {Z}_p /(p) \simeq \mathbb {F}_p\). By Proposition 6.58, every \(p\)-adic integer can be written uniquely as \[ \sum _{m=0}^\infty a_m p^m \quad \text {with } a_m \in \{0, 1, \ldots , p-1\}, \] and every such series converges. So a \(p\)-adic integer is a number written in base \(p\) with possibly infinitely many digits.

Let us now consider the equation \(X^5 = X\) in \(\mathbb {Z}_5\). In \(\mathbb {F}_5 = \mathbb {Z}_5/(5)\) the solutions are \(\{0,1,2,3,4\}\), and we wish to lift them to \(\mathbb {Z}_{5}\). Clearly, \(0\) and \(1\) in \(\mathbb {Z}_5\) lift \(0\) and \(1\) in \(\mathbb {F}_5\), and \(-1 = 4 + 4\cdot 5 + 4 \cdot 5^2 + \ldots \) lifts \(4\). To lift \(2\), we solve \((2+ a_1 5 + a_2 5^2 + \ldots )^4 = 1\) level by level, looking at the equation in \(\mathbb {Z}/ 5^s\) for \(s=1,2,\ldots \). This gives \(a_1 = 1\), \(a_2 = 2\), \(a_3 = 1\), so the root lifting \(2\) is \(2 + 1 \cdot 5 + 2 \cdot 5^2 + 1 \cdot 5^3 + \ldots \), and its additive inverse \(3 + 3 \cdot 5 + 2 \cdot 5^2 + 3 \cdot 5^3 + \ldots \) lifts \(3\).

Hensel’s lemma is a generic term for results which infer the existence of a solution in \(\hat {R}_{\nu }\) from an approximate solution using Newton’s method. We return to the general setting of Lecture 27, with \(|\cdot |\) the norm on \(\hat {K}_\nu \), and write \(f'\) for the formal derivative of a polynomial \(f\).

Lemma 6.59 (Hensel’s lemma). Let \(f \in \hat {R}_{\nu }[X]\), and let \(x_0 \in \hat {R}_\nu \) be such that \[ |f(x_0)| < |f'(x_0)|^2 . \] Then there exists a unique root \(x\) of \(f\) in \(\hat {K}_{\nu }\) satisfying \(|x-x_0| < |f'(x_0)|\), and \(x \in \hat {R}_\nu \). Furthermore, \(|x-x_0| = |f(x_0)|/|f'(x_0)|\) and \(|f'(x)| = |f'(x_0)|\).

Corollary 6.60. Let \(f \in \hat {R}_\nu [X]\), and let \(\overline {f} \in k_\nu [X]\) be the polynomial obtained by reducing the coefficients of \(f\) modulo \(\hat {\mathfrak {m}}_\nu \). Suppose that \(\overline {x}_0 \in k_\nu \) is a simple root of \(\overline {f}\), that is, \(\overline {f}(\overline {x}_0)=0\) and \(\overline {f}' (\overline {x}_0) \neq 0\). Then there exists a unique root \(x \in \hat {R}_\nu \) of \(f\) whose class in \(k_\nu \) is \(\overline {x}_0\).

The root is the limit of the sequence defined by Newton’s formula \(x_{n+1} = x_n - \frac {f(x_n)}{f'(x_{n})}\). In the non-archimedean setting it is guaranteed that this sequence converges, whereas in the real case it usually converges but not always, and the convergence is very fast: the number of correct digits of \(x_n\) roughly doubles at each step.

\(\blacktriangleright \) Here is an example where the corollary does not apply but the lemma does. Let \(f(X) = X^2 - 17 \in \mathbb {Z}_2[X]\) and \(x_0 = 1\). Modulo \(2\) we get \(\overline {f} = (X-1)^2\), so \(1\) is not a simple root of \(\overline {f}\). However, \(|f(1)|_2 = 2^{-4}\) and \(|f'(1)|_2^2 = 2^{-2}\), so \(17\) is a square in \(\mathbb {Z}_2\).

Corollary 6.61. Consider \(f(X) = X^{p-1}-1 \in \mathbb {Z}[X] \subset \mathbb {Z}_p[X]\). Then, for every \(\xi \in \mathbb {F}^\times _p\) there exists a unique \([\xi ] \in \mathbb {Z}_p\) such that \(f([\xi ])=0\) and \([\xi ] = \xi \in \mathbb {Z}_p / (p) = \mathbb {F}_p\).

The element \([\xi ]\) is called the Teichmüller representative of \(\xi \); we put \([0]=0\). The Teichmüller representatives are multiplicative, \([\xi \eta ] = [\xi ]\,[\eta ]\), but not additive. In \(\mathbb {Z}_5\) we found above that \([2]= 2+ 1 \cdot 5 +2 \cdot 5^2 + \ldots \) and \([4] = -1\); note that \([2]^2 = [4] = -1\), so \(-1\) has a square root in \(\mathbb {Z}_5\). By Proposition 6.58, any element of \(\mathbb {Z}_p\) can be written uniquely as \[ \sum _{m=0}^\infty [a_m] p^m \quad \text {with } a_m \in \mathbb {F}_p . \]This Teichmüller representation is preferable over the representation with the digits \(\{ 0,1,\ldots , p-1\}\) because the digits are multiplicative, and because of the following result, which we do not prove.

Theorem 6.62 (Witt). There exist polynomials \(P_n , Q_n \in \mathbb {Z}[X_0,X_1,\ldots , X_n,Y_0,Y_1,\ldots , Y_n]\) for \(n \geq 0\), depending only on \(p\) and given by explicit recursive formulas, such that given \(a_m, b_m \in \mathbb {F}_p\) for \(m \geq 0\), if we define \(c_n = P_n(a_0,\ldots , a_n, b_0,\ldots , b_n)\) and \(d_n = Q_n(a_0,\ldots , a_n, b_0, \ldots , b_n)\), then \[ \sum _{m=0}^\infty [a_m] p^m + \sum _{m=0}^\infty [b_m] p^m = \sum _{m=0}^\infty [c_m] p^m, \] \[ \left ( \sum _{m=0}^\infty [a_m] p^m \right ) \cdot \left ( \sum _{m=0}^\infty [b_m] p^m \right ) = \sum _{m=0}^\infty [d_m] p^m. \]

The first few polynomials are \(P_0 = X_0+Y_0\), \(Q_0 = X_0Y_0\), \[ P_1 = X_1+ Y_1 - \sum _{i=1}^{p-1} \frac {1}{p} \binom {p}{i} X_0^{i}Y_0^{p-i}, \qquad Q_1 = X_0^pY_1+X_1Y_0^p +p X_1Y_1. \] For example, in \(\mathbb {Z}_5\) we have \([1] + [1] = 2 = [2] + [4] \cdot 5 + \ldots \), in agreement with \(P_1(1,0,1,0) = 4\) in \(\mathbb {F}_5\).

Lecture 29. I-adic completion [full lecture][pdf]

In Lecture 27 we completed a discrete valuation ring \(R_\nu \) using the norm given by its valuation, for which the balls around \(0\) are the powers of the maximal ideal. More generally, for any ring \(R\) and any ideal \(I \subset R\), the powers of \(I\) define a topology on \(R\), and we can complete \(R\) with respect to it.

Given an \(R\)-module \(M\), we take the cosets \(x+I^iM\) for \(x \in M\) and \(i \geq 0\) as a basis of a topology on \(M\), called the \(I\)-adic topology. Instead of Cauchy sequences, we use a more convenient algebraic construction of the completion. The \(I\)-adic completion of \(R\) is the inverse limit \(\widehat {R}_I = \varprojlim _{i} R/I^i\), that is, the subring \[\widehat {R}_I = \{ (x_i) \in \prod _{i \geq 1} R/I^i : \text {the image of } x_j \text { in } R/I^i \text { is } x_i \text { for all } j > i\} \] of the product. There is a ring homomorphism \(R \to \widehat {R}_I\) given by \(x \mapsto (x + I^i)_{i \geq 1}\), with kernel \(\bigcap _{i=1}^\infty I^i\). We say that \(R\) is \(I\)-adically complete if this is an isomorphism. In this case, if \(I=\mathfrak {m}\) is a maximal ideal, we say that \(R\) is a complete local ring. This is justified because \(R\) is then local, by the following proposition.

Proposition 6.65. If \(R\) is \(I\)-adically complete, then \(I\) lies in the Jacobson radical \(\mathcal {J}(R)\).

\(\blacktriangleright \) Let \(R=k[X]\) and \(I=(X)\). A typical element of the inverse limit looks as follows: \[ a_0 \leftarrow a_0 + a_1X \leftarrow a_0 + a_1 X + a_2X^2 \leftarrow \ldots \] So \(\widehat {R}_I\) can be identified with the power series ring \(k[[X]]\). In the same way, for any ring \(R\), the completion of \(R[X_1,\ldots , X_n]\) at the ideal \((X_1,\ldots , X_n)\) is \(R[[X_1,\ldots , X_n]]\). Hence \(k[[X_1,\ldots , X_n]]\) is a complete local ring, and its units are the power series with non-zero constant term (Corollary 6.66).

For a discrete valuation ring, this is the completion of Lecture 27:

Proposition 6.67. The completion \(\hat {R}_\nu \) of the discrete valuation ring \(R_\nu \) is isomorphic to its \(\mathfrak {m}_\nu \)-adic completion \(\varprojlim _{n} R_\nu / \mathfrak {m}_\nu ^n\). In particular, \(\mathbb {Z}_p \simeq \varprojlim _{n} \mathbb {Z}/p^n\).

For an \(R\)-module \(M\), we define the \(I\)-adic completion of \(M\) as \(\widehat {M}_I = \varprojlim _{i} M/I^iM\). If \(R\) is Noetherian, \(M\) is finitely generated and \(N \subset M\) is a submodule, the Artin–Rees lemma (Lemma 6.44) says that the \(I\)-adic topology on \(N\) coincides with its topology as a subspace of \(M\).

Theorem 6.69. Let \(R\) be Noetherian and \(I\) and \(J\) be ideals of \(R\), then \(\widehat {J}_I = \widehat {R}_I J\) and \(\widehat {R}_I / \widehat {J}_I = \widehat {(R/J)}_I\).

It follows that the completion of a Noetherian ring \(R\) at a maximal ideal \(\mathfrak {m}\) is a complete local ring with residue field \(R/\mathfrak {m}\).

Corollary 6.70. Let \(J \subset (X_1,\ldots , X_n)\) be an ideal of \(k[X_1,\ldots , X_n]\). The completion of \(k[X_1,\ldots , X_n] / J \) at the maximal ideal \((X_1,\ldots , X_n)/J\) is given by \(k[[X_1,\ldots , X_n]]/ \widehat {J}\), where \(\widehat {J}\) is the ideal of \(k[[X_1,\ldots , X_n]]\) generated by \(J\).

Theorem 6.71. Let \(R\) be a Noetherian ring and \(I= (f_1,\ldots , f_n)\) be an ideal. Then the \(I\)-adic completion of \(R\) is isomorphic to \(R[[T_1,\ldots , T_n]] / (T_1-f_1,\ldots , T_n-f_n)\).

\(\blacktriangleright \) For \(R = \mathbb {Z}\) and \(I = (p)\), we obtain \(\mathbb {Z}_p \simeq \mathbb {Z}[[T]]/(T-p)\): a \(p\)-adic integer is a power series in \(p\).

\(\blacktriangleright \) Here is what completion means geometrically. For \(k\) a field of characteristic different from \(2\), the ring map \(k[X] \to k[X,Y]/(Y^2-X-1)\) corresponds to the map \(\pi : V \to k\), \((x,y) \mapsto x\), where \(V = \mathcal {V}(Y^2-X-1) \subset k^2\). As \((0,-1)\) and \((0,1)\) both map to \(0\), there is no inverse to \(\pi \); an inverse can only exist locally and would be given by \(x \mapsto (x, \pm \sqrt {x+1})\). We can make sense of such maps if we complete our rings. To focus near \((0,-1)\), we replace \(Y\) by \(Y-1\) and complete, which gives by Corollary 6.70 a map \(k[[X]] \to k[[X,Y]] / (Y^2-2Y-X)\). It is an isomorphism, whose inverse sends \(Y\) to the power series expansion \(-\frac {X}{2} + \frac {X^2}{8} - \ldots \) of \(1 - \sqrt {X+1}\). So \(\pi \) becomes invertible near \((0,-1)\) after completion, although the map of local rings is not an isomorphism.

Theorem 6.72 (Cohen Structure Theorem). Let \(R\) be a complete local Noetherian ring with maximal ideal \(\mathfrak {m}\) and residue field \(k = R/ \mathfrak {m}\). If \(R\) contains a field (as a subring), then \(R \cong k[[X_1,\ldots , X_n]] /I\) for some \(n\) and ideal \(I\).

The assumption that \(R\) contains a field cannot be dropped: \(\mathbb {Z}_p\) is a complete local Noetherian ring with residue field \(\mathbb {F}_p\), but \(p \neq 0\) in \(\mathbb {Z}_p\).

A quick list of things that we left out

Lecture 30. What we left out [full lecture][pdf]

Primary decomposition. We proved that every proper radical ideal in a Noetherian ring is the intersection of finitely many prime ideals (Proposition 6.4). The Lasker–Noether theorem says that in a Noetherian ring any proper ideal can be written as an intersection of finitely many primary ideals, called a primary decomposition. A proper ideal \(\mathfrak {q} \subset A\) is primary if in \(A/\mathfrak {q}\) every zero divisor is nilpotent. The theorem follows by combining two lemmata, in which a proper ideal \(I \subset A\) is called irreducible if \(I = J \cap K\) for ideals \(J,K \subset A\) implies \(I=J\) or \(I=K\).

Lemma 7.1. In a Noetherian ring, every proper ideal is an intersection of finitely many irreducible ideals.

Lemma 7.2. In a Noetherian ring, every irreducible ideal is primary.

A primary decomposition need not be unique. However, the radicals of the primary ideals in an irredundant primary decomposition of \(I\) are prime ideals which do not depend on the decomposition: they are precisely the associated primes of the \(A\)-module \(A/I\), and the minimal ones among them are the minimal prime ideals containing \(I\).

Homological methods. The study of the tensor product \(M \otimes _A N\) of two \(A\)-modules involves short exact sequences, flat modules and related notions, which are covered in the Homological Algebra module. We have mostly covered the classical period of commutative algebra, up to roughly the 1950s, when homological algebra gets introduced in commutative algebra. The two facts about regular local rings which we quoted without proof in Lecture 20 are proved by these methods.

Projective varieties and graded algebras. Projective varieties, the zero loci of homogeneous polynomials in the projective space \(\mathbb {P}_k^n\), are compactifications of affine varieties. Their algebraic counterpart are the \(\mathbb {N}\)-graded rings. We leave this to the Algebraic Geometry module.

Schemes. For more general commutative rings (not necessarily containing a field, or not necessarily reduced), affine varieties have to be generalised to affine schemes. The spectrum \(\mathrm {Spec}(A)\) is a first approximation; what we are missing is the notion of a sheaf of rings.

Dedekind domains and the ideal class group. We did not prove the converse of Theorem 6.51, nor that the ideal class group of the ring of integers of a number field is finite.

Special classes of rings: Regular, Cohen–Macaulay, etc. If \(R\) is a ring and \(M\) an \(R\)-module, a sequence \(x_1,\ldots , x_r\) of elements of \(R\) is called a regular sequence for \(M\) if \(x_i\) is not a zero divisor on \(M/(x_1,\ldots , x_{i-1})M\) for all \(i=1,\ldots , r\), and \(M \neq (x_1,\ldots , x_r)M\). If \(R\) is a Noetherian local ring with maximal ideal \(\mathfrak {m}\), its depth, written \(\mathrm {depth}\, R\), is the maximum length of a regular sequence for \(R\) with all \(x_i \in \mathfrak {m}\). One has \(\mathrm {depth}\, R \leq \mathrm {dim}\, R\), and \(R\) is called Cohen–Macaulay if \(\mathrm {depth}\, R = \mathrm {dim}\, R\).

\(\blacktriangleright \) The local ring of the cusp \(k[X,Y]/(Y^2-X^3)\) at the origin is not regular, but it is Cohen–Macaulay: it is an integral domain of dimension \(1\), so any non-zero element of its maximal ideal is a regular sequence of length \(1\). The local ring \(R\) of \(k[x,y]/(x^2,xy)\) at the origin is not Cohen–Macaulay: every element of its maximal ideal annihilates \(x \neq 0\), so \(\mathrm {depth}\, R = 0\), while \(\mathrm {dim}\, R = 1\).

Regular local rings are Cohen–Macaulay. Between these two classes there are the complete intersections and the Gorenstein rings, which we do not define here. Requiring these properties for all localisations at prime ideals, we obtain classes of Noetherian rings related as follows:

field \(\subset \) PID \(\subset \) Dedekind domain \(\subset \) regular \(\subset \) locally complete intersection \(\subset \) Gorenstein \(\subset \) Cohen–Macaulay \(\subset \) Noetherian.