Ideals

Why does 2Z2\mathbb{Z}, the set of even integers, deserve special attention among all the subrings of Z\mathbb{Z}? Meanwhile, a subring like Z[i]∩R=Z\mathbb{Z}[i] \cap \mathbb{R} = \mathbb{Z} inside Z[i]\mathbb{Z}[i] does not. The answer is not about closure under addition and multiplication alone. Every subring has that. The answer is about what happens when you multiply an element of the subset by anything at all in the ambient ring. Multiply an even number by any integer, even or odd, and you stay even. This "absorbing" behavior is exactly the extra structure that distinguishes an ideal from a mere subring. It is the single property that makes it possible to build Quotient Rings. This works the same way normal subgroups let us build quotient groups. Ideals matter because they are precisely the kernels of ring homomorphisms. They are the algebraic objects that measure "how much information is lost" when you collapse a ring. Normal subgroups are the only subgroups by which you can quotient a group and still get a group. Similarly, ideals are the only subrings by which you can quotient a ring. Only they yield a ring with a well-defined multiplication. This single fact makes ideals the organizing concept for almost everything that follows in ring theory. Prime Ideals, maximal ideals, factorization, and the structure theory of commutative rings all begin here. The subtlety that a first course must get right is this: multiplication in a ring need not be commutative. So "absorbing multiplication" splits into two conditions. This gives rise to left ideals, right ideals, and two-sided ideals. In a commutative ring these notions coincide, and the word "ideal" is unambiguous. But the noncommutative distinction is not a technicality. It reflects genuinely different substructures inside rings like matrix rings. It also foreshadows module theory, where left ideals turn out to be exactly the submodules of the ring viewed as a left module over itself. This article gives the precise definitions of left, right, and two-sided ideals. It proves the fundamental "ideal test" that characterizes them among subsets of a ring. It carefully constructs the ideal generated by an arbitrary subset, in both the commutative and noncommutative settings. It also works through concrete, non-trivial examples in Z\mathbb{Z}, in polynomial rings, and in matrix rings. This includes a counterexample showing exactly what fails without the absorption axiom.

Key takeaways
  • An ideal is a subring-like subset of a ring that absorbs multiplication by any ring element, not just elements of the subset.
  • Left ideals absorb multiplication from the left (rI⊆IrI \subseteq I); right ideals absorb from the right (Ir⊆IIr \subseteq I); two-sided ideals absorb both.
  • In a commutative ring, left, right, and two-sided ideals coincide, and we just say "ideal."
  • Every subset SS of a ring generates a smallest ideal (S)(S) containing it, built by closing SS under addition, additive inverses, and absorption.
  • Ideals are exactly the kernels of ring homomorphisms, which is why they are the correct objects to quotient by (foreshadowing Quotient Rings).
  • Key idea: an ideal is not just closed under the ring's operations — it swallows anything the ring multiplies into it.

Where this lives today

Ideals are the backbone of algebraic geometry, where the Nullstellensatz sets up a dictionary between ideals in polynomial rings and geometric varieties, so that studying a shape becomes studying an ideal. In algebraic number theory, ideals in rings of integers restore unique factorization exactly as Dedekind intended, underlying modern computations of class groups and the arithmetic of number fields. In coding theory and cryptography, cyclic error-correcting codes are literally ideals in quotient rings Fq[x]/(xn−1)\mathbb{F}_q[x]/(x^n-1), and ideal lattices underlie lattice-based post-quantum cryptosystems. In commutative algebra and computer algebra systems, Gröbner basis algorithms operate directly on ideals of polynomial rings to solve systems of equations and automate geometric reasoning. In noncommutative algebra and representation theory, one-sided ideals of group rings and matrix algebras correspond to submodules and organize the classification of simple algebras via the Artin–Wedderburn theorem.

Ask the tutor: How does the kernel of a ring homomorphism turn out to be exactly a two-sided ideal, and why is that the deep reason ideals were invented in the first place?

DefinitionIdeal (left, right, two-sided)

