*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 GG be a group and HH be a subgroup of GG. Fix an element gGg\in G. We define the left coset of HH with representative gg to be the set:

gH:={gh:hH}.gH: = \{gh\;:\;h\in H\}.

Likewise, the right coset of HH with representative gg is the set,

Hg:={hg:hH}.Hg: = \{hg\;:\;h\in H\}.

In plain English, find some subgroup H={e,h1,h2,hn}H= \{ e,\;h_1,\;h_2\;\cdots,\;h_n \} of some group GG. Then, fix some gGg\in G. Lastly, multiply all the elements of HH with gg on the left (or right) to get gHgH (or HgHg).

Hg={eg,h1g,h2g,hng}={g,h1g,h2g,,hng}Hg= \{ eg,\;h_1g,\;h_2g\;\cdots,\;h_ng \} = \{ g,\;h_1g,\;h_2g,\;\cdots,h_ng\}

For a special case, since eGe\in G we have He:={he:hH}={h:hH}=H.He:= \{ he\;:\;h\in H\} = \{h :h\in H\} = H. 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 a,bGa,b\in G when is Ha=Hb?Ha=Hb? This definitely happens when a=ba=b, but can it happen when ab?a\neq b? Yes, in general Ha=HbHa=Hb when aHb.a\in Hb.

Little Lemma: If aHba\in Hb, then Ha=HbHa=Hb.

Proof: (Click to see proof)

Proof: Let aHba\in Hb. Do you recall how to prove when two sets are the same? We will show (i) HaHbHa\subseteq Hb and (ii) HbHaHb\subseteq Ha. This can only happen if Ha=HbHa= Hb.1

(i) Let’s consider some xHax\in Ha and show that xHbx\in Hb too.2 Since xHax\in Ha, by the definition of a coset, xx is of the form:

x=hxaax = h_{xa}a,

for some hxaH.h_{xa}\in H. Recall, aHba\in Hb so aa has a similar form,

a=haba = h_{a}b ,

where haHh_a \in H . We can combine these two expressions and deduce:

x=hxaa=hxa(hab)=(hxaha)HbHb.x = h_{xa}a =h_{xa}(h_a b) =\underbrace{(h_{xa} h_a)}_{\in H} b \in Hb.

Since xx has the form of: (element from HH)bb, we concluded that xHbx\in Hb. Thus, HaHbHa\subseteq Hb. On to step two.

(ii) Consider another yHby\in Hb. Then, y=hybby = h_{yb}b where hybHh_{yb}\in H. We already know that a=haba = h_a b, which implies

ha1a=ha1(hab)=(ha1ha)b=eb=b h_a^{-1}a = h_a^{-1}(h_ab) = ( h_a^{-1}h_a)b =eb = b

Cleanly written: b=ha1ab = h_a^{-1}a . Thus, we conclude,

y=hybb=hyb(ha1a)=(hybha1)HaHay=h_{yb}b = h_{yb}(h_a^{-1}a) = \underbrace{(h_{yb}h_a^{-1})}_{\in H}a \in Ha.

Since yy has the form of: (element from HH)aa, we concluded that yHay\in Ha. Therefore, HbHa Hb\subseteq Ha.

Since (i) HaHb Ha\subseteq Hb and (ii) HbHaHb\subseteq Ha we conclude Ha=HbHa=Hb.

\square

We’re done! We will use this tool a lot!

Positively Partitioning

We claim that cosets partition all the elements of GG. This means that every element in GG is in one and only one coset. We can picture this by blocking off sections of a group GG. Each element falls into one of these coset partitions:

Positively Partitioning: Cosets of a subgroup HH of a group GG, partition the set GG.

Proof: (Click to see proof)

Proof: Since we need every element in GG to be in one and only one coset, we have to show two things: (1) two cosets HaHa and HbH b are either equal or disjoint, and (2) every element falls into some coset. To this end, let HaHa and HbHb be two cosets of HH. If they are disjoint, then we’re done! So, we will assume they are not disjoint and show they are equal sets.

Since HaHa and HbHb aren’t disjoint there is some xHax\in Ha and xHbx\in Hb. Then, we know by our Little Lemma that Ha=HxHa = Hx and Hb=HxHb = Hx. In other words, Ha=Hx=HbHa = Hx = Hb.

Almost there, we just need to explain why every element in GG is in a coset. Well, isn’t xGx\in G in the coset HxHx? Yup! We can see this since eHe\in H the element ex=xHx.ex = x \in Hx.

Therefore, cosets partition the set GG.

\square

Cool Correspondence between HaHa and HH.

A fact about cosets, is that there are as many elements in any coset HaHa as in the subgroup HH. This may seem obvious since the elements of HaHa are the elements of HH multiplied on the right by aa. 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 HH and the elements of HaHa.

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 xhxx\mapsto hx, is one that works.

Let f:HHaf: H \rightarrow Ha be defined by f(h)=haf(h) = ha. We now show that ff is bijective.

Injective: Let f(h1)=f(h2)f(h_1) = f(h_2). It follows h1a=h2ah_1 a = h_2 a. By multiplying on the right by a1a^{-1} we conclude h1=h2h_1 = h_2 . Thus, ff is injective!

Surjective: This one’s not so bad. Let haHa ha \in Ha. Then hH h\in H is such that f(h)=haf(h) = ha . Therefore, ff is surjective.

Since ff is both injective and surjective, it’s bijective.

In conclusion, there is a one-to-one correspondence between elements of 𝐻 and HaHa. Or, |H|=|Ha||H| = |Ha|.

