Subgroups and the Subgroup Criterion

Suppose you have a group GG. You notice a smaller collection of elements inside it. This collection seems to behave like a group of its own. When is that hunch actually true? How much work must you do to check it? This question sits at the very foundation of group theory. Subgroups are the natural sub-objects through which every deeper structural theorem is built. These include Lagrange's theorem, quotient groups, the isomorphism theorems, and Sylow theory. Rather than re-verifying all four group axioms every time, algebraists use streamlined tests. These axioms are closure, associativity, identity, and inverses. The tests are the two-step subgroup criterion and the one-step subgroup criterion. The one-step version is even more efficient. The key realization is that associativity is inherited automatically from the ambient group. Closure under the group operation, closure under inverses, and nonemptiness together guarantee something important. These conditions already ensure an identity element sits inside the subset. This economy of hypotheses is not a shortcut for its own sake. It reflects the genuine logical content of what it means to be "a group living inside a group." Understanding exactly which conditions are redundant, and why, matters. It sharpens one's sense of which axioms of a group are doing real work. The big picture is that subgroups classify the internal symmetry of GG at every scale. Trivial subgroups sit at the bottom, and GG itself sits at the top. Everything else fills in between. This includes cyclic subgroups generated by a single element, stabilizers, centralizers, and kernels of homomorphisms. Nearly every later construction in group theory begins with one question. That question is "is this subset a subgroup?" These constructions include cosets, normal subgroups, quotient groups, and the classification of finite abelian groups. So having an airtight, minimal, easily-applied test is indispensable machinery. This article gives the precise definition of a subgroup. It proves both the two-step and one-step subgroup criteria in full rigor. It illustrates them with two genuinely different worked examples. It also shows, via an explicit counterexample, why finiteness or nonemptiness cannot be dropped from the hypotheses. It closes by connecting subgroups forward to cosets and Lagrange's theorem. It also connects them to the various canonical subgroups built from a group's own structure. These include the center, centralizer, and normalizer.

Key takeaways
  • A subgroup H≤GH \le G is a subset of GG that is itself a group under the operation inherited from GG.
  • Associativity is automatic; only closure, identity, and inverses need checking, and even the identity check can often be skipped.
  • The two-step test: HH nonempty, closed under the operation, and closed under inverses ⇒\Rightarrow H≤GH \le G.
  • The one-step test: HH nonempty and closed under a,b∈H⇒ab−1∈Ha,b \in H \Rightarrow ab^{-1} \in H ⇒\Rightarrow H≤GH \le G.
  • For finite nonempty HH, mere closure under the operation already forces H≤GH \le G — no inverse check needed.
  • Key idea: checking "subgroup-ness" reduces to a handful of closure conditions, because associativity is free and the identity/inverse conditions collapse into a single combined test.

Where this lives today

Subgroups and the tests for recognizing them are the entry point to nearly all subsequent structural theory in algebra. Cosets and Lagrange's theorem (foreshadowed here) use subgroups to partition a finite group into equal-size blocks, giving the fundamental divisibility constraint ∣H∣|H| divides ∣G∣|G|. Kernels of group homomorphisms — central to ring theory, module theory, and Galois theory — are always subgroups, verified by exactly the one-step criterion applied to preimages of the identity. In cryptography, the security of Diffie–Hellman key exchange and elliptic-curve cryptosystems rests on the subgroup structure of multiplicative groups modulo a prime or of points on an elliptic curve, where cyclic subgroups of specific orders are deliberately chosen. In physics, subgroups of symmetry groups (e.g. discrete rotation subgroups of O(3)O(3) describing crystal symmetry, or the subgroups of the Lorentz group corresponding to physically realizable transformations) determine selection rules and conserved quantities. In computer science, subgroup membership testing underlies algorithms for permutation groups (e.g. Schreier–Sims methods) used in computational group theory software.

Ask the tutor: Can you show me why the intersection of two subgroups is always a subgroup, using the two-step test?

DefinitionSubgroup

