Subrings

When is a subset of a ring itself a ring, using the same operations? This question sounds trivial. But it hides a genuine subtlety. Closure under addition and multiplication is not enough. The additive structure must also form a group, not just a monoid. The notion of a subring answers this precisely. It gives a compact checklist — the subring criterion. This lets us verify in a few lines that familiar objects like the Gaussian integers, the even integers, or the diagonal matrices are rings in their own right, sitting inside a larger ring. Subrings matter because they are the natural "sub-objects" of ring theory. They play the role that subgroups play for groups. They play the role that subspaces play for vector spaces. Recognizing subrings lets us organize a ring's internal structure. It lets us produce new examples of rings from old ones. It also sets the stage for the deeper distinction between subrings and Ideals. This is one of the most important conceptual forks in the entire subject. A subring is closed under multiplication and contains the multiplicative identity considerations of its parent. An ideal, by contrast, absorbs multiplication from the whole ring. This is a much stronger and different condition. The big picture: a ring is an abelian group under addition equipped with a compatible multiplication. A subring is a subset that inherits both structures without any adjustment. This article gives the precise definition. It proves the subring criterion (a single clean test replacing the full list of ring axioms). It works through concrete examples chosen to expose common errors. It also shows exactly where the notion of "subring" parts ways with the notion of "ideal." Understanding this fork early prevents a wide range of confusions later. This is especially true once Ring Homomorphisms and quotient constructions enter the picture. By the end, you will be able to check subring-hood mechanically. You will know why subrings need not contain a multiplicative identity even when the ambient ring does. You will also see precisely why every ideal that is a subring "in the strong sense" is rare. Most ideals are not subrings with unity. Most subrings are not ideals at all.

Key takeaways
  • A subring of a ring RR is a subset S⊆RS\subseteq R that is itself a ring under the operations inherited from RR.
  • The subring criterion reduces the ring axioms to four checks: nonempty, closed under subtraction, closed under multiplication (and containing 00, which follows from the others).
  • Associativity, distributivity, and commutativity of addition are automatically inherited — no need to re-verify them.
  • Subrings need not contain the multiplicative identity of RR, even if RR is unital.
  • Subrings are fundamentally different from Ideals: ideals absorb multiplication from the whole ring, subrings only need internal closure.
  • Key idea: to check a subset is a subring, verify only closure under subtraction and multiplication — everything else is inherited for free.

Where this lives today

Subrings appear throughout mathematics wherever one studies substructures preserving both additive and multiplicative operations. In algebraic number theory, rings of integers such as Z[2]\mathbb{Z}[\sqrt{2}] or Z[i]\mathbb{Z}[i] are subrings of larger fields, and understanding which subsets are subrings (versus merely additive subgroups) is foundational to studying integrality and factorization. In linear algebra and representation theory, rings of matrices such as upper-triangular or block-diagonal matrices are subrings of Mn(F)M_n(F), and they organize the study of flags and invariant subspaces. In commutative algebra and algebraic geometry, coordinate rings of subvarieties arise as quotients, but the subrings of a polynomial ring (fixed subrings under group actions, for instance) drive invariant theory. In cryptography, subrings of finite rings such as Z/nZ\mathbb{Z}/n\mathbb{Z} underlie constructions in coding theory and lattice-based cryptosystems. In computer algebra systems, recognizing subring structure allows symbolic computation software to restrict computations to smaller, more efficient substructures (e.g. working within Z[i]\mathbb{Z}[i] instead of all of C\mathbb{C}). The subring/ideal distinction developed here is also the essential prerequisite for defining quotient rings and the Ring Homomorphisms whose kernels are always ideals, never merely subrings.

Ask the tutor: Why does every ideal automatically satisfy the subring criterion, but not every subring satisfy the ideal condition?

DefinitionSubring

