The spectrum of a ring is the set of its proper prime ideals. For an ideal , set . These are the closed sets of the Zariski topology. They satisfy
The union identity follows because a prime ideal containing must contain or : otherwise choose and , contradicting . These identities verify the closed-set axioms. The maximal spectrum has the subspace topology, whose closed sets are .
For a finitely generated -algebra, the needed form of the Hilbert Nullstellensatz is
Here an empty intersection means . We prove this formula rather than assume the desired correspondence.
First establish the residue-field fact. If a field is a finitely generated algebra over , choose a maximal algebraically independent subset of a finite generating set, with remaining generators . Each is algebraic over . Clearing the finitely many denominators in their monic equations gives a nonzero polynomial such that each is integral over
Since is a field, it contains , and is an integral extension of . If a field is integral over a domain, the domain is itself a field: for , an integral equation for , multiplied by , expresses in .
But if , choose for which does not divide . Such a choice exists because a nonzero polynomial has only finitely many distinct factors . The element is a nonunit even after inverting : an inverse would imply that divides a power of . Thus would not be a field, a contradiction. Hence , and is algebraic over the algebraically closed field , forcing . This proves the Zariski lemma in the form used here.
Now if , the localization of a ring is nonzero: vanishing would mean for some . It is still a finitely generated algebra over , since one need only adjoin an inverse of . Choose a maximal ideal of . By the preceding argument, . The composite is surjective because it contains the constant scalars. Its kernel is consequently a maximal ideal of , contains , and does not contain , whose image is invertible. This proves that the displayed intersection is contained in . The reverse inclusion follows because every maximal ideal is prime and contains the radical of an ideal whenever it contains that ideal.
For a closed subset , put . It is a radical ideal. The formulas now show
are inverse maps on radical ideals and closed sets. Indeed the first followed by the second gives , while if , the second gives and . Thus the correspondence is a bijection reversing inclusion. This is the relation between radical ideals and closed subsets of the maximal spectrum.
For , the maximal ideals are , for . Every nonzero proper radical ideal is generated by a squarefree polynomial, and hence has the form
for a finite nonempty subset . The associated closed set is . A repeated factor of a polynomial does not change its zero set, but passing to its radical ideal removes that repeated factor. The two endpoint cases are
The empty-product convention makes . Under , the closed sets are exactly the finite subsets and the whole affine line.