Let RR be a ring (not necessarily commutative, not necessarily with identity) and let I⊆RI \subseteq R be a subset. 1. II is a subgroup of (R,+)(R,+): II is nonempty, and for all a,b∈Ia,b \in I, a−b∈Ia - b \in I. 2. II is a left ideal of RR if II is a subgroup of (R,+)(R,+) and

ra∈Ifor all r∈R, a∈I.r a \in I \quad \text{for all } r \in R,\ a \in I.

(We write this absorption condition as RI⊆IRI \subseteq I.) 3. II is a right ideal of RR if II is a subgroup of (R,+)(R,+) and

ar∈Ifor all r∈R, a∈I.a r \in I \quad \text{for all } r \in R,\ a \in I.

(We write this as IR⊆IIR \subseteq I.) 4. II is a (two-sided) ideal of RR if II is both a left ideal and a right ideal of RR. If RR is commutative, every left ideal is automatically a right ideal and vice versa, so the three notions coincide; we simply call II an ideal. Given a subset S⊆RS \subseteq R, the ideal generated by SS, denoted (S)(S), is the smallest (two-sided) ideal of RR containing SS — equivalently, the intersection of all ideals of RR containing SS. The left ideal generated by SS and right ideal generated by SS are defined analogously as the smallest such left/right ideal.

Intuition

Think of a ring RR as a universe of objects you can add, subtract, and multiply. A subring is a self-contained sub-universe: closed under its own operations, but otherwise indifferent to the rest of RR. An ideal is different in spirit: it is a subset that cannot escape being multiplied into by outside elements. If aa is in the ideal and rr is anywhere in RR, then rara (and, for two-sided ideals, arar) is forced right back into the ideal. This is a kind of algebraic gravity — the ideal is a "black hole" for multiplication. The picture to keep in mind is Z\mathbb{Z} and its ideal 6Z={…,−12,−6,0,6,12,… }6\mathbb{Z} = \{\dots, -12,-6,0,6,12,\dots\}. Multiply 66 (or any multiple of 66) by any integer, and you land back in 6Z6\mathbb{Z}. Contrast this with the subring Z⊆Q\mathbb{Z} \subseteq \mathbb{Q}: it is closed under addition and multiplication, but it does not absorb multiplication by arbitrary rationals (12⋅1=12∉Z\tfrac12 \cdot 1 = \tfrac12 \notin \mathbb{Z}), so it is a subring but not an ideal of Q\mathbb{Q}. The absorption property is what lets you build the quotient ring R/IR/I, because it guarantees that multiplying cosets (r+I)(s+I)(r+I)(s+I) gives a well-defined coset rs+Irs + I regardless of which representatives r,sr,s you pick.

Figure
Ideals as absorbing sublattices of Z\mathbb{Z} under multiplication by outside elements
ℤ -12 -9 -6 -3 0 3 6 9 12 6ℤ = ideal (multiples of 6) r · 6 = 30 ∈ 6ℤ, for any r ∈ ℤ

The main theorem: the ideal test, and generation of ideals

TheoremIdeal Test, and Structure of the Generated Ideal

Let RR be a ring with identity 11.

(A) Ideal test. A nonempty subset I⊆RI \subseteq R is a left ideal of RR if and only if: (i) for all a,b∈Ia,b \in I, a−b∈Ia - b \in I; and (ii) for all r∈Rr \in R and a∈Ia \in I, ra∈Ira \in I. (The analogous statement holds for right ideals with ar∈Iar \in I, and for two-sided ideals with both.)

(B) Generated ideal, commutative case. If RR is commutative with identity and S⊆RS \subseteq R is any nonempty subset, then the ideal generated by SS is

(S)={∑i=1nrisi:n∈N, ri∈R, si∈S},(S) = \left\{ \sum_{i=1}^{n} r_i s_i : n \in \mathbb{N},\ r_i \in R,\ s_i \in S \right\},

the set of all finite RR-linear combinations of elements of SS.