Let (G,⋅)(G, \cdot) be a group with identity element ee. A subset H⊆GH \subseteq G is called a subgroup of GG, written H≤GH \le G, if HH is itself a group under the operation ⋅\cdot restricted to HH. Explicitly, this means: 1. Closure: for all a,b∈Ha, b \in H, ab∈Hab \in H; 2. Identity: e∈He \in H; 3. Inverses: for all a∈Ha \in H, a−1∈Ha^{-1} \in H; 4. Associativity: for all a,b,c∈Ha,b,c \in H, (ab)c=a(bc)(ab)c = a(bc). If H≤GH \le G and H≠GH \neq G, we call HH a proper subgroup. The subgroup {e}\{e\} is the trivial subgroup.

Intuition

Think of a group GG as a symmetry pattern — say, the rotations and reflections of a regular hexagon, forming the dihedral group of order 12. A subgroup is a self-contained sub-pattern: a subset of symmetries that, whenever you apply two of them in a row, or undo one, you land back inside that same subset. The hexagon's rotational symmetries alone (ignoring reflections) form such a sub-pattern, isomorphic to the cyclic group of order 6. So does the pair {identity, one specific 180° rotation}. So does the trivial group consisting of the identity alone. Not every subset works, though: the set of just the six reflections is not closed, because composing two reflections produces a rotation, not a reflection. The subtlety the subgroup criterion resolves is this: verifying "is a subset HH a group in its own right?" naively requires checking four separate axioms. But three of those checks are either automatic or logically entangled with each other. Associativity holds for all triples in GG, hence certainly for triples drawn from H⊆GH \subseteq G — it costs nothing to re-verify. And it turns out that if HH is nonempty and closed under forming ab−1ab^{-1} from any two of its elements, the identity and all inverses fall out as forced consequences. This is why the one-step test packages everything into a single implication about the map (a,b)↦ab−1(a,b) \mapsto ab^{-1}.

Figure
Nested subgroups of the hexagon's symmetry group D6D_6 (order 12), ordered by inclusion
{e} {e,r³} {e,r²,r⁴} ⟨r⟩ order 6 D₆ order 12
TheoremTwo-Step Subgroup Test

Let GG be a group and let HH be a subset of GG. Then H≤GH \le G if and only if: (i) H≠∅H \neq \varnothing; (ii) for all a,b∈Ha, b \in H, ab∈Hab \in H (closure); (iii) for all a∈Ha \in H, a−1∈Ha^{-1} \in H (closed under inverses).

Proof

(⇒\Rightarrow) Suppose H≤GH \le G. Then by definition HH is a group, so it is nonempty (it contains its own identity), it is closed under the operation, and it is closed under inverses. This direction is immediate from the definition of subgroup. (⇐\Leftarrow) Suppose (i), (ii), (iii) hold; we show HH satisfies all four subgroup conditions. Associativity. For any a,b,c∈H⊆Ga, b, c \in H \subseteq G, the equation (ab)c=a(bc)(ab)c = a(bc) holds in GG because GG is a group, hence it holds in particular for elements of HH. Associativity is inherited, not separately verified. Nonemptiness gives an element to work with. By (i), pick some a∈Ha \in H. Identity is in HH. By (iii), a−1∈Ha^{-1} \in H. By (ii) applied to the pair a,a−1∈Ha, a^{-1} \in H, we get aa−1∈Ha a^{-1} \in H. In GG, aa−1=ea a^{-1} = e by the group axioms for GG. Hence e∈He \in H. Inverses. This is precisely hypothesis (iii): for every a∈Ha \in H, a−1∈Ha^{-1} \in H. Closure. This is precisely hypothesis (ii). Since HH satisfies closure, contains the identity of GG, is closed under (the same) inverses, and is associative, HH is a group under the operation of GG restricted to HH; that is, H≤GH \le G. ■\blacksquare

∎
TheoremOne-Step Subgroup Test

Let GG be a group and let HH be a subset of GG. Then H≤GH \le G if and only if: (i) H≠∅H \neq \varnothing; (ii) for all a,b∈Ha, b \in H, ab−1∈Hab^{-1} \in H.

Proof

