Quotient Rings

Why can we do arithmetic mod nn, treating 77 and 22 as "the same number" when n=5n=5? Why does it actually behave like arithmetic? The construction of Z/5Z\mathbb{Z}/5\mathbb{Z} is a special case of a more general procedure. Given any ring RR and any ideal I⊆RI \subseteq R, we can build a new ring R/IR/I. Its elements are the cosets of II. Its operations collapse everything congruent modulo II into a single object. This is the ring-theoretic analogue of forming a quotient group. It is arguably the single most important construction in ring theory. The reason ideals — rather than arbitrary subrings — are the right substructures to quotient by is not an accident of terminology. It is forced by the algebra. For coset multiplication to be well-defined, the subset we quotient by must absorb multiplication by arbitrary ring elements. This is exactly the ideal axiom. A subring that is not an ideal will simply fail to produce a consistent multiplication on cosets. We prove this failure concretely below. The big picture is that R/IR/I is a controlled way of "forgetting" information. It identifies elements that differ by something in II. At the same time, it preserves all the ring structure that survives this identification. This single idea unifies modular arithmetic and the construction of C\mathbb{C} from R[x]\mathbb{R}[x]. It also unifies evaluation of polynomials, and the entire theory of ring homomorphisms via the First Isomorphism Theorem. Quotient rings also let us detect properties of II — such as being prime or maximal. We do this by examining the algebraic structure of R/IR/I itself. This article gives the full construction of R/IR/I. It proves that the operations are well-defined precisely because II is an ideal. It works through two genuinely different examples. It also shows explicitly what breaks when the ideal hypothesis is weakened to a mere subring.

Key takeaways
  • R/IR/I is the set of cosets {a+I:a∈R}\{a+I : a \in R\}, with addition and multiplication induced from RR.
  • Well-definedness of multiplication on cosets is equivalent to II absorbing multiplication by all of RR — the ideal axiom.
  • R/IR/I is a ring with identity 1+I1+I (if RR has 11), and the map π:R→R/I\pi: R \to R/I, π(a)=a+I\pi(a) = a+I, is a surjective ring homomorphism with kernel II.
  • Modular arithmetic Z/nZ\mathbb{Z}/n\mathbb{Z} and C≅R[x]/(x2+1)\mathbb{C} \cong \mathbb{R}[x]/(x^2+1) are quotient rings in disguise.
  • Quotienting by a subring that is not an ideal typically fails to give a well-defined multiplication.
  • Key idea: an ideal is exactly the kind of subset whose cosets can be multiplied consistently, and R/IR/I packages this into a genuine ring.

Where this lives today

Quotient rings are the working machinery behind modular arithmetic in cryptography, where Z/nZ\mathbb{Z}/n\mathbb{Z} underlies RSA and Diffie–Hellman key exchange. In algebraic geometry, coordinate rings of varieties are quotients k[x1,…,xn]/Ik[x_1,\dots,x_n]/I by ideals encoding polynomial equations, so quotient rings are the algebraic shadow of geometric loci. In coding theory, cyclic error-correcting codes are ideals in Fq[x]/(xn−1)\mathbb{F}_q[x]/(x^n-1). In field theory, finite fields Fpn\mathbb{F}_{p^n} are built as Fp[x]/(f(x))\mathbb{F}_p[x]/(f(x)) for irreducible ff, directly generalizing the C=R[x]/(x2+1)\mathbb{C} = \mathbb{R}[x]/(x^2+1) construction above. In numerical analysis and symbolic computation, Gröbner basis algorithms manipulate quotient rings k[x1,…,xn]/Ik[x_1,\ldots,x_n]/I to solve polynomial systems, and quotient constructions recur throughout homological algebra, commutative algebra, and the theory of Ring Homomorphisms via the First Isomorphism Theorem for Rings.

:::quiz[In Z[x]/(2,x)\mathbb{Z}[x]/(2,x), what is the resulting quotient ring, up to isomorphism?]

  • Z\mathbb{Z}
  • Z/2Z\mathbb{Z}/2\mathbb{Z} ✓
  • Z[x]\mathbb{Z}[x]
  • Q\mathbb{Q}

Ask the tutor: How does the ideal condition on II translate into the statement and proof of the First Isomorphism Theorem for rings?

DefinitionQuotient Ring