(C) Generated ideal, general (noncommutative) case. If RR is any ring with identity and S⊆RS \subseteq R, then the two-sided ideal generated by SS is

(S)={∑i=1nrisiti:n∈N, ri,ti∈R, si∈S},(S) = \left\{ \sum_{i=1}^{n} r_i s_i t_i : n \in \mathbb{N},\ r_i, t_i \in R,\ s_i \in S \right\},

the set of all finite sums of elements of the form rstr s t with r,t∈Rr, t \in R, s∈Ss \in S.

Proof

We prove each part in turn. Throughout, RR has identity 11, which we use to absorb the case r=1r = 1 so that SS itself sits inside the generated set.

(A) Ideal test. (⇒\Rightarrow) If II is a left ideal, then by definition II is a subgroup of (R,+)(R,+), so (i) holds (subgroups are precisely nonempty subsets closed under subtraction, by the standard subgroup criterion). Condition (ii) is exactly the absorption axiom RI⊆IRI \subseteq I from the definition. (⇐\Leftarrow) Suppose II is nonempty and satisfies (i) and (ii). Condition (i) is precisely the one-step subgroup test for (R,+)(R,+): since II is nonempty, pick a∈Ia \in I; by (i), a−a=0∈Ia - a = 0 \in I; for any a∈Ia \in I, 0−a=−a∈I0 - a = -a \in I; and for a,b∈Ia, b \in I, a−(−b)=a+b∈Ia - (-b) = a+b \in I. Hence II is a subgroup of (R,+)(R,+). Condition (ii) is exactly the left absorption property RI⊆IRI \subseteq I. Thus II satisfies all clauses of the definition of a left ideal. The right-ideal and two-sided versions are identical, replacing (ii) by ar∈Iar \in I, respectively both conditions.

(B) Generated ideal, commutative case. Let RR be commutative with identity, S⊆RS \subseteq R nonempty, and define

J={∑i=1nrisi:n≥1, ri∈R, si∈S}.J = \left\{ \sum_{i=1}^n r_i s_i : n \geq 1,\ r_i \in R,\ s_i \in S \right\}.

We show JJ is an ideal containing SS, and that it is the smallest such ideal. JJ contains SS. For s∈Ss \in S, write s=1⋅s∈Js = 1 \cdot s \in J (using the identity element and n=1n=1). JJ is an ideal (using the ideal test from Part A). JJ is nonempty (it contains SS, which is nonempty). Given two elements x=∑i=1nrisix = \sum_{i=1}^n r_i s_i and y=∑j=1mrj′sj′y = \sum_{j=1}^m r_j' s_j' of JJ, their difference

