Skip to content

Ideals and Quotient Rings

In this lesson you’ll learn what an ideal is and why a subring isn’t enough, how to build the quotient ring R/IR/I, what makes an ideal maximal, and the theorem that turns an irreducible polynomial into a field.

For groups, the subobjects that let you form quotients are the normal subgroups. For rings there’s an analogous restriction, and an ordinary subring doesn’t qualify.

A subring is a subset closed under addition, negation, and multiplication. That’s enough to be a ring in its own right, but not enough to build a quotient.

An ideal IRI \subseteq R satisfies two conditions:

  1. (I,+)(I, +) is a subgroup of (R,+)(R, +).
  2. Absorption: raIra \in I and arIar \in I for every rRr \in R and aIa \in I.

Condition 2 is much stronger than requiring II closed under its own multiplication. It says multiplying by anything at all in RR, not just by elements of II, keeps you inside.

3Z3\mathbb{Z} is an ideal of Z\mathbb{Z}: any integer times a multiple of 3 is again a multiple of 3. But Z\mathbb{Z} is a subring of Q\mathbb{Q} that is not an ideal, since 121=12Z\frac12 \cdot 1 = \frac12 \notin \mathbb{Z}.

The analogy to remember: ideal is to ring as normal subgroup is to group. Both are exactly the subobjects you can quotient by.

For commutative RR with unity, the principal ideal generated by aa is

a={ra:rR}\langle a \rangle = \{ra : r \in R\}

all multiples of aa. It’s the smallest ideal containing aa.

In Z\mathbb{Z}, every ideal is principal: n=nZ\langle n \rangle = n\mathbb{Z}. A ring where this always happens is a principal ideal domain, and Z\mathbb{Z} and F[x]F[x] for a field FF are both examples. In Z[x]\mathbb{Z}[x] it fails: the ideal of polynomials with even constant term needs two generators, 2,x\langle 2, x \rangle.

Two special cases: 0={0}\langle 0 \rangle = \{0\} and 1=R\langle 1 \rangle = R. So {0}\{0\} and RR are always ideals, and any ideal containing a unit is all of RR, since uIu \in I forces 1=u1uI1 = u^{-1}u \in I and then r=r1Ir = r \cdot 1 \in I.

Consequence: a field has only the two trivial ideals. There’s nothing to quotient by, which is part of what makes fields the end of the line.

Given an ideal IRI \trianglelefteq R, the cosets a+Ia + I form a ring under

(a+I)+(b+I)=(a+b)+I,(a+I)(b+I)=ab+I(a + I) + (b + I) = (a+b) + I, \qquad (a+I)(b+I) = ab + I

Absorption is exactly what makes the multiplication well-defined. Check it: if a=a+ia' = a + i and b=b+jb' = b + j with i,jIi, j \in I, then

ab=ab+aj+ib+ija'b' = ab + aj + ib + ij

The three extra terms all lie in II - ajaj and ibib by absorption, ijij because II is closed. So abab+Ia'b' \in ab + I, the same coset. Without absorption, ajaj escapes and the product is meaningless.

The model example: Z/nZ=Zn\mathbb{Z}/n\mathbb{Z} = \mathbb{Z}_n. Quotienting the integers by the ideal nZn\mathbb{Z} gives modular arithmetic, and now both operations carry over, not just addition.

Two conditions on an ideal IRI \ne R in a commutative ring with unity:

  • II is prime if abIab \in I implies aIa \in I or bIb \in I.
  • II is maximal if no ideal sits strictly between II and RR.

They connect to the quotient in a clean way:

I prime    R/I is an integral domainI \text{ prime} \iff R/I \text{ is an integral domain} I maximal    R/I is a fieldI \text{ maximal} \iff R/I \text{ is a field}

In Z\mathbb{Z} the prime ideals are {0}\{0\} and p\langle p \rangle for prime pp, and the maximal ones are exactly p\langle p \rangle. That matches what we know: Z/pZ\mathbb{Z}/p\mathbb{Z} is a field, Z/{0}Z\mathbb{Z}/\{0\} \cong \mathbb{Z} is a domain but not a field.

The word “prime” is not a coincidence. For n\langle n \rangle to satisfy the prime-ideal condition means nabn \mid ab implies nan \mid a or nbn \mid b, which is Euclid’s lemma and holds exactly for primes.

Here’s the payoff, and it’s the engine of the next two lessons.

