*Note that it’s assumed the reader is familiar with groups and subgroups. *
This article was initially written for a friend of mine when we were both taking abstract algebra 1 together. I hope you find it beneficial!
Have you ever seen a movie where the ending was so amazing that you left the theater feeling excited, energetic, and like you could do anything? For me, those movies are Avengers Endgame and Interstellar. Now I’m not saying that this blog will be like that, but…. it will be! I know that’s a bold statement! (pun intended)
Let me ask you some questions:
When can we guarantee that a group is cyclic? Can we tell whether a subset cannot be a subgroup solely from how many elements it contains? Can we predict the possible orders of elements in a group using, again, solely how many elements the group contains?
We will answer these questions with little effort. Little in the sense that we will prove one thing that leads to the rest. And the way we do so will make the answers soooo transparently obvious that you will wonder why they seem difficult now!
Wait, there’s more! Just like any ‘good’ infomercial…
We will (in another article) develop tools to learn when two groups are secretly the same group G. At that point, we will also develop a way to construct groups that are identical in structure to G. And it all starts with this topic!
Everything above uses this one thing called a COSET!
What’s A Coset?
We will not motivate this definition at all. Mostly, because I am not sure why someone would even think to come up with this other than curiosity at its finest. Well… I have one idea… it comes from number theory…
Definition: (Left/Right Cosets) Let be a group and be a subgroup of . Fix an element . We define the left coset of with representative to be the set:
Likewise, the right coset of with representative is the set,
In plain English, find some subgroup of some group . Then, fix some . Lastly, multiply all the elements of with on the left (or right) to get (or ).
For a special case, since we have So any subgroup is a right (and left) coset of that subgroup!
Now I hear you asking: “Why on Earth would we care about a coset?” I thought the same thing, but trust me, the payoff is amazing!
Note: A coset is not necessarily a group/subgroup. A coset is generally a set, just a set. If cosets were able to sing, they’d sing, “I’m just a set. Yes, I’m only a set...” (for those of you who remember School House Rock you get the joke).
Little Lemma
Before we begin, it would be useful to know when two cosets are the same. Meaning, for when is This definitely happens when , but can it happen when Yes, in general when
Little Lemma: If
, then.
Proof: (Click to see proof)
Proof: Let . Do you recall how to prove when two sets are the same? We will show (i) and (ii) . This can only happen if .1
(i) Let’s consider some and show that too.2 Since , by the definition of a coset, is of the form:
,
for some Recall, so has a similar form,
,
where . We can combine these two expressions and deduce:
Since has the form of: (element from ), we concluded that . Thus, . On to step two.
(ii) Consider another . Then, where . We already know that , which implies
Cleanly written: . Thus, we conclude,
.
Since has the form of: (element from ), we concluded that . Therefore, .
Since (i) and (ii) we conclude .
We’re done! We will use this tool a lot!
Positively Partitioning
We claim that cosets partition all the elements of . This means that every element in is in one and only one coset. We can picture this by blocking off sections of a group . Each element falls into one of these coset partitions:

Positively Partitioning: Cosets of a subgroup of a group , partition the set .
Proof: (Click to see proof)
Proof: Since we need every element in to be in one and only one coset, we have to show two things: (1) two cosets and are either equal or disjoint, and (2) every element falls into some coset. To this end, let and be two cosets of . If they are disjoint, then we’re done! So, we will assume they are not disjoint and show they are equal sets.
Since and aren’t disjoint there is some and . Then, we know by our Little Lemma that and . In other words, .
Almost there, we just need to explain why every element in is in a coset. Well, isn’t in the coset ? Yup! We can see this since the element
Therefore, cosets partition the set .
Cool Correspondence between and .
A fact about cosets, is that there are as many elements in any coset as in the subgroup . This may seem obvious since the elements of are the elements of multiplied on the right by . Indeed, this is the way to think about it.
There is a more mathy way to state this correspondence:
There is a one-to-one correspondence between elements of and the elements of .
Proof: (Click to see proof)
Proof: Recall that to show a one-to-one correspondence between sets we must find a bijection.3 The first one you might think of, the one that maps , is one that works.
Let be defined by . We now show that is bijective.
Injective: Let . It follows . By multiplying on the right by we conclude . Thus, is injective!
Surjective: This one’s not so bad. Let . Then is such that . Therefore, is surjective.
Since is both injective and surjective, it’s bijective.
In conclusion, there is a one-to-one correspondence between elements of 𝐻 and . Or, .
Short Recap
What have we learned so far?
Well, first off, it hasn’t been that much work to show that cosets partition , and there is a one-to-one correspondence between elements of and the elements of . So, each coset contains the same number of elements. Hence, each of the partitions of has the same number of elements, since each coset is the same size. This means the image showing cosets of should have been neater. Sort of like this,