x−y=∑i=1nrisi+∑j=1m(−rj′)sj′x - y = \sum_{i=1}^n r_i s_i + \sum_{j=1}^m (-r_j') s_j'

is again a finite RR-linear combination of elements of SS (a sum of n+mn+m terms), hence x−y∈Jx - y \in J. This verifies condition (i) of the ideal test. For condition (ii): let r∈Rr \in R and x=∑i=1nrisi∈Jx = \sum_{i=1}^n r_i s_i \in J. Then

rx=r∑i=1nrisi=∑i=1n(rri)si,rx = r\sum_{i=1}^n r_i s_i = \sum_{i=1}^n (r r_i) s_i,

which is again a finite RR-linear combination of elements of SS with coefficients rri∈Rrr_i \in R, hence rx∈Jrx \in J. Since RR is commutative, JJ absorbs multiplication on both sides identically, so JJ is a two-sided ideal. By the ideal test, JJ is an ideal of RR. JJ is the smallest ideal containing SS. Let KK be any ideal of RR with S⊆KS \subseteq K. We show J⊆KJ \subseteq K. Take any x=∑i=1nrisi∈Jx = \sum_{i=1}^n r_i s_i \in J. Each si∈S⊆Ks_i \in S \subseteq K. Since KK is an ideal, risi∈Kr_i s_i \in K for each ii (absorption applied to si∈Ks_i \in K and ri∈Rr_i \in R). Since KK is closed under addition (it is a subgroup under ++), the finite sum ∑i=1nrisi∈K\sum_{i=1}^n r_i s_i \in K. Hence x∈Kx \in K, proving J⊆KJ \subseteq K. Since JJ is an ideal containing SS and is contained in every ideal containing SS, JJ is precisely the smallest ideal containing SS, i.e. J=(S)J = (S), the intersection of all ideals containing SS. (This intersection is itself an ideal: an arbitrary intersection of subgroups of (R,+)(R,+) is a subgroup, and an arbitrary intersection of subsets each absorbing RR-multiplication also absorbs RR-multiplication, so the ideal test applies to the intersection too. The intersection contains SS since every ideal in the family does. By minimality of JJ shown above, JJ equals this intersection.)

(C) Generated ideal, noncommutative case. Now let RR be an arbitrary ring with identity (not assumed commutative), S⊆RS \subseteq R nonempty, and define

J={∑i=1nrisiti:n≥1, ri,ti∈R, si∈S}.J = \left\{ \sum_{i=1}^n r_i s_i t_i : n \geq 1,\ r_i, t_i \in R,\ s_i \in S \right\}.

JJ contains SS. For s∈Ss \in S, write s=1⋅s⋅1∈Js = 1 \cdot s \cdot 1 \in J. JJ is a two-sided ideal. Nonemptiness is clear as before. For the additive condition: given x=∑i=1nrisitix = \sum_{i=1}^n r_i s_i t_i and y=∑j=1mrj′sj′tj′y = \sum_{j=1}^m r_j' s_j' t_j' in JJ, the difference x−yx-y is again a finite sum of terms of the required form (append the terms of yy with coefficients negated: rj′sj′(−tj′)r_j' s_j' (-t_j') still has the form r s tr\, s\, t), so x−y∈Jx - y \in J. For left absorption: given r∈Rr \in R and x=∑irisiti∈Jx = \sum_i r_i s_i t_i \in J,

rx=∑i(rri)siti∈J,rx = \sum_i (r r_i) s_i t_i \in J,

since each term is still of the form (ring element)⋅si⋅\cdot s_i \cdot(ring element). For right absorption: given r∈Rr \in R,

xr=∑irisi(tir)∈J,xr = \sum_i r_i s_i (t_i r) \in J,

by the same reasoning applied on the right. Hence JJ satisfies the two-sided ideal test and is a two-sided ideal of RR. JJ is the smallest two-sided ideal containing SS. Let KK be any two-sided ideal with S⊆KS \subseteq K. For si∈S⊆Ks_i \in S \subseteq K and any ri,ti∈Rr_i, t_i \in R: since KK is a left ideal, risi∈Kr_i s_i \in K; since KK is also a right ideal, (risi)ti∈K(r_i s_i) t_i \in K. Since KK is closed under addition, any finite sum ∑irisiti∈K\sum_i r_i s_i t_i \in K. Hence J⊆KJ \subseteq K. As in Part B, this shows JJ is the intersection of all two-sided ideals containing SS, so J=(S)J = (S). This completes the proof of all three parts. ■\blacksquare

∎
CorollaryPrincipal ideals, previewed

For a single element aa in a commutative ring RR with identity, Part (B) gives

(a)={ra:r∈R}=Ra,(a) = \{ ra : r \in R \} = Ra,

the set of all RR-multiples of aa. This is the principal ideal generated by aa, whose finer theory (principal ideal domains, generators up to units) is developed under Principal Ideals and Generation.

Worked examples

Example 1: A non-principal ideal in Z[x]\mathbb{Z}[x], computed explicitly. Let R=Z[x]R = \mathbb{Z}[x], the ring of polynomials with integer coefficients, and let S={2,x}S = \{2, x\}. We compute (S)(S) using Part (B) of the theorem (valid since Z[x]\mathbb{Z}[x] is commutative with identity):

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

