Krull dimension and height
Measure prime-chain length, distinguish local height from quotient dimension and apply generator bounds only to minimal primes.
On this page
The question for today
What you’ll understand
- Compute dimension using prime chains and irreducible components.
- Relate the height of a prime to its local ring.
- Apply the principal and generalized height theorems with Noetherian and minimal-over-ideal hypotheses.
Krull dimension counts nested prime ideals rather than coordinates, generators or ring elements. A chain with three prime points has length two because length counts strict inclusions. Height measures chains ending at one prime, while quotient dimension measures what remains above it. These are related but cannot be combined into an unrestricted subtraction formula for every ring. Noetherian hypotheses bound the height of primes minimal over a finitely generated ideal, and finite-type algebras over fields admit familiar dimension calculations. Keeping these settings distinct avoids false global Krull-dimension claims.
A prime chain is an algebraic dimension witness
Define dim R as the supremum of lengths of strict chains p₀⊊⋯⊊p_r in Spec R. Define ht p by chains ending at p; it equals dim R_p because localization retains precisely the primes contained in p. The quotient R/p instead retains primes containing p. Thus localization and quotient inspect opposite portions of the inclusion structure. A field has dimension zero, while k[x] has the strict chain (0)⊊(x) and no longer chain, giving dimension one.
For a finite module M, its dimension is the dimension of Supp M, equivalently dim R/Ann M. Nilpotent thickening does not change the prime spectrum or its chain lengths. Passing from k[x] to k[x,ε]/(ε²) retains dimension one even though the ring acquires nilpotents and a larger module structure. Counting generators of an algebra gives only a possible presentation and bound, not necessarily the dimension: relations can reduce it, while redundant generators can enlarge a presentation without changing the ring.
Generators bound minimal-prime height
Krull’s principal ideal theorem says that in a Noetherian ring, each prime minimal over a proper principal ideal has height at most one. The generalized height theorem replaces one generator by r generators and gives height at most r for primes minimal over that ideal. Minimality is crucial: a maximal ideal containing a principal ideal can have much larger height. These are theorem statements; their proofs require dimension-theoretic arguments beyond the elementary chain calculations here. They do not say every ideal generated by r elements has every overlying prime of height at most r.
A Noetherian local ring has finite dimension because its maximal ideal is finitely generated and is the unique prime minimal over itself. A general Noetherian ring need not have a uniform finite Krull dimension for the whole ring; finite heights at individual primes need not have a common bound. Finite-type algebras over a field do have finite dimension. For a finitely generated k-domain, Noether normalization and integral dimension preservation give dimension equal to the transcendence degree of its fraction field. These additional hypotheses are what justify the familiar finite-coordinate picture.
Components and local geometry require separate counts
For a Noetherian ring, dimension is the maximum of the dimensions of its quotients by minimal primes. This lets a reducible algebra be analyzed component by component. In k[x,y,z]/(xy), the components x=0 and y=0 are both polynomial planes, so the ring has dimension two despite being presented with three generators. Embedded associated primes carry extra module information but do not create additional irreducible components or increase the dimension beyond this minimal-component calculation.
One often expects ht p+dim R/p=dim R, and it is valid in many well-behaved polynomial and finite-type settings under appropriate conditions. It is not a universal identity for arbitrary Noetherian rings, especially when chain lengths behave unevenly. Catenarity and dimension formulas require their own hypotheses. A safe computation proves a lower bound with an explicit chain and an upper bound with a justified theorem, rather than subtracting the number of written equations from the number of written variables without checking independence or minimality.
Work it through
A reducible surface still has dimension two
Let A=k[x,y,z]/(xy). Compute dim A and exhibit a prime chain attaining it.
The minimal primes are the images of (x) and (y), since a prime containing xy must contain x or y. Their quotients are k[y,z] and k[x,z], each of dimension two.
The minimal-component dimension theorem therefore gives dim A=2. The nilpotent or embedded structure question is separate from this component count.
The chain has two strict inclusions and consists of primes, because the successive quotient rings are polynomial rings or k.
The chain proves dimension at least two, and the component calculation proves the matching upper bound. Three named variables do not make this quotient three-dimensional.
The living notebook
Explore the model
Interactive lab · modular
Cardinality is not Krull dimension
Pause and Reset, then set modulus m=12 and additive step=1. Predict twelve residue labels. For a fresh comparison Reset and set m=6,step=1; predict six labels. Both finite rings Z/12Z and Z/6Z have Krull dimension zero because every prime is maximal. The instrument displays additive elements, not prime chains, so the changed orbit length must not be interpreted as changed Krull dimension.
- Residue r0
- 0
- Orbit period · m/gcd(m,a)
- 12
- Distinct residues visited
- 1 of 12
Addition modulo m starts at zero: rₙ = na mod m. Playback advances two additions per second. The orbit has period m/gcd(m,a), including period one for a = 0. This is not a cryptographic security test or a primality algorithm. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.
Look forA ring can have many elements, nilpotents or generators while still having no strict chain of prime ideals.
Pause & reason
Check your understanding
Your turn
Try it yourself
In R=k[x,y,z], find the primes minimal over I=(xy,z), their heights and dim R/I. Explain why the height-three maximal ideal (x,y,z) causes no contradiction.
Take a moment to make a prediction or work it out on paper. Open a hint when you need one.
Give me a hint
Every prime containing I contains z and at least one of x,y. Examine the two resulting component quotients.
Compare with the solution
The minimal primes are (x,z) and (y,z). Each has height two, witnessed by a chain such as (0)⊊(x)⊊(x,z), and the polynomial-ring dimension theorem gives the matching height. The component quotients are k[y] and k[x], so dim R/I=1. The maximal ideal (x,y,z) also contains I but is not minimal over it. Its height three therefore does not contradict the bound two for primes minimal over the two-generated ideal.
Keep the idea
Take it with you
- Dimension counts prime-chain inclusions, while height is dimension after localizing at a prime.
- Generator bounds apply to minimal primes with a Noetherian hypothesis.
- Component theorems and explicit chains justify dimension; variable-minus-equation counting alone does not.
Read further
Original sources and deeper explanations to follow at your own pace.
Optional progress, saved in this browser when available. Revisit any lesson at any time.
Lesson not marked complete.