For a commutative ring and a multiplicative subset containing , the universal property of localization specifies a pair with a unital ring homomorphism, such that every , , is a unit, and any unital ring homomorphism into a commutative ring that sends to units factors uniquely through . Thus there is a unique satisfying . The property determines the pair up to a unique compatible isomorphism.
For existence, take pairs and declare
The extra multiplier is essential when has zero divisors. This is an equivalence relation: for transitivity, multiply the two cross-multiplication equations by appropriate denominators and add them, using the product of their annihilating multipliers. Write the class as and define
Multiplying the defining equivalence equations verifies that these operations are well defined. They give a commutative ring, and has inverse . The required map is necessarily
It is well defined because applying to and cancelling the units equates the two images. Its addition and multiplication laws follow directly from the fraction formulas. This establishes existence and the universal property of localization. If , this construction gives the zero ring, which is allowed as a localization.
For a prime ideal , its complement is multiplicatively closed, and localization at a prime ideal means . The map
is well defined and surjective, with kernel of a ring homomorphism : a numerator has zero image exactly when it belongs to . Since is an integral domain, its field of fractions is a nonzero field, so is a proper maximal ideal. Every fraction with is a unit, with inverse . Every fraction with belongs to this proper ideal and cannot be a unit. Thus the nonunits are exactly , and every proper ideal lies within it. Consequently
Now suppose each is reduced. If is nilpotent, its image is nilpotent in every , hence is zero. If , its annihilator is a proper ideal, so choose a maximal ideal containing it. Maximal ideals in a commutative ring are prime ideals. The vanishing criterion in a module localization would give for some . But then , a contradiction. Hence is reduced. This is reducedness is detected by prime localizations; no finiteness hypothesis is needed.
The stronger local-domain condition does not force to be an integral domain. Take for a field . Its only prime ideals are and : a prime ideal must contain one of the orthogonal idempotents and , and the remaining quotient is the field . At , inverting kills the second component, so ; similarly . Both localizations are integral domains, but
is a product of nonzero elements in . Therefore the answer is no, as illustrated by domain prime localizations do not imply a domain.
Let be a multiplicative subset, containing one and closed under products. On , use
The relation is reflexive and symmetric. For transitivity, if and , then multiplication and addition give . Thus it is an equivalence relation. Write for the equivalence class. The localization of a ring has operations
They are well defined. For example, replacing by in its sum with gives cross-numerator difference , and in its product with gives . The same annihilating element kills both differences. Replacing the other input works identically. Associativity and distributivity then follow by putting all terms over the product of their denominators and using the ring identities in . Addition and multiplication are commutative, with identities and , and the displayed negative is an additive inverse. Hence is a commutative ring. If , the fraction relation identifies all elements, producing the zero ring.
The canonical ring homomorphism , , makes each a unit, with inverse . The universal property of localization states that any ring homomorphism sending into the units factors uniquely through . Define the factor by
If , then is invertible, so , proving well-definedness. The fraction operations prove that is a ring homomorphism. Its value is forced by , so it is unique. This property characterizes the localization up to a unique compatible isomorphism.
For a prime ideal , its complement is a multiplicative subset, and the localization at a prime ideal is . Fractions with numerator outside are units; those with numerator in form the unique maximal ideal . Thus it is a local ring.
For the nilpotent question, suppose and . Its annihilator is a proper ideal, so it lies in some maximal ideal . The fraction criterion says in only if for some , which is impossible by the choice of . Thus is a nonzero nilpotent element in that localization. This proves reducedness is detected by prime localizations: if every prime localization is reduced, has no nonzero nilpotent elements.
For the domain question take with a field. Its only prime ideals are and : a prime ideal must contain one of the orthogonal idempotents , and the corresponding quotient is . Localizing at makes invertible and kills , giving ; similarly . But with both factors nonzero. Therefore domain prime localizations do not force to be an integral domain, as expressed by domain prime localizations do not imply a domain.
Put . There is an explicit isomorphism from the principal open subset to the affine algebraic set
Its inverse is projection, and both maps are regular maps. The coordinate ring is
by the universal property of localization. Since regular functions on an affine variety are its coordinate ring, this proves the natural -algebra isomorphism
Now . A regular function on determines one element of the function field , and its restrictions belong to and . Conversely, elements of their intersection glue because they agree on . Thus
If a reduced fraction has denominator dividing a power of and also a power of , unique factorization makes its denominator a unit. Therefore puncturing the plane does not change its ring of global regular functions:
If were an affine variety, its inclusion would correspond to the identity isomorphism . The equivalence between affine varieties and their coordinate rings would make an isomorphism, contradicting the missing origin. Hence is not affine. This illustrates regular functions on the punctured affine plane: the coordinate ring alone does not recover a nonaffine variety.
A ring homomorphism is understood to preserve . Start with . Its map on spectra of rings is
Contraction gives a prime ideal, and . Thus is continuous for the Zariski topology. On each principal open subscheme, the structure sheaf map is the ring homomorphism
These maps commute with restrictions, so they define a sheaf morphism . At , with , its stalk map is . The inverse image of the maximal ideal is , so this is a local homomorphism. We have constructed a morphism of locally ringed spaces.
Conversely, let be a morphism of locally ringed spaces. Its map on global sections gives , using and . Fix and put . Compatibility with the stalk maps and the local homomorphism property give
Consequently , so the underlying map is forced. On , the sheaf morphism is forced as well: it extends and sends to a unit, hence agrees with the displayed map by the universal property of localization. The principal open subschemes form a basis, so the entire sheaf morphism is determined. Taking global sections of the construction recovers . The two constructions are inverse, proving the affine-target adjunction for schemes in the affine-source case:
To describe the real affine plane scheme points, write . It is a unique factorization domain of Krull dimension two. Its points are exactly the following prime ideals:
For completeness, any height-one prime ideal contains an irreducible polynomial ; since is already a height-one prime ideal, it must equal . Every remaining nonzero prime ideal has height two and is maximal, by Krull dimension. For a nonreal pair, evaluation generates all of over , so its kernel is maximal. Conversely, each residue field isomorphic to has exactly the two conjugate real-algebra embeddings into , proving the assertion about repetitions.
This describes the topology too: consists of the prime ideals containing , and the closure of a point is . In particular, the closure of is the whole affine plane, while the closure of contains precisely the closed points on , together with itself. The spectrum is much larger than the set . For example, is a height-one point although its curve has no real points. Its structure sheaf has and stalk at .
The induced morphism of schemes
is contraction of prime ideals, with the structure sheaf maps given above. On closed points, it sends to the kernel of real-polynomial evaluation at . A real closed point has one complex point above it; a nonreal closed point has two, interchanged by complex conjugation. The source generic point maps to the target generic point. The source height-one points are generated by irreducible complex polynomials . Their contractions are height-one prime ideals , and is a factor of over . An irreducible real either stays irreducible over or splits into two distinct conjugate irreducible factors. Indeed, complex conjugation acts transitively on its distinct factors, or a proper orbit product would give a real factor of ; every orbit has size at most two. Repeated factors are excluded by separability in characteristic zero. Thus one or two height-one points lie above .
The complexification fibres of a real scheme give a uniform description of all scheme-theoretic fibres, including the nonclosed points, is especially useful. The extension of coordinate rings is
a free -module with basis . At , with residue field , the scheme-theoretic fibre is
If is a square in , the Chinese remainder theorem gives , hence two points. Otherwise it is a quadratic field extension, hence one point. The polynomial has no repeated root in characteristic zero, so all these scheme-theoretic fibres are reduced schemes. This also proves surjectivity. Conjugation acts on each two-point fibre by exchanging its points and fixes each one-point fibre. As a finite morphism, is closed, so its underlying topological space is the quotient by complex conjugation. The fibre formula explains why a real closed point gives one complex point, whereas the generic point gives a single point with residue field .
Let . Since is a prime ideal, is a multiplicative subset containing and excluding . The localization at a prime ideal is
Concretely, its elements are equivalence classes of pairs , written , with
This extra multiplier is essential when has zero divisors. Addition and multiplication are
The equivalence criterion is compatible with these operations: after multiplying by the multipliers witnessing changes of representatives, the corresponding numerators agree. The commutative ring axioms follow from those of ; the identity is .
The canonical ring homomorphism , , supplies the algebra over a commutative ring structure, with scalar action . It also has the universal property of localization: whenever a ring homomorphism sends to units, the unique extension is .
For later use, is a local ring with maximal ideal . Reduction of numerators and denominators gives a surjective ring homomorphism with kernel , so this ideal is proper and maximal. Every fraction outside it has numerator outside and is a unit, with inverse . Thus it is the unique maximal ideal.
A multiplicative subset contains and satisfies . The localization of a ring consists of fractions modulo the relation
Its structure map makes every invertible. The universal property of localization says that if is any ring homomorphism for which every is a unit, there is one unique homomorphism satisfying , namely