Group Theory: Higher Math Handout
Group Theory: Higher Math Handout
Group Theory
Author:
For:
Emma Cardwell
AoPS
Matthew Ho
Date:
January 6, 2021
r s r
s
t
t
a
a u
d e
u d
c b
b v c
v w
“We may as well cut out group theory. [It] will never be any use in physics.” – James Jeans
Emma Cardwell and Matthew Ho (January 6, 2021) Group Theory
Contents
0 Acknowledgements 4
1 Introduction 5
1.1 Group Theory? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.2 Remarks on the Authors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2 Sets 5
2.1 Notation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.2 Direct Product . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.3 Binary Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3 Groups 6
3.1 Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3.2 Triangle Transformations Activity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.3 Group Multiplication Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
4 Moduli 8
5 Group Homomorphisms 11
5.1 A Brief Aside for Proofs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
5.2 Back to Homomorphisms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
7 Homomorphisms Proofs 12
7.1 Identity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
7.2 Inverses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
9 Number Theory 16
9.1 Fermat’s Little Theorem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
9.2 Combinatorial Proof . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
9.2.1 NT Proof . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
9.2.2 Euler’s Totient Theorem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
9.3 Lagrange’s Theorem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
9.4 Back to FLT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
9.5 Back to Euler’s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
9.6 More on FLT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
10 Non-Abelian Groups 22
10.1 A Difference Between Abelian and Non-abelian . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
10.2 Normal Subgroups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
10.3 Quotient Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
2
Emma Cardwell and Matthew Ho (January 6, 2021) Group Theory
12 Problems 26
12.1 Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
12.2 Geometry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
12.3 Homomorphisms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
12.4 Number Theory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
12.5 Groups and Group Theory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
B Appendix B: Applications 30
B.1 Math . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
B.2 Science . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
3
Emma Cardwell and Matthew Ho (January 6, 2021) Group Theory
§0 Acknowledgements
This was made for the Art of Problem Solving Community out there! I would like to thank Evan Chen for his
evan.sty code. In addition, all problems in the handout were likely from the AoPS Wiki.
4
Emma Cardwell and Matthew Ho (January 6, 2021) Group Theory
§1 Introduction
§1.1 Group Theory?
You may be wondering what it is. Here’s a definition from Wikipedia:
Definition 1.1 (Group Theory) — Group theory studies the algebraic structures known as groups.
The concept of a group is central to abstract algebra: other well-known algebraic structures, such as rings, fields,
and vector spaces, can all be seen as groups endowed with additional operations and axioms.
§2 Sets
§2.1 Notation
A set is a well defined collection of objects (numbers, functions, colors, shapes, beautifully-designed presentation
slides, etc).1 Sets can have a finite or infinite number of elements, and the order of the elements doesn’t matter.
One way to define specific sets is by listing the elements in the set:
• {. . . , −2, −1, 0, 1, 2, . . .}
• {1, 2, 3, 4, 5}
Example 2.1
Let set X = {1, 2, 4} and set Y = {a, b, c, d}. We can define a function f : X → Y as f (1) = a, f (2) = b,
and f (4) = b. An example of something that is NOT a function f : X → Y would be letting f (1) = a,
f (2) = b, and f (4) = g, because g 6∈ Y (g is not an element of set Y ).
We can also define sets in terms of the properties that their elements satisfy. Some sets even have special
names and symbols. {. . . , −2, −1, 0, 1, 2, . . .} is the set of integers, and it is commonly denoted as Z. {1, 2, 3, 4, 5}
can be written as {n ∈ Z : 0 < n < 6}, meaning “elements of the set of integers such that they are greater than
0 and less than 6”.
1
This is an informal definition of a set. There are different types of axiomatic set theory which rely on different sets of axioms
to define sets and their properties. One of the most common systems is the Zermelo-Fraenkel axioms, which form the basis
of Zermelo-Fraenkel set theory. You can read the Wolfram page about the Zermelo-Frankel Axioms for more information:
https://mathworld.wolfram.com/Zermelo-FraenkelAxioms.html.
5
Emma Cardwell and Matthew Ho (January 6, 2021) Group Theory
Example 2.2
Let set A = {1, 2, 4} and set B = {7, a, hello}. The direct product of A and B equals:
A × B = {(1, 7), (1, a), (1, hello), (2, 7), (2, a), (2, hello), (4, 7), (4, a), (4, hello)}
Example 2.3
Arithmetic operations such as addition and multiplication are binary operations on the set of integers.
Division is not a binary operation on the set of integers because the result of the division of two integers
a, b is not always an integer for every pair of a, b. Division is a binary operation for the set of rationals
excluding 0 because the division of two rational numbers always produces a rational number. (We exclude 0
because dividing by 0 causes problems).
But really, a binary operation can be anything we define it to be, as long as it takes 2 inputs and generates 1
output that is in the same set.2
Example 2.4
Let’s define the binary operation x · y. We can let x · y = a + 2b, where x, y ∈ Z and a is the tens digits of x
and b is the sum of the digits in y (and + is addition as we know it). The result will always be an integer,
so this function is a binary operation on the set of integers.
§3 Groups
§3.1 Definitions
A group is a set, G, together with a binary operation (·) such that the following are satisfied:
Note: We often denote groups simply by their sets, ex: G instead of (G, ·).
2
About notation: there are many ways to represent a binary operation. One way is similar to defining a function with two inputs:
f (a, b), g(a, b), h(a, b), etc. Another way is by defining an operator between two elements: a · b, a ◦ b, a ? b, etc.
6
Emma Cardwell and Matthew Ho (January 6, 2021) Group Theory
Example 3.1
The set of integers under the binary operation of addition form a group. To show this, let’s check that the
four conditions are satisfied:
1. Closure: The sum of any two integers always produces another integer.
4. Inverse: The negative version of any integer is its inverse. For an integer n, n + (−n) = (−n) + n = 0.
An Abelian group is a group, G, such that, for all x, y ∈ G, x · y = y · x. (Where · is the binary operation).
Basically, an Abelian group is a group where the binary operation is commutative.
We call the first transformation e, because we often use e to denote the identity. We can represent the
remaining 5 transformations in terms of a counterclockwise rotation by 120 degrees, which we will call ρ, and a
reflection across the vertical line of symmetry, which we will denote τ . Here are the transformations from the
diagram above represented in terms of e, ρ and τ :
Transformation Alternate representation
1 e
2 ρ
3 ρ2 (this means apply ρ twice)
4 τ
5 ρτ
6 ρ2 τ
It turns out that these 6 transformations form a group, with the composition of transformations as the binary
operation. Let’s check the four conditions:
2. Associativity: A bit harder to check. You can play around with an equilateral triangle of your own to
convince yourself3 .
3. Identity: We have an identity element, e, which when composed with any other transformation, results in
that other transformation.
3
Technically, it is inherited because the composition of mappings is an associative binary operation, and our composition of
transformations is a composition of mappings. Proving that the composition of mappings is associative requires a bit more set
theory than we covered, but if you’re interested, here’s a proof: https://proofwiki.org/wiki/Composition_of_Mappings_is_
Associative.
7
Emma Cardwell and Matthew Ho (January 6, 2021) Group Theory
4. Inverses: Intuitively, we must have inverses because we can undo every transformation sequentially.
The inverse of ρis ρ2 , and the inverse of τ is itself. For a more rigorous justification, check the group
multiplication table (below).
e ρ ρ2 τ ρτ ρ2 τ
e e ρ ρ2 τ ρτ ρ2 τ
ρ ρ ρ2 e ρτ ρ2 τ τ
ρ2 ρ2 e ρ ρ2 τ τ ρτ
τ τ ρ2 τ ρτ e ρ2 ρ
ρτ ρτ τ ρ2 τ ρ e ρ2
ρ2 τ ρ2 τ ρτ τ ρ2 ρ e
So, instead of flipping and rotating paper equilateral triangles to figure out the result of a composition of
transformations, we can calculate their result instead! For example, to find the result of tau ◦ ρ2 τ , see the box
that corresponds to the ρ2 τ row and τ column in the group multiplication table. Note that we evaluate from
right to left. Since each element represents a transformation, we can think of applying the binary operator as
the composition of functions here, like how (f ◦ g)(x) means f (g(x)). For example, τ ◦ ρ2 τ means apply ρ2 τ
first, then τ .
Example 3.2
As a more complicated example, let’s find the result for the following sequence of transformations: 5 - 2 - 4 -
3:
Written in terms of ρand τ , we have:
ρ2 ◦ τ ◦ ρ ◦ ρτ
Now, let’s evaluate!
ρ2 ◦ τ ◦ ρ ◦ ρτ = ρ2 (τ (ρ(ρτ )))
Associativity means that we can ignore the parenthesis, though we still have to evaluate from right to left:
ρ2 ◦ τ ◦ ρ ◦ ρτ = ρ2 (τ (τ ))
= ρ2 (e)
= ρ2
§4 Moduli
We define a mod b to be the remainder when a is divided by b. We also say that a ≡ x mod b if a divided by b
gives the same remainder as when x is divided by b.
8
Emma Cardwell and Matthew Ho (January 6, 2021) Group Theory
Example 4.1
5≡2 mod 3
7 ≡ 27 mod 4
6≡2 mod 4
Proof. What is (Z/pZ)∗ ? This is the set {1, . . . , p − 1} combined with the binary operation of multiplication
modulo p.
Let’s first try to check if this is a group.
Now, we need to show that every element has an inverse. First, we’ll introduce a new theorem:
We’ll give this theorem without proof, you can look up a proof online if you’re curious, but the theorem is very
intuitive. Basically, because the average number of objects per group is greater than 1, this implies that at least
one group must have 2 objects.
Great, let’s use that now! Consider any element x in the group, we’ll show it has an inverse. First, consider
the set S = {x, x · 2, . . . , x · (p − 1)}. We’ll first show that every element inside this set is distinct.
Assume for the sake of contradiction that two elements, x · a and x · b (with a < b, are equal. Then we
have that x · a − x · b = x · (a − b) = 0. Notice that this means that p must divide x · (a − b). But p is
prime! So this means that either p divides x, or p divides a − b. But p cannot divide x, because x belongs
9
Emma Cardwell and Matthew Ho (January 6, 2021) Group Theory
in the set S, so 0 < x < p. Also, p cannot divide a−b, because 0 < a < b < p. Therefore, we have a contradiction.
Now, we can conclude that all elements within S are different. Assume for the sake of contradiction that none
of these values are 1, the identity. If this were true, then we would have p − 1 “objects” inside the p − 2 values,
or “groups.” But by the Pigeonhole principle, we have a contradiction, because we just proved each of these
values are unique! Therefore, exactly one of the values inside S is 1, so we have (unique) inverses for every
element inside (Z/pZ)∗ .
Now, we’ve proved all four properties, so we conclude (Z/pZ)∗ is a group! Yay!
Proof. First, we note that 1! = 1 ≡ −1 mod 2. From here, we assume p is an odd prime, since 2 is the only
even prime.
Claim 4.6 — The only two elements which are their own inverse are 1 and p − 1.
Why? Because any element x which is its own inverse satisfies x2 ≡ 1 mod p, so x2 − 1 ≡ 0 mod p. Because p
is a prime, p either divides x + 1 or x − 1, which immediately implies the claim
Now, take any element x which has an inverse x−1 6= x. We proved earlier that inverses in (Z/pZ)∗ are unique
(in fact, one of the exercises this week is to prove that in general, inverses are unique in all groups). Therefore,
we can divide all elements which are not 1 or p − 1 into pairs, such that every element in the pair is the other
element’s inverse.
Here is the cool part. Consider (p − 1)! = (p − 1) · (p − 2) · · · 2 · 1. Because multiplication is commutative (our
group is abelian!) we can rearrange all the numbers here that are not 1 or p − 1 into these pairs that we just
created, and the product of every pair is just going to be 1 mod p! Now, (p − 1)! ≡ 1 · p − 1 ≡ −1 mod p!
Boom!
Ok, we’re going to finish off this week’s material with a couple of definitions.
Definition 4.7 (Order of a Group) — The order of a group G is the number of elements in a group. This
is also known as the cardinality of a group, and can be denoted as ord(G) or |G|.
Definition 4.8 (Order of an Element in a Finite Group) — The order of an element x in a finite group
G is the minimum exponent n such that xn = e. This can be denoted as ord(x)
It turns out the set {e, x, x2 , . . . , xord(x)−1 } is a group, and it’s called hxi (actually it’s a subgroup! We’ll talk
about that more next week). You can prove this for fun! This actually implies that ord(x) = | < x > |.
Wait, but why is it true that the order of an element in a finite group always exists? (Bonus material)
10
Emma Cardwell and Matthew Ho (January 6, 2021) Group Theory
§5 Group Homomorphisms
§5.1 A Brief Aside for Proofs
Let’s try a proof first because it’s important.
Proof. Suppose that e1 , e2 are both identity elements of the same group. Then,
e1 = e1 e2 = e2 (5)
e1 = e2 (6)
Thus e1 , e2 must be the same element.
Definition 5.2 (Group Homomorphism) — Let (G, ) and (H, ?) be groups. A group homomorphism
from G to H is a function f : G → H such that, for all g1 , g2 ∈ G, we have f (g1 g2 ) = f (g1 ) ? f (g2 ).
Example 5.3
The function p : (R, +) → (R+ , ·) is a group homomorphism, where p(x) = ex for all x ∈ (R, +).
Solution. Consider x, y ∈ (R, +). To show that p is a homomorphism, we must show that p(x + y) = p(x) · p(y):
p(x + y) = e(x+y) (7)
x y
= e · e = p(x) · p(y) (8)
Example 5.4
The function f : (Z, +) → (Z, +) is a group homomorphism, where f (x) = 5x for all x ∈ (Z, +).
Solution. Consider x, y ∈ (Z, +). To show that f is a homomorphism, we must show that f (x + y) = f (x) + f (y):
f (x + y) = 5(x + y) (9)
= 5x + 5y = f (x) + f (y) (10)
11
Emma Cardwell and Matthew Ho (January 6, 2021) Group Theory
More informally, the kernel is the set of all elements in G that get sent to the identity element in H.
Example 6.2
Consider the group homomorphism p : (R, +) → (R+ , ·), where p(x) = ex for all x ∈ (R, +). What is
Ker(p)?
Solution. The identity element of (R+ , ·) is 1, so Ker(p) consists of all x ∈ (R, +) such that p(x) = ex = 1. The
only solution is x = 0, thus Ker(p) = {0}.
Let’s use Z to denote the integers under the binary operation of addition.
Example 6.3
Consider the group homomorphism φ : Z × Z → Z, where φ(a, b) = a + b for all (a, b) ∈ Z × Z. What is
Ker(φ)?
Solution. The identity element of Z is 0, so Ker(φ) consists of all (a, b) ∈ Z × Z such that φ(a, b) = a + b = 0.
This condition is satisfied whenever a = −b, thus Ker(φ) = {(a, −a) ∈ Z × Z}.
§6.2 Images
More informally, the image is the set of all elements in H that get mapped to by f .
Example 6.5
Consider the group homomorphism f : Z → Z, where f (x) = 5x for all x ∈ Z. What is Im(f )?
§7 Homomorphisms Proofs
§7.1 Identity
12
Emma Cardwell and Matthew Ho (January 6, 2021) Group Theory
Example 7.2
Recall the group homomorphism f : Z → Z, where f (x) = 5x for all x ∈ Z.
Solution. The identity element in Z is 0. f (0) = 5(0) = 0, which is the identity element in Z.
Example 7.3
Recall the group homomorphism φ : Z × Z → Z, where φ(a, b) = a + b for all (a, b) ∈ Z × Z.
Solution. The identity element in Z × Z is (0, 0). φ(0, 0) = 0 + 0 = 0, which is the identity element in Z.
Example 7.4
Recall the group homomorphism p : (R, +) → (R+ , ·) , where p(x) = ex for all x ∈ (R, +).
Solution. The identity element in (R, +) is 0. p(0) = e0 = 1, which is the identity element in (R+ , ·).
§7.2 Inverses
eH = f (eG ) (15)
−1
eH = f (g g ) (16)
eH = f (g) ? f (g −1 ) (17)
multiply both sides by [f (g)]−1 :
[f (g)]−1 ? eH = [f (g)]−1 ? f (g) ? f (g −1 ) (18)
−1 −1
[f (g)] = f (g ) (19)
13
Emma Cardwell and Matthew Ho (January 6, 2021) Group Theory
Example 7.6
Recall the group homomorphism f : Z → Z, where f (x) = 5x for all x ∈ Z.
• Finding the inverse first, then applying the homomorphism: Consider some element x ∈ Z. The
inverse of x is −x. f (−x) = 5(−x) = −5x.
• Applying the homomorphism first, then finding the inverse: Let’s find the inverse of f (x).
f (x) = 5x, and the inverse is some element y such that f (x) + y = 0. y = 5x, so [f (x)]−1 = 5x.
Example 7.7
Recall the group homomorphism p : (R, +) → (R+ , ·) , where p(x) = ex for all x ∈ (R, +).
• Finding the inverse first, then applying the homomorphism: Consider some x ∈ (R, +). The
inverse of x is −x, as x + (−x) = 0. p(−x) = e−x .
• Applying the homomorphism first, then finding the inverse: p(x) = ex . The inverse of ex is the
element that, when multiplied with ex , equals 1, the identity of (R+ , ·). [p(x)]−1 = e−x .
Example 8.2
The x-axis of R2 is a subgroup, because it’s clearly closed under addition, addition is associative, inverses
clearly exist, the origin is the identity.
Example 8.3
Z/nZ (the integers mod n) is a subgroup of Z (the integers).
Definition 8.4 (Coset) — Take a subgroup H of an abelian group G. Then the cosets of H are defined as
the sets gH = {gh : h ∈ H} (read: the set of all possible products gh, where h is an element of H), where g
can take any value in G.
14
Emma Cardwell and Matthew Ho (January 6, 2021) Group Theory
Example 8.5
The set of numbers that are congruent to 1 mod 5 are a coset of the group of the multiples of 5 under
addition, when we let g = 1 in our definition above.
Example 8.6
Each horizontal line would be a coset, if H is the x-axis in the group G = R2 .
We won’t rigorously prove the last fact, but we’ll talk about it more later. Consider the homomorphism from
f : Z → Z/nZ, where f is taking a number mod n to be an example.
Proof. Note that if gh1 = gh2 , then g −1 gh1 = g −1 gh2 which implies h1 = h2 , so every element in H creates a
different element in the coset.
§8.3 Applications
Example 8.8
Let’s say, I have to multiply two really, really large numbers. . . and Emma conveniently has a supercomputer!
So I want to give Emma my two numbers to multiply, but I don’t want her to know my numbers (let’s say,
one of them is my SSN and the other is my password to all of my accounts). What do I do?
Solution. Use homomorphic functions. If I have two positive integers, say p, q, then what we need to do is create
some homomorphism f from Z to some other group G such that f (pq) = f (p)f (q), which is invertable.
So I give Emma f (p) and f (q), and tell her to combine these two values in the group G using her supercomputer.
She then gives me f (p)f (q) = f (pq), and I invert f to find pq. If Emma doesn’t know what f is, or doesn’t
know how to invert it, my inputs are still secret!
15
Emma Cardwell and Matthew Ho (January 6, 2021) Group Theory
§9 Number Theory
Let’s start by thinking of this without group theory.
Example 9.2
For any p, 0p ≡ 0 mod p
Example 9.3
For a = 2, p = 5,
25 ≡ 32 mod 5
≡2 mod 5
Definition 9.4 (Double Counting) — Double counting is the method of counting the same thing in two
different ways.
• Consider a circular necklace with 5 beads on it. If we can color each bead one of two colors (R or G, for
short), there are 25 possible ways to color the necklace.
• Now, how many ways are there to color this necklace, if we don’t allow the possibility of all beads being
the same color? 25 − 2.
• Nope!
16
Emma Cardwell and Matthew Ho (January 6, 2021) Group Theory
Notice that each coloring is part of a class of colorings, where each “class” has size 5. We can rotate each
coloring to produce all the other colorings in the same class, and there are 4 ways to rotate any coloring
(shift by 1, shift by 2,. . . shift by 4), giving that each class has size 5.
Because 5 is prime, there is no way to shift a coloring by less than 5 and obtain the same coloring. If we
could, that would be bad, because we would be counting some colorings multiple times (it’s why we need 5
to be prime). For example, if we had colorings of length 4, RGRG can be shifted twice to form itself.
This shows that we can partition all these colorings into classes, so we must have that 5 divides the total
number of possible colorings!
§9.2.1 NT Proof
• Define the set S := {1, 2, . . . , p − 1}. Remember, this is a group under multiplication!
Now, take some number a. Look at the set aS = {a, 2a, . . . , a(p − 1)}. Assume that a 6≡ 0 mod p (if a ≡ 0
mod p then trivially ap ≡ 0 mod p ≡ a mod p). Then aS = S
Lemma 9.5
aS = S
Proof. If we have two elements ax ≡ ay mod p, then a(x − y) ≡ 0 mod p, which is impossible. Then all
elements must be distinct, and Pigeonhole implies the conclusion.
because aS = S, so the product of all the elements in each set modulo p must also be the same.
But because (Z/pZ)∗ is an abelian group, we can rearrange this to:
But we can cancel out the (p − 1)! (in fact, (p − 1)! ≡ −1 mod p by Wilson’s theorem), which gives us
ap−1 ≡ 1 mod p.
Multiplying both sides by a gives ap ≡ a mod p.
Definition 9.6 (φ) — φ(x) (“phi of x”) is the number of positive integers n smaller than x that are
relatively prime to x (so gcd(x, n) = 1 for each n).
Some examples:
17
Emma Cardwell and Matthew Ho (January 6, 2021) Group Theory
2. φ(32) = 16, because all odd numbers 1, 3, . . . , 31 are relatively prime to 32.
3. φ(p) = p − 1 for any prime p, because all numbers 1 . . . p − 1 are relatively prime to p.
It turns out that we can create a formula to calculate the totient function. We’re not going to prove this, but if
you’re curious, you can Google it online. It uses something called the Chinese Remainder Theorem.
Some examples:
1 2
1. 6 = 21 · 31 , so φ(6) = 6 · 2 · 3 = 2.
p−1
2. p = p1 , so φ(p) = p · p = p − 1.
1 4
3. 1000 = 23 · 53 , so φ(1000) = 1000 · 2 · 5 = 400.
You can try proving it as a problem, using a method very similar to the Number Theory proof presented earlier
for Fermat’s Little Theorem.
Example 9.10
Consider the symmetries of a triangle D3 = {e, ρ, ρ2 , τ, ρτ, ρ2 τ }.
The subgroups of D3 are: {e}, {e, τ }, {e, ρτ }, {e, ρ2 τ }, {e, ρ, ρ2 }, {e, ρ, ρ2 , τ, ρτ, ρ2 τ }
In other words, any two cosets of H are either equal or disjoint (two sets are said to be disjoint sets if they have
no element in common).
18
Emma Cardwell and Matthew Ho (January 6, 2021) Group Theory
Proof. Suppose the cosets g1 H and g2 H are not disjoint. Then there is some element x that belongs to both
cosets, so x = g1 ◦ h1 = g2 ◦ h2 for some h1 , h2 ∈ H (g1 h1 is an element of g1 H and g2 h2 is an element of g2 H).
We can write g1 in terms of g2 : g1 = g2 h2 h−1
1 . Now, let’s show that every element in g1 H is also an element of
g2 H. Consider g1 h ∈ g1 H.
g1 h = (g2 h2 h1−1 )h = g2 (h2 h−1
1 h) (20)
Since we can represent g1 h in the form g2 h0 (for h0 ∈ H), we know that g1 h must be an element of g2 H. As we
can repeat this for any element g1 h ∈ g1 H, we know that g1 H ⊆ g2 H.
But, there’s really no difference between g1 H and g2 H, so our argument still holds if we swap g1 and g2 and
repeat the proof above. This tells us that g2 H ⊆ g1 H. Putting this together, we conclude that if g1 H and g2 H
are not disjoint, then they are equal.
Proof. Bijection – each element of one set is paired with exactly one element of the other set, and each element
of the other set is paired with exactly one element of the first set.
We know that no element g1 h ∈ g1 H can have multiple representations. That is, g1 h =6 g1 h0 for any h =
6 h0 ∈ H.
To show that any two cosets g1 H and g2 H have the same number of elements, we will set up a bijection
between them. We can define a function f : g1 H → g2 H by f (g1 h) = g2 h for h ∈ H. Since every element in
g1 H only appears once in g1 H, we know that f pairs every element in g1 H with one element in g2 H.
This same reasoning still applies if we set up a function g : g2 H → g1 H, so g pairs every element in g2 H with
one element in g1 H. Thus, we’ve set up a bijection between g1 H and g2 H, so we’ve shown that any two cosets
of H have the same size.
Proof. Since H is a subgroup of G, we know that e ∈ H. It follows that g ◦ e = g ∈ gH, so every element g ∈ G
is contained within some coset of H.
Just to make sure, let’s verify that the cosets don’t contain any additional elements:
Every element h ∈ H is also an element of G (by definition of subgroup). From our definition of group,
g1 ◦ g2 ∈ G for any g1 , g2 ∈ G. Since all of the elements we’re composing to generate cosets are all elements of G,
we know that we can’t generate an element that isn’t in G.
19
Emma Cardwell and Matthew Ho (January 6, 2021) Group Theory
Example 9.14
Consider the group (Z/8Z, +) = {0, 1, 2, 3, 4, 5, 6, 7} and the subgroup H = {0, 2, 4, 6}. Let’s find the cosets
of H:
0 + H = {0, 2, 4, 6} (21)
1 + H = {1, 3, 5, 7} (22)
2 + H = {2, 4, 6, 0} (23)
3 + H = {3, 5, 7, 1} (24)
4 + H = {4, 6, 0, 2} (25)
5 + H = {5, 7, 1, 3} (26)
6 + H = {6, 0, 2, 4} (27)
7 + H = {7, 1, 3, 5} (28)
As you can see, there are 2 distinct cosets of H, and the union of the elements in all of the cosets is precisely
the elements of G.
Proof. By the First Lemma, cosets are disjoint. By the Second Lemma, all cosets have the same size. By the
Third Lemma we can think of G as the union of all cosets gH. So, the total number of elements in the union
of all cosets equals the number of elements in each coset multiplied by the number of cosets. The number of
elements in each coset is equal to the order of H, thus |H| times the number of cosets (an integer) equals the
total number of elements in G.
Corollary 9.15
The order of any element of G divides the order of G.
Proof. Recall that we can generate a subgroup using any element g ∈ G. This subgroup is of the form
{e, g, g 2 , . . . , g ord (g)−1 }. The number of elements in the subgroup is ord(g), so the order of the subgroup is equal
to ord(g). So, by Lagrange’s Theorem, ord(g) must divide the order of G.
Proof. Recall the group (Z/pZ)× = {1, 2, . . . , (p − 1)}. We can represent a as some element of (Z/pZ)× : a ≡ b
mod p. By the corollary above, ord (b) divides |(Z/pZ)| = p − 1, so bp−1 = e.
This means ap−1 ≡ 1 mod p. Multiplying both sides by a, we get ap ≡ a mod p.
Proposition 9.16
An integer a has an inverse modulo n if and only if gcd(a, n) = 1.
20
Emma Cardwell and Matthew Ho (January 6, 2021) Group Theory
• gcd(a, n) = 1 implies inverses: If gcd(a, n) = 1, then we can find some integers b and c such that
ab − cn = 1 (this is a consequence of Bézout’s identity). Since cn + 1 ≡ 1 mod n, we have ab ≡ 1 mod n.
• inverses imply gcd(a, n) = 1: If a has an inverse, then there exists some number b such that ab ≡ 1
mod n. This means ab = 1 + cn for some integer c. Rearranging, we find ab − cn = 1. Bézout’s identity
implies that gcd(a, n) = 1.
Proposition 9.17
Consider the set of all integers less than n which have inverses modulo n. This forms a group under
multiplication.
3. identity: 1 is the identity because 1 · n = n · 1 = n for any number n. (we know that 1 1 must be in the
set because 1 is relatively prime to every number).
4. inverses: We defined our group as the set of all integers that have inverses modulo n.
Proof. Recall the above corollary from our proof of Lagrange’s Theorem: the order of any element of G divides
the order of G.
• Let’s consider the group (Z/nZ)× . By this corollary , ord g divides |(Z/nZ)× | for any element g ∈ (Z/nZ)× .
×|
• Since g ord g ≡ 1 mod n and ord g is a factor of |(Z/nZ)× |, we know that g |(Z/nZ) ≡ 1 mod n.
Definition 9.19 (Fermat Liar) — A Fermat liar is any a such that an−1 ≡ 1 mod n where n is composite.
21
Emma Cardwell and Matthew Ho (January 6, 2021) Group Theory
Definition 9.20 (Fermat Witness) — A Fermat witness is any a such that an−1 6≡ 1 mod n where n is
composite.
Definition 9.21 (Carmichael Number) — A Carmichael number is any composite number n which
satisfies bn ≡ b mod n for all integers b which are relatively prime to n.
The smallest Carmichael number is 561. We won’t use this much – it is just for the interested reader.
Definition 10.1 (Abelian Group) — An abelian group G is a group where the binary operation is
commutative. That is, for all a, b ∈ G, we have
ab = ba
Example 10.2
The set of integers under addition is abelian, because addition is commutative.
Definition 10.3 (Non-Abelian Groups) — An nonabelian group G is a group where the binary operation
is not commutative. That is, there exist some a, b ∈ G, such that
ab 6= ba
Example 10.4
The group of transformations of an equilateral triangle, or D3 , is nonabelian.
e ρ ρ2 τ ρτ ρ2 τ
e e ρ ρ2 τ ρτ ρ2 τ
ρ ρ ρ2 e ρτ ρ2 τ τ
ρ2 ρ2 e ρ ρ2 τ τ ρτ
τ τ ρ2 τ ρτ e ρ2 ρ
ρτ ρτ τ ρ2 τ ρ e ρ2
ρ2 τ ρ2 τ ρτ τ ρ2 ρ e
Remember, the multiplication tables of abelian groups are symmetric about the main diagonal,
while the multiplication tables of nonabelian groups are not!
22
Emma Cardwell and Matthew Ho (January 6, 2021) Group Theory
1. The left cosets of H are defined as the sets gH = {gh : h ∈ H} (read: the set of all possible products
gh, where h is an element of H), where g can take any value in G.
Definition 10.6 (Normal Subgroup) — Here are three definitions of what a normal subgroup H of G is:
2. Consider a group G with normal subgroup N . For any element g ∈ G, n ∈ N we have gng −1 ∈ N.
3. A group is a normal subgroup if and only if it is the kernel of a homomorphism from G → G0 , for
some G0 .
Example 10.7
All subgroups of abelian groups are normal. (Why?)
Example 10.8
The whole group G and the trivial subgroup {e} are both normal subgroups of G.
Example 10.9
The subgroup {e, ρ, ρ2 } of D3 is normal. (Why?)
Definition 10.10 (Quotient Group) — Let G be a group and let N be a normal subgroup of G. Then
G/N = {gN : g ∈ G} is called the quotient group of N in G.
In essence, the quotient group is the set of all of the (left) cosets of H.
23
Emma Cardwell and Matthew Ho (January 6, 2021) Group Theory
Okay, we have a set, but we also need a binary operation that can be performed between the cosets: consider
two cosets aN and bN in G/N . We define the composition of aN and bN as (aN )(bN ) = (ab)N , where
(ab)N = {abn : n ∈ N }.
G/N satisfies the group axioms:
4. Inverses: every element g ∈ G has an inverse, so for every coset gN , there exists a coset g −1 N such that
(gN )(g −1 N ) = (gg −1 )N = eN .
Mathematician enters room full of elements of G chatting quietly amongst themselves Hi folks. How are
we today? Doin’ well? Great. Listen, would those of you who answered “yes” to question #1 please raise your
hand? Fantastic, hi there. Thank you. Now, if you would, please huddle together in a single pile. Yes, just like
that. You’re doin’ fine, folks, just fine. Alright, from now on we will refer to you collectively as “N ” or - on a
good day - we might also call you “the trivial coset.” But we no longer care about y’all as individuals. Sorry.
You’ll get used to it.
Mathematician turns her attention to the folks not in N Hey there, everyone. Would you please raise your
hand if you selected “not too badly” for question #2? Great, how you folks doin’ ? Good. Look, although none
of you satisfy the property to belong to N , you do satisfy a different property: You all fail not too badly (ntb).
Congrats! Now please form your own huddle over in that corner. Quickly now, folks. Okay perfect. Listen, we
no longer care about you individually - y’all are all indistinuishable to us. For this reason, we’ll refer to you as
“(ntb)N ” or sometimes “the coset ntb.”
Mathematician addresses remaining elements in the room Hi there, y’all, thanks for waiting. Would those
of you who fail to belong to N “pretty badly” (pb) please form your own pile? Sure, you can stand in that
24
Emma Cardwell and Matthew Ho (January 6, 2021) Group Theory
corner. That’s right, go ahead. Now because you all possess the special property of ’failing pretty badly,’ you’re
all the same to us, and so we’ll just call all of you “(pb)N” or “the coset pb.”
Alright now, I see y’all who are “not even close” (nec) to meeting the requirements of belonging to N have
already huddled together. Thanks so much, folks. Now now, stop all that crying! It’s not such a bad thing. You,
too, satisfy a very special property: you all fail really badly. Isn’t that great? It sure is. So we’ll collectively
refer to you all as “(nec)N” or “the coset nec.”
Example 10.12
Consider the group Z and the subgroup 6Z. The distinct cosets are
Example 10.13
Consider the set of reals under addition and the (normal) subgroup, the x-axis. The cosets are all of the
horizontal lines. (Addition is defined by adding their y-components).
Proof. One way is easy: If we define f to be the map from G to G/N, then clearly N is mapped to the subgroup.
In the other direction, we already know ker(f ) = N is a subgroup from previous classes. Now, f (gng −1 ) =
f (g)f (n)f (g −1 ) = f (g) ◦ eG0 ◦ f (g −1 ) = eG0 , so gng −1 is inside the kernel of f. In particular, this implies
gng −1 ∈ N, so we have N is normal.
25
Emma Cardwell and Matthew Ho (January 6, 2021) Group Theory
Definition 11.1 (Ring) — We define a ring R to be a set with the following properties:
1. It’s an abelian group under “addition” (one binary operation), and the additive identity is called “0”
2. We have a second binary operation · (multiplication) that’s commutative (no inverse needed)
4. a · (b + c) = a · b + a · c
In other words, rings are basically a set that’s a group in 2 ways, satisfying the distributive property but not
needing an inverse for one of the binary operations.
Example 11.2
R, Q, and Z are all rings under normal addition and multiplication.
Example 11.3
R[x], (read: “the real numbers adjoint x”) or the polynomials with real coefficients, form a ring. In general,
R[x] for any ring R forms a (polynomial) ring.
§11.2 Fields
Definition 11.4 (Field). A field is a ring with the property that every nonzero element is a unit (or, all
elements which are not the multiplicative identity have an inverse).
Example 11.5
R, Q are both fields under normal addition, multiplication. Z is not.
§12 Problems
§12.1 Sets
Problem 12.1. Let set A = {3, 2, 4} and set B = {a, b, c, d}. Find the direct product, A × B.
§12.2 Geometry
Problem 12.3. Try to find all of the symmetries of a square and represent them in terms of ρ, a counterclockwise
rotation by 90◦ , and τ , a reflection about the vertical axis. Convince yourself that this set of symmetries forms a
group.
Problem 12.4. A Platonic solid is a convex polyhedron whose faces are all congruent regular polygons, with
the same number of faces meeting at each vertex. How many symmetries do each of the Platonic solids have?
26
Emma Cardwell and Matthew Ho (January 6, 2021) Group Theory
§12.3 Homomorphisms
Problem 12.5 (Math 412). Consider the group G = {e, a}, where e is the identity element and a ◦ a = e and a
function f : (R\{0}, ·) → G , where f sends all positive numbers to e and all negative numbers to a.4
b. Find Ker(f ).
c. Find Im(f ).
Problem 12.6. Consider a function f : G → H between groups G and H, where f (g) = eH for all elements
g ∈ G (where eH is the identity element of H).
b. Find Ker(f ).
c. Find Im(f ).
Problem 12.7. Let f : G → H be a homomorphism between groups G and H. Prove that the kernel of f is a
group.
Problem 12.8. Let f : G → H be a homomorphism between groups G and H. Prove that the image of f is a
group.
Problem 12.9 (Judson’s Abstract Algebra). Let f : G → H be a homomorphism between groups G and H.
Prove that, if G is abelian, then the image of f is also abelian.
Problem 12.12. Is Q\{0} (the set of rationals, excluding 0) a group under multiplication? Prove or disprove.
Problem 12.13. Is the set of fractions with odd numerators and denominators a group under addition?
Problem 12.14. Show that the direct product of two groups is also a group.
4
(R\{0}, ·) is the group of all real numbers, excluding 0, under multiplication.
27
Emma Cardwell and Matthew Ho (January 6, 2021) Group Theory
Problem 12.15. Let G be a group. Show that if g 2 = e for all g ∈ G, then G is abelian (the binary operator is
commutative).
Problem 12.17 (Challenging). Extend Wilson’s theorem to show that the product of all elements of an abelian
group is either the identity or an element of order 2.
Problem 12.19. Is Q\{0} (the set of rationals, excluding 0) a group under multiplication? Prove or disprove.
Problem 12.20. Is the set of fractions with odd numerators and denominators a group under addition?
Problem 12.21. Consider the group D3 = {e, ρ, ρ2 , τ, ρτ, ρ2 τ and the subgroup H = {e, ρ, ρ2 }.
Problem 12.22. Consider the group Z (integers under addition) and the subgroup 7Z (all multiples of 7). Find
the cosets of 7Z.
Problem 12.23. Consider a group G and a subset H. Under what conditions is a coset gH also a subgroup of
G?
Problem 12.25 (Challenging). A cyclic group is a group that can be generated from one element in the group.
For cyclic groups of finite order, we can represent them as G = {e, g, g 2 , . . . , g |G|−1 }. Prove that every group
with prime order is cyclic.
Problem 12.26 (Challenging). Show that there exists a bijection (a way to map elements from one set to
another) from elements of any coset to elements of any other coset, given a subgroup in an infinite group.
Problem 12.27. Prove that the center of a group G (the set of all elements g ∈ G that satisfy gx = xg for all
other elements x ∈ G) is a normal subgroup.
Problem 12.29. What are the elements of the quotient group Z/nZ?
Problem 12.30. What are the elements of the quotient group Z/(Z/nZ)?
28
Emma Cardwell and Matthew Ho (January 6, 2021) Group Theory
List of Theorems
List of Definitions
29
Emma Cardwell and Matthew Ho (January 6, 2021) Group Theory
9.6 Definition - φ 17
§B Appendix B: Applications
§B.1 Math
A few questions:
1. Let’s say we have a cube that’s already built for us. Can we use a straightedge and a compass to construct
another cube that’s double the volume?
2. Can we construct a pentagon using ruler and compass? What about a regular n-gon?
3. Can we trisect an angle (into three equal parts) only using straightedge and compass?
4. Can we find the roots of a quintic equation with integer coefficients only using addition, subtraction,
multiplication, division, and radicals?
The answer to all of these are no. For the quintic problem, this has to do with a group called A5 not having any
normal subgroups.
§B.2 Science
Some other applications:
Definition B.1 (Primitive Root) — x is a primitive root modulo n if every number that is relatively
prime to x can be written as xk mod n, for some value k.
If b is a primitive root modulo n, then what’s the minimum exponent x such that bx = a?
30
Emma Cardwell and Matthew Ho (January 6, 2021) Group Theory
3. Diffie-Hellman (cryptography)
4. (Conservation Laws) It turns out that symmetries in our physical world lead to conservation laws by
something called Noether’s Theorem. This has many applications, including particle physics. Examples:
conservation of momentum, conservation of energy, conservation of angular momentum, etc.
5. (Chemistry) In general, an action which leaves the object looking the same after a transformation is called
a symmetry operation. Typical symmetry operations include rotations, reflections, and inversions. There
is a corresponding symmetry element for each symmetry operation, which is the point, line, or plane with
respect to which the symmetry operation is performed. For instance, a rotation is carried out around an
axis, a reflection is carried out in a plane, while an inversion is carried our in a point.
We shall see that we can classify molecules that possess the same set of symmetry elements, and grouping
together molecules that possess the same set of symmetry elements. This classification is very important,
because it allows to make some general conclusions about molecular properties without calculation.
Particularly, we will be able to decide if a molecule has a dipole moment, or not and to know in advance
the degeneracy of molecular states. We also will be able to identify overlap, or dipole moment integrals
which necessary vanish and obtain selection rules for transitions in polyatomic molecules.
31