Integral domain Created 2026-09-24 Updated 2026-10-14
An integral domain is a nonzero commutative ring without zero divisors. Equivalently, a product of two nonzero elements is always nonzero. The zero ring is excluded, and fails because . Every field is an integral domain, but the integers show that the converse fails: has no multiplicative inverse in . See MIT's Basic Properties of Rings, definitions 15.9–15.10 and example 15.11.
The practical benefit is multiplicative cancellation. In the integers, has at most one solution and indeed works. Yet has no integer solution. Thus multiplicative cancellation guarantees uniqueness when a solution exists; it does not guarantee division by every nonzero element. Passing to the fraction field supplies the missing solution .
The polynomial ring is also an integral domain. For example, the product of and has leading coefficient and cannot vanish. Generally the leading coefficient of a product is the product of the two leading coefficients; an integral domain prevents that coefficient from vanishing. This connects integer arithmetic to polynomial arithmetic through one reusable principle.
Historically, this connection grew far beyond elementary examples. Keith Conrad identifies the ring of integers of a number field and a ring of polynomial functions on a smooth plane curve as early important examples of Dedekind domains. This shared structure connects number theory with algebraic geometry; see Conrad's Ideal Factorization, section 6.
A propositional geometric theory has primitive propositions and sequents between formulas built with finite conjunction and arbitrary set-indexed disjunction. Start with the free frame on the primitives, identify conjunction with meet and disjunction with join, and impose each sequent as an inequality. The resulting quotient frame is . In the sheaf topos , interpret each primitive as the subterminal sheaf corresponding to its generating open. Operations on these subterminal sheaves are precisely the frame operations, so every imposed sequent is valid. This constructs the canonical model.
For a commutative ring , denote the generator attached to by . The presentation implies
The product equality uses the multiplication implication in one direction and both factor implications in the other; the latter follow by commuting . A ring homomorphism sends these relations to the corresponding ones in . It therefore gives a frame homomorphism and hence a map of locales.
If , then
so the two opens cover. Conversely let and pull back a putative cover along . Both generators become , so in . The allowed degeneracy criterion gives in , equivalently . Thus
This necessity argument never selects a prime ideal.
Finite intersections of the generating opens are again generators, so they form a basis. Assign to . The localization of a ring carries its ordinary addition and multiplication of fractions; equality of and means that some power of annihilates the cross-multiplied difference. On , restriction is further localization.
We also justify restriction for any inclusion of basic opens. Adding the condition to the presentation of gives the open and the presentation of : the generator for corresponds to . This is well-defined since equality of fractions, after multiplication by a power of the now-invertible , makes the two membership propositions equivalent. More explicitly, implies . If , this gives . If is killed by a power of , then (since ), and the additive inequalities for and give . A zero element in the localized ring has false membership, multiplication gives intersections, and the additive relation follows by clearing denominators. The reverse assignment on proves that these maps are inverse. Thus . If , then in this localized theory . Apply the quotient argument above, with the second generator , to conclude in . Therefore is invertible there, and the universal property of localization gives the restriction . These restrictions compose uniquely.
It remains to glue, and the allowed basis criterion reduces this to a whole-locale cover . Let and have equal restrictions to . Choose a common initial exponent , writing , . Equality on the overlap supplies with
Set , and . Then
with the last equality in itself. This clearing step is necessary when the commutative ring has zero divisors.
Since , also . Choose . For , expand ; each term contains either or , producing with . For choose . Define
In ,
and similarly in ,
Thus glues the matching pair. If is another gluing, some and annihilate . The same binomial argument gives , so . This proves uniqueness without cancellation or a domain assumption.
The exactness of the unit-ideal localization Čech complex proves the sheaf axiom for the required basic covers, and hence the assignment with its restrictions defines a sheaf of rings with . On the empty basic open, localization is the zero ring, whose underlying set has one section, as required. The construction and proof remain valid for the zero ring.
Use the standard convention that an integral domain has . Since , the sign of a nonzero makes no difference. For prime, every nonzero residue has an inverse by Bézout's identity, so the quotient ring is a field and hence an integral domain. If is composite with , the nonzero classes of and multiply to zero, giving zero divisors. For , the quotient is the zero ring, excluded by the convention above. Finally, gives , an integral domain. Thus
If a convention restricts this notation to positive moduli, the answer is simply the positive primes.
Ring Created 2026-09-24 Updated 2026-10-14
A ring is a set with two binary operations, addition and multiplication, satisfying three requirements. Under addition, is an abelian group: there is a zero, every element has an inverse element, and grouping or exchanging summands does not change the result. Multiplication is associative and has an identity element , so and . Finally, both versions of the distributive property hold:
Here every ring is unital, but the zero ring, with , is allowed. Commutativity of multiplication is an additional condition defining a commutative ring. These conventions agree with [ref].
The integers form a ring with their usual operations. The polynomial ring is another: addition combines coefficients, while multiplication uses the distributive property. For example,
The same rules justify symbolic calculations in both rings; this is why one definition can organize apparently different kinds of arithmetic. In every ring, , and . The first identity follows by distributing and subtracting ; the second follows by distributing . Thus familiar sign rules are consequences of the structure.
Order still matters in some rings. In the matrix ring , take
Then matrix multiplication gives
Nevertheless, matrix multiplication is associative, distributes over addition, and has the identity matrix as its identity element. This is a valid ring. On a column vector, applies first and second: swapping coordinates before discarding the second coordinate differs from doing those actions in reverse. The failure of commutativity records a meaningful difference in function composition.
Figure 1.
Two orders of matrix multiplication give different outputs on the same vector
. Details.
Unit modulo n Created 2026-09-29 Updated 2026-10-14
For a positive integer modulus , a residue class is a unit when it has a modular multiplicative inverse: some integer satisfies . Modulo twelve, the units are exactly
In particular, five is its own modular inverse, since . Multiplying all twelve residue classes by five gives a permutation; multiplying the outputs by five recovers the inputs. By contrast, multiplying by six gives only zero and six, with six inputs for each output. It cannot be reversed.
Figure 1.
Multiplication by five permutes all twelve residue classes, whereas multiplication by six merges distinct inputs
. Details.
In general, the exact criterion is
For the forward direction, implies every common divisor of divides one. Conversely, if their greatest common divisor is one, Bézout's identity supplies , so is a modular inverse. The extended Euclidean algorithm computes these coefficients. The units form the unit group under multiplication. [ref]
Multiplicative cancellation while keeping the same integer modulus is valid for a unit modulo n: from , multiply by a modular inverse of to get . A nonunit cannot be cancelled as a general rule. For example, , yet . Thus division by six cannot undo this multiplication; solving a linear congruence instead keeps track of all possible classes.
This distinction marks the boundary between commutative rings and fields. Modulo a prime number , every nonzero residue class is a unit, so is a finite field. Modulo twelve it is a commutative ring with zero divisors, and is not a field. For , the sole class satisfies and is a unit; this one-element zero ring is not a field. [ref]