2IA Course Notes
2IA Course Notes
1 Integers 1
1.1 Induction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.2 Divisibility and Prime Factorization . . . . . . . . . . . . . . . . 5
1.2.1 Division Algorithm . . . . . . . . . . . . . . . . . . . . . . 6
1.2.2 Greatest common divisor. Primes and coprime integers 7
1.2.3 Euclidean Algorithm . . . . . . . . . . . . . . . . . . . . . 11
1.2.4 Prime Factorization . . . . . . . . . . . . . . . . . . . . . . 13
1.3 Integers modulo n . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
1.3.1 Modular arithmetic . . . . . . . . . . . . . . . . . . . . . . 20
1.3.2 Solving linear equations and systems in Zn . . . . . . . . 22
2 Permutations 31
2.1 What is a permutation? . . . . . . . . . . . . . . . . . . . . . . . . 31
2.1.1 Product of permutations . . . . . . . . . . . . . . . . . . . 33
2.1.2 Inverse permutations . . . . . . . . . . . . . . . . . . . . . 37
2.1.3 Disjoint permutations . . . . . . . . . . . . . . . . . . . . . 38
2.2 Cycles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
2.3 The Alternating Group . . . . . . . . . . . . . . . . . . . . . . . . 47
3 Groups 53
3.1 What is a group? . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
3.1.1 Cayley tables . . . . . . . . . . . . . . . . . . . . . . . . . . 55
3.1.2 Inverses. Exponent Laws. Cancellation Laws . . . . . . . 58
3.1.3 A taste of isomorphic groups . . . . . . . . . . . . . . . . 64
3.2 Subgroups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
3.3 Cyclic groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
i
ii CONTENTS
4 Lagrange’s Theorem 91
4.1 Cosets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
4.2 Cosets properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
4.3 Lagrange’s Theorem . . . . . . . . . . . . . . . . . . . . . . . . . . 95
5 Factor groups 97
5.1 Normal subgroups . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
5.2 Factor groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
5.3 The First Isomorphism Theorem . . . . . . . . . . . . . . . . . . 104
Integers
1.1 Induction
What do we mean by induction? Let us consider the following sequence
of integers:
1 = 1, (S)
1 + 3 = 4,
1 + 3 + 5 = 9,
1 + 3 + 5 + 7 = 16,
⋮
Does (S) follow any pattern? Look at carefully its left and right sides:
Keeping in mind that the n-th odd integer is 2n − 1, we might wonder whether
?
1 + 3 + 5 + . . . + (2n − 1) = n2 (pn )
1
2 J. Sánchez-Ortega
Definition 1.1. The proof of a result that applies the Principle Mathematical
Induction is called a proof by induction. The assumption that pk is true is
called the induction hypothesis.
proving the validity of pk+1 and the induction principle applies to get that pn
is true for all n ≥ 1.
tn = pm+n−1 , n ≥ 1.
1. Integers 3
(1) pm is true.
(2) If k ≥ m and all of pm , pm+1 , . . . , pk are true, then pk+1 is also true.
Note that tm is true by (1). Assume that tk is true for some k ≥ m, and let us
show that tk+1 is so. Note that the validity of tk means that pm , pm+1 , . . . , pk
are true. Then (2) implies that pk+1 is true, so tk+1 is true, as desired. An
application of the General Principle of Mathematical Induction concludes the
proof.
pn ∶ n is a product of primes.
(i) Well-Ordering
(ii) Induction
(2) There exists m ∈ X such that m < k + 1. In this case, then pm is true,
and since m ∈ X, this implies that X has a least element. In any case,
we have proved that if k + 1 ∈ X, then X has a least element, that is,
pk+1 is true.
• If n ≥ 0, then n ∈ X since n = n − 0 ⋅ d ≥ 0.
r − d = n − qd − d = n − (q + 1)d.
0 = (q − q ′ )d + r − r′ ,
Definition 1.6. For n and d ≥ 1, we call the integers q and r in the Division
Algorithm the quotient and remainder, respectively.
−17 = (−4) ⋅ 5 + 3,
1. Find n/d.
3. Take r = n − qd.
Example 1.8. Find the quotient and remainder if n = 4187 and d = 129.
Solution: We have that n/d = 32.457 approximately. So q = 32 and
r = n − dq = 4187 − 129 ⋅ 32 = 59. Thus, 4187 = 32 ⋅ 129 + 59.
Example 1.9. Observe that 2∣108, or 108 is divisible by 2 since 108 = 2 ⋅ 54.
But 5 ∣/ 108 since there is no integer q for which 108 = 5q.
n = q ′ m = q ′ (qd) = (q ′ q)d,
n = qd = qq ′ n ⇒ n(1 − qq ′ ) = 0 ⇒ qq ′ = 1 ⇒ q = q ′ = 1 or q = q ′ = −1.
For example, gcd(36, 84) = 12 and gcd(−9, 15) = 3. Note that 9 and 16 are
coprime since gcd(9, 16) = 1.
The following results will be useful when proving identities involving the gcd.
Bézout’s Lemma. Let m and n be two integers, not both zero. Then
d = gcd(m, n) exists and d = xm + yn for some integers x and y.
Corollary 1.15. Two integers m and n are relatively prime if and only if
there exist integers x and y such that xm + yn = 1. In particular, any two
consecutive integers k and k + 1 are relatively prime.
Proof. If m and n are relatively prime, then the result follows by Bézout’s
Lemma. Suppose now that there exist integers x and y such that xm + yn = 1,
and let d = gcd(m, n). Then an application of Theorem 1.10 (4) tells us that
d∣(xm + yn). But xm + yn = 1, so d∣1 and since d ≥ 1 (by the definition of the
gcd) we have that d = 1, proving that m and n are relatively prime.
Corollary 1.16. If d = gcd(m, n), then m/d and n/d are relatively prime.
Theorem 1.17. Let m and n be relatively prime integers. Then for any
integer k
(1) If p∣mn where m and n are integers, then either p∣m or p∣n.
Proof. (1) Let d = gcd(m, p). Then d∣p, which implies that either d = 1 or
d = p (because p is a prime). If d = p, then p∣m; otherwise if d = 1, then m and
p are coprime, and Theorem 1.17 (2) applies to get that p∣n.
(2) follows by induction on r; in fact, the base case r = 2 is (1). Suppose that
(2) is true for r − 1, and let p∣m1 m2 . . . mr−1 mr (for r > 2). Then from (1) (or
the base case of the induction) we obtain that either p∣m1 m2 . . . mr−1 or p∣mr .
If p∣mr , then we are done; otherwise if p∣m1 m2 . . . mr−1 , then applying the
inductive hypothesis we obtain that p∣mi for some i ∈ {1, . . . , r − 1}, concluding
the proof.
Euclid provided in his book Elements (written 300 BC) an algorithm (known
nowadays as the Euclidean algorithm) to compute the gcd of two positive
integers m and n. The key is the following result:
Proof. Write d = gcd(m, n) and k = gcd(n, r). Then k∣(qn + r), i. e., k∣m.
Thus k is a common divisor of m and n, so k∣d since d = gcd(m, n). A similar
argument (using the linear combination r = −qn + m) shows that d∣k, so d = ±k
by Theorem 1.10 (3). Thus d = k because both d and k are positive.
Example 1.19. For m = 140 and n = 21, we have that 140 = 6⋅21+14, that is,
q = 6 and r = 4. Proposition 1.18 tells us that gcd(140, 21) = gcd(21, 14) = 7.
12 J. Sánchez-Ortega
m = q1 n + r1 divisor: n, remainder: r1
n = q2 r1 + r2 divisor: r1 , remainder: r2
r1 = q3 r2 + r3
⋮ ⋮ ⋮
At each stage we divide the divisor at the previous stage by the remainder, so
the remainders form a decreasing sequence of nonnegative integers:
268 = 2 ⋅ 112 + 44
112 = 2 ⋅ 44 + 24
44 = 1 ⋅ 24 + 20
24 = 1 ⋅ 20 + 4
20 = 5 ⋅ 4 + 0.
Next we look at the last remainder before the zero remainder. Since it is 4,
1. Integers 13
gcd(268, 112) = 4.
Starting at the bottom, we can write the gcd as a linear combination of two
larger and larger numbers:
m = p 1 p2 . . . p r = q1 q 2 . . . q s ,
14 J. Sánchez-Ortega
m
= p2 . . . p r = q2 . . . q s ,
p1
For any integer n ≥ 2, the Prime Factorization Theorem asserts that n can
be written uniquely in the form:
where the pi are the distinct prime divisors of n, and ni ≥ 1 for each i. For
example, 60 = 22 ⋅ 3 ⋅ 5. If n has only one prime divisor, we call it a prime
power. For instance, 9 = 32 , 8 = 23 . We say that n is square free if all its
exponents are equal to 1, that is ni = 1 for all i. Hence, any prime is square
free, as are 6 = 2 ⋅ 3 and 70 = 2 ⋅ 5 ⋅ 7.
Example 1.21. 504 = 23 ⋅ 32 ⋅ 7, and this is the only way to factor 504 into
primes.
1 = 20 ⋅ 30 , 3 = 20 ⋅ 31
2 = 21 ⋅ 30 , 6 = 21 ⋅ 31
4 = 22 ⋅ 30 , 12 = 22 ⋅ 31
where the pi are all distinct primes and ni ≥ 1 for each i. Then the positive
divisors of n are precisely the integers d of the following form:
We can use the Prime Factorization Theorem to compute the gcd and
the lcm. Let us see an example:
Example 1.24. Find d = gcd(12, 20, 18) and m = lcm(12, 20, 18).
Solution: We first compute the prime factorization of 12, 20 and 18:
12 = 22 ⋅ 31 ⋅ 50
20 = 22 ⋅ 30 ⋅ 51
18 = 21 ⋅ 32 ⋅ 50
Theorem 1.25. Let {a, b, c, . . .} be a finite set of positive integers, and let
the factorization into primes
a ≡ b (mod 0) ⇔ 0∣(a − b) ⇔ a = b
Example 1.30. Let a and b be two positive integers, then a ≡ b (mod 10)
if and only if they have the same last digit, since 10∣(b − a). In general,
a ≡ b (mod 10n ) if and only if they have same last n digits. For instance,
533 ≡ 1433 (mod 100).
Remark 1.31. Since congruences will play an important role in your algebra
journey, at this point it is worth stopping for a moment and think what we
are indeed doing. So, I want you to imagine a wall clock that has struck three,
like in this figure:
11 12 1
10 2
9 3
8 4
7 6 5
What will the time be in four hours? and in seven hours? Obviously, the
answers will be 3 + 4 = 7 and 3 + 7 = 10, respectively. But be careful here, you
all know that once we reach to 12, we will be back at 1. In other words, on a
clock when the numbers get to 12, they start again at 0. So, in ten hours, the
time will be 1 (which is not 3 + 10 = 13); the same will happen after 22 hours
(it will be 1 instead of 25). Note that 13 ≡ 1 (mod 12) and 25 ≡ 1 (mod 12).
What you have been doing is computing the remainder when divided by 12:
13 = 1 ⋅ 12 + 1, 25 = 2 ⋅ 12 + 1.
18 J. Sánchez-Ortega
Definition 1.33. The equivalence class [a]n or [a] of an integer a with respect
to congruence modulo n is called its residue class modulo n.
Notice that we have proved that x ∈ [a]n if and only if the remainder when
dividing x by n is a . In other words, [a]n consists on the integers whose
remainder is a when divided by n.
Two residue classes [a]n and [b]n are equal if and only if a ≡ b (mod n) .
In fact, if a ≡ b (mod n) and x ∈ [a]n , then x ≡ a (mod n). Using that
congruence modulo n is an equivalence relation we obtain that x ≡ b (mod n),
which means that x ∈ [b]n . This proves that [a]n ⊆ [b]n ; the other containment
can be shown in a similar way. The converse trivially holds.
The set consisting of all the residue classes modulo n is denoted by Zn ,
and is called the set of integers modulo n.
1. Integers 19
(2) The residue classes [0]n , [1]n , . . . , [n − 1]n are all distinct.
Example 1.36. Z2 has two elements, which are the residue classes of the
remainders obtained when divided by 2. There only two possible remainders,
namely, 0 and 1. So, Z2 = {[0]2 , [1]2 }, where
48 = 6 ⋅ 7 + 6 ⇒ 48 ≡ 6 (mod 7),
−16 = (−3)7 + 5 ⇒ −16 ≡ 5 (mod 7),
Pay special attention to Theorem 1.34 (1). Its proof is what we call in
Mathematics constructive, since it provides a method to find elements in Zn ,
as we have seen in Example 1.37; which, by the way, it is important.
20 J. Sánchez-Ortega
For instance, [3]6 + [5]6 = [3 + 5]6 = [8]6 = [2]6 , since 8 ≡ 2 (mod 6). Before
studying the properties of these two new operations, we need to check that
they do not depend on the generator of the residue classes. For example,
[9]6 = [3]6 , so [9]6 + [5]6 should produce the same result that [3]6 + [5]6 , that
is, [2]6 . Let us check this out:
(1) a1 + b1 ≡ a2 + b2 (mod n) ,
(2) a1 b1 ≡ a2 b2 (mod n) ,
Proof. (1) From a1 ≡ a2 (mod n) and b1 ≡ b2 (mod n), we get that n∣(a1 −a2 )
and n∣(b1 − b2 ). An application of Theorem 1.10 (4), we obtain that
Notation 1.39. From now on, to simplify our calculations, we will denote
the residue class [a]n simply by ā .
Example 1.40. Below you could find the addition and multiplication tables
of Z6 . We will talk more about these tables (usually called Cayley tables)
when we introduce groups in Chapter 3.
+ 0̄ 1̄ 2̄ 3̄ 4̄ 5̄ × 0̄ 1̄ 2̄ 3̄ 4̄ 5̄
0̄ 0̄ 1̄ 2̄ 3̄ 4̄ 5̄ 0̄ 0̄ 0̄ 0̄ 0̄ 0̄ 0̄
1̄ 1̄ 2̄ 3̄ 4̄ 5̄ 0̄ 1̄ 0̄ 1̄ 2̄ 3̄ 4̄ 5̄
2̄ 2̄ 3̄ 4̄ 5̄ 0̄ 1̄ 2̄ 0̄ 2̄ 4̄ 0̄ 2̄ 4̄
3̄ 3̄ 4̄ 5̄ 0̄ 1̄ 2̄ 3̄ 0̄ 3̄ 0̄ 3̄ 0̄ 3̄
4̄ 4̄ 5̄ 0̄ 1̄ 2̄ 3̄ 4̄ 0̄ 4̄ 2̄ 0̄ 4̄ 2̄
5̄ 5̄ 0̄ 1̄ 2̄ 3̄ 4̄ 5̄ 0̄ 5̄ 4̄ 3̄ 2̄ 1̄
So, n = 3 satisfies that 4̄3 = 1̄ in Z7 . Here is the trick now: we apply the
Division Algorithm with 119 and 3 to obtain that 119 = 3 ⋅ 39 + 2. Lastly, using
how modular operations work we have that
Some properties of the modular operations (that is, the addition and
multiplication in Zn ) are collected in the following result. Please give its proof
a try, and let me know whether you encounter any problems.
22 J. Sánchez-Ortega
Remark 1.43. In the previous result, we have highlighted some of the prop-
erties of the modular operations, which should be familiar to you, since the
addition and multiplication in Z also have them. One could say that this
was pretty normal. But, not everything will be “that normal” unfortunately.
There are several differences between the arithmetic of Zn and that of Z.
For example:
āx = c̄ in Zn ⇔ ax ≡ c (mod n)
1. Integers 23
x̄ = r̄ in Zn x ≡ r (mod n)
} ⇔ { }
x̄ = s̄ in Zm x ≡ s (mod m)
We start by introducing a notion that will be very useful for our purposes.
b ⋅ 16 + c ⋅ 35 = b̄ ⋅ 16 + c̄ ⋅ 35 = b̄ ⋅ 16 = 1̄,
that is, the inverse of 16 in Z35 is the residue class of b in Z35 . In order to find
b, we apply the Euclidean Algorithm:
35 = 2 ⋅ 16 + 3, 16 = 5 ⋅ 3 + 1,
24 J. Sánchez-Ortega
11 ⋅ 16 = 11 ⋅ 16 = 176 = 1̄
in Z35 , since 176 ≡ 1 (mod 35) because 176 − 1 = 175 and 35∣175.
Theorem 1.45 tells us that the elements in Z9 with inverses are the residue
classes r̄ such that r is coprime to 9 = 32 , that is, 3 does not divide r. Thus:
are the only elements in Z9 having inverses. As an exercise, check that 1̄ and
8̄ are both self-inverse (1̄ ⋅ 1̄ = 1̄ and 8̄ ⋅ 8̄ = 1̄), 2̄ and 5̄ are inverses of each other
(2̄ ⋅ 5̄ = 1̄) as are 4̄ and 7̄ (4̄ ⋅ 7̄ = 1̄).
(3) n is a prime.
Proof. (1) ⇒ (2). Assume that āb̄ = 0̄ in Zn . If ā = 0̄, then we are done. So,
assume that ā ≠ 0 in Zn . Then by (1) ā has an inverse, say c̄. Thus:
(2) ⇒ (3). Suppose on the contrary that n is not prime. Then n = ab for
some 2 ≤ a, b < n. But then
āb̄ = ab = n̄ = 0̄,
Proof. The first part follows from Theorem 1.45. Rewrite āx = c̄ as a
congruence equation ax ≡ c (mod n), and suppose that x1 and x2 are two
solutions:
ax1 ≡ c (mod n), ax2 ≡ c (mod n).
By the symmetry and transitivity properties of congruences we get that
ax1 ≡ ax2 (mod n), which says that n∣a(x1 − x2 ), and so n∣(x1 − x2 ), since
gcd(a, n) = 1. Thus x1 ≡ x2 (mod n), as desired.
5̄x + 8̄y = 2̄
3̄x + 2̄y = 1̄
Next, subtract the resulting equation from the first equation to obtain that
It remains to compute the inverse of 4̄ in Z11 . Note that such an inverse exists
since 4 and 11 are relatively prime. We follow the process explained in the
proof of Theorem 1.45, and apply the Euclidean Algorithm.
11 = 2 ⋅ 4 + 3, 4 = 1 ⋅ 3 + 1 ⇒ 1 = 4 − 1 ⋅ 3 = 4 − 1 ⋅ (11 − 2 ⋅ 4) = 3 ⋅ 4 + (−1) ⋅ 11
x = 3̄ ⋅ 9̄ = 27 = 5̄ in Z11 .
y = 6̄ ⋅ 8̄ = 48 = 4̄.
Lemma 1.53. Let a, b, c be integers such that a, b are relatively prime, and
a∣c, b∣c. Then ab∣c.
1. Integers 27
x ≡ s (mod m)
x ≡ t (mod n)
which imply that both m and n divide x − y. Applying Lemma 1.53 with
a = m, b = n and c = x − y, we obtain that mn∣(x − y), and so x ≡ y (mod mn),
finishing the proof.
28 J. Sánchez-Ortega
x ≡ 7 (mod 8)
x ≡ 11 (mod 15)
Solution: Let us first notice that gcd(8, 15) = 1. So, we can proceed
like in the proof of the Classical Chinese Remainder Theorem. We look at
the solutions of the congruence x ≡ 7 (mod 8). Each of its solutions has the
form x = 7 + 8k, for some integer k. Substituting this into the equation x ≡ 11
(mod 15) we get:
We need to find the inverse of 8̄ in Z15 . To do so, we need to find the coefficient
of 8 in Bézout’s Lemma. From 2 ⋅ 8 + (−1) ⋅ 15 = 1, we get that
which says that the inverse of 8̄ in Z15 is 2̄. From here, we obtain that
x ≡ 2 (mod 5)
3x ≡ 5 (mod 13)
Solution: This example might appear a bit different at first because the
presence of coefficient different from 1 in the second equation, although we
will solve it in the same way. Since gcd(5, 13) = 1, the Chinese Remainder
Theorem tells us that there is a common solution. We look at the solutions of
the congruence equation x ≡ 2 (mod 5), which have the form x = 5k + 2, for
some integer k. Substituting x = 5k + 2 into 3x ≡ 5 (mod 13), we obtain the
following congruence equation:
We need to find the inverse of 2̄ in Z13 , which exists because gcd(2, 13) = 1.
Since 1 = 7 ⋅ 2 + (−1) ⋅ 13, we have that the inverse of 2̄ in Z13 is 7̄. Multiplying
the congruence equation 2k ≡ −1 ≡ 12 (mod 13) by 7 we obtain
14≡1 (mod 13) −7≡6 (mod 13)
14k ≡ −7 (mod 13) Ô⇒ k ≡ −7 (mod 13) Ô⇒ k ≡ 6 (mod 13).
Since {ā1̄, ā2̄, . . . , āp − 1} ⊆ Zp /{0̄} and ∣{ā1̄, ā2̄, . . . , āp − 1}∣ = ∣Zp /{0̄}∣, we
have that
{ā1̄, ā2̄, . . . , āp − 1} = Zp /{0̄} = {1̄, 2̄, . . . , p − 1}
k
ap ≡ a (mod p),
Proof. Let p be a prime and a any integer. If a ≡ 0 (mod p), then the result
trivially holds. Suppose then that a ≡/ 0 (mod p). In such a case, we can apply
Fermat’s Theorem to obtain that ap−1 ≡ 1 (mod p).
We proceed by induction on k. For k = 1, we apply Theorem 1.38 (2) with
the congruences ap−1 ≡ 1 (mod p) and a ≡ a (mod p) to obtain that
proving the base case k = 1. Suppose now that ap ≡ a (mod p). Applying
k−1
k−1 k=1
(ap )p ≡ ap ≡ a (mod p),
k−1 ⋅p
Now since (ap ) p = ap = ap , we obtain that ap ≡ a (mod p), as desired.
k−1 k k
Chapter 2
Permutations
This chapter focusses on the study of permutations, which are bijective maps
from a set onto itself. Groups consisting of permutations were in fashion in
mid-19th century, and the mathematicians back then were only studying such
groups.
Permutations of finite sets are used in Geometry, Statistics and in elemen-
tary Algebra, among many other branches in Mathematics. They have many
applications in Science and Technology.
1 2 3 1 3 2 2 1 3 2 3 1 3 1 2 3 2 1
Consider now X3 = {1, 2, 3} and let us think about the bijective maps X3 → X3 :
Notice that we have got the same results but expressed in a different way!
31
32 J. Sánchez-Ortega
• in the bottom row we put the numbers after shuffling, that is,
σ(1), σ(2), . . . , σ(n).
1 2 ... n ⎛ 1 2 ... n ⎞
σ=( )=⎜ ↓ ↓ ↓ ⎟
σ(1) σ(2) . . . σ(n) ⎝σ(1) σ(2) . . . σ(n)⎠
In other words, the elements of Xn are listed in the top row, and beneath
each element of Xn is its image.
1 2 3 4
σ=( ).
3 1 4 2
1 2 3 4 5 6
β=( ).
6 3 1 5 2 4
1 2 ... n
σ=( )
σ(1) σ(2) . . . σ(n)
2. Permutations 33
we have to choose the numbers σ(1), σ(2), . . . , σ(n) from Xn , so that they
are all distinct. Hence we have n choices for σ(1), then n − 1 choices for
σ(2), then n − 2 choices for σ(3), and so on. Thus, in total σ can be built in
n(n − 1) . . . 2 ⋅ 1 = n! different ways, which shows that ∣Sn ∣ = n!
1 2 3 4 5 1 2 3 4 5
σ=( ), γ=( ).
2 4 3 5 1 5 4 1 2 3
3. locate the element a in the top row of γ, and go from top to bottom row
to find γ(a); in this example γ(2) = 4;
5. repeat steps 1, 2, 3 with 2 (then with 3, 4 and 5) in the first row of the
matrix of σ (element in position 12).
1 2 3 4 5
γσ = ( ).
4 2 1 3 5
In the next example, we will learn a more “visual” and intuitive method to
compute the product of two permutations.
34 J. Sánchez-Ortega
1 2 3 1 2 3
Example 2.3. Find α ○ β, for α = ( ) and β = ( ).
1 3 2 3 1 2
Solution: We follow the steps above, we look at 1 in the top row of β,
and the element below 1 is β(1) = 3, then we find 3 in the top row of α, and
the element below 3 in α is α(3) = 2. This gives us (αβ)(1) = 2; do the same
thing with the elements 2 and 3 in the top row of β. At the beginning, it
would be a good idea to proceed as follows:
1. stack one permutation on top the other one, putting the permutation
on the right-most permutation first; in this case, we begin with β;
1 2 3
β=
3 1 2
1 2 3
α=
3 1 2
1 2 3
We have obtained that αβ = ( ).
2 1 3
1 2 3 4 1 2 3 4
σ=( ), τ =( ).
3 4 1 2 2 4 3 1
Solution: To compute στ we stack τ on top of σ and follow the arrows
as follows:
1 2 3 4
τ=
2 4 3 1
1 2 3 4
σ=
3 4 1 2
2. Permutations 35
1 2 3 4
σ=
3 4 1 2
1 2 3 4
τ=
2 4 3 1
This produces:
1 2 3 4
τσ = ( ).
3 1 2 4
Notice that στ ≠ τ σ.
1 2 ... n
ε=( ).
1 2 ... n
Example 2.6. Let us find all the elements of the symmetric group S3 .
By Theorem 2.2 we know that S3 has six elements. Clearly, one of them is the
1 2 3 1 2 3
identity permutation ε = ( ). Another element of S3 is α = ( ),
1 2 3 2 3 1
and so are α2 , α3 , . . .. Let us compute those:
36 J. Sánchez-Ortega
1 2 3 1 2 3
α= α2 =
2 3 1 3 1 2
1 2 3 1 2 3
α= α=
2 3 1 2 3 1
1 2 3
We have obtained only one new element, namely α2 = ( ), since α3 = ε.
3 1 2
1 2 3
Notice that β = ( ) is also in S3 , and so are β 2 , β 3 , . . ..
1 3 2
1 2 3
β=
1 3 2
1 2 3
β=
1 3 2
1 2 3 1 2 3
β= β=
1 3 2 1 3 2
1 2 3 1 2 3
α= α2 =
2 3 1 3 1 2
We have that
1 2 3 1 2 3
αβ = ( ), α2 β = ( ).
2 1 3 3 2 1
2. Permutations 37
ε, α, α2 , β, αβ, α2 β
Since all the elements above are different, and ∣S3 ∣ = 6, from here we can
conclude that
S3 = {ε, α, α2 , β, αβ, α2 β}.
1 2 3 4 5 6 7 8
For instance, the inverse permutation of σ = ( ) ∈ S8
4 1 8 3 2 5 6 7
can be found by looking at the second row of σ and reading up to its top row:
⎛1 2 3 4 5 6 7 8⎞
σ = ⎜↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑⎟
⎝4 1 8 3 2 5 6 7⎠
From here we obtain that
1 2 3 4 5 6 7 8
σ −1 = ( ).
2 5 4 1 6 7 8 3
We check below that σ −1 σ = ε. Similarly, one can check that σσ −1 = ε.
1 2 3 4 5 6 7 8
σ=
4 1 8 3 2 5 6 7
1 2 3 4 5 6 7 8
σ −1 =
2 5 4 1 6 7 8 3
38 J. Sánchez-Ortega
Examples 2.7.
1 2 3 ... n − 1 n
2. ( ) moves every element of Xn .
2 3 4 ... n 1
1 2 3 4 5
3. ( ) moves 1, 3, and 5, and fixes 2 and 4.
3 2 5 4 1
1 2 3 4 1 2 3 4
4. σ = ( ) and τ = ( ) are disjoint permutations, since
3 2 1 4 1 4 3 2
σ moves 1 and 3, while τ moves 2 and 4.
1 2 3 4
στ = ( ) = τσ
3 4 1 2
Proof. Let k ′ = σ(k) and assume on the contrary that σ fixes k ′ . Then
σ(k ′ ) = k ′ = σ(k),
• Case 1: k ∈ Mσ .
• Case 3: k ∉ Mσ and k ∉ Mτ .
For example, σ and σ −1 always commute but they are not, in general,
disjoint. For instance, the permutation σ ∈ S5 and its inverse are not disjoint,
since they both moved 1, 2, and 4.
1 2 3 4 5 1 2 3 4 5
σ=( ), σ −1 = ( )
4 1 3 2 5 2 4 3 1 5
40 J. Sánchez-Ortega
2.2 Cycles
Algebraists (or mathematicians, in general), we like separating (or breaking)
complex things (algebraic structures, in our case) into their simplest compo-
nent parts. This intellectual “divide and conquer” helps us to understand
complicated processes and solve difficult problems.
In this section, we are going to take this approach to permutations: we
will see that every permutation can be decomposed into more simple
ones called cycles. Let us begin with an example: consider the permutation
1 2 3 4 5 6
σ=( ) ∈ S6
4 6 3 2 5 1
'
G1 4 3e 5e
6h 2
In other words, σ fixes 3 and 5, and moves 1, 2, 4, 6 in a cyclic way. Due to
this reason, we call σ a cycle, and write it in a more compact way called the
cycle notation: σ = (1 4 2 6) . Notice that in the cycle notation
σ = (k1 k2 . . . kr ),
k1 g / k2 / ... / kr−1 / kr
2. Permutations 41
Notice that the only cycle of length 1 is the identity permutation, while
a 2-cycle (k1 k2 ) interchanges k1 and k2 , and fixes everything else; 2-cycles
are called transpositions.
For instance, (1 2), (1 3), (2 3) are all the possible transpositions in
S3 . The 3-cycle σ = (1 4 2 6) from our previous example can also be
written as
σ = (6 1 4 2) = (2 6 1 4) = (4 2 6 1)
1. k ∉ {k1 , . . . , kr }
2. k ∈ {k1 , . . . , kr }
• If k = k1 , then
Examples 2.14. Write the following cycles into a cycle notation and indicate
their length. Use Theorem 2.13 to find their inverses.
1 2 3 4 5
1. σ = ( )
4 3 1 5 2
1 2 3 4 5
σ −1 = ( ) = (1 3 2 5 4) = (3 2 5 4 1).
3 5 2 1 4
1 2 3 4 5 6 7
2. τ = ( )
4 7 1 6 5 2 3
1 2 3 4 5
3. µ = ( )
2 3 1 4 5
1 2 3 4 5 6 7 8 9 10
σ=( )
3 1 7 6 10 4 2 5 9 8
2h 7 6 8h 10
In other words, σ is the composition (or product) of the following pairwise
disjoint cycles:
(1 3 7 2), (4 6), (5 10 8)
Notice that σ fixes 9. On the other hand, from Theorem 2.8 we obtain that
the cycles above commute. Hence, we can say that
1. Write “(1”.
σ = (1 6)(2 4)(3 7 8 9)
Thus, the first cycle is (1 5 9 7 4). Next, we continue with the smallest
number of X13 , which has not been considered yet, namely 2.
σ σ σ σ
2 z→ 12 z→ 8 z→ 3 z→ 2,
where σ = (k1 k2 . . . kr ) and τ = (ℓ1 ℓ2 . . . ℓs ). This follows from the fact that
any k ∈ {k1 , k2 , . . . kr } ∩ {ℓ1 , ℓ2 , . . . ℓs } will be moved by both σ and τ .
• Case 1: τ (k) = k.
• Case 2: τ (k) ≠ k.
Part 2: Uniqueness
Suppose that σ = γa . . . γ2 γ1 = δb . . . δ2 δ1 are two factorizations of σ into
disjoint cycles. We need to show that a = b and γi = δi for all i = 1 . . . a (after
possible reordering).
We proceed by induction on t ∶= max(a, b). If t = 1 there is nothing to
prove since σ = γ1 = δ1 . Otherwise, assume that the result is true for t − 1
and let σ moves m. Then m occurs in exactly one γi and exactly one δj . By
reordering the factors (if necessary) we can assume that m occurs in γ1 and
46 J. Sánchez-Ortega
in δ1 , so we can write:
γ1 = (m k2 . . . kr ), δ1 = (m ℓ2 . . . ℓs ),
k2 = σ(m) = ℓ2 ,
k3 = σ(k2 ) = σ(ℓ2 ) = ℓ3 ,
⋮
kr = σ(kr−1 ) = σ(ℓr−1 ) = ℓr .
σµ−1 = γa . . . γ2 = δb . . . δ2 ,
You can proceed either way, there is no right or wrong. If you feel more
comfortable using the matrix notation, please do so. For example, let us
compute αβ, for α = (2 4 5) and β = (1 2 4) in S5 . In matrix notation,
1 2 3 4 5 1 2 3 4 5
we have α = ( ) and β = ( ), and so
1 4 3 5 2 2 4 3 1 5
1 2 3 4 5
β=
2 4 3 1 5
1 2 3 4 5
α=
1 4 3 5 2
2. Permutations 47
1 2 3 4 5
αβ = ( ) = (1 4)(2 5)
4 5 3 1 2
1 2 3 4 5
We obtaine that αβ = ( ) , as expected.
4 5 3 1 2
σ = γr . . . γ2 γ1 = µs . . . µ2 µ1 ,
where each γi and µj is a transposition, then both r and s are even or both
are odd.
Before proving the Parity Theorem, let us see a few examples to learn how
such a factorisation can be found. We will consider two cases:
• σ is a cycle:
In this case, Theorem 2.18 tells us that the parity of the permutation σ
coincides with the parity of its length −1. For instance, any 4-cycle can
be written as a product of 3 transpositions, so any 4-cycle is odd. In
fact, Theorem 2.18 yields that σ = (1 2 4 5) = (1 2)(2 4)(4 5).
• σ is not a cycle:
Lemma 2.22. The identity permutation ε can not be written as the product
of an odd number of transpositions.
• γr−1 = (b a) = (a b)
ε = γ1 . . . γr−2 .
In this case, γr−1 and γr commute, since they are disjoint transpositions.
We obtained that
ε = γ1 . . . γr−2 (a b)(c d).
Notice that in any of the last three cases, we have replaced the product
γr−1 γr by the product of other two transpositions αr−1 and αr such that a
appears in αr−1 but not in αr . If we repeat this process, at some point we will
have to be in the first case and the result will follow by the inductive hypothesis.
Otherwise, we would obtain a product of r transpositions β1 β2 . . . βr such that
β1 β2 . . . βr = ε, and a appears only in β1 . But this is impossible because such
product does not fix a, while the identity permutations does.
2. Permutations 51
ε = µ1 µ2 . . . µm γn . . . γ2 γ1 .
(3) ∣An ∣ = 21 n!
Proof. (1) Notice that ε is obviously even since, for example, ε = (1 2)(1 2).
(2) Suppose that σ and τ are even permutations, which means that σ and τ
are products of an even number of transpositions. Let
σ = γ1 γ2 . . . γr , τ = δ1 δ2 . . . δ s ,
where r and s are even, and the γi and δj are transpositions. Then
στ = γ1 γ2 . . . γr δ1 δ2 . . . δs ,
and (γr γr−1 . . . γ2 γ1 )(γ1 γ2 . . . γr−1 γr ) = ε, which finishes the proof of (2).
52 J. Sánchez-Ortega
f (σ ′ ) = γσ ′ = γ(γτ ) = γ 2 τ = τ.
Groups
In this chapter, we introduce our main object under study: groups. The
concept of a group dates back to the nineteenth century, with the works of
Evariste Galois on the search for roots for equations.
As in happens quite often in Mathematics, the definition of group that
we use today is the result of an evolutionary process: as mentioned, it all
started with Galois’s work (known nowadays as Galois’s Theory) on groups of
permutations 1830. Although, it was Arthur Cayley in 1854 the author who
worded the concept of a group in a more abstract way, this terminology was
not accepted until the 20th century.
53
54 J. Sánchez-Ortega
Examples 3.1.
1. {1}, {1, −1}, {1, −1, i, −i} are all abelian groups of (complex) numbers
under multiplication. Notice that −1 is self-inverse, while i and −i are
inverses of each other.
3. The sets Z, Q, R, C are all abelian groups under addition. In each case
the identity element is 0, and the inverse of a is its opposite −a.
Remark 3.2. In what follows to ease the notation, we write ab to denote the
product a ⋅ b in an arbitrary group G.
3. Groups 55
where gi gi′ refers to the product in the group Gi for each i, is a group called
the direct group of the Gi . In fact, one can easily check that the unity of
G1 × G2 × . . . × Gn is (1, 1, . . . , 1) and the inverse of the element (g1 , g2 , . . . , gn )
is (g1−1 , g2−1 , . . . , gn−1 ).
For instance, let us take n = 2, G1 = R and G2 = Z2 = {0̄, 1̄}. The direct
product R × Z2 = {(a, 0̄), (b, 1̄) ∣ a, b ∈ R} is the additive group with
- operation given by
where a1 , a2 ∈ R and c1 , c2 ∈ {0, 1}. For example, (2, 1̄) + (−1, 1̄) = (−1, 0̄).
⋅ ... b ...
⋮
a a⋅b
⋮
Example 3.4. Let us write the Cayley table of S3 , the symmetric group
of degree 3. Recall that
To ease the notation, let σ = (1 2 3), τ = (1 2). Using what we learnt in the
previous chapter, we compute
σ 2 = (1 3 2), σ3 = ε = τ 2, στ σ = τ,
τ σ = (2 3), τ σ 2 = (1 3).
S3 = {ε, σ, σ 2 , τ, τ σ, τ σ 2 }.
The elements σ and τ are called generators for S3 because any other
element of S3 can be obtained from them; the equations σ 3 = ε = τ 2 and
στ σ = τ are called relations among the generators.
Using this new way of writing S3 , we can easily compute the Cayley table
of S3 . For instance, from στ σ = τ multiplying both sides on the equation
by σ 2 on the right and using that σ 3 = ε we obtain that στ = τ σ 2 ; similarly,
multiplying now by σ 2 on the left we have that σ 2 τ = τ σ . These are two of
the entries of the Cayley table given below; let us compute a few more:
τ σ=σ 2 τ τ 2 =ε
(τ σ)τ = (σ 2 τ )τ = σ 2 τ 2 = σ 2 ,
σ 2 τ =τ σ
σ 2 (τ σ) = (σ 2 τ )σ = (τ σ)σ = τ σ 2 ,
σ 2 τ =τ σ
(τ σ 2 )(τ σ 2 ) = τ (σ 2 τ )σ 2 = τ (τ σ)σ 2 = τ 2 σ 3 = ε.
S3 ε σ σ2 τ τσ τ σ2
ε ε σ σ2 τ τσ τ σ2
σ σ σ2 ε τ σ2 τ τσ
σ2 σ2 ε σ τσ τ σ2 τ
τ τ τσ τ σ2 ε σ σ2
τσ τσ τ σ2 τ σ2 ε σ
τ σ2 τ σ2 τ τσ σ σ2 ε
¯ = (a + c, b + d),
(ā, b̄) + (c̄, d)
for a, b, c, d ∈ {0, 1}, one can easily compute the Cayley table of Z2 × Z2 .
(0̄, 0̄) (0̄, 0̄) (0̄, 1̄) (1̄, 0̄) (1̄, 1̄)
(0̄, 1̄) (0̄, 1̄) (0̄, 0̄) (1̄, 1̄) (1̄, 0̄)
(1̄, 0̄) (1̄, 0̄) (1̄, 1̄) (0̄, 0̄) (0̄, 1̄)
(1̄, 1̄) (1̄, 1̄) (1̄, 0̄) (0̄, 1̄) (0̄, 0̄)
For instance, the group Z2 ×Z2 is abelian, while S3 is not; (0̄, 0̄) (respectively,
ε) is the identity element for Z2 × Z2 (respectively, S3 ); every nonzero element
in Z2 × Z2 is self-inverse; in S3 besides σ and σ 2 which are inverse of each
other, the rest of elements are self-inverses.
58 J. Sánchez-Ortega
g 0 = 1, g n = g ⋅ g n−1
g −n = (g −1 )n = (g n )−1
We can now define the order of g in the group G; to do so, the only
thing one has to do is to compute the powers g, g 2 , g 3 , . . . (or multiples
g, g + g, g + g + g, . . . of g in the additive case) until we reach the identity
element of G. Let us say that g 10 = 1 (respectively, 10g = 0), then the order of
g is 10. A natural question arises: what would happen if we never reach the
identity? Well, in that case, we will say that the order of g is infinite. More
formally:
If o(g) = n and g ℓ = 1, for some ℓ ≥ 1, one can prove that n∣ℓ. Any idea?
Examples 3.7. Notice that in additive groups, the order of g is the smallest
positive integer n such that ng = 0.
2. Consider the additive group Z4 = {0̄, 1̄, 2̄, 3̄}. The order of 2̄ is 2 (and
therefore, 2̄ is self-inverse) since
2̄ + 2̄ = 2 + 2 = 4̄ = 0̄;
3. Groups 59
3̄ + 3̄ = 3 + 3 = 6̄ = 2̄, 3̄ + 3̄ + 3̄ = 2̄ + 3̄ = 2 + 3 = 5̄ = 1̄,
3̄ + 3̄ + 3̄ + 3̄ = 1̄ + 3̄ = 1 + 3 = 4̄ = 0̄.
(1) 1−1 = 1.
(2) (g −1 )−1 = g.
Proof. (1) follows from (G3) , while (2) follows from (G4) (applied to g).
(3) We need to check (gh)(h−1 g −1 ) = (h−1 g −1 )(gh) = 1. Applying (G4) to
? ?
(gh)(h−1 g −1 ) = g(hh−1 )g −1 = gg −1 = 1,
(h−1 g −1 )(gh) = h−1 (g −1 g)h = h−1 h = 1.
The following result, known as the Exponent Laws, is very important and
we will use it all the time! Its proof is quite technical since it involves
several proofs that can not be done directly by induction. Recall that the
Principal Mathematical of Induction is a property of the natural numbers, not
the integers.
60 J. Sánchez-Ortega
By the Principle of Mathematical Induction the equality (1) follows for all
g > 0. Take now n < 0. Then −n > 0 and g −n = (g −1 )n by definition of the
powers. Notice that g −1 and h commute:
gh = hg ⇒ h = g −1 hg ⇒ hg −1 = g −1 h.
(gh)0 = 1 = 1 ⋅ 1 = g 0 h0 .
Take n > 1 and suppose that (gh)n−1 = g n−1 hn−1 . Using the definition of powers
we have
(I.H) gh=hg
(gh)n = (gh)(gh)n−1 = (gh)(g n−1 hn−1 ) = (hg)(g n−1 hn−1 )
hg n =g n h
= h(gg n−1 )hn−1 = (hg n )hn−1 = (g n h)hn−1 = g n (hhn−1 ) = g n hn .
3. Groups 61
Suppose now that n < 0; then −n > 0. On the other hand, notice since we
are assuming that gh = hg, using Theorem 3.8 (3) we have that g −1 and h−1
commute; in fact:
We apply Theorem 3.8 (3), equality (2) to g −1 , h−1 and −n > 0, and Theorem
3.8 (2) to obtain
((gh)−1 )−n = ((hg)−1 )−n = ((g −1 h−1 )−n = (g −1 )−n (h−1 )−n
= ((g −1 )−1 ) ((h−1 )−1 ) = g n hn ,
n n
(3) trivially holds if either n = 0 or m = 0. Fix m > 0 and let us prove the
equality by induction on n. In this case, we proceed by induction on n. For
n = 1, we have
g 1 g m = g ⋅ g m = g m+1 .
Suppose now that n > 1 and that g n−1 g m = g n+m−1 , and let us prove that
g n g m = g n+m . Using the definition of powers and the inductive hypothesis we
obtain:
(I.H)
g n g m = (g ⋅ g n−1 )g m = g(g n−1 g m ) = g ⋅ g n+m−1 = g 1+(n+m−1) = g n+m ,
as desired.
In this case, −n > 0 and −m > 0, so we can apply (3) with the element
g −1 to obtain:
(g −1 )−n (g −1 )−m = (g −1 )−n−m ,
• n = −m.
Then n + m = 0 and so g n+m = g 0 = 1. We need to show that
g n g m = 1.
62 J. Sánchez-Ortega
• n > −m.
Notice that −m > 0 and n + m > 0. We can then write n as
n = (n + m) + (−m) and apply (3) and the previous subcase to
obtain:
(3)
g n g m = g n+m+(−m) g m = (g n+m g −m )g m = g n+m (g −m g m ) = g n+m .
• n > −m.
Then n + m < 0 and −n < 0. In this case, we will apply (C1) and
the first subscase:
(C3) n < 0 and m > 0. The proof of this case is similar to the previous one.
(g −n )−m = g (−n)(−m) = g nm
Using that every element of a group has an inverse (in the group), we can
obtain the result below. The proof is very easy, since it consists on multiplying
on the left or on the right by the inverse of appropriate elements.
3. Groups 63
Corollary 3.11. Every row (and column) of the Cayley table of a finite
group G contains every element of G exactly once.
g n+m = g n g m (n + m)g = ng + mg
(g n )m = g nm m(ng) = (mn)g
(gh)n = g n hn n(g + h) = ng + nh
if g and h commute
64 J. Sánchez-Ortega
In each case, we will prove that the Cayley table is completely determined by
the exponent laws. In order to show this, it is enough to prove that there is
only one way to fill in the Cayley table that produces a group. For ∣G∣ = 1 ,
there is nothing to do, the group reduces to the identity element G = {1}.
Next, for ∣G∣ = 2 we have that G = {1, g}, where g ≠ 1. Let us fill in the
Cayley table of G:
G 1 g
1 1 g
g g ?
3. Groups 65
G 1 g
1 1 g
g g 1
This shows, in particular, that any two groups of order 2 are isomorphic.
To finish, let us analyse what happens when ∣G∣ = 3 . Write G = {1, g, h},
where g ≠ h and both g and h are different from the identity element. By the
cancellation laws we have that gh ≠ g and gh ≠ h, so we must have that gh = 1;
the same applies to hg = 1. So far, we have that
G 1 g h
1 1 g h
g g ? 1
h h 1 ?
To find out the values of g 2 and h2 we apply Corollary 3.11. Notice that
g 2 ≠ 1 (respectively, g 2 ≠ g) because otherwise, if g 2 = 1 (respectively, g 2 = g)
the element 1 (respectively, g) would appear twice in the column of g. Thus
g 2 = h. Similarly h2 = g. Therefore, the Cayley table of G is:
G 1 g h
1 1 g h
g g h 1
h h 1 g
gh = g ⋅ g 2 = g 3 = g 2 ⋅ g = hg,
Groups whose elements are all powers of one element g are called cyclic .
We write Cn to denote the cyclic group {1, g, . . . , g n−1 } of order n. We have
proved that every group of order 1, 2, or 3 is cyclic . However, this is
66 J. Sánchez-Ortega
not the case for groups of order 4. For instance, the direct product
Z2 × Z2 = {(0̄, 0̄), (0̄, 1̄), (1̄, 0̄), (1̄, 1̄)} of the additive group Z2 is a noncyclic
group, since all its elements have order 2:
(0̄, 1̄) + (0̄, 1̄) = (0̄ + 0̄, 1̄ + 1̄) = (0 + 0, 1 + 1) = (0̄, 2̄) = (0̄, 0̄),
(1̄, 0̄) + (1̄, 0̄) = (1̄ + 1̄, 0̄ + 0̄) = (1 + 1, 0 + 0) = (2̄, 0̄) = (0̄, 0̄),
(1̄, 1̄) + (1̄, 1̄) = (1̄ + 1̄, 1̄ + 1̄) = (1 + 1, 1 + 1) = (2̄, 2̄) = (0̄, 0̄).
K4 1 a b c
1 1 a b c
a a 1 c b
b b c 1 a
c c b a 1
3.2 Subgroups
In this section, we will learn how to determine whether a subset H of a
group G is itself a group. The motivation behind is that there are many
important groups which arise as subsets of other known groups.
Examples 3.14.
h h1
hh1 H G
h−1 1G
One can check that (1), (2) and (3) are equivalent to (1) and (2’). So, if you
want to check whether a subset H of a group G is a subgroup of G, you can
either check that H satisfies
I personally find easier at first to prove (1), (2) and (3), but please go ahead
and check (1) and (2’) if this other option works better for you.
Proof. Suppose that H satisfies (1), (2) and (3). Then H is closed under the
operation of G by (2); the unity of G is the unity of H by (1), and the inverse
in G of h ∈ H coincides with the inverse of h in H by (3). As H inherits the
associative law from G, we have that H is a subgroup of G.
Conversely, assume that H is a subgroup of G, and let e denote the unity
of H. Using that e is the identity of H we have that e2 = e, and using that e
is an element of G and 1G is the identity of G we have that e 1G = e. Thus:
e2 = e = e 1G ,
a + b = nk + nm = n(k + m) ∈ nZ,
−a = −(nk) = n(−k) ∈ nZ.
From the Subgroup Test we get that nZ is a subgroup of Z. These are indeed
all the subgroups of Z! We will prove this when we study cyclic groups in the
next section.
3. Groups 69
Example 3.16. Using the Finite Subgroup Test we can easily check that
H = {2̄, 4̄, 6̄} is a subgroup of the additive group Z6 . In fact, it is enough to
show that H is closed, which is clear since
2̄ + 2̄ = 4̄ ∈ H, 2̄ + 4̄ = 6̄ ∈ H, 4̄ + 4̄ = 8̄ = 2̄ ∈ H.
Thus, H is a subgroup of Z6 .
- If a3 ∈ K, then
Example 3.18. Let us now find all the subgroups of the Klein group:
K4
C4
{1, a2 }
{1} {1}
Proof. We will use the Subgroup Test. It is clear that 1 ∈ Z(G). For
z, z ′ ∈ Z(G) we need to check that zz ′ ∈ Z(G) and z −1 ∈ Z(G). To do so, we
need to check that zz ′ and z −1 commute with any element g of G; in fact, for
g ∈ G we have that
z ′ ∈Z(G)
g(zz ′ ) = (gz)z ′ (zg)z ′ = z(gz ′ ) z(z ′ g) = (zz ′ )g,
z∈Z(G)
= =
Examples 3.21.
2. Z(S3 ) = {ε}
στ = τ σ 2 ≠ τ σ,
σ 2 τ = τ σ ≠= τ σ 2 .
τ σ ≠ τ σ 2 = στ,
τ σ 2 ≠ τ σ = σ 2 τ,
(τ σ)(τ σ 2 ) = σ ≠ σ 2 = (τ σ 2 )(τ σ).
This shows that Z(S3 ) reduces to the identity element of S3 , that is,
Z(S3 ) = {ε}.
72 J. Sánchez-Ortega
When filling in the Cayley table of Cn , we will deal with elements of the
form ak , where k > n. What do we do? We need to find i ∈ {0, 1, . . . , n − 1}
such that ak = ai ; in other words, we need to reduce the exponent k modulo n.
To do so, we will apply the Division Algorithm, the exponent laws and the
condition an = 1. More precisely, using the Division Algorithm we can write
k = qn + r, where 0 ≤ r ≤ n − 1. Then an application of the exponent laws gives
an =1
ak = aqn+r = (an )q ⋅ ar = 1q ⋅ ar = ar .
This section is devoted to the study of cyclic groups and their subgroups.
Examples 3.24.
3. The group (Z, +) is cyclic and 1 and -1 are the only generators.
Õ Õ Õ Õ
× × × ×
× × × ×
× × × ×
Ö Ö Ö Ö
6. The (multiplicative) group Z∗9 = {1̄, 2̄, 4̄, 5̄, 7̄, 8̄} consisting on the
units of Z9 is a cyclic group. In fact, Z∗9 = ⟨2̄⟩ because
2̄0 = 1̄, 2̄1 = 2̄, 2̄2 = 4̄, 2̄3 = 8̄, 2̄4 = 16 = 7̄, 2̄5 = 14 = 5̄, 2̄6 = 10 = 9̄,
74 J. Sánchez-Ortega
which shows that all the elements of Z∗9 are powers of 2̄.
7. The (multiplicative) group Z∗8 = {1̄, 3̄, 5̄, 7̄} is not cyclic. Recall that
Z∗8 consists on the units of Z8 , that is, elements of Z8 = {0̄, 1̄, 2̄, 3̄, 4̄, 5̄, 6̄, 7̄}
having a multiplicative inverse.
To prove that Z∗8 is not cyclic, we will show that ⟨a⟩ ≠ Z∗8 for every
a ∈ Z∗8 . It is clear that ⟨1̄⟩ = {1̄}. Moreover:
We have proved that every element of Z∗8 has order 2, since Z∗8 has four
elements, we can conclude that Z∗8 is isomorphic to the Klein group.
(i) If the cyclic subgroup ⟨g⟩ is finite, then there exists a smallest
positive integer n such that g n = 1. In such a case:
Proof. (i) Suppose that ⟨g⟩ is finite. Then the powers g, g 2 , g 3 , . . . can not
be all distinct, so we can find two distinct positive integers k and m such that
g k = g m . Assume, for example, that k < m. Then g m−k = 1, where m − k > 0,
so by the Well-Ordering Axiom there exists a smallest positive integer n such
that g n = 1.
(a) Assume first that n∣k. Then we can write k = qn for some q ∈ Z. Thus:
g k = g qn = (g n )q = 1q = 1.
which implies r = 0 since r < n and n is the smallest integer with that property.
Thus k = qn and n∣k, concluding the proof of (a).
(c) Clearly, {1, g, . . . , g n−1 } ⊆ ⟨g⟩. Let us prove that ⟨g⟩ ⊆ {1, g, . . . , g n−1 }. To
this end, take g k ∈ ⟨g⟩. Proceed like in the proof of (a) and write k = nq + r
with 0 ≤ r < n. Then:
Corollary 3.26. The order o(g) of an element g coincides with the cardinal
of the cyclic subgroup ⟨g⟩ generated by g.
Example 3.27. We proved in Example 3.24 (7) that the order of each
element in Z∗8 = {1̄, 3̄, 5̄, 7̄} is 2. Corollary 3.26 yields ∣⟨3⟩∣ = ∣⟨5⟩∣ = ∣⟨7⟩∣ = 2.
0̄ = 0 ⋅ 5̄,
1̄ = 5 ⋅ 5̄, since 25 = 1̄, because 25 ≡ 1 (mod 12),
2̄ = 10 ⋅ 5̄, since 50 = 2̄, because 50 ≡ 2 (mod 12),
3̄ = 3 ⋅ 5̄, since 15 = 3̄, because 15 ≡ 3 (mod 12),
4̄ = 8 ⋅ 5̄, since 40 = 3̄, because 40 ≡ 4 (mod 12),
⋮
(1) G is abelian.
g = g 1 = g xk+yn = (g k )x (g n )y = (g k )x (1)y = (g k )x ∈ ⟨g k ⟩,
Remarks 3.29. We have just proved in Theorem 3.28 (1) that every cyclic
group is abelian. The converse does NOT hold, i.e., there are abelian
groups which are not cyclic. For instance, Z∗8 .
Coming back to Z12 , Theorem 3.28 (3) tells us that all its generators are
the elements k̄ such that gcd(k, 12) = 1, namely: 1̄, 5̄, 7̄, and 11.
You might be wondering what can be said about the generators of an
infinite cyclic group. Well ... I am so sorry to say this, but we are not going
to solve this mystery here. We will do it in the tutorial sessions.
78 J. Sánchez-Ortega
dr = qn = q(dk) = d(qk),
g d = g xm+yn = (g m )x (g n )y = (g m )x (1)y = (g m )x ∈ ⟨g m ⟩ = H ⇒ ⟨g d ⟩ ⊆ H,
Corollary 3.32. Let G = ⟨g⟩ be a cyclic group of order n. Then for any
positive integer m we have that ⟨g m ⟩ = ⟨g d ⟩ , where d = gcd(m, n) . Moreover,
the order of g m is n/d.
Proof. Take m an arbitrary positive integer and let d = gcd(m, n). Pro-
ceeding like in the proof of (1) in the Fundamental Theorem of Finite Cyclic
Groups, we have that ⟨g m ⟩ = ⟨g d ⟩. On the other hand, we know that
n
o(g m ) = ∣⟨g m ⟩∣ = ∣⟨g d ⟩∣ = o(g d ) = ,
d
by Lemma 3.31.
Example 3.33. In the (additive) cyclic group Z30 , find the order of 18.
Notice that Z30 = ⟨1̄⟩ and 18 = 18 ⋅ 1̄. We will use Corollary 3.32. In this
case, n = 30 and m = 18. Since gcd(30, 18) = 6, we have that ⟨18⟩ = ⟨6̄⟩ and
the order of 18 in Z30 is 30
6 = 5. In other words, the subgroup generated by 18
in Z30 has 5 elements: ⟨18⟩ = ⟨6̄⟩ = {0̄, 6̄, 12, 18, 24}, because in Z30 we have
that 0 ⋅ 6̄ = 0̄, 1 ⋅ 6̄ = 6̄, 2 ⋅ 6̄ = 12, 3 ⋅ 6̄ = 18, 4 ⋅ 6̄ = 24, 5 ⋅ 6̄ = 30 = 0̄.
80 J. Sánchez-Ortega
Suppose now that k∣m and let us show that ⟨g m ⟩ ⊆ ⟨g k ⟩. To do so, it is enough
to prove that g m ∈ ⟨g k ⟩. From k∣m we derive that m = ku for some integer u,
and using the Exponent Laws we have
g m = g ku = (g k )u ∈ ⟨g k ⟩.
⟨g 6 ⟩ ⊆ ⟨g 2 ⟩ and also ⟨g 6 ⟩ ⊆ ⟨g 3 ⟩
⟨g 4 ⟩ ⊆ ⟨g 2 ⟩
3. Groups 81
C12
⟨g 2 ⟩ ⟨g 3 ⟩
⟨g 4 ⟩ ⟨g 6 ⟩
⟨1⟩
Example 3.35. Find all subgroups of the additive cyclic group Z100
and draw the lattice diagram.
Since the positive divisors of 100 are 1, 2, 4, 5, 10, 20, 25, 50 and 100, by
the Fundamental Theorem of Finite Cyclic Groups we can assert that Z100 has
exactly 9 subgroups of orders the mentioned divisors of 100. Clearly, {0̄} = ⟨0̄⟩.
To determine the remaining subgroups, we use Lemma 3.31 in its additive
version:
100
2 = o(d1̄) = ⇒ d = 50; the subgroup of order 2 is ⟨50⟩ = 50Z100 ;
d
100
4 = o(d1̄) = ⇒ d = 25; the subgroup of order 4 is ⟨25⟩ = 25Z100 ;
d
100
5 = o(d1̄) = ⇒ d = 20; the subgroup of order 5 is ⟨20⟩ = 20Z100 ;
d
100
10 = o(d1̄) = ⇒ d = 10; the subgroup of order 10 is ⟨10⟩ = 10Z100 ;
d
100
20 = o(d1̄) = ⇒ d = 5; the subgroup of order 20 is ⟨5̄⟩ = 5Z100 ;
d
100
25 = o(d1̄) = ⇒ d = 4; the subgroup of order 25 is ⟨4̄⟩ = 4Z100 ;
d
100
50 = o(d1̄) = ⇒ d = 2; the subgroup of order 50 is ⟨2̄⟩ = 2Z100 ;
d
82 J. Sánchez-Ortega
mZ ⊆ kZ ⇔ k∣m
Using the considerations above, we obtain the diagram below. Please, don’t
worry if you do not come up with a nice diagram at first. It takes a bit of
practice. The important thing here is that you draw all the lines, since this is
what it tells us the containment relations between the subgroups.
Z100
2Z100 5Z100
20Z100 50Z100
⟨0̄⟩
3. Groups 83
Regarding to similarity, two geometric figures are similar if one can be obtained
from the other one by scaling (enlarging or shrinking) in a uniform way; with
additional translation, rotation and reflection might be needed. Similar figures
have the same shape but not necessarily the same size.
Here, we will study maps from one group onto another group that preserve
the group operation. Roughly speaking, an isomorphism between two groups is
a way to transform one group into the other one via a bijective map satisfying
a certain property. In such a case, we say that such two groups are isomorphic.
More precisely: let G1 and G2 be two groups. An isomorphism from G1
84 J. Sánchez-Ortega
In §3.1.1 we called two finite groups isomorphic if they have the same
Cayley table except for notation. Observe that this terminology is consistent
with the one that we have just introduced. If φ ∶ G1 → G2 is an isomorphism
between two finite groups, then using (∗) we can see that φ transform the
Cayley table of G1 into the Cayley table of G2 ; in fact:
G1 b For every x G2 b′
⋮ replace x by φ(x) ⋮
a ... ab a′ ... a b′
′
The idea behind two isomorphic groups is the following: If G1 and G2 are
isomorphic, then we can say that they are indeed the same, except that their
elements have different labels. The group G1 becomes G2 after relabelling its
elements; the map which does the relabelling is precisely an isomorphism from
G1 to G2 . More formal definitions follow.
Definitions 3.36. Let (G1 , ⋅1 ) and (G2 , ⋅2 ) be two groups (not necessarily of
finite order). A mapping φ ∶ (G1 , ⋅1 ) → (G2 , ⋅2 ) is called a group homomor-
phism if
φ(a ⋅1 b) = φ(a) ⋅2 φ(b),
At this point a question arises: How does one recognize if two groups
are isomorphic? Unfortunately, this is not an easy task! There is no way of
spontaneously recognize whether two given groups G1 and G2 are isomorphic.
3. Groups 85
f (a + b) = f (a) ⋅ f (b)
Examples 3.37.
Proof. (1) We have that φ(1G1 ) = φ(1G1 ⋅ 1G1 ) = φ(1G1 ) ⋅ φ(1G1 ), and by the
cancellation law in G2 we obtain that φ(1G1 ) = 1G2 .
(2) For g ∈ G1 we have that
(1)
1G2 = φ(1G1 ) = φ(gg −1 ) = φ(g)φ(g −1 ),
Assume that φ(g k ) = φ(g)k for some k > 1, and consider φ(g k+1 ).
Thus (3) holds for k > 0 by the Principle Mathematical of Induction. If k < 0,
write k = −m for m > 0. Then by (2) and the previous calculations we have
φ(g k ) = φ(g −m ) = φ((g m )−1 ) = φ(g m )−1 = (φ(g)m )−1 = φ(g)−m = φ(g)k .
And what’s about non-isomorphic groups? How can we show that two
groups are not isomorphic? You might not believe that it is actually
easier to show that two groups are not isomorphic than to show that they are.
Keeping in mind that isomorphic groups are essentially the same (just except
for notation, i.e., different name for their elements and/or operations) it is
natural to think that they will share the same properties. More precisely:
If a group G1 has a property and G2 does not have it, or vice versa,
we can conclude that G1 and G2 are not isomorphic.
Here are some examples of properties to look out for are:
For example, the additive groups Z2 × Z2 and Z4 are not isomorphic, since Z4
is cyclic and Z2 × Z2 isn’t (recall that all the elements of Z2 × Z2 have order 2).
Let us see another example: the additive group R is not isomorphic to
the multiplicative group R∗ . Notice that R∗ have an element distinct from
1 such that its square is 1, namely, (−1)2 = (−1)(−1) = 1. Observe that 1 is the
identity element of R∗ and we have just seen that isomorphisms preserve the
identity element. So this property interpreted in the additive group R would
tell us that R has a ∈ R, a ≠ 0, such that a + a = 0, which clearly does not
happen. Therefore, we can conclude that these two groups are not isomorphic.
We close the section by proving that there are essentially two cyclic groups:
(1) For every positive integer n, every cyclic group of order n is isomorphic
to Zn . Thus, any two cyclic groups of order n are isomorphic.
Comparing this group with the additive cyclic group Zn = {0̄, 1̄, 2̄, . . . , n − 1},
Õ Õ Õ Õ
× × × ×
× × × ×
× × × ×
Ö Ö Ö Ö
one realises that the map φ ∶ Zn → ⟨a⟩ given by φ(i) = ai is a bijective map.
But this map also satisfies that
Õ Õ Õ Õ Õ
× × × × ×
× × × × ×
× × × × ×
Ö Ö Ö Ö Ö
Z= {. . . , −2, −1, 0, 1, 2, . . .}
Then it is clear that the map φ ∶ Z → ⟨a⟩ given by φ(i) = ai is the desired
isomorphism.
Chapter 4
Lagrange’s Theorem
In this short chapter we will prove Lagrange’s Theorem, one of the most
important results in (finite) group theory. To do so, we first need to introduce
the required machinery: cosets.
4.1 Cosets
The notion of a coset was introduced by E. Galois in 1930 but was G. A.
Miller the one who name them cosets.
H + a = {h + a ∣ h ∈ H}, a + H = {a + h ∣ h ∈ H}
Example 4.2. Find all the left and right cosets of H = {ε, (1 3)} in S3 .
Recall that S3 = {ε, (1 2), (1 3), (2 3), (1 2 3), (1 3 2)}. Then we have
εH = H = (1 3)H,
(1 2)H = {(1 2)ε, (1 2)(1 3)} = {(1 2), (1 3 2)}
(2 3)H = {(2 3)ε, (2 3)(1 3)} = {(2 3), (1 2 3)}
91
92 J. Sánchez-Ortega
We have that (1 2)H = (1 3 2)H and (2 3)H = (1 2 3)H. You will understand
why I can make this afirmation without performing any calculations after we
study the coset properties. In the meantime, do the calculations yourself to
practice a bit. These are all the left cosets of H. Its right cosets are computed
in a similar way:
Hε = H = H(1 3),
H(1 2) = {(1 2), (1 2 3)} = H(1 2 3),
H(2 3) = {(2 3), (1 3 2)} = H(1 3 2).
Example 4.3. Find all the cosets of the subgroup 4Z in the additive group
Z. In this case, since Z is an abelian group, it is enough to compute the right
(or the left) cosets.
Given a ∈ Z the right coset generated by a is 4Z + a. But
4Z + a = a + 4Z = ā in Z4 .
We only have four right (or left) cosets, which are the four residue classes
modulo 4:
7. Ha = H if and only if a ∈ H.
H1 = H
Hc Ha
Hb
H + a = H + b ⇔ a − b ∈ H; H +a=H ⇔a∈H
5. To show that the cosets Ha and Hb are equal, we must show that they
are equal sets (remember that cosets are, by definition, subsets of G). Suppose
that a ∈ Hb. Then there exists h ∈ H such that a = hb. If x ∈ Ha, then x = h1 a
for some h1 ∈ H. From a = hb we get that x = h1 a = h1 (hb) = (hh1 )b ∈ Hb.
This proves that Ha ⊆ Hb. The proof of the containment Hb ⊆ Ha is similar,
using now that b = h−1 a.
9. We first need to show that any two cosets, say Ha and Hb, are either
disjoint or equal. If they are disjoint, then we are done. Otherwise, suppose
that Ha ∩ Hb ≠ ∅, and let x ∈ Ha ∩ Hb. Then there exists x ∈ G such that
x ∈ Ha and x ∈ Hb, which yield x = h1 a = h2 b for some h1 , h2 ∈ H. Solving the
equation h1 a = h2 b for a, we obtain a = (h−1
1 h2 )b ∈ Hb. Hence, property 5
implies that Ha = Hb. To finish, we need to check that G is the union of all
the cosets. In order to do so, we must show that every element g ∈ G is in one
of the cosets of H. But this clearly holds, since g = 1 ⋅ g ∈ Hg.
The considerations above show that the family of all cosets of H is a
partition of G, as desired.
4. Lagrange’s Theorem 95
Proof. Suppose that Ha1 , Ha2 , . . . , Hak are the distinct cosets of H in G.
Then G = Ha1 ∪ Ha2 ∪ . . . ∪ Hak , which is a disjoint union by Property 9 .
Next, using Property 8 we have that ∣Hai ∣ = ∣H∣ for each i, so
Corollary 4.5. The order of any element of a finite group divides the order
of the group.
Proof. Assume that G is not cyclic and take g ∈ G. Write H = ⟨g⟩ for the
cyclic subgroup of G generated by g. Then by Corollary 4.5 the order of H,
96 J. Sánchez-Ortega
namely, o(g) = ∣H∣ divides the order of G, i.e., p2 . From here we derive that
o(g) = 1, p, or p2 . But o(g) ≠ p2 because G is not cyclic, so o(g) is either 1 or
p. In any case, g p = 1, concluding the proof.
order of G ∣G∣
∣G ∶ H∣ = =
order of H ∣H∣
Factor groups
In this last chapter, we will learn about a special types of subgroups, called
normal subgroups, and how to use them to construct a new kind of groups,
called factor groups, whose elements are cosets.
Examples 5.2.
1. Let G be any group. Then {1} G and G G since g{1} = {g} = {1}g,
gG = G = Gg, for all g ∈ G. The centre Z(G) of G is always a normal
subgroup of G.
97
98 J. Sánchez-Ortega
(1) H is normal in G.
1G′ = φ(g1 )φ(g2 )−1 = φ(g1 )φ(g2−1 ) = φ(g1 g2−1 ) ⇒ g1 g2−1 ∈ ker(φ) = {1G },
100 J. Sánchez-Ortega
To ease the notation let H = SL(2, R). Using the properties of the
determinant, it is straightforward to check that H is a subgroup of G (please,
complete the details and let me know whether you have any questions). We
prove here that H satisfies (2) in the Normality Test. Given A ∈ GL(2, R), we
need to show that AHA−1 ⊆ H. If B ∈ H, then
1
det(ABA−1 ) = det(A) det(B) = det(B) = 1 ⇒ ABA−1 ∈ H,
det(A)
as desired.
This definition seems to be quite innocent but it is not that simple! The
difficulty arises from the fact that the result of operate two cosets Ha and
Hb might not be uniquely defined. Recall that Ha may be the same coset
as Hc (it happens if c ∈ Ha), and similarly, Hb may be the same coset as
Hd. Therefore, Ha ⋅ Hb should be the same as Hc ⋅ Hd. Unfortunately, it
may happen that H(ab) is not the same coset as H(cd). We can express this
5. Factor groups 101
Ha ⋅ Hb = H(ab)
≠
Hc ⋅ Hd = H(cd)
We have just proved that the coset operation is indeed an operation on G/H.
In our next result, we prove that G/H is a group under coset operation.
102 J. Sánchez-Ortega
Ha ⋅ H = Ha ⋅ H1 = H(a1) = H(1a) = H1 ⋅ Ha = H ⋅ Ha
Example 5.8. Let Z be the additive cyclic group of the integers, and let
⟨6⟩ = 6Z be the cyclic subgroup of Z consisting of all the multiples of 6. Notice
that 6Z is a normal subgroup of Z because Z is abelian (so all its subgroups
are normal). Therefore, we can consider the factor group Z/6Z. The elements
of this group are the cosets of 6Z in Z, namely:
These are all the different cosets of 6Z. Observe that 6Z + 6 = 6Z + 0 (since
6 ∈ 6Z + 0), 6Z + 7 = 6Z + 1 (since 7 ∈ 6Z + 1), 6Z + 8 = 6Z + 2, etc.
Since the operation in Z is +, we use + for the coset operation , as well.
But nothing has changed except for the name: (6Z + a) + (6Z + b) = 6Z + (a + b).
To ease our notation, we write the coset in the following shorter form:
0̄ = 6Z + 0 1̄ = 6Z + 1 2̄ = 6Z + 2 3̄ = 6Z + 3 4̄ = 6Z + 4 5̄ = 6Z + 5
Then Z/6Z = {0̄, 1̄, 2̄, 3̄, 4̄, 5̄} , and its Cayley table is:
+ 0̄ 1̄ 2̄ 3̄ 4̄ 5̄
0̄ 0̄ 1̄ 2̄ 3̄ 4̄ 5̄
1̄ 1̄ 2̄ 3̄ 4̄ 5̄ 0̄
2̄ 2̄ 3̄ 4̄ 5̄ 0̄ 1̄
3̄ 3̄ 4̄ 5̄ 0̄ 1̄ 2̄
4̄ 4̄ 5̄ 0̄ 1̄ 2̄ 3̄
5̄ 5̄ 0̄ 1̄ 2̄ 3̄ 4̄
Notice that the factor group Z/6Z is isomorphic to the additive cyclic
group Z6 . In general, we have that Z/nZ ≅ Zn .
Proof. (1) For a, b ∈ G we need to check that Ha⋅Hb = Hb⋅Ha, which follows
by the definition of the coset operation and the fact that we are assuming
that G is abelian. In fact:
generator for the factor group G/H. To show this, we need to prove that all
the elements of G/H are powers of Hg. Take Ha an arbitrary element of
Hg, where a ∈ G. Since g is a generator of G and a ∈ G we can find some
integer k such that a = g k . From here using the coset operation we obtain
that (Hg)k = Hg k = Ha, finishing the proof.
as desired.
1G′
1G
φ(a) = φ(b)
a
b
φ(x)
G′
G
We have then built a bijective map that matches cosets of K, namely,
elements of the factor group G/K, with elements in G′ . To be more precise,
the coset Kx is matched with the element φ(x) ∈ G′ . It remains to check that
this correspondence is indeed an isomorphism.
̃
φ(Kx) ̃
= φ(x). We first need to make sure that φ(Kx) is uniquely defined. To
do so, we must make sure that if Ka is the same coset as Kb, then φ(a) = φ(b),
̃ is bijective:
but this follows from Theorem 5.11. We now prove that φ
̃ is injective: If φ(Ka)
●φ ̃ ̃
= φ(Kb), then φ(a) = φ(b) and by Theorem 5.11,
we get that Ka = Kb.
̃ is surjective: since we are assuming that φ is surjective we have that every
●φ
element y of G′ is of the form y = φ(x). But, by definition, φ(Kx)
̃ = φ(x) = y,
̃ is surjective.
which shows that φ
̃
Finally, φ(Ka ̃
⋅ Kb) = φ(K(ab)) ̃
= φ(ab) = φ(a)φ(b) = φ(Ka) ̃
φ(Kb), which
̃ is a group homomorphism. We can then conclude that φ
shows φ ̃ is a group
̃
isomorphism, and so, G/K = G′ .
φ
⎛ 1 0 0 ⎞
● The identity matrix ⎜ 0 1 0 ⎟ is in G, and
⎝ 0 0 1 ⎠
−1
⎛ 1 a b ⎞ ⎛ 1 −a ac − b ⎞
● G is closed under inverses: ⎜ 0 1 c ⎟ =⎜ 0 1 −c ⎟ .
⎝ 0 0 1 ⎠ ⎝ 0 0 1 ⎠
5. Factor groups 107
′ ′ ′ ′
⎛ 1 a b ⎞⎛ 1 a b ⎞ ⎛ 1 a b ⎞⎛ 1 a b ⎞
⎜ 0 1 c ⎟ ⎜ 0 1 c ⎟ = ⎜ 0 1 c ⎟ ⎜ 0 1 c′ ⎟ ,
′ ∀ a, b, c ∈ R.
⎝ 0 0 1 ⎠⎝ 0 0 1 ⎠ ⎝ 0 0 1 ⎠⎝ 0 0 1 ⎠
⎧
⎪ ⎫
⎪
⎪⎛
⎪ 1 0 b ⎞ ⎪
⎪
Z(G) = ⎨⎜ 0 1 0 ⎟ ∶ b ∈ R⎬
⎪
⎪ ⎪
⎪
⎩⎝ 0 0 1 ⎠
⎪ ⎪
⎭
⎛ 1 0 b ⎞
b ↦ ⎜ 0 1 0 ⎟,
⎝ 0 0 1 ⎠
is the desired isomorphism. It is clearly bijective (complete the details and let
me know whether you have any questions) and it is a group homomorphism:
⎛ 1 0 b1 b2 ⎞ ⎛ 1 0 b1 ⎞ ⎛ 1 0 b2 ⎞
φ(b1 b2 ) = ⎜ 0 1 0 ⎟ = ⎜ 0 1 0 ⎟ ⎜ 0 1 0 ⎟ = φ(b1 )φ(b2 ), ∀ b1 , b2 ∈ R.
⎝ 0 0 1 ⎠ ⎝ 0 0 1 ⎠⎝ 0 0 1 ⎠
φ
We have proved that R ≅ Z(G). It remains to show that G/Z(G) ≅ R × R. To
do this, we apply the First Isomorphism Theorem. We need to find a group
epimorphism G → R × R with kernel Z(G). Taking into account the previous
calculations, we can try with the map ψ ∶ G → R × R defined by
⎛ 1 a b ⎞
ψ ⎜ 0 1 c ⎟ = (a, c).
⎝ 0 0 1 ⎠
I am thinking about this map because I have some practice and I can see that
its kernel will be Z(G). Notice that R × R is an additive group, so its identity
108 J. Sánchez-Ortega
⎛ 1 x 0 ⎞
Clearly, ψ is surjective: for (x, y) ∈ R × R, we have (x, y) = ψ ⎜ 0 1 y ⎟ ∈ G.
⎝ 0 0 1 ⎠
Lastly, ψ is a group homomorphism:
⎡ 1 a b ′ ′ ⎤ ′ ′ ′
⎢⎛
⎢ ⎞ ⎛ 1 a b ⎞⎥⎥ ⎛ 1 a + a b + ac + b ⎞
ψ ⎢⎜ 0 1 c ⎟ ⎜ 0 1 c′ ⎟⎥ = ψ ⎜ 0 1 c + c′ ⎟=
⎢⎝ ⎥
⎢ 0 0 1 ⎠ ⎝ 0 0 1 ⎠⎥ ⎝ 0 0 1 ⎠
⎣ ⎦
′ ′
⎛ 1 a b ⎞ ⎛ 1 a b ⎞
′ ′ ′ ′
= (a + a , c + c ) = (a, c) + (a , c ) = ψ ⎜ 0 1 c ⎟ + ψ ⎜ 0 1 c′ ⎟ .
⎝ 0 0 1 ⎠ ⎝ 0 0 1 ⎠
An application of the First Isomorphism Theorem gives that G/ ker ψ ≅ R × R,
that is, G/Z(G) ≅ R × R.
Example 5.15. Let G be a group of order 5 such that there exists a group
homomorphism φ ∶ Z30 → G. We can use the First Isomorphism Theorem and
Lagrange’s Theorem to determine ker φ.
Thanks to the Fundamental Theorem of Finite Cyclic Groups we know
how all the subgroups of the (additive) cyclic group Z30 look like. So, in
particular, we have a good understanding of ker φ. An application of the First
Isomorphism Theorem tells us that Z30 / ker φ ≅ im φ. From here, we obtain:
Next we use Lagrange’s Theorem to obtain some information about the order
of im φ, which is a subgroup of G. Since G has order 5 (a prime), we have
that either ∣Z30 / ker φ∣ = ∣im φ∣ = 1 or 5. We consider both cases:
This appendix provides a summary of some algebra concepts needed for this
course. If you learnt them last year and you do not need to revisit them,
please feel free to skip these pages. I just want to make sure we are all in the
same page, since it will set yourself up for success!
Here, we will talk about sets, maps and binary operations.
A.1 Sets
A set X in Mathematics is nothing more than a collection of objects, called
elements. If a is an element of the set X, we will say that a lies in X, or a
belongs to X, or X contains a, and we write a ∈ X . Otherwise, if a is not
an element of X, we write a ∉ X .
For example, the number 1 belongs to the set of natural numbers N,
while the number −1 does not. So, 1 ∈ N and −1 ∉ N.
An interesting set is the set that contains no elements, which is called the
empty set and denoted by ∅ . For example, consider the set consisting of
the rational numbers whose square equal 2, that is,
{q ∈ Q ∣ q 2 = 2}.
√
Such a set has no elements, since we know that 2 is not a rational number,
that is, it is the empty set: {q ∈ Q ∣ q 2 = 2} = ∅.
109
110 J. Sánchez-Ortega
We say that
A.2 Maps
Let X and Y be two sets. Informally, we can say that a map f from X to
Y , denoted f ∶ X → Y is a rule that assigns an element a ∈ X to exactly
one element b ∈ Y . We write that f (a) = b , or a ↦ f (a) = b . We call X
and Y the domain and codomain of f , respectively. For instance, the map
assigning any real number to its square is an example of map from R to R.
That is, f ∶ R → R given by f (x) = x2 for all x ∈ R.
Suppose that U is a subset of X. The map f ∣U ∶ U → Y given by
a ϕ(a) a
ϕ(a) = ϕ(b)
b ϕ(b) b
This is really important! You might find yourself coming back to this
comment later on, when we talk about permutations in Chapter 2. When
computing (f g)(x) we do the following:
1. we first calculate g(x), let us call it y, that is, y = g(x), and then
2. we calculate f of y: z = f (y) = f (g(x)).
In some texts, g is called the inner map and f is called the outer map of
the composition. In a visual way, this is how composition of maps work:
f ○g
Examples A.15.
4. Let X denote a nonempty set and Map(X) the set of all maps from X
onto X. The map composition (f, g) ↦ f ○ g is an operation on Map(X).
Examples A.18.
y ′ = y ′ ∗ e = y ′ ∗ (x ∗ y) = (y ′ ∗ x) ∗ y = e ∗ y = y,
Examples A.21.
1. Consider (Z, +), (Q, +), (R, +), (C, +). In all cases, the identity element
is 0 and the usual negative −x of an element x is the (additive) inverse.
Then every element is a unit and hence
Algebra (or Mathematics in general) will be getting more and more abstract
as you continue diving into it. Binary operations are denoted by many different
symbols in mathematics. For example, we use + and ⋅ to denote the addition
and multiplication of numbers, but these symbols are also used for the addition
and multiplication of matrices. Similarly, ∩ and ∪ are well-established notations
in set theory. When discussing binary operations in general, we have been
using ∗ for the binary operation. But algebraists, we do not do this! We
usually adopt one of the following two formats:
{(x, x) ∣ x ∈ R}.
Examples A.23.
X3
X1 X2
X4
A more concrete example: {{1}, {a, b}, {−1, 2, 3}} and {{1, a, b, −1}, {2, 3}} are
partitions of the set X = {a, b, −1, 1, 2, 3}.
Any equivalence relation ∼ on a (nonempty) set X produces a partition
of X; in fact, for x ∈ X, we define the equivalence class of x as the set of
elements of X related to x, that is:
[x] = {y ∈ X ∣ x ∼ y}
a ∈ [x] ⇒ x ∼ a,
a ∈ [y] ⇒ y ∼ a ⇒ a ∼ y,
imply that x ∼ y, as desired. It remains to show that X = ∪a∈X [a], but this is
trivial since x ∈ [x], for each x ∈ X.