(⇒\Rightarrow) Suppose H≤GH \le G. Then HH is nonempty since e∈He \in H. Given a,b∈Ha, b \in H, subgroup closure under inverses (Basic Consequences of the Group Axioms applied inside HH) gives b−1∈Hb^{-1} \in H, and subgroup closure under the operation gives ab−1∈Hab^{-1} \in H. So (i) and (ii) hold. (⇐\Leftarrow) Suppose (i) and (ii) hold. We verify the hypotheses of the Two-Step Subgroup Test — nonemptiness, closure under inverses, and closure under the operation — using only (i) and (ii), and no circular appeal to what we are proving. Nonemptiness. This is hypothesis (i) directly. Identity is in HH. Since H≠∅H \neq \varnothing, choose a∈Ha \in H. Apply (ii) to the pair (a,a)∈H×H(a,a) \in H \times H: this gives aa−1∈Ha a^{-1} \in H. Since aa−1=ea a^{-1} = e in GG (a basic group axiom consequence), we conclude e∈He \in H. Inverses. Let b∈Hb \in H be arbitrary. We have just shown e∈He \in H. Apply (ii) to the pair (e,b)∈H×H(e, b) \in H \times H: this gives eb−1∈He b^{-1} \in H. Since eb−1=b−1e b^{-1} = b^{-1} in GG, we conclude b−1∈Hb^{-1} \in H. As b∈Hb \in H was arbitrary, HH is closed under inverses. Closure under the operation. Let a,b∈Ha, b \in H be arbitrary. We have just shown b−1∈Hb^{-1} \in H (inverses are closed). Apply (ii) to the pair (a,b−1)∈H×H(a, b^{-1}) \in H \times H: this gives a(b−1)−1∈Ha(b^{-1})^{-1} \in H. Since (b−1)−1=b(b^{-1})^{-1} = b in GG (a basic consequence of the group axioms), we conclude ab∈Hab \in H. As a,b∈Ha,b \in H were arbitrary, HH is closed under the group operation. We have now verified nonemptiness, closure under inverses, and closure under the operation, purely from (i) and (ii), without invoking the conclusion "H≤GH \le G" at any intermediate step. By the Two-Step Subgroup Test (already proved independently above), H≤GH \le G. ■\blacksquare

∎
CorollaryFinite Subset Test

Let GG be a group and let HH be a finite, nonempty subset of GG that is closed under the group operation (i.e. a,b∈H⇒ab∈Ha,b \in H \Rightarrow ab \in H). Then H≤GH \le G.

Proof

We verify the hypotheses of the Two-Step Subgroup Test: nonemptiness and closure are given, so it remains to show HH is closed under inverses. Fix a∈Ha \in H. Since HH is closed under the operation, the powers a,a2,a3,…a, a^2, a^3, \dots all lie in HH by induction: a1=a∈Ha^1 = a \in H, and if ak∈Ha^k \in H then ak+1=ak⋅a∈Ha^{k+1} = a^k \cdot a \in H by closure. Since HH is finite, the infinite list a,a2,a3,…a, a^2, a^3, \dots cannot consist of distinct elements, so there exist integers 1≤i<j1 \le i < j with ai=aja^i = a^j. Let n=j−i≥1n = j - i \ge 1. From ai=aj=aiana^i = a^j = a^i a^n, multiplying both sides on the left by (ai)−1(a^i)^{-1} (which exists in GG, since GG is a group) gives e=ane = a^n, where ee is the identity of GG. Note an∈Ha^n \in H since n≥1n \ge 1 and powers of aa lie in HH; hence e∈He \in H. If n=1n = 1, then a=ea = e, so a−1=e=a∈Ha^{-1} = e = a \in H. If n≥2n \ge 2, then a⋅an−1=an=ea \cdot a^{n-1} = a^n = e, so a−1=an−1a^{-1} = a^{n-1} by uniqueness of inverses in a group. Since n−1≥1n - 1 \ge 1, an−1∈Ha^{n-1} \in H, hence a−1∈Ha^{-1} \in H. In either case a−1∈Ha^{-1} \in H. Since a∈Ha \in H was arbitrary, HH is closed under inverses. By the Two-Step Subgroup Test, H≤GH \le G. ■\blacksquare

∎

Worked examples

Example 1 (one-step test on a genuinely asymmetric subset). Let G=(Z/24Z,+)G = (\mathbb{Z}/24\mathbb{Z}, +), and let

H={x∈Z/24Z:3x≡0(mod24)}={0,8,16}.H = \{ x \in \mathbb{Z}/24\mathbb{Z} : 3x \equiv 0 \pmod{24} \} = \{0, 8, 16\}.