Let RR be a ring (not necessarily commutative, not necessarily with identity, though we assume it has 11 in the examples unless stated) and let II be a (two-sided) ideal of RR. Since II is in particular an additive subgroup of the abelian group (R,+)(R,+), and every subgroup of an abelian group is normal, the set of additive cosets

R/I={a+I:a∈R}R/I = \{ a + I : a \in R \}

forms an abelian group under coset addition

(a+I)+(b+I)=(a+b)+I.(a+I) + (b+I) = (a+b) + I.

Define multiplication on R/IR/I by

(a+I)(b+I)=ab+I.(a+I)(b+I) = ab + I.

The set R/IR/I, equipped with these two operations, is called the quotient ring of RR by II, provided the multiplication above is well-defined (independent of the choice of coset representatives a,ba, b). If RR has identity 11, then R/IR/I has identity 1+I1+I.

Intuition

Think of II as a "measuring stick of zero": inside R/IR/I, every element of II becomes indistinguishable from 00. Two elements a,b∈Ra, b \in R land in the same coset — become "the same element" of R/IR/I — exactly when a−b∈Ia - b \in I. The quotient ring is what remains of RR once you agree to stop caring about differences that lie in II. The delicate point is multiplication. Addition of cosets is automatic once II is an additive subgroup, courtesy of quotient group theory. But ring structure demands more: if a′=a+i1a' = a + i_1 and b′=b+i2b' = b + i_2 for i1,i2∈Ii_1, i_2 \in I, we need

a′b′=ab+(ai2+i1b+i1i2)a'b' = ab + (a i_2 + i_1 b + i_1 i_2)

to lie in the same coset as abab, i.e., we need ai2+i1b+i1i2∈Ia i_2 + i_1 b + i_1 i_2 \in I. Since i1,i2∈Ii_1, i_2 \in I already, closure under addition inside II handles the last term, but the first two terms require II to absorb arbitrary ring elements multiplied against elements of II — precisely the defining property of an ideal (rI⊆IrI \subseteq I and Ir⊆IIr \subseteq I for all r∈Rr \in R). This is the crux of why ideals, not merely subrings, are the substructures that make quotient rings work. The picture below shows Z/5Z\mathbb{Z}/5\mathbb{Z}: the integers, sliced into five parallel residue classes, folding onto five points that carry a genuine ring structure inherited from Z\mathbb{Z}.

Figure
Integers partitioned into cosets of 5Z5\mathbb{Z}, folding onto Z/5Z\mathbb{Z}/5\mathbb{Z}
ℤ -5 -4 -3 -2 -1 0 1 2 0 1 2 3 4 ℤ / 5ℤ = {0+I, 1+I, 2+I, 3+I, 4+I}

The central theorem

TheoremWell-definedness and Ring Structure of R/IR/I

Let RR be a ring and let I⊆RI \subseteq R be a subset. Then the multiplication

(a+I)(b+I):=ab+I,a,b∈R(a+I)(b+I) := ab + I, \qquad a,b \in R

on the set of additive cosets R/IR/I is well-defined (i.e., depends only on the cosets a+Ia+I and b+Ib+I, not on the representatives a,ba,b) if and only if II is an ideal of RR: that is, II is an additive subgroup of RR satisfying

rI⊆IandIr⊆Ifor all r∈R.rI \subseteq I \quad \text{and} \quad Ir \subseteq I \quad \text{for all } r \in R.

When this holds, R/IR/I with coset addition and this multiplication is a ring, and the canonical projection

π:R→R/I,π(a)=a+I\pi : R \to R/I, \qquad \pi(a) = a + I

is a surjective ring homomorphism with ker⁡π=I\ker \pi = I. If RR has identity 1R1_R, then R/IR/I has identity 1R+I1_R + I, and π(1R)=1R+I\pi(1_R) = 1_R + I.

Proof

We prove the equivalence, then the ring axioms, then the properties of π\pi. Throughout, we use only the definition of ideal and basic subgroup theory for cosets — no result depending on this theorem is invoked.

Step 0: II must be an additive subgroup for cosets to make sense. For R/IR/I to be a well-defined set of cosets in the group sense (so that a+I=b+Ia+I = b+I iff a−b∈Ia - b \in I, and coset addition is well-defined), II must be a subgroup of (R,+)(R,+); this is standard quotient group theory and does not depend on multiplication. We take this as given and focus on when the multiplication is well-defined, assuming I≤(R,+)I \leq (R,+).