\square

Short Recap

What have we learned so far?

Well, first off, it hasn’t been that much work to show that cosets partition GG, and there is a one-to-one correspondence between elements of HH and the elements of HaHa. So, each coset contains the same number of elements. Hence, each of the partitions of GG has the same number of elements, since each coset is the same size. This means the image showing cosets of GG should have been neater. Sort of like this,

It might be really surprising but we are basically done.

Legendary Lagrange

Lagrange’s Theorem: Let GG be a finite group and let HH be any subgroup of GG. Then, the order of HH divides the order of GG. Equivalently, the order of GG is a multiple of the order of HH.

Wowww…. how cool is that?!? Would you have thought that the number of elements in H must divide the number of element in GG????

Proof: (Click to see proof)

Proof: We’ve already proved it, since the collection of cosets partition GG it must be that the order of GG is the sum of each of the orders of the cosets,

|G|=|Ha1|+|Ha2|++|Han||G| = |Ha_1| + |Ha_2| + \cdots + |Ha_n| .

Where there are nn distinct cosets of HH.Furthermore, nn is finite since |G||G| is finite. But all the cosets have the same order (size) as HH,

|G|=|Ha1|+|Ha2|+|Han|=|H|+|H|+|H|=n|H||G| = |Ha_1| + |Ha_2| + \cdots |Ha_n| = |H| + |H| + \cdots |H| = n|H|.

So that |G|=n|H||G| = n|H| where nn is the number of distinct cosets of HH.

\square

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 GG has prime order pp, then every nonidentity element is a generator of GG. Or, GG is cyclic!

Proof: (Click to see proof)

Proof: Let the order of GG equal a prime number pp and aGa\in G be a nonidentity element of GG. Denote the order of aa by |a|=k|a| = k. Recall a={e,a,a2,,ak1}\langle a\rangle = \{e, a, a^2, \cdots, a^{k-1} \} is always a subgroup and |a|=|a|=k|\langle a\rangle|=|a|=k (If you are unfamiliar with these facts, I challenge you to prove them!). By Lagrange’s theorem kk divides pp. This implies k=1k=1 or k=p k=p since pp is prime.

Wait, if k=1k=1 then a=ea=e, and we didn’t want aa to be the identity! Therefore, |a|=p|a| = p, and G=a={e,a,a2,,ap1}G = \langle a\rangle = \{e, a, a^2, \cdots, a^{p-1} \} since they both have pp elements!

\square

Is there a Subgroup?

Let’s say |G|=10|G| = 10. Can there be a subgroup HH of order 4? NO! Since 4104\nmid 10. You can play this game with any |G|=n|G| = n. How awesome!

Well, what if |G|=p|G| = p is a prime number? Then, the only numbers that divide pp are 1 and pp. Thus |H|=1|H| = 1 or |H|=p=|G||H| = p = |G| .

This means that the only subgroups of GG are H={e}H=\{e\} and H=GH=G when GG 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 pp is a prime then,

ap11(modp)a^{p-1} \equiv 1 \pmod{p}.

When a{1,2,3,,p1} a \in \{ 1,2,3,\cdots, p-1\}, or when aa‘s residue falls between 1 and p1p-1.

Proof: (Click to see proof)

Proof: To see this, consider the set a={e,a,a2,,ak1}\langle a\rangle = \{e, a, a^2, \cdots, a^{k-1} \} again. The set a\langle a\rangle with multiplication is a subgroup of G={1,2,,p1}G= \{ 1,\,2,\cdots, p-1\} with multiplication. By Lagrange’s theorem, the order of a\langle a\rangle must divide the order of GG, which is |G|=p1|G| = p-1. Denote the order of aGa\in G by |a|=|a|=k|\langle a\rangle| =|a| =k . Thus kk must divides p1p-1 and therefore p1=ktp-1 = kt.

Finally,

ap1akt(ak)t1t1(modp)a^{p-1} \equiv a^{kt} \equiv (a^k)^t \equiv 1^t \equiv 1 \pmod{p}.

Boom. Mike drop.

\square

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:

  1. If H and K are subgroups of G with |H| and |K| relatively prime (meaning gcd(|H|,|K|)=1\gcd{(|H|,|K|)} = 1), then HK={e}H\cap K = \{e\} .
  2. Euler’s Little Theorem:4 Denote the number of positive integers less than nn and relatively prime to nn by ϕ(n)\phi(n).5 Then for all aa such that gcd(a,n)=1\gcd{(a,n)} = 1, we have aϕ(n)1(modn)a^{\phi(n)} \equiv 1 \pmod{n}.

Leave your proofs in the comments!

Footnotes:

  1. This is analogous to numbers. If x\leq y and y\leq x, then x=y . ↩︎
  2. For two set A and B, by showing a\in A implies a\in B, it must be that A\subseteq B. Can you see why? ↩︎
  3. 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 x_1 and x_2 have the same f(x_1) or f(x_2) . This is equivalent to saying:
    INJECTION Criteria: if f(x_1)=f(x_2) then x_1=x_2 .
    And a surjection means that every element in Ha is equal to some f(h).
    SURJECTION Criteria: for any ha \in Ha there is some h\in H such that f(h)=ha . ↩︎
  4. This is not the standard name of this theorem! ↩︎
  5. The function ϕ(n)\phi(n) is called Euler’s Totient function, see chapter 10 in Newbie at Number Theory Book. ↩︎

Posted in

Leave a comment