A ring is a set with two laws such that: is an abelian group (identity ); is associative with an identity ; and distributes over on both sides. The ring is commutative when is. An element is invertible (a unit) when for some ; the units form a group .
Examples
Example 7.18
are commutative rings; , . Later: polynomial rings (Chapter 8), matrix rings (non-commutative, Chapter 21), and below. In every ring, (from distributivity: ), and .
Example 7.19 (Idempotents: new phenomena in new rings)
In , the equation , i.e. , has only the solutions and . In , testing all classes: , , and — four idempotents. The two exotic ones come from zero divisors: with neither factor zero. Such computations calibrate one’s instincts: familiar facts about equations survive in integral domains and fields, but a general ring can and does behave differently — see also the Boolean rings of Exercise 7.10, where every element is idempotent.
Example 7.21 (The binomial theorem in an unfamiliar ring)
Two quick payoffs of the generality. In ( prime), the middle binomial coefficients vanish (Theorem 6.23’s first step), so the theorem collapses to the freshman’s dream
a genuine identity there, however criminal it looks over . And in any commutative ring containing an element with , the theorem truncates: , all higher terms carrying a factor . The coefficient of is the derivative of — no accident, and a first hint that derivatives are algebra as much as analysis (compare the formal derivative of Chapter 8).