Height of a prime
Let be a commutative ring and let be a prime ideal (i.e., , the prime spectrum ).
The height of , denoted , is the supremum of integers such that there exists a strictly increasing chain of prime ideals
in .
Equivalently,
where is the localization at \mathfrak p and denotes Krull dimension . In particular, the dimension of is the supremum of the heights of its prime ideals.
Examples
The ring of integers.
In , one has , and for any prime number ,is a maximal chain, so .
A polynomial ring in two variables.
In (for a field ), the prime ideals satisfyso , , and .
Dedekind domains.
If is a Dedekind domain (for instance, the ring of integers in a number field), then every nonzero prime ideal has height . In a DVR , the unique nonzero prime ideal also has height , reflecting that these rings are “one-dimensional.”