Cosets and Lagrange's Theorem
What You’ll Learn
Section titled “What You’ll Learn”In this lesson you’ll learn what a coset is, why cosets partition a group into equal-sized blocks, and how that single observation proves Lagrange’s theorem, the most-used counting result in group theory.
The Concept
Section titled “The Concept”Cosets
Section titled “Cosets”Let and . The left coset of by is
Think of it as translated by . There’s a matching notion of right coset .
Cosets are almost never subgroups. contains the identity only when , in which case exactly. So among all the cosets of , precisely one is a subgroup: itself.
Cosets partition the group
Section titled “Cosets partition the group”Here’s the key structural fact, and everything else in the lesson is a consequence.
The left cosets of partition . They cover everything and never overlap. Two things to prove.
Every element is in some coset. For , we have since .
Two cosets are either identical or disjoint. Suppose and share an element . Then for some , so . Since , every element of equals , giving . The same argument the other way gives , so the two cosets are equal.
So overlapping cosets coincide entirely. There’s no partial overlap.
All cosets have the same size
Section titled “All cosets have the same size”for every . The map from to is onto by definition, and it’s injective by cancellation: forces .
So a coset is a perfect copy of , just relocated. Combined with the partition property, this is a very rigid picture: is tiled by non-overlapping blocks all of size .
Lagrange’s theorem
Section titled “Lagrange’s theorem”Count the elements two ways and you’re done.
Lagrange’s theorem. If is finite and , then
In particular, divides .
Proof: the cosets partition into blocks, each of size . ∎
That’s it. A two-line proof that constrains every finite group in existence.
What Lagrange gives you
Section titled “What Lagrange gives you”The divisibility statement is the workhorse.
The order of every element divides . Because , and is a subgroup.
for every . Write ; then .
Every group of prime order is cyclic. Any generates a subgroup of order dividing and bigger than 1, hence order , hence everything.
Groups of order 4 have no element of order 3. Since 3 doesn’t divide 4. This kind of instant elimination is what makes classification arguments possible.
The converse is false
Section titled “The converse is false”Lagrange says every subgroup’s order divides . It does not say that every divisor gives a subgroup.
has order 12, and … but has no subgroup of order 6. So a divisor can fail to be realized. Cyclic groups do have a subgroup for every divisor, which is a special property of theirs, not a general truth.
Partial converses exist and are important. Cauchy’s theorem says if a prime divides then has an element of order . The Sylow theorems guarantee subgroups of prime-power order. But the naive converse is simply false.
Left versus right
Section titled “Left versus right”In an abelian group always. In a non-abelian group they can differ.
In , take where is a transposition. Then while . Different sets.
The number of left cosets always equals the number of right cosets, so the index is unambiguous. But whether for every is a special condition, and it’s exactly the definition of a normal subgroup - the subject of the next lesson.
Worked Examples
Section titled “Worked Examples”Example 1: Find the cosets of in .
Solution. , of order 4.
Now again, so we’re done. Three cosets.
Notice these are exactly the residue classes mod 3, which is not a coincidence: cosets of in record the remainder on division by 3.
Example 2: Cosets of in .
Solution. .
, so there are exactly three: .
Both and are infinite here, so Lagrange’s equation doesn’t apply numerically, but the index is still a perfectly good finite number. These three cosets are the congruence classes mod 3, which is where the notation comes from.
Example 3: Show left and right cosets can differ.
In with .
Solution. Using :
since .
So is not normal in . By contrast the rotation subgroup is normal, and having index 2 is the reason, as the next lesson explains.
Example 4: Use Lagrange to rule things out.
A group has order 15. What element orders are possible?
Solution. Orders must divide 15, so they lie in .
Order 1 belongs to the identity alone. So every non-identity element has order 3, 5, or 15. No element of order 2, and hence no element is its own inverse except .
A stronger conclusion is available: every group of order 15 is in fact cyclic, so there’s exactly one. That needs the Sylow theorems, but Lagrange alone already eliminated most possibilities.
Example 5: Fermat’s little theorem from Lagrange.
Prove that if is prime and then .
Solution. Work in , the nonzero residues mod under multiplication. Since is prime, .
The condition says . By the corollary of Lagrange that for all :
∎
A cornerstone of number theory, and it’s a two-line consequence of counting cosets. The generalization to composite modulus, Euler’s theorem , is the same argument in , and it is what makes RSA decryption work.
Example 6: A group of order 12 with no subgroup of order 6.
Solution. Take , the even permutations of four objects, .
Suppose with . Then , and any index-2 subgroup is normal, with . So for every .
But contains eight 3-cycles, and for a 3-cycle we have , also a 3-cycle. As ranges over all eight 3-cycles, does too, so would have to contain all eight of them plus the identity: at least 9 elements. That contradicts .
No subgroup of order 6 exists, even though . This is the standard counterexample to the converse of Lagrange.
Real-World Applications
Section titled “Real-World Applications”Error-correcting codes. A linear code is a subgroup of , and the cosets of are the possible “error patterns.” Decoding a received word means identifying which coset it lies in and correcting by that coset’s most likely error, its coset leader. Standard-array decoding is literally a table of cosets, and Lagrange tells you how many rows it has.
RSA. The key equation and the decryption step both rest on Euler’s theorem, which is Lagrange applied to . Security comes from being hard to compute without factoring .
Rubik’s cube. God’s number, the 20-move upper bound for solving any scramble, was proved in 2010 by partitioning the cube group into cosets of a large subgroup and searching each coset separately. Roughly two billion cosets were analysed; the coset decomposition is what made the problem finite enough to attack.
Crystallography. A crystal is described by a lattice group, and the distinct atom positions correspond to cosets of the site’s stabilizer. The count of symmetry-inequivalent positions is an index computation.
Balanced tournament design. Scheduling round-robins and balanced incomplete block designs often uses cosets of a subgroup of to generate rounds, guaranteeing every pair meets exactly once.
Retrying will remove your ✅ checkmark until you pass again.