If FF is a field and fF[x]f \in F[x] is irreducible, then f\langle f \rangle is a maximal ideal and

F[x]/fF[x]/\langle f \rangle

is a field.

Its elements are the possible remainders on division by ff, so it has as many elements as there are polynomials of degree less than degf\deg f.

This is how the complex numbers get built. Take R[x]\mathbb{R}[x], note x2+1x^2 + 1 is irreducible over R\mathbb{R}, and form

R[x]/x2+1C\mathbb{R}[x]/\langle x^2+1 \rangle \cong \mathbb{C}

The coset of xx becomes a square root of 1-1, because in the quotient x2+1=0x^2 + 1 = 0. The complex numbers are a quotient ring, and ii is not a mysterious invented object but the name of a coset.

The group version carries over verbatim. A ring homomorphism satisfies

φ(a+b)=φ(a)+φ(b),φ(ab)=φ(a)φ(b)\varphi(a+b) = \varphi(a)+\varphi(b), \qquad \varphi(ab) = \varphi(a)\varphi(b)

Its kernel is always an ideal, its image is a subring, and

R/kerφimφR/\ker\varphi \cong \operatorname{im}\varphi

Just as every normal subgroup is a kernel, every ideal is the kernel of a ring homomorphism - the projection RR/IR \to R/I.

Example 1: Is the set of even integers an ideal of Z\mathbb{Z}?

Solution. Additive subgroup ✓. Absorption: for any integer rr and even a=2ma = 2m,

ra=2(rm)ra = 2(rm)

which is even ✓

Yes, 2Z=22\mathbb{Z} = \langle 2 \rangle is an ideal. And Z/2ZZ2\mathbb{Z}/2\mathbb{Z} \cong \mathbb{Z}_2, a field, consistent with 2\langle 2 \rangle being maximal since 2 is prime.

Example 2: Show Z\mathbb{Z} is not an ideal of Q\mathbb{Q}.

Solution. Additive subgroup ✓. Absorption fails: take r=13Qr = \frac13 \in \mathbb{Q} and a=1Za = 1 \in \mathbb{Z}.

ra=13Zra = \tfrac13 \notin \mathbb{Z}

Not an ideal, though it is a subring.

In fact Q\mathbb{Q} is a field, so its only ideals are {0}\{0\} and Q\mathbb{Q} - there was no chance.

Example 3: Compute Z[x]/x\mathbb{Z}[x]/\langle x \rangle.

Solution. x\langle x \rangle is all polynomials with zero constant term. Two polynomials lie in the same coset exactly when their constant terms agree.

So a coset is named by its constant term, and

Z[x]/xZ\mathbb{Z}[x]/\langle x \rangle \cong \mathbb{Z}

Formally, the evaluation map ff(0)f \mapsto f(0) is a surjective ring homomorphism Z[x]Z\mathbb{Z}[x] \to \mathbb{Z} with kernel x\langle x \rangle, so the first isomorphism theorem gives the result.

Since Z\mathbb{Z} is a domain but not a field, x\langle x \rangle is prime but not maximal in Z[x]\mathbb{Z}[x].

Example 4: Construct C\mathbb{C} as a quotient.

Solution. x2+1x^2 + 1 has no real root, and it’s degree 2, so it’s irreducible over R\mathbb{R}.

Elements of R[x]/x2+1\mathbb{R}[x]/\langle x^2+1\rangle are remainders on division by a quadratic, so they have the form a+bxa + bx with a,bRa, b \in \mathbb{R}.

Multiplication: reduce using x21x^2 \equiv -1.

(a+bx)(c+dx)=ac+(ad+bc)x+bdx2(acbd)+(ad+bc)x(a+bx)(c+dx) = ac + (ad+bc)x + bdx^2 \equiv (ac - bd) + (ad+bc)x

Compare complex multiplication:

(a+bi)(c+di)=(acbd)+(ad+bc)i(a+bi)(c+di) = (ac-bd) + (ad+bc)i

Identical. So R[x]/x2+1C\mathbb{R}[x]/\langle x^2+1 \rangle \cong \mathbb{C}, with xix \leftrightarrow i.

Example 5: A quotient that is not a domain.

Compute R[x]/x21\mathbb{R}[x]/\langle x^2 - 1 \rangle.

Solution. x21=(x1)(x+1)x^2 - 1 = (x-1)(x+1) is reducible, so x21\langle x^2-1\rangle is not maximal and the quotient shouldn’t be a field.