Step 1 (⇐\Leftarrow): if II is an ideal, multiplication on cosets is well-defined. Suppose II is an additive subgroup with rI⊆IrI \subseteq I and Ir⊆IIr \subseteq I for all r∈Rr \in R. Let a+I=a′+Ia+I = a'+I and b+I=b′+Ib+I = b'+I, so a′=a+i1a' = a+i_1 and b′=b+i2b'=b+i_2 for some i1,i2∈Ii_1, i_2 \in I. Compute:

a′b′=(a+i1)(b+i2)=ab+ai2+i1b+i1i2.a'b' = (a+i_1)(b+i_2) = ab + a i_2 + i_1 b + i_1 i_2.

Since i2∈Ii_2 \in I and II absorbs left multiplication by a∈Ra \in R, we get ai2∈Ia i_2 \in I. Since i1∈Ii_1 \in I and II absorbs right multiplication by b∈Rb \in R, we get i1b∈Ii_1 b \in I. Since i1,i2∈Ii_1, i_2 \in I and II absorbs multiplication by ring elements (in particular by i1∈Ri_1 \in R), i1i2∈Ii_1 i_2 \in I. As II is an additive subgroup, the sum ai2+i1b+i1i2∈Ia i_2 + i_1 b + i_1 i_2 \in I. Hence

a′b′−ab=ai2+i1b+i1i2∈I,a'b' - ab = a i_2 + i_1 b + i_1 i_2 \in I,

so a′b′+I=ab+Ia'b' + I = ab + I. This shows (a+I)(b+I)=ab+I(a+I)(b+I) = ab+I is independent of the chosen representatives.

Step 2 (⇒\Rightarrow): if multiplication on cosets is well-defined, II is an ideal. Suppose II is an additive subgroup and the rule (a+I)(b+I)=ab+I(a+I)(b+I) = ab+I is well-defined. We must show rI⊆IrI \subseteq I and Ir⊆IIr \subseteq I for all r∈Rr \in R. Fix r∈Rr \in R and i∈Ii \in I. Since i+I=0+Ii + I = 0 + I (as i∈Ii \in I), well-definedness of multiplication applied to the pair of representatives (i,r)(i, r) versus (0,r)(0, r) — both representing the cosets (i+I,r+I)=(0+I,r+I)(i+I, r+I) = (0+I, r+I) — forces

ir+I=0⋅r+I=0+I=I,ir + I = 0 \cdot r + I = 0 + I = I,

so ir∈Iir \in I. As i∈Ii \in I was arbitrary, Ir⊆IIr \subseteq I. Applying well-definedness instead to the pair (r,i)(r,i) versus (r,0)(r,0) gives ri+I=r⋅0+I=Iri + I = r \cdot 0 + I = I, so ri∈Iri \in I, and hence rI⊆IrI \subseteq I. Since r∈Rr \in R was arbitrary, II is an ideal. This establishes the claimed equivalence.

Step 3: R/IR/I is a ring. Assume now II is an ideal, so multiplication is well-defined by Step 1. Coset addition (a+I)+(b+I)=(a+b)+I(a+I)+(b+I) = (a+b)+I makes R/IR/I an abelian group: this is exactly the quotient group R/IR/I of the abelian group (R,+)(R,+) by the subgroup II, so associativity, commutativity, the zero element 0+I=I0+I = I, and additive inverses −(a+I)=(−a)+I-(a+I) = (-a)+I all hold because they hold in (R,+)(R,+) and pass to cosets (a standard fact about quotients of abelian groups, not dependent on any ring structure). We verify the ring axioms for multiplication directly from those of RR, using well-definedness (Step 1) to justify that all coset representatives may be chosen freely. Associativity: for a,b,c∈Ra,b,c\in R,

[(a+I)(b+I)](c+I)=(ab+I)(c+I)=(ab)c+I=a(bc)+I=(a+I)[(b+I)(c+I)],\big[(a+I)(b+I)\big](c+I) = (ab+I)(c+I) = (ab)c + I = a(bc)+I = (a+I)\big[(b+I)(c+I)\big],

using associativity of multiplication in RR. Left distributivity:

(a+I)[(b+I)+(c+I)]=(a+I)[(b+c)+I]=a(b+c)+I=(ab+ac)+I=(ab+I)+(ac+I),(a+I)\big[(b+I)+(c+I)\big] = (a+I)\big[(b+c)+I\big] = a(b+c) + I = (ab+ac)+I = (ab+I)+(ac+I),