Concretely, this ideal consists of all polynomials in Z[x]\mathbb{Z}[x] whose constant term is even. Let us verify both inclusions. (⊆\subseteq): If h(x)=2f(x)+xg(x)h(x) = 2f(x) + xg(x), the constant term of 2f(x)2f(x) is 2f(0)2f(0), an even integer, and the constant term of xg(x)xg(x) is 00 (since xx divides every term). So the constant term of hh is 2f(0)2f(0), which is even. (⊇\supseteq): Suppose h(x)=a0+a1x+⋯+anxn∈Z[x]h(x) = a_0 + a_1 x + \cdots + a_n x^n \in \mathbb{Z}[x] has a0a_0 even, say a0=2ca_0 = 2c. Write

h(x)=2c+x(a1+a2x+⋯+anxn−1)=2⋅c+x⋅(a1+⋯+anxn−1),h(x) = 2c + x(a_1 + a_2 x + \cdots + a_n x^{n-1}) = 2 \cdot c + x \cdot (a_1 + \cdots + a_n x^{n-1}),

which exhibits hh in the form 2f(x)+xg(x)2f(x) + xg(x) with f(x)=cf(x) = c and g(x)=a1+a2x+⋯+anxn−1g(x) = a_1 + a_2 x + \cdots + a_n x^{n-1}. So indeed (2,x)={h∈Z[x]:h(0) is even}(2,x) = \{h \in \mathbb{Z}[x] : h(0) \text{ is even}\}. This ideal is not principal: there is no single polynomial p(x)∈Z[x]p(x) \in \mathbb{Z}[x] with (p)=(2,x)(p) = (2,x). Briefly: if such pp existed, then 2=p⋅f2 = p \cdot f for some ff, forcing pp to be a constant (±1\pm1 or ±2\pm2) by degree considerations; p=±1p = \pm 1 would give (p)=Z[x]∋1(p) = \mathbb{Z}[x] \ni 1, but 1∉(2,x)1 \notin (2,x) since 11 has odd constant term — contradiction; p=±2p = \pm 2 would need x∈(2)x \in (2), i.e. x=2g(x)x = 2g(x) for some g∈Z[x]g \in \mathbb{Z}[x], impossible since 22 does not divide the coefficient 11 of xx in Z\mathbb{Z}. This example shows that even in a very concrete, familiar ring, ideal generation with two generators genuinely needs two generators — a phenomenon central to the later theory of Principal Ideals and Generation and unique factorization.

Example 2: Left vs. right ideals in M2(R)M_2(\mathbb{R}), a genuinely noncommutative computation. Let R=M2(R)R = M_2(\mathbb{R}), the ring of 2×22\times 2 real matrices, which is noncommutative. Consider

L={(ab00):a,b∈R}.L = \left\{ \begin{pmatrix} a & b \\ 0 & 0 \end{pmatrix} : a, b \in \mathbb{R} \right\}.

We check LL is a left ideal but not a right ideal, using the ideal test (Part A). Additive closure: clear, since LL is closed under entrywise subtraction (it is a 22-dimensional real subspace of M2(R)M_2(\mathbb{R})). Left absorption: let r=(pqst)∈Rr = \begin{pmatrix} p & q \\ s & t \end{pmatrix} \in R and ℓ=(ab00)∈L\ell = \begin{pmatrix} a & b \\ 0 & 0 \end{pmatrix} \in L. Then

rℓ=(pqst)(ab00)=(papbsasb).r\ell = \begin{pmatrix} p & q \\ s & t \end{pmatrix}\begin{pmatrix} a & b \\ 0 & 0 \end{pmatrix} = \begin{pmatrix} pa & pb \\ sa & sb \end{pmatrix}.

