Introduction to Modern Algebra

A subgroup HH of a group GG can be moved around inside GG by multiplying all its elements by one element of GG.

Recall that a subgroup of GG is a subset that is a group under the operation of GG (Definition 2.1.1): it contains the identity ee, and products and inverses of its elements stay in it.

Cosets

Definition 5.1.1 (Coset).

Let HH be a subgroup of a group GG, and let g∈Gg \in G. The left coset of HH by gg is the set

gH={gh:h∈H},gH = \{gh : h \in H\},

and the right coset of HH by gg is the set Hg={hg:h∈H}Hg = \{hg : h \in H\}. When GG is written additively, the coset is written g+H={g+h:h∈H}g + H = \{g + h : h \in H\}.

Example 5.1.2 (Residue classes are cosets).

Let nn be a positive integer. The multiples nZ={nk:k∈Z}n\mathbb{Z} = \{nk : k \in \mathbb{Z}\} form a subgroup of Z\mathbb{Z} under addition, and by Theorem 2.3.1 every subgroup of Z\mathbb{Z} is of this form. The coset of nZn\mathbb{Z} by an integer aa is

a+nZ={a+nk:k∈Z}={…,a−n,a,a+n,… },\begin{aligned} a + n\mathbb{Z} &= \{a + nk : k \in \mathbb{Z}\} \\ &= \{\dots, a - n, a, a + n, \dots\}, \end{aligned}

which is the residue class [a][a] of aa modulo nn (Definition 1.3.2). So the cosets of nZn\mathbb{Z} in Z\mathbb{Z} are exactly the nn residue classes [0],[1],…,[n−1][0], [1], \dots, [n - 1], and Z/nZ\mathbb{Z}/n\mathbb{Z} is the set of cosets of nZn\mathbb{Z}, added through representatives. On a clock with nn hours, each hour is one coset of nZn\mathbb{Z}. From now on the residue class [a][a] is also written a+nZa + n\mathbb{Z}.

Cutting a group into cosets

On the clock, in the plane and in S3S_3, every element lies in exactly one coset, and every coset is a moved copy of the subgroup: a line parallel to it in the plane, and a set with as many elements as the subgroup on the clock and in S3S_3. That happens for every subgroup of every group.

Theorem 5.1.3 (Cosets partition the group).

Let HH be a subgroup of a group GG, and let g,g′∈Gg, g' \in G.

  • (i) gg lies in the left coset gHgH.
  • (ii) g′H=gHg'H = gH exactly when g−1g′∈Hg^{-1}g' \in H, and this happens exactly when g′∈gHg' \in gH.
  • (iii) Two left cosets of HH are either equal or disjoint.
  • (iv) The map H→gHH \to gH, h↦ghh \mapsto gh, is a bijection. So if HH is finite, every left coset of HH has exactly ∣H∣\lvert H \rvert elements.

The same holds for right cosets, with Hg′=HgHg' = Hg exactly when g′g−1∈Hg'g^{-1} \in H.

Proof.