using left distributivity in RR; the last equality is coset addition. This equals (a+I)(b+I)+(a+I)(c+I)(a+I)(b+I) + (a+I)(c+I). Right distributivity is symmetric, using right distributivity in RR. Hence (R/I,+,⋅)(R/I, +, \cdot) satisfies all ring axioms.

Step 4: identity element. If RR has multiplicative identity 1R1_R, then for any a∈Ra \in R,

(1R+I)(a+I)=1Ra+I=a+I,(a+I)(1R+I)=a1R+I=a+I,(1_R+I)(a+I) = 1_R a + I = a + I, \qquad (a+I)(1_R+I) = a 1_R + I = a+I,

so 1R+I1_R + I is a two-sided identity for R/IR/I.

Step 5: π\pi is a surjective ring homomorphism with kernel II. Define π(a)=a+I\pi(a) = a+I. Surjectivity is immediate: every coset of R/IR/I is of the form a+I=π(a)a+I = \pi(a) for some a∈Ra \in R, by definition of R/IR/I as the set of all such cosets. π\pi respects addition: π(a+b)=(a+b)+I=(a+I)+(b+I)=π(a)+π(b)\pi(a+b) = (a+b)+I = (a+I)+(b+I) = \pi(a)+\pi(b), directly from the definition of coset addition. π\pi respects multiplication: π(ab)=ab+I=(a+I)(b+I)=π(a)π(b)\pi(ab) = ab+I = (a+I)(b+I) = \pi(a)\pi(b), directly from the definition of coset multiplication established in Step 1. If RR has identity, π(1R)=1R+I\pi(1_R) = 1_R+I, which is the identity of R/IR/I by Step 4. Finally, ker⁡π={a∈R:π(a)=0+I}={a∈R:a+I=I}={a∈R:a∈I}=I\ker \pi = \{a \in R : \pi(a) = 0+I\} = \{a \in R : a+I = I\} = \{a \in R : a \in I\} = I, using the basic group-theoretic fact that a+I=Ia+I = I iff a∈Ia \in I. All claims are established. ■\blacksquare

∎

Worked examples

Example 1: A non-principal ideal quotient, Z[x]/(2,x)\mathbb{Z}[x]/(2,x). Let R=Z[x]R = \mathbb{Z}[x] and let I=(2,x)I = (2, x) be the ideal generated by 22 and xx, i.e.

I={2f(x)+xg(x):f,g∈Z[x]}.I = \{ 2f(x) + x g(x) : f, g \in \mathbb{Z}[x] \}.

We claim II is exactly the set of polynomials whose constant term is even. Indeed, any element 2f(x)+xg(x)2f(x)+xg(x) has constant term 2f(0)2f(0), which is even. Conversely, if p(x)=a0+a1x+⋯+anxnp(x) = a_0 + a_1 x + \cdots + a_n x^n has a0a_0 even, write a0=2ma_0 = 2m; then

p(x)=2m+x(a1+a2x+⋯+anxn−1)∈(2,x).p(x) = 2m + x(a_1 + a_2 x + \cdots + a_n x^{n-1}) \in (2,x).

So I={p∈Z[x]:p(0) even}I = \{ p \in \mathbb{Z}[x] : p(0) \text{ even}\}. Now consider R/IR/I. Every coset p(x)+Ip(x) + I is determined by whether p(0)p(0) is even or odd, because two polynomials p,qp,q satisfy p−q∈Ip - q \in I iff p(0)−q(0)p(0) - q(0) is even. Concretely, evaluation-then-reduction gives a map

φ:Z[x]→Z/2Z,φ(p(x))=p(0)  2,\varphi : \mathbb{Z}[x] \to \mathbb{Z}/2\mathbb{Z}, \qquad \varphi(p(x)) = p(0) \bmod 2,