Wait — we must check this lands in LL, i.e., that the bottom row is zero. Recompute carefully: row 2 of the product is (row 2 of rr) times (columns of ℓ\ell): entry (2,1)=s⋅a+t⋅0=sa(2,1) = s\cdot a + t \cdot 0 = sa, and entry (2,2)=s⋅b+t⋅0=sb(2,2) = s \cdot b + t \cdot 0 = sb. These need not vanish for arbitrary s,t,a,bs,t,a,b — for instance take r=(0010)r = \begin{pmatrix}0&0\\1&0\end{pmatrix}, ℓ=(1000)\ell = \begin{pmatrix}1&0\\0&0\end{pmatrix}: then rℓ=(0010)∉Lr\ell = \begin{pmatrix}0&0\\1&0\end{pmatrix} \notin L. This shows the subset LL as defined is not a left ideal after all — an instructive miscalculation to catch. Let us instead use the correct set that is a left ideal: rows are absorbed from the left when we fix a column, not a row. Define

L′={(a0b0):a,b∈R}L' = \left\{ \begin{pmatrix} a & 0 \\ b & 0 \end{pmatrix} : a,b \in \mathbb{R} \right\}

(matrices whose second column is zero). Check left absorption: for r=(pqst)r = \begin{pmatrix} p&q\\s&t\end{pmatrix} and ℓ=(a0b0)\ell = \begin{pmatrix} a&0\\b&0\end{pmatrix},

rℓ=(pqst)(a0b0)=(pa+qb0sa+tb0)∈L′,r\ell = \begin{pmatrix} p&q\\s&t\end{pmatrix}\begin{pmatrix} a&0\\b&0\end{pmatrix} = \begin{pmatrix} pa+qb & 0 \\ sa+tb & 0 \end{pmatrix} \in L',

since the second column is indeed zero, matching the form of L′L'. Additive closure is immediate as before, so by the ideal test, L′L' is a left ideal. Now check L′L' is not a right ideal: take ℓ=(1000)∈L′\ell = \begin{pmatrix}1&0\\0&0\end{pmatrix} \in L' and r=(0100)∈Rr = \begin{pmatrix}0&1\\0&0\end{pmatrix} \in R. Then

ℓr=(1000)(0100)=(0100)∉L′,\ell r = \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 L',

since its second column is nonzero. So ℓr∉L′\ell r \notin L', confirming right absorption fails. This example (corrected after catching the initial error) shows concretely how "column-zero" matrices form a left ideal (they absorb from the left because left multiplication acts on rows, mixing columns internally without touching the zero column), while the symmetric "row-zero" matrices {(ab00)}\{\begin{pmatrix}a&b\\0&0\end{pmatrix}\} form a right ideal by an entirely parallel computation: for ρ=(ab00)\rho = \begin{pmatrix}a&b\\0&0\end{pmatrix} and r=(pqst)r = \begin{pmatrix}p&q\\s&t\end{pmatrix},

ρr=(ap+bsaq+bt00),\rho r = \begin{pmatrix}ap+bs & aq+bt \\ 0 & 0\end{pmatrix},

which has zero second row, so lies in the row-zero set — this is exactly right absorption. Neither L′L' nor the row-zero set is two-sided, and indeed M2(R)M_2(\mathbb{R}) is a simple ring: it has no proper nonzero two-sided ideals at all, only these asymmetric one-sided ideals.

CounterexampleDropping the absorption axiom collapses "ideal" to "subring," and quotients break

The absorption condition (RI⊆IRI \subseteq I, or IR⊆IIR \subseteq I) is not a convenience — it is exactly what is needed to define quotient multiplication. Drop it, keeping only "subring," and quotienting fails. Let R=ZR = \mathbb{Z} and let H={0}H = \{0\} — trivial, so instead take a genuinely non-absorbing subring: let R=QR = \mathbb{Q} (rationals) and S=Z⊆QS = \mathbb{Z} \subseteq \mathbb{Q}. Then SS is a subring of Q\mathbb{Q}: it contains 11, and is closed under +,−,×+, -, \times. But SS is not an ideal of Q\mathbb{Q}, because absorption fails: take r=12∈Qr = \tfrac{1}{2} \in \mathbb{Q} and a=1∈Sa = 1 \in S; then ra=12∉Sra = \tfrac12 \notin S. Now try to define a quotient ring structure on the cosets Q/S\mathbb{Q}/S (as additive cosets of the subgroup S=ZS = \mathbb{Z} inside (Q,+)(\mathbb{Q},+)), with multiplication

