On this page
You already know three rings well. This guide builds every definition from them, then follows one example in Z[x] to prime and maximal ideals.
What is a ring in abstract algebra?
A ring is a set R with two operations, + and ·, in which R is an abelian group under addition, multiplication is associative with an identity element 1, and multiplication distributes over addition (Ring, Wikipedia)). Keep three examples in mind:
Z, the integers: commutative, and ab = 0 forces a = 0 or b = 0.
Z[x], polynomials with integer coefficients, added and multiplied as in school.
2 × 2 real matrices: a ring where order matters. The same page lists the n × n real matrices with n ≥ 2 as a noncommutative ring.
Take A with rows (0, 1) and (0, 0), and B with rows (0, 0) and (1, 0): AB has rows (1, 0) and (0, 0), but BA has rows (0, 0) and (0, 1). And A times A is zero although A is not.
MacTutor's history of ring theory credits the word "ring" (Zahlring) to Hilbert and says that around 1921 Emmy Noether brought rings of polynomials and of numbers under one theory of abstract commutative rings.
What is an ideal, and why is nZ one?
In a commutative ring, an ideal I is a subset that is a subgroup under addition and is closed under multiplication by any element of the ring (Ideal, Wikipedia)).
Sums, negatives and integer multiples of multiples of 3 are multiples of 3, so 3Z is an ideal. But Z is not an ideal of the rationals: (1/2) · 1 = 1/2 falls outside Z.
An ideal of the form (a) = {ra : r in R} is called principal. The same page states that every non-zero ideal of Z is generated by its smallest positive element, by Euclidean division, so Z is a principal ideal domain: its ideals are exactly the sets nZ.
How does the quotient ring Z/nZ work?
The cosets a + I form a new ring, with (a + I)(b + I) = ab + I. Absorption makes this well defined: swapping a for a + i changes the product by ib, which is in I. It is the coset construction from normal subgroups and quotient groups, with ideals in the role of normal subgroups.
Z/5Z is arithmetic on the remainders 0 to 4: 3 · 4 = 12, which is 2. In Z/6Z, 2 · 3 = 0 though neither factor is 0.
Why do prime and maximal ideals generalise prime numbers?
A proper ideal P is prime if, whenever ab is in P, a is in P or b is in P (Prime ideal, Wikipedia). That is Euclid's lemma (if p divides ab, p divides a or b) rewritten for any ring. The same page states that a positive integer n is prime if and only if nZ is a prime ideal, and that I is prime if and only if R/I is an integral domain.
A maximal ideal is a proper ideal with no proper ideal strictly above it, and R/m is a field if and only if m is maximal (Maximal ideal, Wikipedia). In Z the maximal ideals are pZ for p prime. Z/5Z is a field: 2 · 3 = 6 is 1 and 4 · 4 = 16 is 1. And 6Z is not even prime: 2 · 3 is in 6Z but neither 2 nor 3 is. In a commutative ring with 1, every maximal ideal is prime, but the zero ideal of Z is prime without being maximal.
Worked example: prime and maximal ideals in Z[x]
Let I = (x), the polynomials with constant term 0. The map f ↦ f(0) sends Z[x] onto Z, and its kernel is exactly (x), so Z[x]/(x) is Z.
Z is an integral domain but not a field (2 has no inverse). So (x) is prime but not maximal.
(2, x) is the polynomials with even constant term. Reducing f(0) mod 2 shows Z[x]/(2, x) is Z/2Z, a field, so (2, x) is maximal, giving the chain (0) ⊂ (x) ⊂ (2, x) ⊂ Z[x].
Is (2, x) principal? If (2, x) = (f), then f divides 2, so f is a constant, and f divides x, so f = ±1. That would put 1 in (2, x), but every constant term there is even. So Z[x], unlike Z, is not a principal ideal domain.
Finally, (x²) is not prime: x · x is in (x²), but x is not.
For factorisation in Z[x], learn Gauss's lemma on content and primitive parts next.
If a step stops making sense, the Fermi Concept Library gives every concept in mathematics its own lesson and its place in the map, so you can step back to cosets or kernels. For practice, the Fermi Problem Library has worked problems with a step-by-step solver that explains the reasoning rather than printing an answer.
Thinking of a prime as the ideal pZ also leads to p-adic numbers, which measure size by divisibility.



