Lectures 2
Lectures 2
Lecture Notes
Dima Trushin
2023
Contents
1 Sets 2
1.1 Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.2 Constructors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.3 Operations on sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.3.1 Intersection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.3.2 Union . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.3.3 Difference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.3.4 Cartesian product . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.4 Maps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2 Binary operations 4
2.1 Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2.2 Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.2.1 Associativity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.2.2 Neutral element . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.2.3 Inverse element . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.2.4 Commutativity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3 Groups 7
3.1 Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.2 Multiplicative and additive notations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3.3 Subgroups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3.4 Cyclic subgroups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.5 Cosets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.6 The Lagrange Theorem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
1
1 Sets
In modern math everything can be formulated in terms of Set Theory, that is in terms of sets and maps. Let me
remind some basic facts about sets and maps.
1.1 Definition
Definition 1. A set is a collection of elements.
We denote sets by capital letters like X and Y . If an element x belongs to the collection X, we write x ∈ X. If
y does not belong to X, we write y ∈ / X. There is a special set containing no elements. This set is called an empty
set and is denoted by ∅.
If you think of a set you should imagine a sack full of elements. The sack is your set and the elements in the
sack are the elements belonging to the set. An empty set becomes a sack with no elements inside.
1.2 Constructors
If you are given a definition of a new math object, the first question to ask is: “How do I construct such an object?”
To define a set we need to specify the elements inside the set. For doing that, we use the following notation
X = {x | condition on x}
Here, we mean that the set X consists of all elements x such that the condition on x holds. Let me demonstrate
this on examples.
• The set of natural numbers
N = {x | x is a natural number} = {0, 1, 2, 3, . . . , n, . . .}
1.3.1 Intersection
If we are given two sets X and Y , then we define the intersection of X and Y as follows
X ∩ Y = {z | z ∈ X and z ∈ Y }
If we denote the sets X and Y by discs on a plain then the intersection of X and Y is denoted as below
2
1.3.2 Union
If we are given two sets X and Y , then we define the union of X and Y as follows
X ∪ Y = {z | z ∈ X or z ∈ Y }
If we denote the sets X and Y by discs on a plain then the union of X and Y is denoted as below
1.3.3 Difference
If we are given two sets X and Y , then we define the difference between X and Y as follows
X \ Y = {z | z ∈ X and z ∈
/ Y}
If we denote the sets X and Y by discs on a plain then the difference between X and Y is denoted as below
1.4 Maps
Definition 2. Suppose we are given two sets X and Y , a map f : X → Y is a rule that takes elements of X to
elements of Y . If x ∈ X, then its image in Y is denoted by f (x). In this case, we will write x 7→ f (x).
The set X is called the source of f and the set Y is called the target of f .
Here is a way to think about maps. Suppose we are given a map f : X → Y . Then f is a callable object with an
operator (−). You give it any element x of X, then it returns you some specific element f (x) of Y . For each input
x ∈ X, the result f (x) ∈ Y will be the same every time you call it. So, a map is the same thing as a function.
Examples 3. Here are some examples of maps and non maps.
1. The rule f : R → R by x 7→ 2x + 3 is a map.
2. The rule f : R → R by x 7→ sin(x) is a map.
3. The rule f : R → R by x 7→ x1 is not a map because it is not defined at x = 0. It becomes a map if we change
the source for f . If R∗ = {x ∈ R | x 6= 0}, then f : R∗ → R by x 7→ x1 is a map.
4. The rule f : R → R by x 7→ ln x is not a map because it is only defined for positive x. It becomes a map if we
change the source for f . If R+ = {x ∈ R | x > 0}, then f : R+ → R by x 7→ ln x is a map.
3
2 Binary operations
The simplest object in Algebra is a set with a good binary operation. I am going to explain what a binary operation
is and the meaning of the word good. Our goal is to define an object called a Group.
2.1 Definition
Definition 4. Suppose X is a set. A binary operation is a map ◦ : X × X → X by the rule (x, y) 7→ x ◦ y for
x, y ∈ X.
In this case the notation ◦ is the name of the operation. Simply speaking, the operation is a rule that takes two
elements of the set X and produce a new element called x ◦ y of the same set X. This element x ◦ y is usually called
the product of x and y.1
You should have noticed that we use the name of the operation in a quite unusual way. We write the name
between the arguments and not before. This is just for convenience. However, there is a function-like notation (or
map-like notation) for binary operations. Let me show you
Definition 5. Suppose X is a set. A binary operation is a map µ : X × X → X by the rule (x, y) 7→ µ(x, y) for
x, y ∈ X.
This is just a different notation for the same mathematical notion. You may denote an operation in operator-like
stile (the first definition) or in a function-like style (the second definition). To clarify the situation, let me proceed
to a series of examples.
Examples 6. Binary operations:
1. Addition of integral numbers. In an operator-like form
+ : Z × Z → Z, (m, n) 7→ m + n
In a function-like notation
Since we got used to addition of numbers in a form m + n, we want a general definition to be in a similar form.
From the other hand, many programming languages allow us using operator-like and function-like notations
for addition. Here I want to emphasize that add(m, n) and m + n are the same things. These are just different
notations of the same addition that we use with integers.
2. Integer multiplication. In an operator-like form
· : Z × Z → Z, (m, n) 7→ m · n
In a function-like notation
Again, these are just two different notations for exactly the same operation, that is, multiplication of integer
numbers.
3. Integer maximum. In an operator-like form
∨ : Z × Z → Z, (m, n) 7→ m ∨ n
In a function-like notation
of view the name of the result is product. So, mathematics is the art to call different things in a similar way and similar things in a
different way. I will clarify the situation every time when it may lead to confusion.
4
4. Integer minimum. In an operator-like form
∧ : Z × Z → Z, (m, n) 7→ m ∧ n
In a function-like notation
φ : Z × Z → Z, (m, n) 7→ m2 − n2
So, in general a binary operation on X is any map f : X × X → X. You are free to define it in a way you wish.
But different operations have different properties. Some of the operations are better than the others in a certain
way. Since we want to deal with good operations only, I am starting a discussion of operation properties.
2.2 Properties
There are several properties important for our goal. I am going to deal with them one-by-one explaining everything
on examples.
2.2.1 Associativity
Definition 7. An operation ◦ : X ×X → X is called associative if for every elements x, y, z ∈ X we have (x◦y)◦z =
x ◦ (y ◦ z).
If you have a binary operation ◦ on a set X, you can compute the product of three elements x, y, and z in two
different ways:
• first compute w = x ◦ y and then compute w ◦ z = (x ◦ y) ◦ z.
+ : Z × Z → Z, (m, n) 7→ m + n
− : Z × Z → Z, (m, n) 7→ m − n
Then the equality (m − n) − k = m − (n − k) does not hold for any integer numbers. Indeed, let us take
m = n = 0 and k = 1. Then the left-hand side is equal to −1 and the right-hand side is equal to 1. So,
(0 − 0) − 1 6= 0 − (0 − 1).
5
2.2.2 Neutral element
Definition 9. Let ◦ : X × X → X be an operation on X. An element e ∈ X is called neutral (or identity element)
if for every element x ∈ X we have x ◦ e = x and e ◦ x = x.
So, a neutral element e ∈ X is such an element that does not change anything when we multiply by it.
Examples 10. A neutral element may exist or may not.
1. Integral addition has a neutral element. Our operation is
+ : Z × Z → Z, (m, n) 7→ m + n
Then it is clear that element e = 0 satisfies the required properties. Indeed, for every natural m ∈ Z we have
m + 0 = m and 0 + m = m.
2. Integer subtraction has no neutral element. Our operation is
− : Z × Z → Z, (m, n) 7→ m − n
Let us show that there is no element e ∈ Z such that e − m = m for every m ∈ Z. Indeed, if such e exists, then
e = 2m for any m ∈ Z. But this is impossible because for m = 0, e = 0 and for m = 1, e = 2, a contradiction
e must be a specific fixed element not depending on m. From the other hand, it is clear that m − 0 = m for
any m ∈ Z.
The second example shows that it is not enough to check only one condition x ◦ e = x or e ◦ x = x. This is a
very common mistake to forget one of these conditions. You are warned!
A reasonable question is: “How many neutral elements may exist?” The answer is: “Not more than one.” So,
there may be no neutral element at all or just one.
Claim 11. Let X be a set and ◦ : X × X → X be a binary operation. Then there exists at most one neutral element.
Proof. If there is no neutral elements, we are done. Suppose that e and e0 are neutral elements. We should show
that they are the same. Consider the product e ◦ e0 . Since e is a neutral element e ◦ x = x for any x ∈ X. In
particular, this holds for x = e0 , that is, e ◦ e0 = e0 . From the other hand, since e0 is a neutral element x ◦ e0 = x for
any x ∈ X. In particular, this holds for x = e, that is, e ◦ e0 = e. Thus e = e ◦ e0 = e0 .
Now consider the product y1 ◦ x ◦ y2 . Since, ◦ is associative, it does not matter how to put parentheses, that is
(y1 ◦ x) ◦ y2 = y1 ◦ (x ◦ y2 ). Let us compute the left-hand side:
(y1 ◦ x) ◦ y2 = e ◦ y2 = y2
6
And for the right-hand side, we get
y1 ◦ (x ◦ y2 ) = y1 ◦ e = y1
So, y2 = (y1 ◦ x) ◦ y2 = y1 ◦ (x ◦ y2 ) = y1 and we are done.
Hence in general, for every element x if an inverse y exists, then its the only inverse of x. In this case, we denote
y as x−1 .
Examples 14. 1. Suppose our operation is an integer addition
+ : Z × Z → Z, (m, n) 7→ m + n
Then the only neutral element is 0. If n ∈ Z, then its inverse is −n. Indeed, n + (−n) = 0 and (−n) + n = 0.
Hence, every element has inverse.
2. Suppose our operation is an integer multiplication
· : Z × Z → Z, (m, n) 7→ m · n
The only neutral element is 1. If n = 1, then its inverse is 1. If n = −1, then its inverse is −1. If n 6= ±1,
then there is no inverse in Z. Indeed, if n = 2, then there is no integer m such that nm = 2m = 1. Hence,
only two elements have inverse.
2.2.4 Commutativity
Definition 15. A binary operation ◦ : X ×X → X is called commutative if, for every x, y ∈ X, we have x◦y = y ◦x.
So, commutativity means that the order of operands does not matter.
Examples 16. 1. Integral addition is commutative. Our operation is
+ : Z × Z → Z, (m, n) 7→ m + n
− : Z × Z → Z, (m, n) 7→ m − n
Then the equality m − n = n − m does not hold for any integer m, n. Indeed, if m = 0 and n = 1, then the
left-hand side is −1 and the right-hand side is 1.
3 Groups
3.1 Definition
Now we are ready to give the most important definition in Algebra, that is the definition of a Group. Before we
proceed, I want to clarify the general structure of definitions in Algebra. Every definition of an abstract object
consists of two parts: 1) in the first part we list all the data required for the definition, 2) in the second part we
list all the axioms the data must satisfy.
Definition 17. Definition of a group.
• Data:
1. A set G.
2. An operation ◦ : G × G → G.
• Axioms:
1. The operation ◦ is associative.
2. The operation ◦ has a neutral element.
3. Every element x ∈ G has an inverse.
7
In this case, we say that the pair (G, ◦) is a group. In order to simplify the notation, we usually say simply that G
is a group assuming that the operation in use is clear. If in addition we have
4. The operation ◦ is commutative.
Then the group G is called abelian or simply commutative.
In short, a group is a set with a good operation. Here, good means that we do not care about parentheses,
we have neutral element and every element is invertible but the order of the elements still matters. Abelian group
means that additionally the order of the elements does not matter.
Examples 18. 1. Integers with addition (Z, +) is an abelian group. Indeed, the operation + is associative, has
an identity element 0, every element n has inverse −n and the order in addition does not matter, that is
n + m = m + n. We usually call this group simply Z assuming the addition as our operation by default.
2. Integers with multiplication (Z, ·) is not a group. Indeed, the operation · is associative, has an identity element
1, but there are a lot of non-invertible elements (the only invertible elements are ±1).
3. Non-zero real numbers with multiplication (R∗ , ·) is an abelian group. Indeed, the operation · is associative,
has an identity element 1, every element x as inverse 1/x, and the order in multiplication does not matter,
that is xy = yx.
4. Let n be any positive integer, then the set Zn = {0, 1, . . . , n − 1} with operation a + b (mod n) is an abelian
group. The operation on Zn we will simply be denote by +.
5. Let n be any positive integer and Z∗n = {m ∈ Zn | (m, n) = 1} (that is the set of all integers in Zn coprime
with n) with operation a · b (mod n) is an abelian group. The operation on Z∗n will simply be denoted by ·.
Usually the multiplicative notation is used in case of an arbitrary non-abelian group and the additive notation is
used in case of an abelian group. I will mostly stick to the multiplicative notation and use the additive only in case
of abelian groups.
I want to emphasize that these are just two different notations for the operation ◦. That is xy = x ◦ y or
x + y = x ◦ y. You just denote ◦ by · or + depending on your preferences. Do not confuse these notations with the
usual multiplication and addition. In case of an arbitrary group G, there is no confusion because there is no addition
and multiplication on an arbitrary set G. However, If we deal with integer numbers (real, rational, complex, etc.),
the operations + and · denote usual addition and multiplication.
3.3 Subgroups
Definition 19. Let G be a group.2 We define a subgroup H of G.
• Data:
1. A subset H ⊆ G.
• Axioms:
2 Strictly speaking (G, ·) but I am going to use the short notation all the time.
8
1. The neutral element 1 of G belongs to H.
2. xy ∈ H whenever x, y ∈ H.
3. x−1 ∈ H whenever x ∈ H.
In this case, we say that H is a subgroup of G.
It should be noted that if H is a subgroup of G, then · is a well-defined operation on H and (H, ·) becomes a
group.
Examples 20. Let G = Z with addition.
1. If H ⊆ Z is the set of even numbers, that is H = 2Z, then H is a subgroup.
2. If H ⊆ Z is the set of odd numbers, that is H = 1 + 2Z, then H is not a subgroup. For example, the neutral
element 0 is not in H. Also, H is not closed under addition.
9
4. n < 0 and m < 0.
In the first case, we have
g n g m = g · . . . · g · g · . . . · g = g · . . . · g = g n+m
| {z } | {z } | {z }
n m n+m
g −n g m = g −1 · . . . · g −1 · g · . . . · g
| {z } | {z }
n m
g −1 · . . . · g −1 = g −n+m
| {z }
n−m
If n < m, we get
g · . . . · g = g m−n
| {z }
m−n
if n = m we get 1 = g m−n
. Other cases I leave as an exercise.
Definition 22. Let G be a group and g ∈ G be an arbitrary element. Then the set of all integer powers of g, that
is,
hgi = {. . . , g −2 , g −1 , 1, g, g 2 , . . .}
is a subgroup of G. This group is called the cyclic subgroup generated by g. The element g is called a generator of
hgi.
The cyclic subgroup hgi is the smallest possible subgroup containing the element g.
Examples 23. 1. The group (Z, +) is cyclic. There are two different generators 1 and −1.
2. The group (Zn , +) is cyclic.
3. The group of permutations on n elements Sn is not cyclic if n > 2.
4. The group (R, +) is not cyclic.
Claim 24. Let G be a group and g ∈ G be an arbitrary element. Then there are two options:
• If ord g = ∞, then the elements g n and g m are different whenever n, m ∈ Z are different.
• If ord g = n < ∞, then elements 1, g, g 2 , . . . , g n−1 are different. In this case, the powers are repeated in cycles,
that is in the series
. . . , g −2 , g −1 , 1, g, g 2 , . . . , g n−1 , g n , g n+1 , . . . , g 2n−1 , g 2n , . . .
| {z } | {z } | {z } | {z }
g kn , g 1+kn , . . . , g n−1+nk are the same elements as 1, g, . . . , g n−1 for any k ∈ Z. In particular,
10
From the previous Claim it follows that ord g equals the number of elements in hgi. Note that g = 1 if and only
if ord g = 1.
If we use additive notation, that is the operation on the group G is denoted by +, then, the order of g ∈ G is
the small positive integer n such that ng = 0. The cyclic subgroup generated by g is
Definition 26. Let G be a group. If there is an element g ∈ G such that hgi = G, then the group G is called
cyclic.
Now, I want to describe all subgroups of the integers with addition.
Claim 27. Every subgroup H of Z, that is (Z, +), is of the form kZ for some natural k.
Proof. Let us check that kZ is indeed a subgroup for any k. We need to check three properties of the subgroup.
First, kZ is closed under addition. But this is clear by definition. Second, the neutral element, which is zero,
belongs to kZ. This is also clear since 0 = k · 0. Third, for each m = kh ∈ kZ, its inverse −m = k(−h) is also in Z,
and we are done with this part.
Now, let us check that every subgroup H is of the form kZ. If H contains only the neutral element 0, then
H = 0Z and we are done. Suppose H contains non-zero elements. Take an arbitrary non-zero n ∈ H. If n < 0,
then −n must belong to H by definition of a subgroup. And hence, we may assume that H contains some positive
numbers. Let k be the smallest positive number in H. Let us show that H = kZ.
First, H ⊇ kZ. Indeed, if k ∈ H, then by definition of a subgroup every “power” of k is in H. For additive
notation this means
Hence, kZ ⊆ H.
Now, let us show that H ⊆ kZ. If n ∈ H is an arbitrary element, let us divide n by k: n = qk + r, where q ∈ Z
and 0 6 r < k. We already know that qk ∈ kZ ⊆ H, that is qk ∈ H. Hence, r = n − qk ∈ H. But r is a natural
number in H smaller than k. Since k is the smallest positive in H, the only option is r = 0. Thus, n = qk ∈ kZ
and we are done.
Claim 28. Every subgroup H of Zn , that is (Zn , +), is of the form kZn = {kh ∈ Zn | h ∈ Zn } for some positive
k | n.
Proof. First, let us check that all numbers divisible by k such that k | n form a subgroup in Zn . First, we need to
check that kZn is closed under addition modulo n. Suppose m1 = kh1 and m2 = kh2 are elements of kZn . Then
their sum modulo n is a remainder r such that m1 + m2 = r (mod n). In this case,
r = m1 + m2 + qn = kh1 + kh2 + qn
Since k divides n the whole expression above is divisible by k. Hence r is divisible by k. The latter means that kZn
is closed under addition modulo n. Second, we need to check that kZn contains the neutral element. This is clear,
since 0 = k · 0 ∈ kZn . Third, if m ∈ kZn is a nonzero element, then its inverse is n − m. Since n is divisible by k,
n − m is divisible by k. Hence, it belongs to kZn . In case m = 0 its inverse is 0 and is already in kZn . Hence, for
each k mod n, kZn is a subgroup of Zn .
Now, let us show, that every subgroup H in Zn coincides with a subgroup of the form kZn for k | n. The
subgroup H must contain the neutral element 0. If this is the only element of H, then H = {0} = nZn and we are
done. So, we may suppose there is a non-zero, and hence positive, element in H. Let k be the smallest positive
element of H. By definition the cyclic subgroup of k, that is kZn , belongs to H. Thus, we need to show, that
H ⊆ kZn and k divides n.
First, let me show that k divides n. Let us divide n with remainder by k, we will get n = qk +r, where 0 6 r < k.
Now, r = n − qk, hence r = −qk (mod n). Since k ∈ H, the latter means that r is also in H. But this contradicts
the choice of k (it was the smallest nonzero integer in H). Hence, r must be zero, thus k divides n. Second, let me
show that every element of H is in kZn . Suppose h ∈ H is an arbitrary element. Let us divide h with remainder by
k, we will get h = qk + r. Hence, r = h − qk. Since h ∈ H and k ∈ H, the whole expression h − qk is in H. Hence,
r ∈ H. Since k was the smallest positive integer of H, we must have r = 0. The latter means that h is divisible by
k, that is, h belongs to kZn , and we are done.
11
3.5 Cosets
Algebra usually tends to study groups using subgroups rather than elements. The main tool here is cosets.
Definition 29. Let G be a group, H ⊆ G a subgroup and g ∈ G an arbitrary element. Then the set
gH = {gh | h ∈ H}
is called the left coset of H with respect to g. In a similar way, we define right cosets. The set
Hg = {hg | h ∈ H}
is called the right coset of H with respect to g.
Remarks 30. 1. It should be noted that if G is commutative, then there is no difference between left and right
cosets for any subgroup H ⊆ G.
2. The group H itself is a left coset as well as a right coset. Indeed, H = 1 · H = H · 1.
3. In general, the left cost gH need not be the same as the right coset Hg as an example below shows.
Examples 31. Here are some examples of cosets.
1. Let G = (Z, +) and H = 2Z the subgroup of even numbers. Then 2Z and 1 + 2Z are the only cosets of H.
2. Let G = S3 and H = h(1, 2)i the cyclic subgroup generated by the cycle (1, 2). We may list all the elements
of G and H
G = {1, (1, 2), (1, 3), (2, 3), (1, 2, 3), (3, 2, 1)}, H = {1, (1, 2)}
Then there are three different left cosets of H
H = {1, (1, 2)}, (1, 3)H = {(1, 3), (1, 2, 3)}, (2, 3)H = {(2, 3), (3, 2, 1)}
And there are three different right cosets of H
H = {1, (1, 2)}, H(1, 3) = {(1, 3), (3, 2, 1)}, H(2, 3) = {(2, 3), (1, 2, 3)}
This example shows that (1, 3)H 6= H(1, 3). Also, it should be noted that
(1, 2)H = H, (1, 3)H = (1, 2, 3)H, (2, 3)H = (3, 2, 1)H
So, cosets with respect to different elements may be the same.
3. Let G = Sn be the group of permutations on n elements and H = An be the subgroup of even permutations.
Then, for any even permutation σ ∈ An , the set σAn consists of all even permutations. Similarly, for any odd
permutation σ ∈ Sn ⊆ An , the set σAn consists of all odd permutations. Hence, there are only two left cosets
of An
An and (1, 2)An
In a similar way, we can show that there are only two right cosets of An
An and An (1, 2)
Moreover, we have shown that σAn = An σ for any σ ∈ Sn .
Definition 32. Let G be a group and H its subgroup. The subgroup H is normal if its left and right cosets are
the same, that is, gH = Hg whenever g ∈ G.
Claim 33. Let G be a group and H its subgroup. Then, the following are equivalent
1. gH = Hg for each g ∈ G.
2. gHg −1 = H for each g ∈ G.
3. gHg −1 ⊆ H for each g ∈ G.
Proof. (1)⇔(2). Suppose gH = Hg. Multiply this on the right by g −1 and get gHg −1 = H. And if we are given
gHg −1 = H, multiply this on the right by g and get gH = Hg.
(2)⇔(3). We should show that gHg −1 ⊆ H for each g ∈ G implies gHg −1 = H for each g ∈ G. The other
implication is clear. If gHg −1 ⊆ H for each g ∈ G, then it holds for g −1 instead of g. Thus, g −1 Hg ⊆ H for each
g ∈ G. Multiply this on the left by g and get Hg ⊆ gH. Then, multiply the latter on the right by g −1 and get
H ⊆ gHg −1 . Since g ∈ G was arbitrary we are done.
12
3.6 The Lagrange Theorem
Properties of cosets Now, I want to prove several properties of the cosets. The important observation here is
that all left cosets form a partition of the group G into non-overlapping subsets. The same is true for the right
cosets. This observation provides us with some combinatorial tools.
Claim 34. Let G be a group, H ⊆ G a subgroup and g1 , g2 ∈ G be arbitrary elements. Then there are two options:
1. The cosets do not intersect each other: g1 H ∩ g2 H = ∅.
Remark 35. It should be noted that g1 H = g2 H if and only if g1 H ∩ g2 H 6= ∅. Moreover, this occurs if and only if
there is an element h ∈ H such that g1 = g2 h. The latter is equivalent to the condition g2−1 g1 ∈ H. This provides
us with a convenient way of checking if two cosets are the same.
Claim 36. Let G be a group, H ⊆ G be a finite subgroup and g ∈ G an arbitrary element. Then |gH| = |H| = |Hg|.
Proof. I will prove the claim for left cosets. Let us consider the map
φ : H → gH x 7→ gx
It takes elements of H to elements of gH. From the other hand, there is the inverse map
ψ : gH → H x 7→ g −1 x
Here k is the number of the distinct left cosets and we are done.
Definition 38. Let G be a finite group and H ⊆ G be a subgroup. Then the number of the left cosets of H is
called index of H and is denoted by (G : H). This number is also coincide with the number of the right cosets of
H.
Using this notation, we can rewrite Claim 37 in the following way.
Claim 39 (The Lagrange Theorem). Let G be a finite group and H ⊆ G be a subgroup. Then, |G| = (G : H)|H|
13
Corollaries of The Lagrange Theorem
1. Let G be a finite group and H ⊆ G be a subgroup. Then |H| divides |G|.
2. Let G be a finite group and g ∈ G be an arbitrary element. Then ord(g) divides |G|. Indeed, ord(g) = |hgi|.
But |hgi| divides |G| by the previous item.
3. Let G be a finite group and g ∈ G be an arbitrary element. Then g |G| = 1. Indeed, we already know that
|G| = ord(g)k. Hence,
k
g |G| = g ord(g)k = g ord(g) = 1k = 1
4. Let G be a group of prime order p. Then, G is cyclic. Indeed, since the order of G is prime, it is greater than
1. Hence, there is an element g ∈ G such that g 6= 1. Hence hgi has order greater than 1. But |hgi| divides
|G| = p. Since p is prime, the only option is |hgi| = p = |G|. The latter means that hgi = G and we are done.
5. The Fermat Little Theorem. Let p ∈ Z be a prime number and a ∈ Z. If p does not divide∗ a, then p divides
ap−1 − 1. Indeed, let us consider the group (Z∗p , ·). For any element b ∈ Z∗p , we have b|Zp | = 1 (mod p) by
item (3). But Z∗p has p − 1 elements. Now, let a ∈ Z be comprime with p. We denote its remainder modulo p
by b. Then ap−1 = bp−1 = 1 (mod p) and we are done.
14