(q+S)(q′+S)qq′+S.(q + S)(q' + S) \overset{?}{=} qq' + S.

This is not well-defined. Indeed, 12+S\tfrac12 + S and 12+1+S=32+S\tfrac12 + 1 + S = \tfrac32 + S represent the same coset (since 32−12=1∈S\tfrac32 - \tfrac12 = 1 \in S). Multiply each by the coset representative 12\tfrac12 itself:

(12+S)(12+S)=14+S,(32+S)(12+S)=34+S.\left(\tfrac12 + S\right)\left(\tfrac12 + S\right) = \tfrac14 + S, \qquad \left(\tfrac32+S\right)\left(\tfrac12+S\right) = \tfrac34 + S.

But 14+S≠34+S\tfrac14 + S \neq \tfrac34 + S, since 34−14=12∉S=Z\tfrac34 - \tfrac14 = \tfrac12 \notin S = \mathbb{Z}. The same pair of cosets multiplied by the same third coset gives two different answers depending on which representative was chosen — multiplication on Q/S\mathbb{Q}/S is simply not a function. The obstruction is precisely the failure of absorption: well-definedness of coset multiplication requires that changing a representative by an element of SS (i.e. adding s∈Ss \in S) not change the product coset, and unwinding this requirement forces exactly rS⊆SrS \subseteq S and Sr⊆SSr \subseteq S for all r∈Qr \in \mathbb{Q} — the ideal axiom. Without it, "R/SR/S" is an additive group with no ring structure at all, and the entire machinery of Quotient Rings collapses.

Scope, edge cases & common traps

SituationWhat to watch for
Ring without identityPart (B)/(C) generation formulas need modification: without 11, SS itself may not lie in the naive linear-combination set, and one must add SS's elements (or Z\mathbb{Z}-multiples of them) explicitly.
Commutative ringLeft = right = two-sided ideal; always just say "ideal." Simplifies Part (B) of the theorem to the familiar RaRa / ∑risi\sum r_i s_i form.
Noncommutative ringLeft, right, two-sided ideals genuinely differ (Example 2); always specify which kind you mean.
RR itself and {0}\{0\}Both are always ideals (of any kind) — the "trivial" ideals; a ring with no other two-sided ideals is called simple (e.g. Mn(F)M_n(F) for a field FF).
Ideal vs. subringAn ideal is always a subring only if it happens to contain 11 or is otherwise checked — actually if a proper ideal contained 11 it would absorb r⋅1=rr\cdot 1 = r for all rr, forcing I=RI = R; so a proper ideal never contains 11 and hence (in the presence of identity) an ideal is generally not a subring in the "contains 11" convention.

The mathematician behind it

Origins · 1 minRichard Dedekind and how this was discovered
RD
Richard Dedekind
1831–1916 · German mathematician, foundational figure in algebraic number theory and the axiomatic study of rings

Dedekind introduced the concept of an ideal (German: Ideal) in the 1870s while trying to rescue unique factorization in rings of algebraic integers, where ordinary prime factorization can fail. His idea was that even when individual numbers do not factor uniquely, one can factor ideals uniquely into prime ideals — recovering, at the level of these new objects, the arithmetic that elements alone could not provide. The name "ideal" itself is a direct descendant of Ernst Kummer's earlier notion of "ideal numbers," hypothetical numbers introduced to patch up failures of unique factorization; Dedekind gave this heuristic a precise set-theoretic foundation.

History
- 1843–1847: Ernst Kummer introduces "ideal numbers" to restore unique factorization in cyclotomic integers, motivated by attempts on Fermat's Last Theorem.
- 1871: Richard Dedekind, in supplements to Dirichlet's Vorlesungen über Zahlentheorie, defines the modern notion of an ideal as a subset of a ring of integers closed under addition and absorption of multiplication.
- 1882: Dedekind and Heinrich Weber extend ideal theory to function fields, linking algebraic number theory with algebraic geometry.
- 1921: Emmy Noether's landmark paper Idealtheorie in Ringbereichen axiomatizes commutative ring theory around ideals and chain conditions, launching modern abstract algebra.
- 1927: Noether and Emil Artin's subsequent work on noncommutative rings formalizes the left/right ideal distinction central to the structure theory of algebras.
What is the difference between a subring and an ideal?

A subring S⊆RS \subseteq R only needs to be closed under the ring operations internally: sums, differences, and products of elements of SS stay in SS. An ideal I⊆RI \subseteq R must satisfy the much stronger absorption property: multiplying any element of II by any element of the whole ring RR (not just elements of II) must still land in II. Every ideal that is nonempty and closed under subtraction is automatically closed under multiplication of its own elements (take r∈Ir \in I in the absorption condition), so every ideal is a subring, but the converse is false — Z⊆Q\mathbb{Z} \subseteq \mathbb{Q} is a subring but not an ideal.

Why do we need left, right, and two-sided ideals instead of just one notion?

In a noncommutative ring, multiplying on the left and multiplying on the right are genuinely different operations, so "absorbs multiplication" splits into two independent conditions. A subset can absorb only from one side — as in the matrix examples in this article — and treating "ideal" as a single unambiguous notion would hide real structural information about the ring. When the ring is commutative, ra=arra = ar for all elements, so the two conditions become identical and the distinction evaporates, which is why the word "ideal" is used unqualified in commutative algebra.

Is every ideal generated by a single element?

No. An ideal generated by one element is called principal, and while this happens in nice rings like Z\mathbb{Z} or F[x]F[x] for a field FF, it fails in general. The ideal (2,x)(2, x) in Z[x]\mathbb{Z}[x], consisting of polynomials with even constant term, cannot be generated by any single polynomial, as shown explicitly in the worked examples. Rings in which every ideal is principal are called principal ideal domains and are studied in detail under Principal Ideals and Generation.

Why is RR itself always considered an ideal, and is that useful?

RR trivially satisfies both the subgroup condition and absorption, since R⋅R⊆RR \cdot R \subseteq R by closure of multiplication, so RR is always a (two-sided) ideal of itself, called the unit ideal. It is not very interesting on its own, but it matters as a boundary case: an ideal II equals all of RR if and only if II contains a unit (in particular, if it contains 11), which is a key criterion used later to distinguish proper ideals and to identify maximal and prime ideals.

How does the definition change if the ring has no multiplicative identity?

Without an identity, the absorption condition RI⊆IRI \subseteq I (or IR⊆IIR \subseteq I) is stated exactly the same way, but the generation formulas change: you can no longer write s=1⋅ss = 1 \cdot s to guarantee SS sits inside the set of linear combinations, since there may be no 11. The generated ideal must then be described as sums of elements of SS together with RR-multiples of elements of SS (and, for two-sided ideals, elements of the form rstrst), explicitly including SS itself as a summand to compensate for the missing identity.

Are ideals and normal subgroups the "same idea" in different settings?

They play analogous roles: both are exactly the substructures by which you can quotient (a ring or a group, respectively) and still get a well-defined algebraic structure on the cosets. Formally they are different: an ideal must be an additive subgroup with a multiplicative absorption property, while a normal subgroup N⊴GN \trianglelefteq G must satisfy gNg−1=NgNg^{-1} = N for conjugation. The philosophical parallel — "the kernels of homomorphisms are exactly these objects" — is precise and is one of the deepest recurring patterns across Commutative Rings theory and group theory.

Does every subset of a ring generate an ideal, even infinite or "wild" subsets?

Yes. The construction via intersection of all ideals containing SS works for any nonempty subset SS whatsoever, finite or infinite, since an arbitrary intersection of ideals is again an ideal (a routine check using the ideal test on the intersection). The explicit linear-combination description in the theorem only ever uses finite sums even when SS is infinite, because ideals need only be closed under finitely many additions at a time; this finiteness is essential to later chain-condition arguments such as the ascending chain condition in Noetherian rings.

Before this

Where this leads