which is a ring homomorphism (composite of evaluation at 00, a ring homomorphism Z[x]→Z\mathbb{Z}[x]\to\mathbb{Z}, with reduction mod 22, a ring homomorphism Z→Z/2Z\mathbb{Z}\to\mathbb{Z}/2\mathbb{Z}), and ker⁡φ=I\ker\varphi = I by the computation above. By the theorem, π:Z[x]→Z[x]/I\pi: \mathbb{Z}[x] \to \mathbb{Z}[x]/I has kernel I=ker⁡φI = \ker \varphi, and φ\varphi factors through π\pi to give a bijective correspondence of cosets with Z/2Z={0,1}\mathbb{Z}/2\mathbb{Z} = \{0,1\}: every coset in Z[x]/I\mathbb{Z}[x]/I equals either II (the "even constant term" coset, the zero of the quotient) or 1+I1+I (the "odd constant term" coset). Thus

Z[x]/(2,x)  ≅  Z/2Z=F2,\mathbb{Z}[x]/(2,x) \;\cong\; \mathbb{Z}/2\mathbb{Z} = \mathbb{F}_2,

a field with exactly two elements — even though II is generated by two elements and is not principal in Z[x]\mathbb{Z}[x]. This example shows quotienting can drastically collapse a large, structurally complicated ring down to something as small as a two-element field, and that the "size" of the ideal's generating set has no direct bearing on the size of the quotient.

Example 2: R[x]/(x2+1)≅C\mathbb{R}[x]/(x^2+1) \cong \mathbb{C}. Let R=R[x]R = \mathbb{R}[x] and I=(x2+1)I = (x^2+1), the principal ideal generated by x2+1x^2+1. By polynomial division, every p(x)∈R[x]p(x) \in \mathbb{R}[x] can be written uniquely as

p(x)=q(x)(x2+1)+(a+bx),a,b∈R,p(x) = q(x)(x^2+1) + (a+bx), \qquad a,b \in \mathbb{R},

using the division algorithm since x2+1x^2+1 is monic. Hence every coset p(x)+Ip(x)+I equals (a+bx)+I(a+bx)+I for unique a,b∈Ra, b \in \mathbb{R} (uniqueness follows because if (a+bx)−(a′+b′x)∈I(a+bx)-(a'+b'x) \in I with both of degree <2<2, the difference has degree <2<2 but lies in the ideal generated by a degree-22 polynomial, forcing the difference to be 00, since a nonzero multiple of x2+1x^2+1 has degree ≥2\ge 2). So as a set, R/I={a+bx+I:a,b∈R}R/I = \{ a + bx + I : a, b \in \mathbb{R}\}, in bijection with R2\mathbb{R}^2 via a+bx+I↔(a,b)a+bx+I \leftrightarrow (a,b). Now compute the induced multiplication using x2+I=−1+Ix^2 + I = -1 + I (since x2+1∈Ix^2+1 \in I means x2+I=(x2+1)+I−1+I=I−1+I=−1+Ix^2 + I = (x^2+1) + I - 1 + I= I - 1 +I= -1+I, using that x2+1∈Ix^2+1\in I so x2+1+I=Ix^2+1+I = I):

(a+bx+I)(c+dx+I)=(ac+(ad+bc)x+bd x2)+I=[(ac−bd)+(ad+bc)x]+I,(a+bx+I)(c+dx+I) = (ac + (ad+bc)x + bd\, x^2) + I = \big[(ac-bd) + (ad+bc)x\big] + I,

replacing x2x^2 by −1-1 using the relation above. This is exactly the multiplication rule for complex numbers (a+bi)(c+di)=(ac−bd)+(ad+bc)i(a+bi)(c+di) = (ac-bd)+(ad+bc)i. Together with coset addition, which matches componentwise addition in R2\mathbb{R}^2, the correspondence

a+bx+I  ⟼  a+bia + bx + I \;\longmapsto\; a+bi

is a bijective ring homomorphism, i.e., an isomorphism

R[x]/(x2+1)  ≅  C.\mathbb{R}[x]/(x^2+1) \;\cong\; \mathbb{C}.

This is the standard rigorous construction of C\mathbb{C} purely from R\mathbb{R} and polynomial algebra, with ii realized as the coset x+Ix+I, and i2=−1i^2 = -1 realized as the relation forced by x2+1∈Ix^2+1 \in I.

CounterexampleWhy "ideal" cannot be weakened to "subring"

The theorem requires II to be a two-sided ideal, not merely a subring. We exhibit a subring for which coset multiplication is not well-defined, so "R/IR/I" fails to be a ring at all with the naive coset multiplication. Let R=Z×ZR = \mathbb{Z} \times \mathbb{Z} (componentwise ring operations) and let