Let (R,+,⋅)(R,+,\cdot) be a ring. A subset S⊆RS\subseteq R is a subring of RR if SS is itself a ring under the restrictions of ++ and ⋅\cdot to SS; that is: 1. (S,+)(S,+) is a subgroup of the additive group (R,+)(R,+); 2. SS is closed under multiplication: for all a,b∈Sa,b\in S, ab∈Sab\in S; 3. The operations +,⋅+,\cdot restricted to SS satisfy the ring axioms on SS (associativity of ++ and ⋅\cdot, distributivity, commutativity of ++). (Convention on unity: some authors additionally require that SS contain the multiplicative identity 1R1_R of RR, and that this identity serve as the identity of SS. Following Dummit–Foote's convention, we do not require this by default — a subring need not be unital even if RR is, and if SS does have an identity it need not equal 1R1_R. We will flag this explicitly whenever it matters.)

Intuition

Think of a ring RR as a landscape with two overlaid grids: an addition grid (making RR an abelian group) and a multiplication grid (compatible with addition via distributivity). A subring is a sub-landscape SS that is self-contained under both grids: adding or multiplying two points of SS never leaves SS, and every point of SS has its additive inverse already inside SS. The subtlety is that "closed under ++ and ⋅\cdot" is not quite the same as "is a ring." A subset can be closed under addition and multiplication yet fail to be a group under addition — for instance, the natural numbers N⊂Z\mathbb{N}\subset\mathbb{Z} are closed under both operations but N\mathbb{N} has no additive inverses, so it is not a subring of Z\mathbb{Z}. This is exactly the gap the subring criterion is built to close: it forces closure under subtraction, which simultaneously guarantees 0∈S0\in S and that every element of SS has its negative in SS.

Figure
Subrings sit strictly between arbitrary subsets and the whole ring; ideals form a narrower, different family inside
Ring R = ℤ (integers) subrings of ℤ ideals of ℤ 2ℤ (even integers) 3ℤ ℤ itself ℕ ⊂ ℤ (not a subring: no negatives)

For every n∈Zn\in\mathbb{Z}, the set nZ={nk:k∈Z}n\mathbb{Z}=\{nk:k\in\mathbb{Z}\} is a subring of Z\mathbb{Z} (in fact an ideal, as we will define elsewhere) — this is the family of examples the diagram depicts inside the ideal region. In contrast N\mathbb{N}, though closed under both operations, fails to be a subring because it is not closed under subtraction (e.g. 2−5=−3∉N2-5=-3\notin\mathbb{N}).

TheoremSubring Criterion

Let RR be a ring and let S⊆RS\subseteq R be a subset. Then SS is a subring of RR if and only if: 1. S≠∅S\neq\varnothing; 2. for all a,b∈Sa,b\in S, a−b∈Sa-b\in S (closure under subtraction); 3. for all a,b∈Sa,b\in S, ab∈Sab\in S (closure under multiplication).

Proof

We prove both directions. Throughout, RR denotes a ring with addition ++ and multiplication ⋅\cdot, satisfying: (R,+)(R,+) is an abelian group, multiplication is associative, and multiplication distributes over addition on both sides.

(⇒\Rightarrow) Suppose SS is a subring. By definition, (S,+)(S,+) is a subgroup of (R,+)(R,+) and SS is closed under multiplication. A subgroup is by definition nonempty (it contains at least the identity 00), giving (1). Closure under multiplication is exactly (3). For (2): the standard subgroup criterion (proved for groups, applicable here since (R,+)(R,+) is a group) states that a nonempty subset SS of a group (R,+)(R,+) is a subgroup if and only if a−b∈Sa-b\in S for all a,b∈Sa,b\in S. Since (S,+)(S,+) is assumed to be a subgroup, this subtraction closure holds. This establishes (2).

(⇐\Leftarrow) Suppose SS satisfies (1), (2), (3). We must show SS is a subring, i.e. that (S,+)(S,+) is a subgroup of (R,+)(R,+), that SS is closed under multiplication, and that the ring axioms hold on SS. Step 1: (S,+)(S,+) is a subgroup of (R,+)(R,+). We use the (already established, prior to ring theory) subgroup criterion for the abelian group (R,+)(R,+): a nonempty subset closed under the operation "subtract" (i.e., a,b∈S⇒a−b∈Sa,b\in S\Rightarrow a-b\in S) is a subgroup. By hypothesis (1), S≠∅S\neq\varnothing; by hypothesis (2), SS is closed under a−ba-b. Hence (S,+)(S,+) is a subgroup of (R,+)(R,+). In particular:

  • 0∈S0\in S (since SS is nonempty, pick a∈Sa\in S; then a−a=0∈Sa-a=0\in S by (2));
  • for every a∈Sa\in S, −a=0−a∈S-a=0-a\in S by (2);
  • SS is closed under ++: for a,b∈Sa,b\in S, we have −b∈S-b\in S (just shown), so by (2) applied to aa and −b-b: a−(−b)=a+b∈Sa-(-b)=a+b\in S.
  • (S,+)(S,+) is abelian, since addition in SS is the restriction of addition in RR, which is already commutative on all of RR, hence on SS.

Step 2: SS is closed under multiplication. This is hypothesis (3) directly. Step 3: The ring axioms hold on (S,+,⋅)(S,+,\cdot). We must check: (a) (S,+)(S,+) is an abelian group — done in Step 1. (b) Multiplication on SS is associative. (c) Left and right distributive laws hold on SS. For (b) and (c): these are universally quantified identities that hold for all elements of RR (since RR is a ring), namely for all x,y,z∈Rx,y,z\in R:

(xy)z=x(yz),x(y+z)=xy+xz,(x+y)z=xz+yz.(xy)z = x(yz), \qquad x(y+z)=xy+xz, \qquad (x+y)z=xz+yz.

Since S⊆RS\subseteq R, these identities hold in particular for all x,y,z∈Sx,y,z\in S — an identity true for every element of a set remains true for every element of any subset. By Step 2, all the products and sums appearing above, when x,y,z∈Sx,y,z\in S, indeed lie in SS (closure), so the equations are equations of elements of SS, verified using the restricted operations. Hence associativity and distributivity hold on SS. Therefore (S,+,⋅)(S,+,\cdot) satisfies every ring axiom, so SS is a subring of RR. ■\blacksquare Remark on proof technique. This is a direct proof combining a group-theoretic lemma (the subgroup criterion for (R,+)(R,+), an abelian group) with an "inheritance of universally-quantified identities" argument for the multiplicative axioms. No step invokes the subring criterion itself or any later result, so the argument is non-circular.

∎
CorollaryZero is detected automatically

If S⊆RS\subseteq R satisfies the subring criterion, then 0R∈S0_R\in S. In particular, a nonempty multiplicatively-and-additively closed set need not be a subring unless it also contains, implicitly, enough structure to force 0∈S0\in S via subtraction closure.

Proof

Shown explicitly in Step 1 of the proof above: pick any a∈Sa\in S (possible since S≠∅S\neq\varnothing) and note a−a=0∈Sa-a=0\in S. ■\blacksquare

∎

Worked examples

Example 1: The Gaussian integers inside the complex numbers, checked against a near-miss. Let R=CR=\mathbb{C} with the usual addition and multiplication, and let

S=Z[i]={a+bi:a,b∈Z}.S=\mathbb{Z}[i]=\{a+bi : a,b\in\mathbb{Z}\}.

We verify the subring criterion. Nonempty: 0=0+0i∈S0=0+0i\in S. Closed under subtraction: let z=a+biz=a+bi, w=c+diw=c+di with a,b,c,d∈Za,b,c,d\in\mathbb{Z}. Then

z−w=(a−c)+(b−d)i,z-w=(a-c)+(b-d)i,

and a−c, b−d∈Za-c,\,b-d\in\mathbb{Z} since Z\mathbb{Z} is closed under subtraction. So z−w∈Sz-w\in S. Closed under multiplication:

zw=(a+bi)(c+di)=(ac−bd)+(ad+bc)i.zw=(a+bi)(c+di)=(ac-bd)+(ad+bc)i.

Since a,b,c,d∈Za,b,c,d\in\mathbb{Z} and Z\mathbb{Z} is closed under products and sums, ac−bd∈Zac-bd\in\mathbb{Z} and ad+bc∈Zad+bc\in\mathbb{Z}. So zw∈Szw\in S. By the subring criterion, Z[i]\mathbb{Z}[i] is a subring of C\mathbb{C}. Notice also that 1=1+0i∈S1=1+0i\in S, so here the subring happens to contain the identity of the ambient ring — but this was a consequence we checked, not a requirement of the criterion. Now the near-miss, to sharpen the boundary: let

T={a+bi:a,b∈Z, a≥0, b≥0}T=\{a+bi : a,b\in\mathbb{Z},\ a\ge 0,\ b\ge 0\}

(Gaussian integers in the closed first quadrant). Is TT a subring of C\mathbb{C}? Take z=3+2i∈Tz=3+2i\in T and w=1+5i∈Tw=1+5i\in T. Then

z−w=(3−1)+(2−5)i=2−3i,z-w=(3-1)+(2-5)i = 2-3i,

which has negative imaginary part, so z−w∉Tz-w\notin T. Subtraction closure fails, so TT is not a subring — despite TT being closed under addition and, one can check, under multiplication (products of quadrant-I Gaussian integers can be verified to stay in the quadrant only under further restriction, but even granting closure under +,⋅+,\cdot, the failure of subtraction closure alone already rules out TT as a subring). This mirrors the N⊂Z\mathbb{N}\subset\mathbb{Z} example from the intuition section and confirms that subtraction closure is doing real work, not a redundant formality.

Example 2: Upper triangular matrices, an asymmetric ring of matrices. Let R=M2(R)R=M_2(\mathbb{R}), the ring of 2×22\times 2 real matrices under matrix addition and multiplication (note RR is noncommutative and unital with identity I=(1001)I=\begin{pmatrix}1&0\\0&1\end{pmatrix}). Let

S={(ab0d):a,b,d∈R},S=\left\{\begin{pmatrix}a&b\\0&d\end{pmatrix} : a,b,d\in\mathbb{R}\right\},

the upper triangular matrices. We check the subring criterion. Nonempty: the zero matrix is in SS (take a=b=d=0a=b=d=0). Closed under subtraction: for A=(ab0d)A=\begin{pmatrix}a&b\\0&d\end{pmatrix} and A′=(a′b′0d′)A'=\begin{pmatrix}a'&b'\\0&d'\end{pmatrix} in SS,

A−A′=(a−a′b−b′0d−d′)∈S,A-A' = \begin{pmatrix}a-a' & b-b' \\ 0 & d-d'\end{pmatrix} \in S,

since the (2,1)(2,1) entry remains 00. Closed under multiplication: compute

AA′=(ab0d)(a′b′0d′)=(aa′ab′+bd′0dd′).AA' = \begin{pmatrix}a&b\\0&d\end{pmatrix}\begin{pmatrix}a'&b'\\0&d'\end{pmatrix} = \begin{pmatrix} aa' & ab'+bd' \\ 0 & dd' \end{pmatrix}.

The (2,1)(2,1) entry is 0⋅a′+d⋅0=00\cdot a' + d\cdot 0 = 0, so AA′∈SAA'\in S. By the subring criterion, SS is a subring of M2(R)M_2(\mathbb{R}), and I∈SI\in S (taking a=d=1,b=0a=d=1,b=0), so here too the identity survives — but note SS is not commutative: with A=(1100)A=\begin{pmatrix}1&1\\0&0\end{pmatrix} and A′=(0001)A'=\begin{pmatrix}0&0\\0&1\end{pmatrix}, both in SS,

AA′=(0100),A′A=(0000),AA'=\begin{pmatrix}0&1\\0&0\end{pmatrix},\qquad A'A=\begin{pmatrix}0&0\\0&0\end{pmatrix},

so AA′≠A′AAA'\neq A'A. This shows subrings need not inherit commutativity of multiplication from a commutative ambient ring assumption — although here R=M2(R)R=M_2(\mathbb{R}) itself was already noncommutative, so nothing was violated; the point is simply that being a subring imposes no extra commutativity beyond what the ambient ring already has or lacks. Now consider whether SS is an ideal of RR. Take A=(1000)∈SA=\begin{pmatrix}1&0\\0&0\end{pmatrix}\in S and an arbitrary matrix M=(0010)∈RM=\begin{pmatrix}0&0\\1&0\end{pmatrix}\in R (not necessarily in SS). Then

MA=(0010)(1000)=(0010),MA = \begin{pmatrix}0&0\\1&0\end{pmatrix}\begin{pmatrix}1&0\\0&0\end{pmatrix} = \begin{pmatrix}0&0\\1&0\end{pmatrix},

which has a nonzero (2,1)(2,1) entry, so MA∉SMA\notin S. Thus SS absorbs multiplication from SS into SS, but fails to absorb multiplication from all of RR: SS is a subring but not an ideal. This is the central distinction the article is building toward.

CounterexampleDropping subtraction-closure: closed under +,⋅+,\cdot is not enough

The subring criterion requires closure under subtraction (equivalently, closure under ++ and under additive inverses). Suppose we weaken the hypothesis to only:

  • S≠∅S\neq\varnothing,
  • SS closed under ++,
  • SS closed under ⋅\cdot,

and drop the requirement of closure under negation/subtraction. Does the conclusion "SS is a subring" still hold? Take R=ZR=\mathbb{Z} and S=N={0,1,2,3,… }S=\mathbb{N}=\{0,1,2,3,\dots\} (including 00, so S≠∅S\ne\varnothing). Then:

  • SS is closed under addition: sum of two nonnegative integers is nonnegative.
  • SS is closed under multiplication: product of two nonnegative integers is nonnegative.

Yet S=NS=\mathbb{N} is not a subring of Z\mathbb{Z}, because (N,+)(\mathbb{N},+) is not a group: the element 1∈N1\in\mathbb{N} has no additive inverse inside N\mathbb{N} (we would need −1∈N-1\in\mathbb{N}, which is false). So axiom (a) of the ring definition — that (S,+)(S,+) be an abelian group, not merely a commutative monoid — fails. This shows the subtraction-closure hypothesis in the subring criterion cannot be dropped or replaced merely by additive-closure: doing so allows monoids that are not groups to slip through, and the entire theorem's conclusion collapses. The fix in the theorem is precisely to demand closure under a−ba - b (not just a+ba+b), which forces the presence of inverses and hence a genuine group structure.

Scope, edge cases & common traps

SituationWhat to checkCommon trap
RR unital, testing subset SSSubring criterion (3 conditions) onlyAssuming 1R∈S1_R\in S automatically — false in general
SS has its own identity eeee need only satisfy es=se=ses=se=s for s∈Ss\in SAssuming e=1Re=1_R; e.g. S={(n,0):n∈Z}⊂Z×ZS=\{(n,0):n\in\mathbb{Z}\}\subset\mathbb{Z}\times\mathbb{Z} has identity (1,0)≠(1,1)(1,0)\ne(1,1)
SS closed under +,⋅+,\cdot but not −-Must check subtraction/negation explicitlyConcluding subring-hood from closure under +,⋅+,\cdot alone (see counterexample)
SS is an idealMust additionally absorb RR-multiplication: rs,sr∈Srs,sr\in S for all r∈R,s∈Sr\in R,s\in SConflating "subring" with "ideal" — every ideal is closed under subtraction and multiplication, but a subring need not absorb outside elements
Non-unital ambient ringSame subring criterion applies verbatimAssuming rings must have 11 — not universal across texts

The mathematician behind it

Origins · 1 minRichard Dedekind and how this was discovered
RD
Richard Dedekind
1831–1916 · Foundations of ring and ideal theory, Göttingen

Dedekind, a student and later close associate of Gauss and Dirichlet at Göttingen, was among the first to isolate the abstract notion of closure properties defining substructures of number systems. Working on the arithmetic of algebraic number fields, he needed a precise language for subsets of rings of integers that behave well under the ring operations — this line of thought, refined over decades by Dedekind and later by Emmy Noether, crystallized into the modern definitions of subring and ideal. Dedekind's 1871 supplement to Dirichlet's Vorlesungen über Zahlentheorie introduced the term "ideal" itself, generalizing Kummer's "ideal numbers," and implicitly relied on the weaker, more permissive notion of subring as the ambient category in which ideals are a special, more restrictive case.

History
- 1871: Dedekind introduces ideals of rings of algebraic integers, distinguishing them from arbitrary subrings.
- 1897: Hilbert's Zahlbericht systematizes ring-theoretic language for algebraic number theory, using subring-like constructions throughout.
- 1920s: Emmy Noether axiomatizes commutative ring theory abstractly, formalizing subrings and ideals as the basic substructures of a ring.
- 1930: van der Waerden's Moderne Algebra codifies the modern subring/ideal terminology for a general audience, cementing the distinction used today.
- Present: the subring criterion appears as a standard early lemma in essentially every abstract algebra textbook, exactly as stated here.
Does a subring have to contain the additive identity 00 of the ambient ring?

Yes, necessarily. If SS is a subring, then by the subring criterion SS is nonempty and closed under subtraction, so picking any a∈Sa \in S we get a−a=0∈Sa - a = 0 \in S. This is not an extra hypothesis to check separately — it is a logical consequence of nonemptiness plus subtraction-closure, as shown explicitly in the proof of the subring criterion. So every subring automatically contains 0R0_R, even though it need not contain 1R1_R.

Does a subring have to contain the multiplicative identity 1R1_R, if RR is unital?

No. This is one of the most common misconceptions. The classic example is S=2Z⊂ZS = 2\mathbb{Z} \subset \mathbb{Z}: it is closed under subtraction and multiplication, hence a subring by the criterion, but it contains no element acting as a multiplicative identity for SS, since that would require 1∈2Z1 \in 2\mathbb{Z}, which is false. Some textbooks adopt a stricter convention requiring 1R∈S1_R \in S (calling these "unital subrings"), but this must be stated as an explicit added hypothesis, not derived from the basic definition.

What is the actual difference between a subring and an ideal?

A subring S⊆RS \subseteq R only needs to be closed under the ring's own operations among elements of SS: a−b∈Sa - b \in S and ab∈Sab \in S for a,b∈Sa, b \in S. An ideal I⊆RI \subseteq R needs the much stronger absorption property: ri∈Iri \in I and ir∈Iir \in I for every r∈Rr \in R and i∈Ii \in I, not just r∈Ir \in I. Every ideal is automatically a subring (take r∈Ir \in I in the absorption condition), but the converse fails constantly — for instance, the upper triangular matrices form a subring of M2(R)M_2(\mathbb{R}) but not an ideal, as shown in the worked example.

If SS is closed under addition and multiplication, is it automatically a subring?

No — this is exactly the trap the subring criterion is designed to avoid. Closure under addition and multiplication alone does not guarantee closure under additive inverses, so (S,+)(S,+) might fail to be a group. The standard counterexample is N⊂Z\mathbb{N} \subset \mathbb{Z}: closed under both ++ and ⋅\cdot, but 1∈N1 \in \mathbb{N} has no additive inverse in N\mathbb{N}. You must separately verify closure under subtraction (or equivalently, closure under negation together with addition).

Can a subring fail to be commutative even if it sits inside a commutative ring?

No — if RR is commutative, then ab=baab = ba holds for all a,b∈Ra, b \in R, hence in particular for all a,ba, b in any subset S⊆RS \subseteq R. So every subring of a commutative ring is automatically commutative. However, a subring of a noncommutative ring can itself be commutative (e.g. the diagonal matrices inside M2(R)M_2(\mathbb{R})) or can remain noncommutative (e.g. the upper triangular matrices in the worked example) — commutativity of SS is inherited as an upper bound from RR, but is not forced to be strictly less than what RR already has.

Is the intersection of two subrings always a subring?

Yes. If S1,S2S_1, S_2 are subrings of RR, then S1∩S2S_1 \cap S_2 is nonempty (it contains 00, since 0∈S10 \in S_1 and 0∈S20 \in S_2), closed under subtraction (if a,b∈S1∩S2a, b \in S_1 \cap S_2 then a−b∈S1a-b \in S_1 and a−b∈S2a - b \in S_2, since each is a subring, so a−b∈S1∩S2a - b \in S_1 \cap S_2), and closed under multiplication by the same argument. Hence S1∩S2S_1 \cap S_2 satisfies the subring criterion and is a subring. This generalizes to arbitrary intersections of subrings, by the identical argument applied index-wise.

Is the union of two subrings always a subring?

Generally no. Closure can fail across the union even when each piece is individually closed. For example, in R=ZR = \mathbb{Z}, both 2Z2\mathbb{Z} and 3Z3\mathbb{Z} are subrings, but 2Z∪3Z2\mathbb{Z} \cup 3\mathbb{Z} is not: it contains 22 and 33, yet 2+3=5∉2Z∪3Z2 + 3 = 5 \notin 2\mathbb{Z} \cup 3\mathbb{Z} (5 is neither even nor a multiple of 3), so the union fails closure under addition, hence under subtraction. Unions of subrings are subrings only in special circumstances, such as when the subrings form a chain under inclusion.

Before this

Where this leads