6 Fiber products of schemes
References: [ GW1 ] Sections (4.4) – (4.8)
In this section we will discuss the notion of (fiber) product of schemes, which turns out to be useful in many respects. One motivation is this: It is a natural question whether we can define products in the setting of schemes, or \(k\)-schemes, say, where \(k\) is a field. For example, the bijection
leads us to expect that there is an isomorphism \(\mathbb {P}^1_k\times \mathbb {P}^1_k\to V_+(X0 X_3-X_1X_2)\) of \(k\)-schemes — only that the symbol \(\mathbb {P}^1_k\times \mathbb {P}^1_k\) is undefined at this point! Note that one has to be a bit careful here: It is not hard to check that the above map is bijective, but it is not a homeomorphism if we equip \(\mathbb {P}^1(k)\times \mathbb {P}^1(k)\) with the product topology; rather, the suitable topology is a different one (cf. also Problem 4).
We take a categorical approach and define the product (and the more general notion of fiber product) by a universal category as follows.
Let \({\mathcal C}\) be a category, and let \(f\colon X\to S\), \(g\colon Y\to S\) be morphisms in \({\mathcal C}\). An object \(P\) of \({\mathcal C}\) together with morphisms \(p\colon P\to X\) and \(q\colon P\to Y\) with \(f\circ p = g\circ q\) is called a fiber product of \(X\) and \(Y\) over \(S\), if the following universal property holds:
For every scheme \(T\) together with morphisms \(\varphi \colon T\to X\) and \(\psi \colon T\to Y\) with \(f\circ \varphi = g\circ \psi \) there exists a unique morphism \(\xi \colon T\to P\) such that the following diagram commutes:
In view of the universal property, a fiber product (i.e., the object \(P\) together with the morphisms \(P\to X\), \(P\to Y\)) is uniquely determined up to unique isomorphism, if it exists. We therefore speak of “the” fiber product of \(X\) and \(Y\) over \(S\) and denote it by \(X\times _SY\). The morphisms \(X\times _SY\to X\), \(X\times _SY\to Y\) are called the projections from the fiber product to its factors.
Terminology: Saying that the (commutative) diagram
is a fiber product diagram or is cartesian is equivalent to saying that \(P\) together with the given morphisms to \(X\) and \(Y\) is a fiber product of \(X\) and \(Y\) over \(S\). One also speaks of a pullback diagram, or calls \(P\) the pullback of \(X\) along \(Y\to S\) (of of \(Y\) along \(X\to S\)).
Let \({\mathcal C}\) be the category of sets and let \(f\colon X\to S\), \(g\colon Y\to S\) be maps of sets. Then the fiber product \(X\times _SY\) exists and is given by (as always, up to unique isomorphism)
\[ X\times _SY = \left\{ (x,y)\in X\times Y; f(x)=g(y) \right\} , \]where the maps \(X\times _SY\to X\) and \(X\times _SY\to Y\) are the restrictions of the usual projections from the cartesian product \(X\times Y\) to its factors.
As a subset of \(X\times Y\), we can rewrite this as
\[ X\times _S Y = \bigsqcup _{s\in S} f^{-1}(s)\times g^{-1}(s). \]This explains the terminology fiber product.
Let \({\mathcal C}\) be the category of topological spaces and let \(f\colon X\to S\), \(g\colon Y\to S\) be continuous maps. Then the fiber product \(X\times _SY\) exists and is given by (as always, up to unique isomorphism)
\[ X\times _SY = \left\{ (x,y)\in X\times Y; f(x)=g(y) \right\} , \]where the maps \(X\times _SY\to X\) and \(X\times _SY\to Y\) are the restrictions of the usual projections from the cartesian product \(X\times Y\) to its factors. The topology is defined as the coarsest topology for which both projections are continuous. Equivalently, if we equip the product \(X\times Y\) with the product topology, then \(X\times _SY\) carries the subspace topology. More explicitly, the open subsets of \(X\times _SY\) are those that can be written as unions of sets of the form \(U\times _SV\), where \(U \subseteq X\) and \(V \subseteq Y\) are open.
If \({\rm pt}\) is a terminal object in \({\mathcal C}\) (i.e., every object of \({\mathcal C}\) admits a unique morphism to \({\rm pt}\)), then the universal property of \(X\times _{\rm pt} Y\) (with respect to the unique maps \(X\to {\rm pt}\), \(Y\to {\rm pt}\)) is precisely the universal property of the product of \(X\) and \(Y\).
This applies, for example, the the category of sets (with \({\rm pt}\) a set with one element), to the category of schemes (with terminal object \(\operatorname{Spec}(\mathbb {Z})\)) and to the category of \(S\)-schemes (with terminal object \(S\), or more precisely \(\operatorname{id}_S\colon S\to S\)).
If \({\mathcal C}\) is the category of sets or the category of topological spaces, \(f\colon X\to S\) is a morphism and \(s\in S\), then the inclusion \(\left\{ s \right\} \to S\) is a morphism and there is a natural identification of \(X\times _S \left\{ s \right\} \) with the fiber \(f^{-1}(s)\) (in the case of topological spaces, we equip the fiber \(f^{-1}(s) \subseteq X\) with the subspace topology.
Dually to the notion of fiber product we have the notion of algamated sum or pushout. The corresponding commutative diagrams are called cocartesian. An example is the tensor product of rings.
Jan. 21, 2026
All fiber products in the category of schemes exist.
Moreover, for scheme morphisms \(X\to S\), \(Y\to S\), the fiber product \(X\times _SY\) also satisfies the universal property of the fiber product in the category of locally ringed spaces.
With more work, one can show that also in the category of locally ringed spaces all fiber products exist; we will not need to use this.
We first consider the case that \(X=\operatorname{Spec}(A)\), \(Y=\operatorname{Spec}(B)\) and \(S=\operatorname{Spec}(R)\) are all affine. In this case, we claim that the (affine) scheme \(\operatorname{Spec}(A\otimes _R B)\) satisfies the universal property of the fiber product in the category of locally ringed spaces. (Note that it follows formally from the universal property of the tensor product (it is the pushout of \(A\) and \(B\) with respect to the homomorphisms \(R\to A\) and \(R\to B\)) and the antiequivalence of the categories of rings and of affine schemes, that \(\operatorname{Spec}(A\otimes _R B)\) is the fiber product in the category of affine schemes.) This claim follows easily from Theorem 4.11, in fact for every locally ringed space \(T\) we have
The composition is the map \(\xi \mapsto (p\circ \xi , q\circ \xi )\), and the statement that this map is a bijection is precisely the universal property of the fiber product.
In the general case, the fiber product may be constructed by gluing of schemes. We give a rough sketch and refer to [ GW1 ] Theorem 4.18 and the references given there for more details.
Choose affine open covers
Then one constructs a gluing datum for the family
For a pair of indices \((i,j,k)\), \((i', j', k')\), one shows that, denoting by \(p_1\), \(p_2\) the projections from \(U_{ij} \times _{W_i} V_{ik}\) to its two factors,
is an open subscheme of \(U_{ij} \times _{W_i} V_{ik}\) which satisfies the universal property of the fiber product
This open subschemes will be, in the scheme obtained by gluing, the intersection of (the images of) \(U_{ij}\times _{W_i}V_{ik}\) and \(U_{i'j'}\times _{W_{i'}}V_{i'k'}\). The identification morphisms are chosen as the unique isomorphisms obtained from the characterization by the universal property of a fiber product. This also ensures that the cocycle condition is satisfied.
Notation: For schemes \(X\), \(Y\), \(S\), and rings \(R\), \(A\), we sometimes write \(X\otimes _R A := X\times _{\operatorname{Spec}(R)}\operatorname{Spec}(A)\), \(X\otimes _S A := X\times _S\operatorname{Spec}(A)\) and \(X\times _R Y := X\times _{\operatorname{Spec}(R)} Y\) (provided that we are given the scheme morphisms required to define these fiber products).
For any ring homomorphism \(R\to R'\), we have \(\mathbb {A}^n_R\otimes _RR' = \mathbb {A}^n_{R'}\). In particular, for any ring \(R\), we have \(\mathbb {A}^n_R = \mathbb {A}_{\mathbb {Z}}\otimes _{\mathbb {Z}}R\). In view of this, we define, for an arbitrary scheme \(S\), \(\mathbb {A}^n_S = \mathbb {A}^n_{\mathbb {Z}}\times _{\operatorname{Spec}(\mathbb {Z})} S\). Via the second projection, this is an \(S\)-scheme, called the affine space of relative dimension \(n\) over \(S\).
Let \(S'\to S\) be a morphism of schemes. We obtain a functor
where \(X\times _SS'\) is an \(S'\)-scheme via the second projection.
On morphisms, the functor is defined as follows. Given a morphism \(X\to Y\) of \(S\)-schemes, we need to define a morphism \(X\times _SS'\to Y\times _SS'\). To do so, by the universal property of \(Y\times _SS'\), it is enough to specify morphisms \(X\times _SS'\to Y\) and \(X\times _SS'\to S'\) (compatible with the morphisms to \(S\)). For the first one, we take the composition \(X\times _SS'\to X\to Y\), for the second one the projection to the second factor.
In view of Example 6.2 (4), we define fibers of morphisms of schemes as follows:
Jan. 27, 2026
In the case of the schematic fiber, the fiber product behaves well regarding the underlying topological space.It is clear that we may assume that \(S\) is affine. Furthermore, covering \(X\) by affine open subschemes, it is easy to reduce to the case that \(X\) is affine. So assume \(S = \operatorname{Spec}(R)\), \(X=\operatorname{Spec}(A)\), and \(f\) corresponds to the ring homomorphism \(\varphi \colon R\to A\). Let \({\mathfrak p}\subset R\) be the prime ideal corresponding to \(s\), and denote by \(\kappa ({\mathfrak p})\) the residue class field of \({\mathfrak p}\). We may describe \(\kappa ({\mathfrak p})\) equivalently as \(R_{{\mathfrak p}}/{\mathfrak p}R_{\mathfrak p}\) or as \(\operatorname{Frac}(R/{\mathfrak p})\).
Then the definition of the schematic fiber amounts to
We may compute the tensor product as
where \(S = R\setminus {\mathfrak p}\). (In the term on the right, by abuse of notation we write \(S\) instead of \(\varphi (S)\) and \({\mathfrak p}\) instead of \(\varphi ({\mathfrak p})\).) This gives us a bijection between \(\operatorname{Spec}(A\otimes _R\kappa ({\mathfrak p}))\) and the set of prime ideals \({\mathfrak q}\) in \(A\) which satisfy
or equivalently,
This is the desired statement on sets. To finish the proof, one checks that the resulting bijective map is a homeomorphism (similarly as in Proposition 2.8, Proposition 2.13).