Indeed, in the quotient, (x1)(x+1)=x210(x-1)(x+1) = x^2 - 1 \equiv 0 while neither factor is zero. Zero divisors, so not even a domain.

In fact R[x]/x21R×R\mathbb{R}[x]/\langle x^2-1\rangle \cong \mathbb{R} \times \mathbb{R}, by the Chinese Remainder Theorem applied to the coprime factors. Irreducibility of the modulus is exactly what prevents this splitting.

Example 6: Maximal ideals of Z\mathbb{Z}.

Solution. Every ideal of Z\mathbb{Z} is n\langle n \rangle for some n0n \ge 0, and mn\langle m \rangle \subseteq \langle n \rangle exactly when nmn \mid m.

So n\langle n \rangle is maximal when the only divisors of nn are 1 and nn - that is, when nn is prime.

maximal ideals of Z={p:p prime}\text{maximal ideals of } \mathbb{Z} = \{\langle p \rangle : p \text{ prime}\}

Confirmed by the quotient test: Z/p=Zp\mathbb{Z}/\langle p \rangle = \mathbb{Z}_p is a field exactly when pp is prime.

Note 0\langle 0 \rangle is prime (since ab=0ab = 0 forces a=0a=0 or b=0b=0 in Z\mathbb{Z}) but not maximal, since 02Z\langle 0 \rangle \subsetneq \langle 2 \rangle \subsetneq \mathbb{Z}. Prime does not imply maximal, though the converse holds in a commutative ring with unity.

Example 7: The kernel of evaluation.

Find the kernel of φ:R[x]R\varphi: \mathbb{R}[x] \to \mathbb{R} given by φ(f)=f(2)\varphi(f) = f(2).

Solution. φ\varphi is a ring homomorphism, since evaluating a sum or product at a point respects both operations.

kerφ={f:f(2)=0}=x2\ker\varphi = \{f : f(2) = 0\} = \langle x - 2 \rangle

by the factor theorem: f(2)=0f(2) = 0 exactly when x2x - 2 divides ff.

φ\varphi is surjective (constants hit everything), so

R[x]/x2R\mathbb{R}[x]/\langle x-2 \rangle \cong \mathbb{R}

R\mathbb{R} is a field, so x2\langle x-2\rangle is maximal - consistent with x2x - 2 being irreducible.

AES encryption. The AES S-box computes multiplicative inverses in GF(28)=F2[x]/x8+x4+x3+x+1GF(2^8) = \mathbb{F}_2[x]/\langle x^8+x^4+x^3+x+1 \rangle. That specific irreducible polynomial is written into the standard, and the whole cipher is arithmetic in this quotient ring.

Reed–Solomon codes. Encoding is multiplication in a quotient ring F[x]/xn1F[x]/\langle x^n - 1 \rangle, whose elements are cyclic codes. The cyclic shift structure that makes hardware encoders cheap is a consequence of quotienting by xn1x^n - 1.

CRC checksums. A CRC is the remainder of the message polynomial modulo a fixed generator over F2\mathbb{F}_2, which is to say the message’s image in a quotient ring. The generator polynomial’s factorization determines exactly which burst errors are caught.

Complex numbers in software. Implementing complex arithmetic as pairs with the rule (a,b)(c,d)=(acbd,ad+bc)(a,b)(c,d) = (ac-bd, ad+bc) is implementing the quotient ring construction. The same pattern extends to quaternions and to dual numbers, which are R[x]/x2\mathbb{R}[x]/\langle x^2 \rangle and are used for automatic differentiation in machine-learning libraries.

Algebraic geometry. A geometric shape corresponds to an ideal of polynomials vanishing on it, and the quotient ring is the ring of functions on the shape. Points correspond to maximal ideals. This dictionary between ideals and geometry is the foundation of the whole field.

Computer algebra. Gröbner bases compute canonical forms for ideals, which is how systems solve polynomial systems, do geometric theorem proving, and check whether one polynomial lies in the ideal generated by others.

What extra condition does an ideal satisfy that a general subring need not?
What is ℝ[x]/⟨x² + 1⟩ isomorphic to?
For an ideal I in a commutative ring with unity, R/I is a field exactly when
Why does ℝ[x]/⟨x² − 1⟩ fail to be a field?
How many ideals does a field have?
What are the maximal ideals of ℤ?