Skip to content

Lagrange's Theorem

Let H≤GH \leq G. For a∈Ga \in GThe left coset of HH containing aa is

aH={ah:h∈H}aH = \{ah : h \in H\}

The right coset is Ha={ha:h∈H}Ha = \{ha : h \in H\}.

Proposition 3.1. The cosets of HH in GG partition GG.

Proof. Define a∼ba \sim b if a−1b∈Ha^{-1}b \in H. This is an equivalence relation: reflexive (a−1a=e∈Ha^{-1}a = e \in H), symmetric (a−1b∈H⇒b−1a=(a−1b)−1∈Ha^{-1}b \in H \Rightarrow b^{-1}a = (a^{-1}b)^{-1} \in H), Transitive (a−1b,b−1c∈H⇒a−1c=(a−1b)(b−1c)∈Ha^{-1}b, b^{-1}c \in H \Rightarrow a^{-1}c = (a^{-1}b)(b^{-1}c) \in H). The equivalence class of aa is exactly aHaH. ■\blacksquare

Proposition 3.2. ∣aH∣=∣H∣|aH| = |H| for all a∈Ga \in G.

Proof. The map ϕ:H→aH\phi : H \to aH given by ϕ(h)=ah\phi(h) = ah is a bijection. ■\blacksquare

Theorem 3.3 (Lagrange’s Theorem). If HH is a subgroup of a finite group GGThen ∣H∣|H| divides ∣G∣|G|.

Proof. The cosets of HH partition GG into disjoint sets, each of size ∣H∣|H|. If there are kk cosets, Then ∣G∣=k⋅∣H∣|G| = k \cdot |H|So ∣H∣|H| divides ∣G∣|G|. ■\blacksquare

The number of cosets is called the index of HH in GGDenoted [G:H][G : H].

Corollary 3.4. The order of any element of GG divides ∣G∣|G|.

Proof. ∣g∣=∣⟨g⟩∣|g| = |\langle g \rangle|And ⟨g⟩≤G\langle g \rangle \leq GSo ∣g∣|g| divides ∣G∣|G| by Lagrange. ■\blacksquare

Corollary 3.5 (Fermat’s Little Theorem). If pp is prime and gcd⁡(a,p)=1\gcd(a, p) = 1Then ap−1≡1(modp)a^{p-1} \equiv 1 \pmod{p}.

Proof. Z/pZ\mathbb{Z}/p\mathbb{Z} has pp elements. The multiplicative group (Z/pZ)∗(\mathbb{Z}/p\mathbb{Z})^* has order p−1p - 1. The order of [a][a] divides p−1p - 1So [a]p−1=[1][a]^{p-1} = [1]. ■\blacksquare

Corollary 3.6 (Euler’s Theorem). If gcd⁡(a,n)=1\gcd(a, n) = 1Then aϕ(n)≡1(modn)a^{\phi(n)} \equiv 1 \pmod{n}Where ϕ\phi Is Euler’s totient function.

Problem. Show that every group of prime order pp is cyclic.

Solution. Let GG be a group of order pp and g∈Gg \in G with g≠eg \neq e. By Corollary 3.4, ∣g∣|g| divides pp. Since g≠eg \neq e, ∣g∣≠1|g| \neq 1. Since pp is prime, ∣g∣=p|g| = p. Thus ⟨g⟩=G\langle g \rangle = GAnd GG is cyclic. ■\blacksquare

Problem. Let H=⟨(1 2 3)⟩≤S3H = \langle (1\ 2\ 3) \rangle \leq S_3. Find all left cosets of HH in S3S_3.

Solution

Solution. H={e,(1 2 3),(1 3 2)}H = \{e, (1\ 2\ 3), (1\ 3\ 2)\} has order 33And ∣S3∣=6|S_3| = 6So [S3:H]=2[S_3 : H] = 2. Pick any σ∉H\sigma \notin HE.g., σ=(1 2)\sigma = (1\ 2). Then:

S3=H∪(1 2)H={e,(1 2 3),(1 3 2)}∪{(1 2),(1 2)(1 2 3),(1 2)(1 3 2)}S_3 = H \cup (1\ 2)H = \{e, (1\ 2\ 3), (1\ 3\ 2)\} \cup \{(1\ 2), (1\ 2)(1\ 2\ 3), (1\ 2)(1\ 3\ 2)\}

Computing: (1 2)(1 2 3)=(2 3)(1\ 2)(1\ 2\ 3) = (2\ 3) and (1 2)(1 3 2)=(1 3)(1\ 2)(1\ 3\ 2) = (1\ 3). So:

S3={e,(1 2 3),(1 3 2)}∪{(1 2),(2 3),(1 3)}S_3 = \{e, (1\ 2\ 3), (1\ 3\ 2)\} \cup \{(1\ 2), (2\ 3), (1\ 3)\}