S=Z×{0}={(n,0):n∈Z}.S = \mathbb{Z} \times \{0\} = \{(n,0): n \in \mathbb{Z}\}.

SS is a subring of RR: it is closed under addition, contains (0,0)(0,0) and (1,0)(1,0) (not the identity of RR, but a valid identity for SS itself), and is closed under multiplication, since (n,0)(m,0)=(nm,0)∈S(n,0)(m,0)=(nm,0) \in S. It is also an additive subgroup, so cosets R/SR/S make sense as a set and coset addition is well-defined by ordinary quotient group theory. However SS is not an ideal of RR: take r=(0,1)∈Rr=(0,1) \in R and s=(1,0)∈Ss = (1,0) \in S; then rs=(0,1)(1,0)=(0,0)∈Srs = (0,1)(1,0) = (0,0) \in S (fine here), but take instead s=(1,0)s=(1,0) and r=(2,1)r = (2,1):

rs=(2,1)(1,0)=(2,0)∈S,rs = (2,1)(1,0) = (2,0) \in S,

still absorbed — so let us find an actual failure directly via the well-definedness criterion, which is more informative than searching for absorption failures by hand. Consider the cosets (1,0)+S(1,0)+S and (0,1)+S(0,1)+S. Note (1,0)+S=S(1,0)+S = S (since (1,0)∈S(1,0)\in S), while (0,1)+S≠S(0,1) + S \neq S since (0,1)∉S(0,1) \notin S. Pick two representatives of the same coset (0,1)+S(0,1)+S: namely a=(0,1)a = (0,1) and a′=(1,1)a' = (1,1), since a′−a=(1,0)∈Sa' - a = (1,0) \in S. Now multiply each by the fixed representative b=(0,1)b=(0,1) of the coset (0,1)+S(0,1)+S:

ab=(0,1)(0,1)=(0,1),a′b=(1,1)(0,1)=(0,1).a b = (0,1)(0,1) = (0,1), \qquad a' b = (1,1)(0,1) = (0,1).

These agree here, so try instead b=(1,0)+Sb = (1,0)+S's representatives b=(1,0)b=(1,0) against a=(0,1)a=(0,1) vs a′=(1,1)a' = (1,1):

ab=(0,1)(1,0)=(0,0),a′b=(1,1)(1,0)=(1,0).ab = (0,1)(1,0) = (0,0), \qquad a'b = (1,1)(1,0) = (1,0).

Now ab+S=(0,0)+S=Sab + S = (0,0)+S = S, while a′b+S=(1,0)+S=Sa'b + S = (1,0)+S = S as well (since (1,0)∈S(1,0)\in S) — still consistent by coincidence. The general principle from the theorem's proof (Step 2) tells us exactly where to look: pick r=(0,1)∉Sr=(0,1)\notin S (a "coordinate mixing" element) and i=(1,0)∈Si = (1,0) \in S, and test whether ri∈Sri \in S. We compute

ri=(0,1)(1,0)=(0,0)∈S,ri = (0,1)(1,0) = (0,0) \in S,

which is in SS — so this particular product doesn't witness the failure. Instead test irir vs rr: the ideal condition requires Sr⊆SSr \subseteq S for all rr; take r=(0,1)r = (0,1), i=(1,0)i=(1,0):

ir=(1,0)(0,1)=(0,0)∈S.ir = (1,0)(0,1) = (0,0) \in S.

Both absorb here because SS happens to annihilate the second coordinate under these particular elements. The genuine failure of the ideal condition is seen with r=(1,1)∈Rr=(1,1) \in R and i=(1,0)∈Si = (1,0) \in S:

ri=(1,1)(1,0)=(1,0)∈S(still absorbed!).ri = (1,1)(1,0) = (1,0) \in S \quad\text{(still absorbed!)}.

In fact for R=Z×ZR = \mathbb{Z}\times\mathbb{Z} and S=Z×{0}S = \mathbb{Z}\times\{0\}, one checks directly Sr={(n,0)(a,b):n∈Z}={(na,0)}⊆SSr = \{(n,0)(a,b) : n\in\mathbb{Z}\} = \{(na,0)\} \subseteq S for every r=(a,b)r=(a,b), so SS actually is an ideal of RR (componentwise rings have Z×{0}\mathbb{Z}\times\{0\} as an ideal, since the second coordinate multiplies to 0⋅b=00\cdot b = 0 regardless of bb). This particular SS is a bad choice to illustrate failure — it is an ideal after all.