Idea. Show that the left cosets are the classes of one equivalence relation on GG. An equivalence relation cuts a set into disjoint classes, and two elements lie in the same class exactly when they are related; that gives (i) to (iii), and two cosets that share an element xx are both the class of xx, which is xHxH. Cancellation then gives (iv).

  1. Writing g′∼gg' \sim g when g−1g′∈Hg^{-1}g' \in H defines an equivalence relation on GG.

    The three checks use that HH is a subgroup:

    • reflexive: g−1g=eg^{-1}g = e, which lies in HH;
    • symmetric: if g−1g′∈Hg^{-1}g' \in H, then its inverse lies in HH, and by Theorem 1.2.4 that inverse is (g−1g′)−1=g′−1(g−1)−1=g′−1g(g^{-1}g')^{-1} = g'^{-1}(g^{-1})^{-1} = g'^{-1}g, so g∼g′g \sim g';
    • transitive: if g−1g′∈Hg^{-1}g' \in H and g′−1g′′∈Hg'^{-1}g'' \in H, then their product g−1g′g′−1g′′=g−1g′′g^{-1}g'g'^{-1}g'' = g^{-1}g'' lies in HH, so g′′∼gg'' \sim g.
  2. The class of gg is the left coset gHgH.

    g′∼gg' \sim g means g−1g′=hg^{-1}g' = h for some h∈Hh \in H, and multiplying on the left by gg turns this into g′=ghg' = gh; conversely g′=ghg' = gh gives g−1g′=hg^{-1}g' = h. So the elements related to gg are exactly the elements ghgh with h∈Hh \in H.

  3. (i): g∈gHg \in gH.

    Every element lies in its own class.

  4. (ii): g′H=gHg'H = gH exactly when g−1g′∈Hg^{-1}g' \in H, and exactly when g′∈gHg' \in gH.

    Two elements have the same class exactly when they are related. So g′H=gHg'H = gH exactly when g′∼gg' \sim g, which means g−1g′∈Hg^{-1}g' \in H; and g′∼gg' \sim g means g′g' lies in the class of gg, which is gHgH.

  5. (iii): two left cosets of HH are equal or disjoint.

    Two classes of an equivalence relation are equal or disjoint, and the left cosets are the classes of ∼\sim.

  6. (iv): h↦ghh \mapsto gh is a bijection from HH onto gHgH.

    The map sends HH onto gHgH, since by definition every element of gHgH is ghgh for some h∈Hh \in H. It is one-to-one by cancellation (Theorem 1.2.4): gh=gh′gh = gh' forces h=h′h = h'. So it is a bijection, and when HH is finite, gHgH has ∣H∣\lvert H \rvert elements.

For right cosets, write g′∼gg' \sim g when g′g−1∈Hg'g^{-1} \in H instead. The same checks show that this is an equivalence relation whose class of gg is HgHg, and h↦hgh \mapsto hg is a bijection from HH onto HgHg. □

Part (ii) is the test for two elements to lie in the same left coset: compute g−1g′g^{-1}g' and check whether it lies in HH. Written additively, it says that a+H=b+Ha + H = b + H exactly when b−a∈Hb - a \in H. For H=nZH = n\mathbb{Z} this is the rule met with residue classes, that [a]=[b][a] = [b] exactly when nn divides b−ab - a.

By part (ii), every element xx of a coset gHgH has xH=gHxH = gH, so a coset can be named by any of its elements. Each of them is called a representative of the coset.

The index

Definition 5.1.4 (Index).

Let HH be a subgroup of a group GG. The index of HH in GG, written [G:H][G : H], is the number of left cosets of HH in GG. It may be infinite.

The index counts the right cosets equally well. The rule gH↦Hg−1gH \mapsto Hg^{-1} matches the left cosets with the right cosets one for one. By Theorem 5.1.3, g′H=gHg'H = gH exactly when g−1g′∈Hg^{-1}g' \in H, which happens exactly when its inverse g′−1gg'^{-1}g lies in HH; and by the test for right cosets, applied to g′−1g'^{-1} and g−1g^{-1}, that happens exactly when Hg′−1=Hg−1Hg'^{-1} = Hg^{-1}. Read one way, this says that every representative of gHgH gives the same right coset; read the other way, that different left cosets give different right cosets. Every right coset HxHx is reached, from the left coset x−1Hx^{-1}H. So GG has as many right cosets of HH as left cosets.

The simpler rule gH↦HggH \mapsto Hg does not work. In S3S_3, with H={e,(1 2)}H = \{e, (1\ 2)\}, the left cosets (1 3)H(1\ 3)H and (1 2 3)H(1\ 2\ 3)H are the same set, but H(1 3)={(1 3),(1 3 2)}H(1\ 3) = \{(1\ 3), (1\ 3\ 2)\} and H(1 2 3)={(1 2 3),(2 3)}H(1\ 2\ 3) = \{(1\ 2\ 3), (2\ 3)\} are not.

So a subgroup HH of a finite group GG cuts GG into [G:H][G : H] cosets, each with ∣H∣\lvert H \rvert elements: Z/12Z\mathbb{Z}/12\mathbb{Z} falls into 44 cosets of {[0],[4],[8]}\{[0], [4], [8]\}, of 33 elements each.