Why do we need prime ideals in the spectrum of a ring?

I'm reading Atiyah Macdonald, where they introduce in the exercises of chapter one a topological space $\operatorname{Spec}(A)$ associated to a ring $A$, which is defined as $\operatorname{Spec}(A) \equiv \{ I : \text{I is a prime ideal in A} \}$. I have some questions about this topological space:

  1. Why should the ideals be prime? As far as I can tell, it seems to be a technical condition to allow union of open sets to work. Is there a deeper reason?
  2. Why do we generate the closed sets as collections of prime ideals? As far as I can tell, there is nothing that breaks with infinite union and intersection, so we can just as well take the sets to be open?
  3. Why is the function that takes subsets of the ring to a closed set called $V$ in the text? It cannot be 'variety': it is taking elements/points (geometry) into ideals (algebra). If anything, it is an "anti-variety".

Perhaps I have missed something in proving that $\operatorname{Spec}(A)$ is a topological space, so I will recapitulate proof sketches below. First, the topology on $\operatorname{Spec}(A)$ is given by stating that the closed sets of the topology are given by:

$$ V: 2^A \rightarrow 2^{\operatorname{Spec}}; V(S) \equiv \{ I \in \operatorname{Spec}(A): S \subseteq I\} \\ \tau_\text{closed} \equiv \{ V(S): S \subseteq A \} $$

That is, for every subset $S$ of $A$, the set of prime ideals that contain $S$ [which is denoted as $V(S)$] is a closed set. Now we check that:

  1. $\emptyset \in \tau$ since $V(R) = \{ I \in \operatorname{Spec}(A) : R \subseteq I \} = \emptyset$ [no proper ideal contains the whole ring]
  2. $\operatorname{Spec}(A) \in \tau$ since $V(\{0\})= \{ I \in \operatorname{Spec}(A) : \{ 0 \} \subseteq I \} = \operatorname{Spec}(A)$ [every ideal contains zero]
  3. Intersection:

$$ V(S) \cap V(S') = \{I \in \operatorname{Spec}(A): S \subseteq I\} \cap \{I \in \operatorname{Spec}(A): S' \subseteq I\} \\ = \{ I \in \operatorname{Spec}(A): S \cup S' \subseteq I \} = V(S \cup S') $$ 4. Union [The part where prime matters]:

$$ \begin{align*} &V(S) \cup V(S') = \{I \in \operatorname{Spec}(A): S \subseteq I\} \cup \{I \in \operatorname{Spec}(A): S' \subseteq I \} \\ &= \{I \in \operatorname{Spec}(A): S \subseteq I \lor S' \subseteq I\} \\ &= \{I \in \operatorname{Spec}(A): S S' \subseteq I\} \ \ \text{(Since $I$ is prime, $ss' \in I \implies s \in I \lor s' \in I)$} \\ &= V(SS') \end{align*} $$

This union of $V(\cdot)$s should also work with infinite unions, since we will get $\cup_i V(S_i) = \prod_i S_i$. I suppose the problem is that we do not have a topology on $A$ to define infinite products of elements? If so, does this construction work in a ring that possesses a topology to talk about infinite products?


Solution 1:

The historical genesis of algebraic geometry is considering the solutions of some finite collection of polynomials inside $k^n$ for $k$ an algebraically closed field. One can check that in this scenario that the irreducible closed sets which are given by the vanishing locus of a finite collection of polynomials exactly correspond to the prime ideals of $k[x_1,\cdots,x_n]$. So if we want to try and generalize beyond $k^n$, this would be a good avenue to explore. More details on wikipedia and probably in every algebraic geometry book.

To see why taking the closed subsets of $\operatorname{Spec} A$ to be $V(I):=\{\mathfrak{p}\in A\mid I\subset \mathfrak{p}\}$ behaves appropriately under arbitrary intersection, let $\{I_t\}_{t\in T}$ be a family of ideals of $A$. Then $\bigcap_{t\in T} V(I_t)$ is the collection of prime ideals which contain all of these $I_t$, which is equivalent to the prime ideals containing the sum $\sum_{t\in T} I_t$. Since the sum of ideals is always an ideal, we see that the sets of the form $V(I)$ are closed under arbitrary intersection and $\bigcap_{t\in T} V(I_t)=V(\sum_{t\in T} I_t)$. On the other hand, they do not behave correctly under arbitrary union: if $\{I_t\}_{t\in T}$ is as before but we take $\bigcup_{t\in T} V(I_t)$, we now want to think about the prime ideals which contain the intersection of all $I_t$. As mentioned in another answer, the ideals $I_t=(z-t)$ for $A=\Bbb C[z]$ and $t\in T=\Bbb Z$ have intersection zero, which is not equal to $\bigcup_{t\in T} V(I_t)$. So $\bigcup_{t\in T} V(I_t)\neq V(\bigcap_{t\in T} I_t)$ and it would be inappropriate to choose $V(I)$ to be the open subsets.

(I should also point out that your "proof" contains a couple rather serious mistake: the correct way to put ideals together is to take their sum, not their union. Also, the correct way to intersect ideals is to take their intersection, not their product. Both ideas work correctly in some cases but fail badly in general, and one should do the correct thing.)

For #3, the symbol "$V$" stands for "vanishing set". This started as a hold-over from the old days of algebraic geometry, because we would literally ask about where our collection of polynomials all vanished in $k^n$. In the modern language of schemes, in order to say that $\mathfrak{p}\in V(I)$, we can ask about when all elements of $I$ vanish in the ring $A_{\mathfrak{p}}/\mathfrak{p}$, the residue field at the point $\mathfrak{p}$ (where $\mathfrak{p}$ is a prime ideal). NB: once you start thinking about more than just sets, you'll need to be a little more careful here - see this recent answer of mine for more details if you wish.

Solution 2:

It is not true that the union of an infinite family of sets of the form $V(I)$ is necessarily of the form $V(I)$. For example, let $R = \mathbb{C}[x]$ and let $I_n$ be the principal ideal generated by $(x-n)$. Then the intersection of all the $I_n$ as $n$ varies over the integers is zero (no nonzero polynomial has infinitely many roots), but the union of the $V(I_n)$ isn't all of $\text{Spec}(R)$ (since the polynomial $(x - 1/2)$ isn't in any of them for example).

Solution 3:

To answer your first question why prime ideals are interesting.

The classic point of view is to studying the geometry over an algebraic closed field $k$ and focus on a subset $M \subset k[x_1, \ldots, x_n]$. We can view varieties as the set of points on which all functions vanish, that is $V(M) := \{(x_1, \ldots, x_n) \in k^n : f(x_1, \ldots, x_n) = 0 \text{ for all } f \in M\}$.

A corollary of one of the main results is that if $\mathfrak{a}$ is an ideal in $k[x_1, \ldots, x_n]$ then we have an equivalence $V(\mathfrak{a}) = \operatorname{Hom}_{k-alg}(A, k)$ where $A = k[x_1, \ldots, x_n]/\mathfrak{a}$.

Generalizing this into $\operatorname{Hom}_{Ring}(A, K)$ for general commutative rings $A$ and fields $K$ we can define $\operatorname{Spec} A$ to be the collection of equivalence classes of ring morphisms $A \rightarrow K$ for $K$ a field where two maps $A \rightarrow K$, $A \rightarrow K'$ are identified if there exists a ring morphism $K \rightarrow K'$ which makes the diagram commute.

$\hskip2in$

Technically this can be seen as a certain colimit.

This construction says nothing about prime ideals. But there is of course an identification between $\operatorname{Spec} A \longrightarrow \{\mathfrak{p} \subset A, \mathfrak{p} \text{ prime} \}$ given by the bijection of taking a map $(f\colon A \rightarrow K) \in \operatorname{Spec} A$ and sending it to its kernel $\operatorname{ker}(f) \subset A$.

Showing that there is an inverse uses the fact that $\mathfrak{p}$ being prime allows us to find a map $A \longrightarrow \operatorname{Frac}(A/\mathfrak{p})$ with the ring of fractions being a field.