It might be really surprising but we are basically done.
Legendary Lagrange
Lagrange’s Theorem: Let be a finite group and let be any subgroup of . Then, the order of divides the order of . Equivalently, the order of is a multiple of the order of .
Wowww…. how cool is that?!? Would you have thought that the number of elements in H must divide the number of element in ????
Proof: (Click to see proof)
Proof: We’ve already proved it, since the collection of cosets partition it must be that the order of is the sum of each of the orders of the cosets,
.
Where there are distinct cosets of .Furthermore, is finite since is finite. But all the cosets have the same order (size) as ,
.
So that where is the number of distinct cosets of .
Just like that, we’re done! The reason why this theorem is so cool is because of the quick corollaries it gives.
When is a Group Guaranteed to be Cyclic?
If has prime order , then every nonidentity element is a generator of . Or, is cyclic!
Proof: (Click to see proof)
Proof: Let the order of equal a prime number and be a nonidentity element of . Denote the order of by . Recall is always a subgroup and (If you are unfamiliar with these facts, I challenge you to prove them!). By Lagrange’s theorem divides . This implies or since is prime.
Wait, if then , and we didn’t want to be the identity! Therefore, , and since they both have elements!
Is there a Subgroup?
Let’s say . Can there be a subgroup of order 4? NO! Since . You can play this game with any . How awesome!
Well, what if is a prime number? Then, the only numbers that divide are 1 and . Thus or .
This means that the only subgroups of are and when has prime order.
Fermat’s Little Theorem
Fermat’s Little Theorem is a corollary too! For those in the know:
Fermat’s Little Theorem: If is a prime then,
.
When , or when ‘s residue falls between 1 and .
Proof: (Click to see proof)
Proof: To see this, consider the set again. The set with multiplication is a subgroup of with multiplication. By Lagrange’s theorem, the order of must divide the order of , which is . Denote the order of by . Thus must divides and therefore .
Finally,
.
Boom. Mike drop.
Closing Remarks
Lagrange’s theorem is so amazing because it’s both so ‘simple’ and has a ‘how would anyone think of it?’ kind of feeling. I hope you had half as much fun as I did when I learned it for the first time. We’ve barely scratched the surface of it.
Oh, just in case you want some fun too, proving awesome statements/theorems. Try to prove the following:
- If H and K are subgroups of G with |H| and |K| relatively prime (meaning ), then .
- Euler’s Little Theorem:4 Denote the number of positive integers less than and relatively prime to by .5 Then for all such that , we have .
Leave your proofs in the comments!
Footnotes:
- This is analogous to numbers. If
and, then. ↩︎ - For two set A and B, by showing
implies, it must be that. Can you see why? ↩︎ - A bijection is a fancy term that means a function that is an injection and surjection. And an injection is a fancy way to say that the element f(x) is unique to x. Or, no two elements
andhave the sameor. This is equivalent to saying:
INJECTION Criteria: ifthen.
And a surjection means that every element in Ha is equal to some f(h).
SURJECTION Criteria: for anythere is somesuch that. ↩︎ - This is not the standard name of this theorem! ↩︎
- The function is called Euler’s Totient function, see chapter 10 in Newbie at Number Theory Book. ↩︎
Leave a comment