Mathwords logoMathwords

Coset — Definition, Formula & Examples

A coset is the set you get by multiplying every element of a subgroup by a fixed element from the larger group. Left cosets and right cosets partition the group into equal-sized, non-overlapping pieces.

Let GG be a group and HH a subgroup of GG. For any element gGg \in G, the left coset of HH with respect to gg is the set gH={gh:hH}gH = \{gh : h \in H\}, and the right coset is Hg={hg:hH}Hg = \{hg : h \in H\}. The collection of all distinct left cosets (or right cosets) of HH in GG forms a partition of GG.

Key Formula

gH={gh:hH}gH = \{gh : h \in H\}
Where:
  • GG = The ambient group
  • HH = A subgroup of G
  • gg = A fixed element of G (the coset representative)
  • gHgH = The left coset of H determined by g

How It Works

To build a left coset gHgH, pick an element gg from the group and multiply it on the left with every element of the subgroup HH. Each coset has exactly H|H| elements. Two left cosets are either identical or completely disjoint, so they slice the group into equal-sized blocks. The number of distinct cosets, called the index [G:H][G:H], satisfies Lagrange's theorem: G=H[G:H]|G| = |H| \cdot [G:H]. When left and right cosets coincide for every gg, the subgroup HH is called normal, which is the condition needed to form a quotient group.

Worked Example

Problem: Let G=Z6={0,1,2,3,4,5}G = \mathbb{Z}_6 = \{0,1,2,3,4,5\} under addition mod 6, and let H={0,3}H = \{0,3\}. Find all distinct left cosets of HH in GG.
Step 1: Compute the coset 0+H0 + H by adding 0 to every element of HH.
0+H={0+0,  0+3}={0,3}0 + H = \{0+0,\; 0+3\} = \{0, 3\}
Step 2: Compute 1+H1 + H.
1+H={1+0,  1+3}={1,4}1 + H = \{1+0,\; 1+3\} = \{1, 4\}
Step 3: Compute 2+H2 + H.
2+H={2+0,  2+3}={2,5}2 + H = \{2+0,\; 2+3\} = \{2, 5\}
Step 4: Check the remaining elements. 3+H={3,0}=0+H3 + H = \{3, 0\} = 0 + H, 4+H={4,1}=1+H4 + H = \{4, 1\} = 1 + H, and 5+H={5,2}=2+H5 + H = \{5, 2\} = 2 + H. No new cosets appear.
Answer: The three distinct left cosets are {0,3}\{0,3\}, {1,4}\{1,4\}, and {2,5}\{2,5\}. They partition Z6\mathbb{Z}_6 into 3 blocks of size 2, consistent with Lagrange's theorem: 6=2×36 = 2 \times 3.

Why It Matters

Cosets are the building blocks of Lagrange's theorem, which explains why the order of a subgroup must divide the order of the group. They also underpin quotient groups, which appear throughout algebra, number theory, and cryptographic protocols like those based on elliptic curves.

Common Mistakes

Mistake: Assuming a coset is itself a subgroup.
Correction: A coset gHgH is a subgroup only when gHg \in H (making it equal to HH itself). In general, cosets do not contain the identity element and are not closed under the group operation.