Since [S3:H]=2[S_3 : H] = 2, HH is normal (see Corollary 3.7). ■\blacksquare

Problem. Let H=⟨4⟩≤Z/12ZH = \langle 4 \rangle \leq \mathbb{Z}/12\mathbb{Z}. Find all cosets of HH.

Solution

Solution. H=⟨4⟩={0,4,8}H = \langle 4 \rangle = \{0, 4, 8\} has order 33And ∣Z/12Z∣=12|\mathbb{Z}/12\mathbb{Z}| = 12 So [Z/12Z:H]=4[\mathbb{Z}/12\mathbb{Z} : H] = 4. The cosets are:

0+H={0,4,8},1+H={1,5,9},2+H={2,6,10},3+H={3,7,11}0 + H = \{0, 4, 8\}, \quad 1 + H = \{1, 5, 9\}, \quad 2 + H = \{2, 6, 10\}, \quad 3 + H = \{3, 7, 11\}

Since Z/12Z\mathbb{Z}/12\mathbb{Z} is abelian, HH is normal, and Z/12Z / H≅Z/4Z\mathbb{Z}/12\mathbb{Z}\,/\,H \cong \mathbb{Z}/4\mathbb{Z}. ■\blacksquare

3.5 Further Corollaries of Lagrange’s Theorem

Section titled “3.5 Further Corollaries of Lagrange’s Theorem”

Corollary 3.7. If [G:H]=2[G : H] = 2Then H⊴GH \trianglelefteq G.

Proof. There are exactly two left cosets HH and aHaHAnd exactly two right cosets HH and HaHa. Since the cosets partition GGWe have aH=G∖H=HaaH = G \setminus H = Ha. Thus gH=HggH = Hg for all g∈Gg \in G So HH is normal. ■\blacksquare

Corollary 3.8 (Product Formula). If H,K≤GH, K \leq G are finite subgroups, then

∣HK∣=∣H∣∣K∣∣H∩K∣|HK| = \frac{|H||K|}{|H \cap K|}

Proof. The map H×K→HKH \times K \to HK given by (h,k)↦hk(h, k) \mapsto hk is surjective. For any x=hk∈HKx = hk \in HK The fiber is {(hc−1,ck):c∈H∩K}\{(hc^{-1}, ck) : c \in H \cap K\}Which has size ∣H∩K∣|H \cap K|. Thus ∣H∣∣K∣=∣HK∣⋅∣H∩K∣|H||K| = |HK| \cdot |H \cap K|. ■\blacksquare

:::caution Common Pitfall The product HKHK need not be a subgroup . However, HKHK is always a subgroup when HH or KK is normal. In that case, ∣HK∣=∣H∣∣K∣/∣H∩K∣|HK| = |H||K|/|H \cap K| also divides ∣G∣|G| by Lagrange.

:::

  • Confusing index with order. The index [G:H][G:H] is the number of cosets, not the order of HH.
  • Assuming Lagrange’s converse. If d∣∣G∣d \mid |G|, there need not exist a subgroup of order dd. The converse holds for cyclic groups but fails in general (e.g., A4A_4 has order 12 but no subgroup of order 6).
  • Forgetting that cosets partition GG. Each element of GG belongs to exactly one left coset and exactly one right coset of HH.
  • Misapplying Fermat’s Little Theorem. It requires pp prime and gcd⁡(a,p)=1\gcd(a,p) = 1; omitting the coprimality condition gives incorrect results.
StatementHypothesisConclusion
Lagrange’s TheoremH≤GH \leq G, GG finite∥H∥\|H\| divides ∥G∥\|G\|
Corollary 3.4g∈Gg \in G∥g∥\|g\| divides ∥G∥\|G\|
Fermat’s Little Theorempp prime, gcd⁡(a,p)=1\gcd(a,p)=1ap−1≡1(modp)a^{p-1} \equiv 1 \pmod{p}
Euler’s Theoremgcd⁡(a,n)=1\gcd(a,n)=1aϕ(n)≡1(modn)a^{\phi(n)} \equiv 1 \pmod{n}
Index 2 implies normal[G:H]=2[G:H] = 2H⊴GH \trianglelefteq G
Product FormulaH,K≤GH, K \leq G finite∥HK∥=∥H∥∥K∥/∥H∩K∥\|HK\| = \|H\|\|K\|/\|H \cap K\|
  • Number theory: Fermat’s Little Theorem and Euler’s Theorem underpin RSA encryption and primality testing.
  • Coding theory: The structure of cosets of subgroups in finite groups is used in linear codes and syndrome decoding.
  • Computational group theory: Lagrange’s Theorem bounds the search space when testing subgroup membership; the index determines the number of coset representatives needed.