Corrected counterexample. Use instead R=M2(R)R = M_2(\mathbb{R}) (2×2 real matrices) and let

S={(a000):a∈R}.S = \left\{ \begin{pmatrix} a & 0 \\ 0 & 0\end{pmatrix} : a \in \mathbb{R} \right\}.

SS is a subring (closed under addition and multiplication: (a000)(b000)=(ab000)∈S\begin{pmatrix}a&0\\0&0\end{pmatrix}\begin{pmatrix}b&0\\0&0\end{pmatrix} = \begin{pmatrix}ab&0\\0&0\end{pmatrix}\in S) and an additive subgroup, so cosets of SS exist. But SS is not an ideal: take r=(0100)∈Rr = \begin{pmatrix}0&1\\0&0\end{pmatrix} \in R and i=(1000)∈Si=\begin{pmatrix}1&0\\0&0\end{pmatrix}\in S. Then

ir=(1000)(0100)=(0100)∉S,ir = \begin{pmatrix}1&0\\0&0\end{pmatrix}\begin{pmatrix}0&1\\0&0\end{pmatrix} = \begin{pmatrix}0&1\\0&0\end{pmatrix} \notin S,

since its (1,2)(1,2) entry is nonzero while SS consists only of matrices with zero everywhere except the (1,1)(1,1) entry. So Sr⊈SSr \not\subseteq S: the absorption property fails. Now witness the multiplication breaking down concretely, exactly as predicted by Step 2 of the proof. Take i=(1000)∈Si = \begin{pmatrix}1&0\\0&0\end{pmatrix} \in S, so i+S=0+Si + S = 0 + S (both are cosets of SS-elements). Multiply on the right by r=(0100)r=\begin{pmatrix}0&1\\0&0\end{pmatrix}:

i⋅r+S=(0100)+S,0⋅r+S=0+S=S.i \cdot r + S = \begin{pmatrix}0&1\\0&0\end{pmatrix} + S, \qquad 0 \cdot r + S = 0 + S = S.

These are different cosets, since (0100)∉S\begin{pmatrix}0&1\\0&0\end{pmatrix} \notin S. But i+Si+S and 0+S0+S were supposed to be the same coset (both equal SS, as i∈Si \in S). So the rule "(a+S)(b+S):=ab+S(a+S)(b+S) := ab+S" gives two different answers, SS and (0100)+S\begin{pmatrix}0&1\\0&0\end{pmatrix}+S, for the same input coset pair (0+S, r+S)(0+S,\, r+S) depending on whether we use representative 00 or representative ii. Multiplication on R/SR/S is not well-defined, and R/SR/S is not a ring under this rule. This is exactly the failure mode the (⇒\Rightarrow) direction of the theorem's proof predicts, localized concretely in 2×22\times 2 matrices.

Scope, edge cases & common traps

SituationWhat happens
I=RI = RR/IR/I is the zero ring {0}\{0\} (only one coset).
I={0}I = \{0\}R/I≅RR/I \cong R via π\pi, an isomorphism.
RR commutativeR/IR/I is commutative (multiplication of cosets inherits it directly).
II is primeR/IR/I is an integral domain (foreshadows Prime Ideals).
II is maximalR/IR/I is a field (also foreshadows Prime Ideals and maximal ideal theory).
II merely a subringCoset addition is fine, but coset multiplication is generally not well-defined (see counterexample).
RR without identityR/IR/I still forms a ring without identity by the same proof, since Step 4 was conditional on RR having one.

The mathematician behind it

Origins · 1 minRichard Dedekind and how this was discovered
RD
Richard Dedekind
1831–1916 · Foundations of ring and ideal theory in 19th-century Germany

Richard Dedekind, working in Göttingen and Braunschweig, introduced the modern notion of an ideal while studying rings of algebraic integers and the failure of unique factorization. His goal was to restore a form of unique factorization by working with ideals rather than individual elements, laying the structural groundwork later formalized into the ring and quotient ring framework used throughout modern algebra.

