Let be a ring. We say is a zero divisor if for some nonzero we have .
Example: 2 is a zero divisor in . 5,7 are zero divisors in .
A nonzero ring in which there are no nonzero zero divisors is called an integral domain.
Example: are integral domains.
The following is easily verified:
Proposition: If is an integral domain then so is .
Corollary: If is an integral domain then so is .
An element is nilpotent if for some . Note all nilpotent elements are zero divisors, but the converse is not always true, for example, is a zero divisor in but not nilpotent.
We say is a unit if for some . Note if such a exists, it must be unique so we write . Also note that the units form an abelian group under multiplication. If for some unit then we say is an associate of .
Example: The units in are . The units of are . We have a unit if and only if are coprime.
A field is a nonzero ring in which all nonzero elements are units.
Example: for prime are all fields.
Note that all fields are integral domains. The converse is not true, but integral domains are closely related to fields as will be seen when constructing fields of fractions.
A principal ideal of is an ideal generated by a single element, in other words, for some , For example, . Clearly is a unit if and only if .
Proposition: Let be a nonzero ring. The following are equivalent:
- is a field
- The only ideals of are and .
- Every homomorphism of onto a nonzero ring is injective.
Proof: since any ideal containing a unit must contain all of . : suppose the only ideals of are and let be a ring homomorphism onto a nonzero ring . We have since has at least one nonzero value. But , so . Hence is injective. : let be a nonunit. Then so is a nonzero ring. By assumption, the natural map is injective, thus its kernel is injective and hence . In particular hence all nonzero elements of are units.