We verify H≤GH \le G using the one-step test (written additively, so the test becomes: H≠∅H \ne \varnothing, and a,b∈H⇒a−b∈Ha,b \in H \Rightarrow a - b \in H). Nonemptiness. 0∈H0 \in H since 3⋅0=0≡0(mod24)3 \cdot 0 = 0 \equiv 0 \pmod{24}. So H≠∅H \ne \varnothing. Closure under a−ba - b. We check all ordered pairs from {0,8,16}\{0,8,16\} directly, since HH is small and explicit:

  • 0−0=0∈H0 - 0 = 0 \in H
  • 0−8=−8≡16(mod24)∈H0 - 8 = -8 \equiv 16 \pmod{24} \in H
  • 0−16=−16≡8(mod24)∈H0 - 16 = -16 \equiv 8 \pmod{24} \in H
  • 8−0=8∈H8 - 0 = 8 \in H
  • 8−8=0∈H8 - 8 = 0 \in H
  • 8−16=−8≡16(mod24)∈H8 - 16 = -8 \equiv 16 \pmod{24} \in H
  • 16−0=16∈H16 - 0 = 16 \in H
  • 16−8=8∈H16 - 8 = 8 \in H
  • 16−16=0∈H16 - 16 = 0 \in H

Every difference lies in {0,8,16}=H\{0,8,16\} = H. By the one-step test, H≤Z/24ZH \le \mathbb{Z}/24\mathbb{Z}. Cross-check via structure. Indeed H=8Z/24ZH = 8\mathbb{Z}/24\mathbb{Z}, the multiples of 88 modulo 2424, which is exactly the unique subgroup of order 33 inside the cyclic group of order 2424 — consistent with the fact that cyclic groups have exactly one subgroup of each order dividing the group order (a fact developed further in Cyclic Groups and Generators). This independently confirms our direct computation.

Example 2 (finite subset test inside a nonabelian group, avoiding a fake shortcut). Let G=GL2(R)G = GL_2(\mathbb{R}), the group of invertible 2×22\times 2 real matrices under matrix multiplication, and consider

H={I, A, A2, A3},A=(0−110).H = \left\{ I,\ A,\ A^2,\ A^3 \right\}, \qquad A = \begin{pmatrix} 0 & -1 \\ 1 & 0\end{pmatrix}.

Here AA is rotation by 90°90°. We first compute the powers explicitly to know HH concretely, then apply the finite subset test (closure alone suffices, since HH is finite). Compute:

A2=(0−110)(0−110)=(−100−1)=−I,A^2 = \begin{pmatrix} 0&-1\\1&0\end{pmatrix}\begin{pmatrix} 0&-1\\1&0\end{pmatrix} = \begin{pmatrix} -1&0\\0&-1\end{pmatrix} = -I,
A3=A2A=(−I)A=(01−10),A4=A2A2=(−I)(−I)=I.A^3 = A^2 A = (-I)A = \begin{pmatrix} 0&1\\-1&0\end{pmatrix}, \qquad A^4 = A^2 A^2 = (-I)(-I) = I.

