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 Krull dimension 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 ...
''R'', named after
Wolfgang Krull, is the
supremum
In mathematics, the infimum (abbreviated inf; : infima) of a subset S of a partially ordered set P is the greatest element in P that is less than or equal to each element of S, if such an element exists. If the infimum of S exists, it is unique, ...
of the lengths of all
chains of
prime ideals. The Krull dimension need not be finite even for a
Noetherian ring
In mathematics, a Noetherian ring is a ring that satisfies the ascending chain condition on left and right ideals. If the chain condition is satisfied only for left ideals or for right ideals, then the ring is said left-Noetherian or right-Noethe ...
. More generally the Krull dimension can be defined for
modules over possibly
non-commutative ring
In mathematics, a noncommutative ring is a ring whose multiplication is not commutative; that is, there exist ''a'' and ''b'' in the ring such that ''ab'' and ''ba'' are different. Equivalently, a ''noncommutative ring'' is a ring that is not ...
s as the
deviation of the
poset
In mathematics, especially order theory, a partial order on a Set (mathematics), set is an arrangement such that, for certain pairs of elements, one precedes the other. The word ''partial'' is used to indicate that not every pair of elements need ...
of submodules.
The Krull dimension was introduced to provide an algebraic definition of the
dimension of an algebraic variety
In mathematics and specifically in algebraic geometry, the dimension of an algebraic variety may be defined in various equivalent ways.
Some of these definitions are of geometric nature, while some other are purely algebraic and rely on commutati ...
: the dimension of the
affine variety defined by an ideal ''I'' in a
polynomial ring
In mathematics, especially in the field of algebra, a polynomial ring or polynomial algebra is a ring formed from the set of polynomials in one or more indeterminates (traditionally also called variables) with coefficients in another ring, ...
''R'' is the Krull dimension of ''R''/''I''.
A
field ''k'' has Krull dimension 0; more generally, ''k''
1, ..., ''x''''n''">'x''1, ..., ''x''''n''has Krull dimension ''n''. A
principal ideal domain
In mathematics, a principal ideal domain, or PID, is an integral domain (that is, a non-zero commutative ring without nonzero zero divisors) in which every ideal is principal (that is, is formed by the multiples of a single element). Some author ...
that is not a field has Krull dimension 1. 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 ...
has Krull dimension 0 if and only if every element of its
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 ...
is
nilpotent
In mathematics, an element x of a ring (mathematics), ring R is called nilpotent if there exists some positive integer n, called the index (or sometimes the degree), such that x^n=0.
The term, along with its sister Idempotent (ring theory), idem ...
.
There are several other ways that have been used to define the dimension of a ring. Most of them coincide with the Krull dimension for Noetherian rings, but can differ for non-Noetherian rings.
Explanation
We say that a chain of prime ideals of the form
has length ''n''. That is, the length is the number of strict inclusions, not the number of primes; these differ by 1. We define the Krull dimension of
to be the supremum of the lengths of all chains of prime ideals in
.
Given a prime ideal
in ''R'', we define the of
, written
, to be the supremum of the lengths of all chains of prime ideals contained in
, meaning that
.
[Matsumura, Hideyuki: "Commutative Ring Theory", page 30–31, 1989] In other words, the height of
is the Krull dimension of the
localization of ''R'' at
. A prime ideal has height zero if and only if it is a
minimal prime ideal. The Krull dimension of a ring is the supremum of the heights of all maximal ideals, or those of all prime ideals. The height is also sometimes called the codimension, rank, or altitude of a prime ideal.
In a
Noetherian ring
In mathematics, a Noetherian ring is a ring that satisfies the ascending chain condition on left and right ideals. If the chain condition is satisfied only for left ideals or for right ideals, then the ring is said left-Noetherian or right-Noethe ...
, every prime ideal has finite height. Nonetheless,
Nagata gave an example of a Noetherian ring of infinite Krull dimension. A ring is called
catenary
In physics and geometry, a catenary ( , ) is the curve that an idealized hanging chain or wire rope, cable assumes under its own weight when supported only at its ends in a uniform gravitational field.
The catenary curve has a U-like shape, ...
if any inclusion
of prime ideals can be extended to a maximal chain of prime ideals between
and
, and any two maximal chains between
and
have the same length. A ring is called
universally catenary if any finitely generated algebra over it is catenary. Nagata gave an example of a Noetherian ring which is not catenary.
In a Noetherian ring, a prime ideal has height at most ''n'' if and only if it is a
minimal prime ideal over an ideal generated by ''n'' elements (
Krull's height theorem and its converse). It implies that the
descending chain condition
In mathematics, the ascending chain condition (ACC) and descending chain condition (DCC) are finiteness properties satisfied by some algebraic structures, most importantly ideals in certain commutative rings. These conditions played an important r ...
holds for prime ideals in such a way the lengths of the chains descending from a prime ideal are bounded by the number of generators of the prime.
More generally, the height of an ideal I is the infimum of the heights of all prime ideals containing I. In the language of
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 ...
, this is the
codimension
In mathematics, codimension is a basic geometric idea that applies to subspaces in vector spaces, to submanifolds in manifolds, and suitable subsets of algebraic varieties.
For affine and projective algebraic varieties, the codimension equals ...
of the subvariety of Spec(
) corresponding to I.
Schemes
It follows readily from the definition of the
spectrum of a ring Spec(''R''), the space of prime ideals of ''R'' equipped with the
Zariski topology, that the Krull dimension of ''R'' is equal to the dimension of its spectrum as 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 ...
, meaning the supremum of the lengths of all chains of
irreducible closed subsets. This follows immediately from the
Galois connection
In mathematics, especially in order theory, a Galois connection is a particular correspondence (typically) between two partially ordered sets (posets). Galois connections find applications in various mathematical theories. They generalize the fun ...
between ideals of ''R'' and closed subsets of Spec(''R'') and the observation that, by the definition of Spec(''R''), each prime ideal
of ''R'' corresponds to a generic point of the closed subset associated to
by the Galois connection.
Examples
* The dimension of a
polynomial ring
In mathematics, especially in the field of algebra, a polynomial ring or polynomial algebra is a ring formed from the set of polynomials in one or more indeterminates (traditionally also called variables) with coefficients in another ring, ...
over a field ''k''
1, ..., ''x''''n''">'x''1, ..., ''x''''n''is the number of variables ''n''. In the language of
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 ...
, this says that the affine space of dimension ''n'' over a field has dimension ''n'', as expected. In general, if ''R'' is a
Noetherian In mathematics, the adjective Noetherian is used to describe objects that satisfy an ascending or descending chain condition on certain kinds of subobjects, meaning that certain ascending or descending sequences of subobjects must have finite leng ...
ring of dimension ''n'', then the dimension of ''R''
'x''is ''n'' + 1. If the Noetherian hypothesis is dropped, then ''R''
'x''can have dimension anywhere between ''n'' + 1 and 2''n'' + 1.
* For example, the ideal