Chapter 04
Hard

Cosets & Lagrange's Theorem

00 · Symbol Glossary

$aH$Left coset of H by a

The set {ah:hH}\{ah : h\in H\} — every element of HH, shifted by aa on the left. Generally not a subgroup itself (it usually doesn't even contain ee), just a translated copy of HH's shape.

$Ha$Right coset of H by a

The set {ha:hH}\{ha : h\in H\} — shifted by aa on the right. Equals aHaH when GG is abelian, but can differ from it otherwise; the distinction becomes essential in Chapter 05.

$[G:H]$Index of H in G

The number of distinct left cosets of HH in GG. Finite even when GG and HH are both infinite, as long as the count of cosets itself is finite (e.g. [Z:nZ]=n[\mathbb{Z}:n\mathbb{Z}]=n).

$G/H$Set of left cosets (as a set, for now)

The collection of all left cosets of HH in GG. Purely a set at this stage — it becomes a group in its own right only when HH satisfies an extra condition, introduced in Chapter 05.

$a^{-1}b \in H$Coset-membership test

The algebraic shortcut for "aa and bb are in the same left coset of HH" — used constantly in proofs instead of comparing two whole sets element by element.


01 · Cosets

Subgroups don't just sit inside GG — they can be shifted by any element of GG, producing a whole family of same-sized "copies" that, remarkably, tile the entire group with no gaps and no overlaps.

Definition — Left and Right Cosets

For HGH\le G and aGa\in G, the left coset of HH by aa is aH={ah:hH}aH=\{ah:h\in H\}, and the right coset is Ha={ha:hH}Ha=\{ha:h\in H\}.

Example — Cosets of $3\mathbb{Z}$ in $\mathbb{Z}$

H=3Z={,3,0,3,6,}H=3\mathbb{Z}=\{\ldots,-3,0,3,6,\ldots\} inside (Z,+)(\mathbb{Z},+) (additive notation, so "aHaH" is written a+Ha+H).

0+H=H={,3,0,3,6,}0+H = H = \{\ldots,-3,0,3,6,\ldots\}

1+H={,2,1,4,7,}1+H = \{\ldots,-2,1,4,7,\ldots\}

2+H={,1,2,5,8,}2+H = \{\ldots,-1,2,5,8,\ldots\}

These three cosets are pairwise disjoint and their union is all of Z\mathbb{Z} — every integer lands in exactly one, sorted by remainder mod 3. (And 3+H=H3+H=H again — cosets repeat once every representative differs by a multiple of 33.)

A coset is usually not a subgroup

1+3Z={,2,1,4,}1+3\mathbb{Z} = \{\ldots,-2,1,4,\ldots\} doesn't even contain 00, so it fails to be a subgroup outright. Cosets are translates, not substructures — same size and shape as HH, just relocated. Only the coset eH=HeH=H itself is a subgroup.

Theorem 4.1 — Coset Membership Test

For HGH\le G and a,bGa,b\in G: aH=bH    a1bH    baHaH = bH \iff a^{-1}b \in H \iff b \in aH.

Proof

aH=bHa1bHaH=bH \Rightarrow a^{-1}b\in H: Since b=bebH=aHb = be \in bH = aH, we have b=ahb=ah for some hHh\in H, so a1b=hHa^{-1}b = h \in H.

a1bHbaHa^{-1}b\in H \Rightarrow b \in aH: Write a1b=hHa^{-1}b=h\in H. Then b=ahaHb=ah \in aH.

baHaH=bHb\in aH \Rightarrow aH=bH: Suppose b=ah0b=ah_0 for some h0Hh_0\in H. For any xbHx\in bH, x=bh=ah0haHx=bh=ah_0h\in aH (since h0hHh_0h\in H by closure), so bHaHbH\subseteq aH. Conversely, a=bh01a=bh_0^{-1}, so by the same argument with a,ba,b swapped, aHbHaH\subseteq bH. Hence aH=bHaH=bH.

Chaining the three implications gives all stated equivalences.

Step-by-step — Are $4+3\mathbb{Z}$ and $1+3\mathbb{Z}$ the same coset?
1
Apply the test: check whether a1bHa^{-1}b \in H, i.e. (additively) whether baHb-a \in H, for a=4a=4, b=1b=1.
2
Compute: 14=31-4=-3.
3
Check membership: 33Z-3 \in 3\mathbb{Z}? Yes, 3=3×(1)-3 = 3\times(-1).
4
Conclude: by Theorem 4.1, 4+3Z=1+3Z4+3\mathbb{Z} = 1+3\mathbb{Z} — same coset, different representative.

02 · Cosets Partition the Group

Theorem 4.2 — Left Cosets Partition G

For fixed HGH\le G, the left cosets of HH partition GG: every element of GG lies in exactly one left coset of HH.

Proof

Define a relation on GG by ab    a1bHa\sim b \iff a^{-1}b\in H.

Reflexive: a1a=eHa^{-1}a=e\in H (since HGH\le G contains ee).

Symmetric: if a1bHa^{-1}b\in H, then (a1b)1=b1aH(a^{-1}b)^{-1}=b^{-1}a\in H (H is closed under inverses), so bab\sim a.

Transitive: if a1bHa^{-1}b\in H and b1cHb^{-1}c\in H, then (a1b)(b1c)=a1cH(a^{-1}b)(b^{-1}c)=a^{-1}c\in H (closure), so aca\sim c.

So \sim is an equivalence relation, and by Theorem 1.3 its equivalence classes partition GG. It remains to identify [a][a] with aHaH: by Theorem 4.1, bab\sim a (i.e. a1bHa^{-1}b\in H) is exactly the condition baHb\in aH. So [a]=aH[a]=aH, and the partition is precisely the partition into left cosets.

This is Theorem 1.3, again, in a new costume

Compare this proof to Theorem 1.3's original statement about equivalence classes, and to Theorem 1.4's verification that congruence mod nn is an equivalence relation. The pattern — define a relation via a subgroup or divisibility condition, verify reflexive/symmetric/transitive using closure and inverses, invoke the partition theorem — is now the third time it has produced a partition. This is exactly the reusability abstract algebra is built for.


03 · All Cosets Have the Same Size

Theorem 4.3 — Cosets Are Equinumerous with H

For any aGa\in G, there is a bijection between HH and aHaH. Consequently aH=H|aH|=|H| for every aGa\in G.

Proof

Define φ:HaH\varphi: H\to aH by φ(h)=ah\varphi(h)=ah.

Surjective: every element of aHaH has the form ahah for some hHh\in H by definition, so it's hit by φ(h)\varphi(h).

Injective: suppose φ(h1)=φ(h2)\varphi(h_1)=\varphi(h_2), i.e. ah1=ah2ah_1=ah_2. By left cancellation (Theorem 2.1), h1=h2h_1=h_2.

A bijective φ\varphi exists, so HH and aHaH have the same cardinality: aH=H|aH|=|H|.

Example — Verifying equal size directly

From Section 01, H=3ZH=3\mathbb{Z} and the coset 1+3Z={,2,1,4,7,}1+3\mathbb{Z} = \{\ldots,-2,1,4,7,\ldots\}. Both are (countably) infinite, consistent with Theorem 4.3 — but the theorem's real power shows up for finite HH, where "same size" becomes a literal, checkable number, as in the next section.


04 · Lagrange's Theorem

Combining Theorem 4.2 (cosets partition GG) with Theorem 4.3 (every coset has size H|H|) gives one of the most quoted results in all of finite group theory.

Theorem 4.4 — Lagrange's Theorem

If GG is a finite group and HGH\le G, then H|H| divides G|G|, and specifically G=[G:H]H|G| = [G:H]\cdot|H|.

Proof

By Theorem 4.2, the distinct left cosets of HH partition GG into some number of pieces — call that number [G:H][G:H] (finite, since GG is finite). By Theorem 4.3, every one of these pieces has exactly H|H| elements. Since a partition's pieces are disjoint and their union is everything, counting elements gives:

G=H+H++H[G:H] copies=[G:H]H|G| = \underbrace{|H| + |H| + \cdots + |H|}_{[G:H]\text{ copies}} = [G:H]\cdot|H|

In particular H|H| divides G|G|, with quotient exactly [G:H][G:H].

Common mistake — The converse of Lagrange's Theorem is false

Does every divisor of G|G| have to be the order of some subgroup? No. A4A_4 (even permutations of 4 letters) has order 1212, and 66 divides 1212 — but A4A_4 has no subgroup of order 66, a genuinely surprising fact usually proved by direct case analysis. Lagrange's Theorem is a one-directional constraint ("subgroup orders must divide G|G|"), never a guarantee that every divisor is achieved. Chapter 09's Sylow theorems give a partial converse, but only for prime-power divisors.

Corollary 4.5 — Element Orders Divide the Group Order

For any finite group GG and gGg\in G, g|g| divides G|G|.

Proof

By Theorem 3.4, g=g|g|=|\langle g\rangle|. Since gG\langle g\rangle \le G (Theorem 3.3), Lagrange's Theorem gives g|\langle g\rangle| divides G|G|. Combining, g|g| divides G|G|.

Corollary 4.6 — Groups of Prime Order Are Cyclic

If G=p|G|=p for a prime pp, then GG is cyclic, and in fact every nonidentity element is a generator.

Proof

Take any gGg\in G with geg\neq e. By Corollary 4.5, g|g| divides pp. Since pp is prime, its only positive divisors are 11 and pp. If g=1|g|=1, then g=g1=eg=g^1=e, contradicting the choice of gg. So g=p|g|=p. By Theorem 3.4, g=g=p=G|\langle g\rangle| = |g| = p = |G|, and since gG\langle g\rangle \subseteq G with equal finite size, g=G\langle g\rangle = G. So gg generates all of GG — and gg was an arbitrary nonidentity element.

A complete classification, for free

Corollary 4.6 says there is, up to relabeling, only one group of each prime order: Zp\mathbb{Z}_p. This is a full classification theorem — a statement that every group of a certain kind must look like a specific known example — derived in three lines from Lagrange's Theorem. Full classification theorems are rare and prized; this is the simplest one in the subject.


05 · The Index and a Multiplicative Chain

Definition — Index

[G:H][G:H], the index of HH in GG, is the number of distinct left cosets of HH in GG. By Lagrange's Theorem, [G:H]=G/H[G:H] = |G|/|H| when GG is finite.

Example — Index inside a chain of subgroups

{e}rD4\{e\} \le \langle r\rangle \le D_4, where r\langle r\rangle is the rotation subgroup of the square's symmetry group. D4=8|D_4|=8, r=4|\langle r\rangle|=4, {e}=1|\{e\}|=1.

[D4:r]=8/4=2[D_4:\langle r\rangle] = 8/4=2. [r:{e}]=4/1=4[\langle r\rangle:\{e\}]=4/1=4. [D4:{e}]=8/1=8[D_4:\{e\}]=8/1=8.

Notice [D4:r][r:{e}]=2×4=8=[D4:{e}][D_4:\langle r\rangle]\cdot[\langle r\rangle:\{e\}] = 2\times4=8=[D_4:\{e\}] — indices multiply along a chain of subgroups, a direct consequence of Lagrange's Theorem applied twice.


06 · A Number-Theoretic Application

Group theory's counting machinery reaches back to prove a classical fact from elementary number theory almost for free.

Theorem 4.7 — Euler's Theorem

If gcd(a,n)=1\gcd(a,n)=1, then aφ(n)1(modn)a^{\varphi(n)} \equiv 1 \pmod n, where φ(n)=Zn×\varphi(n) = |\mathbb{Z}_n^\times| (Euler's totient function — the count of integers in {1,,n}\{1,\ldots,n\} coprime to nn).

Proof

Since gcd(a,n)=1\gcd(a,n)=1, the class [a][a] lies in the group (Zn×,×)(\mathbb{Z}_n^\times, \times), a finite group of order φ(n)\varphi(n) by definition. By Corollary 4.5, [a]|[a]| (the order of the element [a][a] inside this group) divides φ(n)\varphi(n), so φ(n)=[a]m\varphi(n) = |[a]|\cdot m for some positive integer mm. Then:

[a]φ(n)=([a][a])m=[1]m=[1][a]^{\varphi(n)} = \big([a]^{|[a]|}\big)^m = [1]^m = [1]

using that [a][a]=[1][a]^{|[a]|}=[1] by the definition of element order. Translating back: aφ(n)1(modn)a^{\varphi(n)}\equiv1\pmod n.

Example — Fermat's Little Theorem as a special case

When n=pn=p is prime, every aa with 1ap11\le a\le p-1 satisfies gcd(a,p)=1\gcd(a,p)=1 automatically, and φ(p)=p1\varphi(p)=p-1 (all of {1,,p1}\{1,\ldots,p-1\} are coprime to pp). Theorem 4.7 then reads ap11(modp)a^{p-1}\equiv1\pmod pFermat's Little Theorem, usually proved separately in a first number theory course, falling out here as one line of group theory.


07 · Exercises

EXERCISE 4.1

Use the coset membership test (Theorem 4.1): are 28=62-8=-6 and other differences multiples of 4?

Additively, ab    ba4Za\sim b \iff b-a \in 4\mathbb{Z}. Check 22 and 88: 82=68-2=6, not a multiple of 44 — different cosets, actually. Let's instead directly list: 2+4Z={,2,2,6,10,}2+4\mathbb{Z} = \{\ldots,-2,2,6,10,\ldots\} and 88 \in this set? 82=68-2=6, not divisible by 4, so no, 82+4Z8\notin 2+4\mathbb{Z}.

Check 88 and 4-4: 48=12=4×(3)-4-8=-12=4\times(-3), a multiple of 44. So 8+4Z=4+4Z8+4\mathbb{Z} = -4+4\mathbb{Z}same coset.

There are exactly 44 distinct cosets of 4Z4\mathbb{Z} in Z\mathbb{Z} (one per remainder 0,1,2,30,1,2,3), and 808\equiv0, 40-4\equiv0, 22(mod4)2\equiv2 \pmod4 — confirming 88 and 4-4 share a coset, while 22 is in a different one.

In (Z,+)(\mathbb{Z},+) with H=4ZH=4\mathbb{Z}, determine whether 2+H2+H and 8+H8+H are the same coset, and whether 8+H8+H and 4+H-4+H are the same coset. Justify using Theorem 4.1.

EXERCISE 4.2

Compute [G:H][G:H] from Lagrange's Theorem, then count that many distinct cosets directly to double check.

G=D4=8|G|=|D_4|=8, H={e,r2}H=\{e,r^2\} (order 2, since r2er^2\neq e but r4=er^4=e). By Lagrange, [D4:H]=8/2=4[D_4:H] = 8/2=4 — there are 44 distinct left cosets.

D4D_4 has order 8. Let H={e,r2}H=\{e,r^2\} where rr is the order-4 rotation. What is [D4:H][D_4:H]?

EXERCISE 4.3

Apply Corollary 4.5 directly: what are the divisors of 7?

By Corollary 4.5, g|g| divides G=7|G|=7. Since 77 is prime, its only positive divisors are 11 and 77. So every element of GG has order 11 (only ee) or order 77.

By Corollary 4.6, GG is in fact cyclic — isomorphic in structure to Z7\mathbb{Z}_7, with every nonidentity element serving as a generator.

If G=7|G|=7, what are the possible orders of elements of GG? What can you conclude about the structure of GG itself?

EXERCISE 4.4

Use Theorem 4.7 with n=9n=9: first find φ(9)\varphi(9) by counting integers from 1 to 9 coprime to 9.

gcd(2,9)=1\gcd(2,9)=1, so Theorem 4.7 applies. φ(9)\varphi(9) counts {1,2,4,5,7,8}\{1,2,4,5,7,8\} (excluding multiples of 33: 3,6,93,6,9) — six values, so φ(9)=6\varphi(9)=6.

Theorem 4.7 gives 261(mod9)2^6 \equiv 1 \pmod 9. Check: 26=64=63+1=9(7)+12^6=64=63+1=9(7)+1, so 641(mod9)64\equiv1\pmod9. ✓

Use Euler's Theorem to find a small exponent kk with 2k1(mod9)2^k \equiv 1 \pmod 9, and verify the arithmetic directly.

EXERCISE 4.5

60=22×3×560=2^2\times3\times5. Compare its divisors to what a subgroup of order 6 would require, thinking about A4A_4's specific structure only if you recall it — otherwise, just state Lagrange's constraint and why it alone can't rule this out.

Lagrange's Theorem only says any subgroup's order must divide 6060. Since 6606\mid60, Lagrange's Theorem alone does not rule out a subgroup of order 66 — it is silent on the question, exactly as the FailBlock in Section 04 warned. (In fact, whether such a subgroup exists depends on the specific group in question — some groups of order 6060 have a subgroup of order 66 and others, like A5A_5, famously do not, but that requires more than Lagrange's Theorem to establish.)

A group has order 6060. Does Lagrange's Theorem, by itself, guarantee the existence of a subgroup of order 66? Explain what Lagrange's Theorem does and does not tell you here.


08 · Chapter Summary

ConceptStatement
Left/right cosetaH={ah:hH}aH=\{ah:h\in H\}, Ha={ha:hH}Ha=\{ha:h\in H\}
Coset testaH=bH    a1bHaH=bH \iff a^{-1}b\in H (Thm 4.1)
Cosets partition GGEvery gGg\in G in exactly one left coset (Thm 4.2)
Equal size$
Lagrange's Theorem$
Element order divides $G
Prime-order groups are cyclicCorollary 4.6
Index$[G:H]=
Euler's Theoremaφ(n)1(modn)a^{\varphi(n)}\equiv1\pmod n when gcd(a,n)=1\gcd(a,n)=1 (Thm 4.7)

Next: Chapter 05 — Normal Subgroups & Quotient Groups asks exactly when the set of cosets G/HG/H can be given its own group operation, turning a set of translated copies of HH into a brand-new group in its own right.