In
commutative algebra
Commutative algebra, first known as ideal theory, is the branch of algebra that studies commutative rings, their ideal (ring theory), ideals, and module (mathematics), modules over such rings. Both algebraic geometry and algebraic number theo ...
, the prime spectrum (or simply the spectrum) of a
commutative ring
In mathematics, a commutative ring is a Ring (mathematics), ring in which the multiplication operation is commutative. The study of commutative rings is called commutative algebra. Complementarily, noncommutative algebra is the study of ring prope ...
is the set of all
prime ideal
In algebra, a prime ideal is a subset of a ring (mathematics), ring that shares many important properties of a prime number in the ring of Integer#Algebraic properties, integers. The prime ideals for the integers are the sets that contain all th ...
s of
, and is usually denoted by
; in
algebraic geometry
Algebraic geometry is a branch of mathematics which uses abstract algebraic techniques, mainly from commutative algebra, to solve geometry, geometrical problems. Classically, it studies zero of a function, zeros of multivariate polynomials; th ...
it is simultaneously a
topological space
In mathematics, a topological space is, roughly speaking, a Geometry, geometrical space in which Closeness (mathematics), closeness is defined but cannot necessarily be measured by a numeric Distance (mathematics), distance. More specifically, a to ...
equipped with a
sheaf of rings.
Zariski topology
For any
ideal of
, define
to be the set of
prime ideals containing
. We can put a
topology
Topology (from the Greek language, Greek words , and ) is the branch of mathematics concerned with the properties of a Mathematical object, geometric object that are preserved under Continuous function, continuous Deformation theory, deformat ...
on
by defining the
collection of closed sets to be
:
This topology is called the
Zariski topology
In algebraic geometry and commutative algebra, the Zariski topology is a topology defined on geometric objects called varieties. It is very different from topologies that are commonly used in real or complex analysis; in particular, it is not ...
.
A
basis for the Zariski topology can be constructed as follows: For
, define
to be the set of prime ideals of
not containing
. Then each
is an open subset of
, and
is a basis for the Zariski topology.
is a
compact space
In mathematics, specifically general topology, compactness is a property that seeks to generalize the notion of a closed and bounded subset of Euclidean space. The idea is that a compact space has no "punctures" or "missing endpoints", i.e., i ...
, but almost never
Hausdorff: In fact, the
maximal ideal
In mathematics, more specifically in ring theory, a maximal ideal is an ideal that is maximal (with respect to set inclusion) amongst all ''proper'' ideals. In other words, ''I'' is a maximal ideal of a ring ''R'' if there are no other ideals ...
s in
are precisely the closed points in this topology. By the same reasoning,
is not, in general, a
T1 space. However,
is always a
Kolmogorov space
In topology and related branches of mathematics, a topological space ''X'' is a T0 space or Kolmogorov space (named after Andrey Kolmogorov) if for every pair of distinct points of ''X'', at least one of them has a neighborhood not containing th ...
(satisfies the T
0 axiom); it is also a
spectral space.
Sheaves and schemes
Given the space
with the Zariski topology, the structure sheaf
is defined on the distinguished open subsets
by setting
the
localization of
by the powers of
. It can be shown that this defines a
B-sheaf and therefore that it defines a
sheaf. In more detail, the distinguished open subsets are a
basis of the Zariski topology, so for an arbitrary open set
, written as the union of
, we set
where
denotes the
inverse limit
In mathematics, the inverse limit (also called the projective limit) is a construction that allows one to "glue together" several related objects, the precise gluing process being specified by morphisms between the objects. Thus, inverse limits ca ...
with respect to the natural ring homomorphisms
One may check that this
presheaf is a sheaf, so
is a
ringed space
In mathematics, a ringed space is a family of (commutative) rings parametrized by open subsets of a topological space together with ring homomorphisms that play roles of restrictions. Precisely, it is a topological space equipped with a sheaf of ...
. Any ringed space isomorphic to one of this form is called an affine scheme. General
schemes are obtained by gluing affine schemes together.
Similarly, for a
module over the ring
, we may define a sheaf
on
. On the distinguished open subsets set
using the
localization of a module. As above, this construction extends to a presheaf on all open subsets of
and satisfies the
gluing axiom
In mathematics, the gluing axiom is introduced to define what a sheaf (mathematics), sheaf \mathcal F on a topological space X must satisfy, given that it is a presheaf, which is by definition a contravariant functor
::(X) \rightarrow C
to a cate ...
. A sheaf of this form is called a
quasicoherent sheaf.
If
is a point in
, that is, a prime ideal, then the
stalk of the structure sheaf at
equals the
localization of
at the ideal
, which is generally denoted
, and this is a
local ring
In mathematics, more specifically in ring theory, local rings are certain rings that are comparatively simple, and serve to describe what is called "local behaviour", in the sense of functions defined on algebraic varieties or manifolds, or of ...
. Consequently,
is a
locally ringed space.
If
is an
integral domain
In mathematics, an integral domain is a nonzero commutative ring in which the product of any two nonzero elements is nonzero. Integral domains are generalizations of the ring of integers and provide a natural setting for studying divisibilit ...
, with
field of fractions
In abstract algebra, the field of fractions of an integral domain is the smallest field in which it can be embedded. The construction of the field of fractions is modeled on the relationship between the integral domain of integers and the fie ...
, then we can describe the ring
more concretely as follows. We say that an element
in
is regular at a point
in
if it can be represented as a fraction
with
. Note that this agrees with the notion of a
regular function
In algebraic geometry, a morphism between algebraic varieties is a function between the varieties that is given locally by polynomials. It is also called a regular map. A morphism from an algebraic variety to the affine line is also called a reg ...
in algebraic geometry. Using this definition, we can describe
as precisely the set of elements of
that are regular at every point
in
.
Functorial perspective
It is useful to use the language of
category theory
Category theory is a general theory of mathematical structures and their relations. It was introduced by Samuel Eilenberg and Saunders Mac Lane in the middle of the 20th century in their foundational work on algebraic topology. Category theory ...
and observe that
is a
functor
In mathematics, specifically category theory, a functor is a Map (mathematics), mapping between Category (mathematics), categories. Functors were first considered in algebraic topology, where algebraic objects (such as the fundamental group) ar ...
. Every
ring homomorphism
In mathematics, a ring homomorphism is a structure-preserving function between two rings. More explicitly, if ''R'' and ''S'' are rings, then a ring homomorphism is a function that preserves addition, multiplication and multiplicative identity ...
induces a
continuous map
(since the preimage of any prime ideal in
is a prime ideal in
). In this way,
can be seen as a contravariant functor from the
category of commutative rings to the
category of topological spaces
In mathematics, the category of topological spaces, often denoted Top, is the category whose objects are topological spaces and whose morphisms are continuous maps. This is a category because the composition of two continuous maps is again con ...
. Moreover, for every prime
the homomorphism
descends to homomorphisms
:
of local rings. Thus
even defines a contravariant functor from the category of commutative rings to the category of
locally ringed spaces. In fact it is the universal such functor, and hence can be used to define the functor
up to
natural isomorphism
In category theory, a branch of mathematics, a natural transformation provides a way of transforming one functor into another while respecting the internal structure (i.e., the composition of morphisms) of the categories involved. Hence, a natura ...
.
The functor
yields a contravariant
equivalence between the
category of commutative rings and the category of affine schemes; each of these categories is often thought of as the
opposite category
In category theory, a branch of mathematics, the opposite category or dual category C^ of a given Category (mathematics), category C is formed by reversing the morphisms, i.e. interchanging the source and target of each morphism. Doing the reversal ...
of the other.
Motivation from algebraic geometry
Following on from the example, in
algebraic geometry
Algebraic geometry is a branch of mathematics which uses abstract algebraic techniques, mainly from commutative algebra, to solve geometry, geometrical problems. Classically, it studies zero of a function, zeros of multivariate polynomials; th ...
one studies ''algebraic sets'', i.e. subsets of
(where
is an
algebraically closed field
In mathematics, a field is algebraically closed if every non-constant polynomial in (the univariate polynomial ring with coefficients in ) has a root in . In other words, a field is algebraically closed if the fundamental theorem of algebra ...
) that are defined as the common zeros of a set of
polynomial
In mathematics, a polynomial is a Expression (mathematics), mathematical expression consisting of indeterminate (variable), indeterminates (also called variable (mathematics), variables) and coefficients, that involves only the operations of addit ...
s in
variables. If
is such an algebraic set, one considers the commutative ring
of all
polynomial functions
. The ''maximal ideals'' of
correspond to the points of
(because
is algebraically closed), and the ''prime ideals'' of
correspond to the ''irreducible subvarieties'' of
(an algebraic set is called
irreducible if it cannot be written as the union of two proper algebraic subsets).
The spectrum of
therefore consists of the points of
together with elements for all irreducible subvarieties of
. The points of
are closed in the spectrum, while the elements corresponding to subvarieties have a closure consisting of all their points and subvarieties. If one only considers the points of
, i.e. the maximal ideals in
, then the Zariski topology defined above coincides with the Zariski topology defined on algebraic sets (which has precisely the algebraic subsets as closed sets). Specifically, the maximal ideals in
, i.e.
, together with the Zariski topology, is
homeomorphic
In mathematics and more specifically in topology, a homeomorphism ( from Greek roots meaning "similar shape", named by Henri Poincaré), also called topological isomorphism, or bicontinuous function, is a bijective and continuous function betw ...
to
also with the Zariski topology.
One can thus view the topological space
as an "enrichment" of the topological space
(with Zariski topology): for every irreducible subvariety of
, one additional non-closed point has been introduced, and this point "keeps track" of the corresponding irreducible subvariety. One thinks of this point as the
generic point
In algebraic geometry, a generic point ''P'' of an algebraic variety ''X'' is a point in a ''general position'', at which all generic property, generic properties are true, a generic property being a property which is true for Almost everywhere, ...
for the irreducible subvariety. Furthermore, the structure sheaf on
and the sheaf of polynomial functions on
are essentially identical. By studying spectra of polynomial rings instead of algebraic sets with the Zariski topology, one can generalize the concepts of algebraic geometry to non-algebraically closed fields and beyond, eventually arriving at the language of
schemes.
Examples
* The spectrum of integers: The affine scheme
is the
final object in the category of affine schemes since
is the
initial object
In category theory, a branch of mathematics, an initial object of a category is an object in such that for every object in , there exists precisely one morphism .
The dual notion is that of a terminal object (also called terminal element) ...
in the category of commutative rings.
* The scheme-theoretic analogue of
: The affine scheme
. From the
functor of points perspective, a point
can be identified with the evaluation morphism
. This fundamental observation allows us to give meaning to other affine schemes.
* The cross:
looks topologically like the transverse intersection of two complex planes at a point (in particular, this scheme is not irreducible), although typically this is depicted as a
, since the only well defined morphisms to
are the evaluation morphisms associated with the points
.
* The prime spectrum of a
Boolean ring
In mathematics, a Boolean ring is a ring for which for all in , that is, a ring that consists of only idempotent elements. An example is the ring of integers modulo 2.
Every Boolean ring gives rise to a Boolean algebra, with ring multiplicat ...
(e.g., a
power set ring) is a compact
totally disconnected Hausdorff space (that is, a
Stone space).
* (
M. Hochster) A topological space is homeomorphic to the prime spectrum of a commutative ring (i.e., a
spectral space) if and only if it is compact,
quasi-separated and
sober.
Non-affine examples
Here are some examples of schemes that are not affine schemes. They are constructed from gluing affine schemes together.
* The
projective -space