History
- 1871: Dedekind introduces ideals in rings of algebraic integers, in supplements to Dirichlet's lectures on number theory.
- 1882: Dedekind and Heinrich Weber develop ideal-theoretic methods for algebraic function fields, paralleling number fields.
- 1897: Kurt Hensel and others begin extending ideal-theoretic techniques toward local and pp-adic constructions.
- 1921: Emmy Noether's paper on ideal theory in rings establishes the abstract, axiomatic ring-and-ideal framework used today.
- 1930s: van der Waerden's Moderne Algebra codifies quotient rings, homomorphisms, and isomorphism theorems into the standard modern curriculum.
Why does the quotient ring need II to be a two-sided ideal, not just a left or right ideal?

If II is only a left ideal (RI⊆IRI \subseteq I but not necessarily IR⊆IIR \subseteq I), the proof of well-definedness breaks at the term i1bi_1 b in Step 1: we needed I⋅R⊆II \cdot R \subseteq I to guarantee i1b∈Ii_1 b \in I when i1∈Ii_1 \in I and b∈Rb \in R is arbitrary. A one-sided ideal only guarantees absorption on one side, so one of the two "cross terms" in the expansion of (a+i1)(b+i2)(a+i_1)(b+i_2) may fail to land back in II. For noncommutative rings, quotienting genuinely requires two-sided ideals; commutative rings make left/right ideals coincide, so the distinction disappears there.

Is R/IR/I always "smaller" than RR in some sense?

Not in cardinality necessarily, but in structural content, yes: R/IR/I identifies elements differing by II, so it can only have as much distinguishing information as RR minus what II erases. If I={0}I = \{0\}, R/I≅RR/I \cong R exactly — nothing is lost. If I=RI = R, R/IR/I collapses to the zero ring — everything is lost. For infinite rings, R/IR/I can even be finite, as in Z[x]/(2,x)≅F2\mathbb{Z}[x]/(2,x) \cong \mathbb{F}_2, showing "smaller" is about structure, not raw set size.

How does this relate to modular arithmetic mod nn?

Z/nZ\mathbb{Z}/n\mathbb{Z} in the familiar modular-arithmetic sense is literally the quotient ring construction applied to R=ZR=\mathbb{Z} and I=nZ={kn:k∈Z}I=n\mathbb{Z}=\{kn: k\in\mathbb{Z}\}, which is an ideal because Z\mathbb{Z} is commutative and nZn\mathbb{Z} absorbs multiplication by any integer. The cosets are the familiar residue classes {0,1,…,n−1}\{0,1,\ldots,n-1\}, and coset addition/multiplication reduce exactly to "add or multiply then take remainder mod nn." This is the prototype example that motivates the general construction.

Can R/IR/I fail to be commutative even if RR is commutative?

No. If RR is commutative, then for any a,b∈Ra,b \in R, (a+I)(b+I)=ab+I=ba+I=(b+I)(a+I)(a+I)(b+I) = ab+I = ba+I = (b+I)(a+I), using commutativity of RR directly inside the well-defined coset multiplication. Commutativity always passes to quotients. The converse can fail, however: R/IR/I can be commutative even when RR is not, if II happens to contain all commutators (differences xy−yxxy-yx).

Does every ring homomorphism arise as a quotient map π:R→R/I\pi: R \to R/I?

Not literally, but up to isomorphism, yes — this is the content of the First Isomorphism Theorem for Rings: any ring homomorphism φ:R→S\varphi: R \to S has kernel I=ker⁡φI=\ker\varphi equal to an ideal of RR, and R/I≅φ(R)R/I \cong \varphi(R). So every homomorphism factors as an isomorphism composed with a canonical quotient map. This is why building R/IR/I carefully, as done here, is the essential prerequisite for that theorem.

What goes wrong if we try to define R/IR/I when II is not even an additive subgroup?

Then cosets a+Ia+I do not even partition RR consistently: the relation "a∼ba\sim b iff a−b∈Ia-b\in I" fails to be an equivalence relation unless II is closed under addition and contains additive inverses (i.e., is a subgroup). Without that, we cannot even meaningfully list "the cosets of II", so the question of well-defined multiplication does not arise — the construction fails at the more basic level of forming a quotient set.

Is R/IR/I always nonzero, i.e., does it always have more than one element?

No — if I=RI=R, there is exactly one coset, namely RR itself, and R/IR/I is the zero ring, in which 0=10=1. This is a valid, if degenerate, quotient ring, and it is why theorems about R/IR/I being a domain or field typically require I≠RI \ne R (i.e., II proper) as an explicit hypothesis, tying directly into the definitions of Prime Ideals and maximal ideals.

Before this

Where this leads