So H={I,A,−I,A3}H = \{I, A, -I, A^3\} has exactly four distinct elements (one checks directly that I,A,−I,A3I, A, -I, A^3 are pairwise distinct matrices, e.g. their (1,1)(1,1)-entries are 1,0,−1,01, 0, -1, 0 respectively and the (1,2)(1,2)-entries of the two entries with (1,1)=0(1,1)=0 are −1-1 and 11, distinguishing AA from A3A^3). Closure. Products of elements of HH are again powers of AA with exponent taken mod 44: for Ai,Aj∈HA^i, A^j \in H with 0≤i,j≤30 \le i,j \le 3, AiAj=Ai+jA^i A^j = A^{i+j}, and since A4=IA^4 = I, this equals A(i+j)  4∈HA^{(i+j)\bmod 4} \in H. We verify a representative nontrivial case explicitly: A3⋅A3=A6=A4⋅A2=I⋅A2=A2=−I∈HA^3 \cdot A^3 = A^6 = A^4 \cdot A^2 = I \cdot A^2 = A^2 = -I \in H. So HH is closed under multiplication. Nonemptiness and finiteness. HH is nonempty (it contains II) and has exactly 44 elements, hence is finite. By the Finite Subset Test, H≤GL2(R)H \le GL_2(\mathbb{R}) — with no need to separately verify inverses. (As a sanity check, one can see directly that A−1=A3A^{-1} = A^3 since A⋅A3=A4=IA\cdot A^3 = A^4 = I, and A3∈HA^3 \in H, consistent with the theorem's guarantee.) This subgroup HH is cyclic of order 44, generated by the rotation matrix AA, and it is a subgroup of the infinite, nonabelian group GL2(R)GL_2(\mathbb{R}) — illustrating that the finite subset test applies even when the ambient group is infinite and noncommutative, as long as the subset itself is finite.

CounterexampleWhy finiteness cannot be dropped from the Finite Subset Test

The Finite Subset Test requires HH to be finite. Without this hypothesis, a nonempty subset closed under the group operation need not be a subgroup. Let G=(Z,+)G = (\mathbb{Z}, +) and let H=Z≥0={0,1,2,3,… }H = \mathbb{Z}_{\ge 0} = \{0, 1, 2, 3, \dots\}, the nonnegative integers. Nonempty: 0∈H0 \in H. Closed under the operation: if a,b≥0a, b \ge 0 then a+b≥0a + b \ge 0, so HH is closed under addition. But HH is not a subgroup of Z\mathbb{Z}: the element 1∈H1 \in H has additive inverse −1-1, and −1∉H-1 \notin H since −1<0-1 < 0. So HH fails closure under inverses, and indeed HH fails to be a group at all (it has no inverses for any nonzero element). This shows the induction argument used in the proof of the Finite Subset Test — running through a,a2,a3,…a, a^2, a^3, \ldots and using the pigeonhole principle to find a repeat — genuinely requires finiteness of HH. In Z≥0\mathbb{Z}_{\ge 0}, the "powers" 1,1+1,1+1+1,…1, 1+1, 1+1+1,\dots (i.e. 1,2,3,…1,2,3,\dots) are all distinct, so no repeat ever occurs, the pigeonhole step breaks down, and correspondingly no forced inverse appears. This is exactly the mechanism the counterexample exposes.

Scope, edge cases & common traps

SituationWhat to checkSubtlety
H={e}H = \{e\}Trivially satisfies all criteriaAlways a subgroup, called the trivial subgroup
H=GH = GTrivially satisfies all criteriaAlways a subgroup (the improper one)
HH finite, nonempty, closed under operationFinite Subset Test sufficesInverses come for free; fails if HH is infinite
HH infiniteMust check inverses directly, or use one-step testCannot skip inverse-closure
HH emptyNever a subgroupH=∅H=\varnothing fails nonemptiness in all three tests, and contains no identity
GG infinite, HH a proper infinite subsetOne-step or two-step testFinite Subset Test inapplicable

The mathematician behind it

Origins · 1 minÉvariste Galois and how this was discovered
ÉG
Évariste Galois
1811–1832 · Founding architect of group-theoretic thinking in the study of polynomial equations

Although the formal, axiomatic definition of "group" and "subgroup" used today was clarified over decades by many mathematicians — Cayley, Cauchy, Jordan, Dyck, and others — it was Galois who first isolated the idea that the internal structure of a group's substructures governs deep questions, in his case the solvability of polynomial equations by radicals. His insight that a chain of subgroups, each normal in the next, controls solvability planted the seed from which the entire theory of subgroups, quotient groups, and normal series grew.

History
- 1830–1832: Galois develops the notion of a group of permutations and studies chains of subgroups in unpublished manuscripts, connecting them to solvability of equations by radicals.
- 1854: Arthur Cayley publishes an abstract definition of a finite group independent of permutations, laying groundwork for treating groups (and their subgroups) axiomatically.
- 1870: Camille Jordan's Traité des substitutions systematizes subgroup chains and composition series, generalizing Galois's ideas.
- 1882: Walther von Dyck gives one of the first fully abstract axiomatic treatments of groups, making subgroup criteria a matter of pure logical deduction from axioms.
- Early 1900s: The modern streamlined subgroup tests (one-step, two-step) become standard textbook tools as abstract algebra crystallizes as a discipline distinct from its origins in equation-solving.
Why don't we need to check associativity when verifying a subgroup?

Associativity is a property of the operation itself, applied to any three elements of GG for which the operation is defined. If H⊆GH \subseteq G and a,b,c∈Ha,b,c \in H, then in particular a,b,c∈Ga,b,c \in G, so the equation (ab)c=a(bc)(ab)c = a(bc) already holds in GG by hypothesis that GG is a group. Restricting the same operation to the subset HH does not change how it computes; it is literally the same function evaluated at elements that happen to lie in HH. So the associative law transfers automatically from GG to HH, and re-checking it would be logically redundant — it can never fail for a subset of an associative structure using the same operation.

Is it possible for a subset closed under the operation to fail to be a subgroup even though it's nonempty?

Yes, and this is precisely why the two-step and one-step tests require more than mere closure. The counterexample H=Z≥0⊂(Z,+)H = \mathbb{Z}_{\ge 0} \subset (\mathbb{Z},+) demonstrates this: HH is nonempty and closed under addition, but 1∈H1 \in H while −1∉H-1 \notin H, so HH has no inverses and is not a subgroup — indeed not even a group on its own, since it lacks inverses entirely. The lesson is that closure under the operation constrains "moving forward" within HH, but says nothing about whether one can "undo" an operation and stay inside HH; that is a logically separate condition.

Does the one-step test require checking the identity separately?

No — that is exactly its efficiency. The one-step test only requires nonemptiness of HH and the single condition that a,b∈H⇒ab−1∈Ha,b \in H \Rightarrow ab^{-1} \in H. The proof shows the identity ee is automatically forced into HH: pick any a∈Ha \in H (using nonemptiness) and apply the hypothesis to the pair (a,a)(a,a), giving aa−1=e∈Ha a^{-1} = e \in H. So checking the identity by hand is unnecessary; it is a logical consequence of the single closure condition together with nonemptiness.

What goes wrong if we forget to check nonemptiness when applying these tests?

The empty set ∅\varnothing vacuously satisfies both "a,b∈H⇒ab∈Ha,b\in H \Rightarrow ab \in H" and "a,b∈H⇒ab−1∈Ha,b \in H \Rightarrow ab^{-1}\in H", since there are no elements a,ba,b to produce a counterexample; every universally quantified statement over an empty domain is true. But ∅\varnothing is never a group, since a group must contain an identity element, and ∅\varnothing contains nothing. This is why every version of the subgroup criterion explicitly requires H≠∅H \neq \varnothing as a separate, non-negotiable hypothesis, not something derivable from the closure conditions alone.

Can the Finite Subset Test be applied when GG itself is infinite?

Yes, and this is one of its most useful features. The hypothesis is that HH, the candidate subset, is finite — there is no requirement that the ambient group GG be finite. Example 2 illustrates this: GL2(R)GL_2(\mathbb{R}) is an infinite (indeed uncountable), nonabelian group, but the four-element subset {I,A,−I,A3}\{I, A, -I, A^3\} generated by a 90° rotation matrix is finite, so the Finite Subset Test applies directly and confirms it is a subgroup without computing any inverses by hand.

How do these subgroup tests relate to later topics like cosets and Lagrange's theorem?

Once a subset HH is confirmed to be a subgroup via one of these tests, one can form left and right cosets gHgH and HgHg for g∈Gg \in G, which partition GG into equal-sized blocks. This partition is the starting point for Cosets and Lagrange's Theorem, which shows that in a finite group ∣H∣|H| must divide ∣G∣|G|. Subgroup verification is thus a logical prerequisite: without confirming H≤GH \le G rigorously first, the coset machinery has no valid subset to act on, and the divisibility conclusion would not follow.

Are the centralizer, normalizer, and center automatically subgroups, or must this be checked each time?

They must be checked, and in each case the one-step or two-step test is exactly the standard tool used. For instance, the centralizer of a subset S⊆GS \subseteq G, defined as CG(S)={g∈G:gs=sg for all s∈S}C_G(S) = \{g \in G : gs = sg \text{ for all } s \in S\}, is shown to be a subgroup precisely by verifying nonemptiness (the identity commutes with everything) and the one-step closure condition a,b∈CG(S)⇒ab−1∈CG(S)a,b \in C_G(S) \Rightarrow ab^{-1} \in C_G(S). The same pattern applies to the normalizer and the center Z(G)=CG(G)Z(G) = C_G(G); none of these are subgroups "by definition" — their subgroup status is a theorem proved via exactly the criteria developed here.

Before this

Where this leads