4 Schemes
Recall that we have attached to every ring \(R\) the topological space \(X= \operatorname{Spec}(R)\) and the structure sheaf \({\mathscr O}_X\). From these data we can recover the ring \(R\) as \(R={\mathscr O}_X(X)\), so in some sense we have reached our goal to attach to \(R\) a “geometric object” without losing any information. This leads to the following definition.
Often one writes \(X\) instead of \((X, {\mathscr O}_X)\). The sheaf \({\mathscr O}_X\) is usually called the structure sheaf of \(X\). As we will see soon, however, this is not yet the “good” notion of geometric object that we should use in order to talk about spectra of rings; the problem lies in the notion of morphism. In order to understand this, we first define the natural notion of morphisms of ringed spaces. To define a morphism \((X, {\mathscr O}_X)\to (Y, {\mathscr O}_Y)\) of ringed spaces, it is natural to start with a continuous map \(f\colon X\to Y\). But in addition, the structure sheaves should also be related. For this, recall that we think of the ring \({\mathscr O}_X(U)\) as the ring of functions defined on \(U\). Then it is natural to expect that for every function defined on \(V \subseteq Y\), by “composition with \(f\)” we obtain a function on \(f^{-1}(V)\). We need to put this in quotes because there is no reason why the elements of the ring \({\mathscr O}_Y(V)\) should really be function on \(V\), so “composition” does not really make sense. However, we can still ask that the morphism \((X, {\mathscr O}_X)\to (Y,{\mathscr O}_Y)\) comes with maps \({\mathscr O}_Y(V)\to {\mathscr O}_X(f^{-1}(V))\) for every open \(V \subseteq Y\). Clearly, these should be compatible with the restriction maps of these sheaves. Putting everything together, we arrive at the following definition.
A morphism \(f\colon (X, {\mathscr O}_X)\to (Y, {\mathscr O}_Y)\) of ringed spaces is a pair \((f, f^\flat )\) where \(f\colon X\to Y\) is a continuous map and \(f^\flat \colon {\mathscr O}_Y\to f_*{\mathscr O}_X\) is a morphism of sheaves of rings.
There are obvious notions of identity morphisms and composition of morphisms, and we obtain the category \({\rm (Ringed Spaces)}\) of ringed spaces.
Dec. 10, 2025
By adjunction, the morphism \(f^\flat \) corresponds to a morphism \(f^\sharp \colon f^{-1}{\mathscr O}_Y\to {\mathscr O}_X\) of sheaves of rings on \(X\). In particular, for every \(x\in X\), we obtain a ring homomorphism \(f^\sharp _x\colon {\mathscr O}_{Y, f(x)} = (f^{-1}{\mathscr O}_Y)_x\to {\mathscr O}_{X, x}\) between the stalks. One checks that this ring homomorphism may also be constructed explicitly by using the universal property of the colimit \({\mathscr O}_{Y, f(x)}\) for the maps \({\mathscr O}_Y(V)\to {\mathscr O}_{X, x}\) (for \(V \subseteq Y\) open, \(f(x)\in V\)) obtained as the compositionwhere the first map is obtained from \(f^\flat \), and the final map is the natural map into the stalk, using that \(f(x)\in V\) implies \(x\in f^{-1}(V)\).
With this definition of the category of ringed spaces, we obtain a functor
In fact, to every ring \(R\) we may attach its spectrum \((\operatorname{Spec}(R), {\mathscr O}_{\operatorname{Spec}(R)})\) with the structure sheaf. If \(\varphi \colon R\to S\) is a ring homomorphism, we have the continuous map \({}^a\varphi \colon \operatorname{Spec}(S)\to \operatorname{Spec}(R)\) between the spectra. Furthermore, for every principal open \(D(s) \subseteq \operatorname{Spec}(R)\), \(s\in R\), we have \(({}^a\varphi )^{-1}(D(s)) = D(\varphi (s))\), and thus the natural homomorphism \(R_s\to S_{\varphi (s)}\) is a ring homomorphism \({\mathscr O}_{\operatorname{Spec}(R)}(D(s))\to {\mathscr O}_{\operatorname{Spec}(S)}(({}^a\varphi )^{-1}(D(s)))\). Since the \(D(s)\) form a basis of the topology, these define the desired sheaf homomorphism \({\mathscr O}_{\operatorname{Spec}(R)}\to {}^a \varphi _*{\mathscr O}_{\operatorname{Spec}(S)}\). (Cf. Proposition 3.10.)
From now on we usually write \(\operatorname{Spec}(R)\) for the ringed space \((\operatorname{Spec}(R), {\mathscr O}_{\operatorname{Spec}(R)})\).
However, it turns out that this functor is not fully faithful. Therefore, passing from rings to ringed spaces remains problematic, because there are morphisms between spectra as ringed spaces that we “do not want to allow”.
In fact, morphisms coming from ring homomorphisms have a special property that we can see by inspecting the stalks.
Let \(R\) be a ring, \(X=\operatorname{Spec}(R)\) (as a ringed space). For every \(x\in X\), the stalk \({\mathscr O}_{X, x}\) is isomorphic to the localization \(R_{x}\) of \(R\) with respect to the prime ideal \(x\). In particular, the stalk is a local ring (i.e., it has a unique maximal ideal).
Let \(\varphi \colon R \to S\) be a ring homomorphism, let \(X=\operatorname{Spec}(S)\), \(Y=\operatorname{Spec}(R)\) and let \(f\colon X\to Y\) be the morphism of ringed spaces attached to \(\varphi \) as above. Then for every \(x\in X\) the ring homomorphism \({\mathscr O}_{Y, f(x)}\to {\mathscr O}_{X, x}\) is a local homomorphism of local rings, i.e., it maps the maximal ideal of \({\mathscr O}_{Y, f(x)}\) into the maximal ideal of \({\mathscr O}_{X, x}\).
We have already seen the first point. For the second one, note that \(\varphi \) induces a commutative diagram
which we may rewrite as
This means that the homomorphism \(R_{f(x)}\to S_x\) is simply the natural homomorphism between localizations induced by \(\varphi \), i.e., \(\frac{a}{s}\mapsto \frac{\varphi (a)}{\varphi (s)}\). In particular, it maps the maximal ideal \(f(x) R_{f(x)} = \varphi ^{-1}(x) R_{\varphi ^{-1}(x)}\) into the maximal ideal \(x S_x\).
A locally ringed space is a ringed space \((X, {\mathscr O}_X)\) such that for every \(x\in X\) the stalk \({\mathscr O}_{X,x}\) is a local ring (also called the local ring of \(X\)).
Let \(X\), \(Y\) be locally ringed spaces. A morphism \(X\to Y\) of locally ringed spaces is a morphism \(X\to Y\) of ringed spaces such that for every \(x\in X\) the induced ring homomorphism \(f^\sharp _x\colon {\mathscr O}_{Y, f(x)}\to {\mathscr O}_{X,x}\) is a local homomorphism.
The above discussion shows that \(\operatorname{Spec}\) actually is a contravariant functor from the category of rings to the category of locally ringed spaces.
Let \(R\), \(S\) be rings and let \(X=\operatorname{Spec}(S)\), \(Y=\operatorname{Spec}(R)\) (considered as locally ringed spaces). We have natural maps
and we want to show that they are inverse to each other. It follows directly from the construction of \(\operatorname{Spec}(\varphi )\) that \(\varphi \mapsto \operatorname{Spec}(\varphi ) \mapsto \Gamma (\operatorname{Spec}(\varphi ))\) is the identity morphism.
Now consider the composition \(f\mapsto \Gamma (f)\mapsto \operatorname{Spec}(\Gamma (f))\). We write \(f = (f, f^\flat )\) and \(\operatorname{Spec}(\Gamma (f)) = (g, g^\flat )\). For every \(x\in X\), we have the commutative diagram
In terms of the rings \(R\), \(S\) this diagram may be written as
Now \(f\) is a morphism of locally ringed spaces, so the ring homomorphism in the lower row of this diagram is local. This implies that the preimage of the maximal ideal of \(S_x\) is the maximal ideal of \(R_{f(x)}\). It follows that \(f(x) = \Gamma (f)^{-1}(x)\). In other words, as continuous maps we have \(f = g\). It then follows from the above diagram that the sheaf morphisms \(f^\flat \) and \(g^\flat \) induce the same maps between the stalks \(R_{f(x)}\) and \(S_x\) for all \(x\). Therefore they coincide by Proposition 3.28.
References: [ GW1 ] Sections (2.9) – (2.12), Chapter 3; [ Ha ] Chapter II.2.
Dec. 16, 2025
In view of the previous discussion, we arrive at the following definition.Rephrasing Theorem 4.5, we can say that the functor \(\operatorname{Spec}\) is a contravariant equivalence between the category of rings and the category of affine schemes. Therefore, we have succeeded in attaching to each ring a “geometric object” (namely a locally ringed space), and this construction preserves the information of the ring, and also of ring homomorphisms.
From this point, it is easy to extend the definition to include many more geometric objects that are interesting from the point of algebraic geometry, and accessible to the methods of commutative algebra. We start with the following simple remark.
Let \(X=(X, {\mathscr O}_X)\) be a locally ringed space, and let \(U \subseteq X\) be an open subset. Then \((U, {\mathscr O}_{X|U})\) is a locally ringed space (which we often just denote by \(U\)). The natural morphism \(U\to X\) of locally ringed spaces is called an open immersion.
As an example, let \(X=\operatorname{Spec}(R)\) be an affine scheme, and let \(s\in R\). Then \(D(s)\) (in the sense of the above construction) is a locally ringed space, and as a locally ringed space is isomorphic to \(\operatorname{Spec}(R_s)\), i.e., it is again an affine scheme.
We can now give Grothendieck’s definition of a scheme. (In the beginning, what we call a scheme was called a prescheme (e.g. in the first edition of [ Mu ] and in [Diedonné, Grothendieck: Éléments de Géométrie Algébrique]), but the terminology has changed later.)
We need to show that we can cover \(U\) by affine schemes. To do so, cover \(X = \bigcup _i U_i\) by affine schemes. Then \(U\cap U_i\) is open in \(U_i\), and hence can be covered by principal open subsets of \(U_i\). But every principal open of an affine scheme is itself an affine scheme, as remarked above.
(affine space) Let \(R\) be a ring. Then we call \(\mathbb {A}^n_R := \operatorname{Spec}(R[T_1, \dots , T_n])\) affine space of relative dimension \(n\) over \(R\). The inclusion \(R\to R[T_{\bullet }]\) gives us a morphism \(\mathbb {A}^n_R\to \operatorname{Spec}(R)\) of affine schemes.
Let \(k\) be a field. By \(0\) we denote the “origin” in \(\mathbb {A}^n_k\), i.e., the closed point corresponding to the maximal ideal \((T_1, \dots , T_n)\).
For \(n \ge 2\), the open subscheme \(U = \mathbb {A}^n_k \setminus \{ 0\} \) is not affine (cf. Problem Sheet 9). In particular, open subschemes of affine schemes need not be affine.
(spectrum of a domain) Let \(R\) be a domain. Then \(\eta = (0)\) is the unique minimal prime ideal, and hence the generic point of \(\operatorname{Spec}(R)\). The stalk \({\mathscr O}_{\operatorname{Spec}(R), \eta }\) is the field of fractions \(K:=\operatorname{Frac}(R)\). For every non-empty open \(U \subseteq X :=\operatorname{Spec}(R)\), the natural map \({\mathscr O}_X(U)\to {\mathscr O}_{\operatorname{Spec}(R), \eta } = K\) is injective, thus all the rings \({\mathscr O}_X(U)\) (\(U\ne \emptyset \)) and hence also all the stalks \({\mathscr O}_{X, x}\) may be considered as subrings of \(K\) in a natural way. Furthermore, for every non-empty open \(U\) we have
\[ {\mathscr O}_X(U) = \bigcap _{x\in U} {\mathscr O}_{X,x} \]as subrings of \(K\).
Dec. 17, 2025
(closed subschemes of affine schemes) Let \(R\) be a ring and \({\mathfrak a}\subseteq R\) an ideal. We have seen that the continuous map \(i\colon \operatorname{Spec}(R/{\mathfrak a})\to \operatorname{Spec}(R)\) induced by the canonical projection \(R\to R/{\mathfrak a}\) is a homeomorphism onto its image \(V({\mathfrak a})\). From now on we write \(V({\mathfrak a})\) for the affine scheme obtained in this way, i.e., the topological space is \(V({\mathfrak a})\), and the structure sheaf is \(i_*{\mathscr O}_{\operatorname{Spec}(R/{\mathfrak a})}\). Then \(V({\mathfrak a})\cong \operatorname{Spec}(R/{\mathfrak a})\) as schemes.
Let \(k\) be a field. For every \(n\ge 1\), the scheme \(\operatorname{Spec}(k[T]/(T^n))\) has the form of the previous example. Each of these schemes topologically is just one point, however, they are pairwise non-isomorphic. We think of the scheme structure of \(\operatorname{Spec}(k[T]/(T^n))\) for \(n {\gt} 1\) as giving us an “infinitesimal neighborhood” of this point, which is larger when \(n\) is large, because the image of a polynomial in the ring \(k[T]/(T^n)\) gives us not only the information about the value of the polynomial at \(T=0\), but also the first, …, \((n-1)\)-th derivative of the polynomial at \(0\).
(schematic intersection of closed subscheme of affine scheme) Let \(R\) be a ring, \({\mathfrak a}, {\mathfrak b}\subseteq R\) ideals. We define the schematic intersection
\[ V({\mathfrak a})\cap V({\mathfrak b}) = V({\mathfrak a}+{\mathfrak b}) \]as a “closed subscheme” of \(\operatorname{Spec}(R)\) in the sense of Part (5). The scheme structure allows us to see, in addition to the set (and topological space) \(V({\mathfrak a})\cap V({\mathfrak b})\), also the “type of intersection”. For instance, if \(k\) is an algebraically closed field and \(R =k[X, Y]\) the polynomial ring in two variables, then for \({\mathfrak a}= (Y)\) and \({\mathfrak b}= (Y-f(X))\), \(f\in k[X]\), the scheme \(V({\mathfrak a})\cap V({\mathfrak b})\) sees the zeros of \(f\) with their multiplicities.
However, there are also schemes (e.g., “projective space” as constructed below) that are not isomorphic to an open subscheme of an affine scheme. Understanding how to construct these is one of the main next steps.
- AM
M. Atiyah, I. Macdonald, Introduction to Commutative Algebra, Addison-Wesley.
- Alg2
U. Görtz, Kommutative Algebra, Vorlesungsskript, SS 2023.
- GW1
U. Görtz, T. Wedhorn, Algebraic Geometry I: Schemes, 2nd ed., Springer Spektrum (2020).
- Ha
R. Hartshorne, Algebraic Geometry, Springer Graduate Texts in Math.
- Mu
D. Mumford, The Red Book on Varieties and Schemes, 2nd expanded ed., Springer Lecture Notes in Math. 1358 (1999).
- Kn
A. Knapp, Elliptic Curves, Princeton Univ. Press 1992.
- Si
J. Silverman, The Arithmetic of Elliptic Curves, 2nd ed., Springer Graduate Textes in Math.
- ST
J. Silverman, J. Tate, Rational Points on Elliptic Curves, 2nd ed., Springer