Mat 211
Mat 211
LECTURE NOTES ON
ABSTRACT ALGEBRA (MAT 211)
B. O. Onasanya
Lecture Hours:
Monday 10:00-12:00
Wednesday 10:00-12:00
Copyright © 2024 by B. O. Onasanya
All rights reserved.
Certification
i
Dedication
ii
Acknowledgements
I acknowledge my friends, Prof Yuming Feng and Dr Yu, both of the Department of
Computer Science, Chongqing Three Gorges University, P. R. China. I also acknowledge
the members of the Department of Mathematics, University of Ibadan.
iii
Abstract
iv
TABLE OF CONTENTS
Title Page 1
Certification i
Dedication ii
Aknowledgement iii
Abstract iv
1 SETS 7
1.1 Basic Definitions in Sets . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.2 Some Operations on Sets . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.2.1 Product Sets and Partition of Sets . . . . . . . . . . . . . . . . 14
2 MAPPINGS 15
3 RELATIONS 21
3.1 Definition and Properties of Relations . . . . . . . . . . . . . . . . . . . 21
3.1.1 Relation on a set . . . . . . . . . . . . . . . . . . . . . . . . . . 22
3.1.2 Equivalence Relations . . . . . . . . . . . . . . . . . . . . . . . 24
4 PARTIAL, TOTAL AND WELL ORDERINGS 28
4.1 Partial Orderings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
4.2 Total Ordering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
4.3 First, Last, Minimal and Maximal Elements . . . . . . . . . . . . . . . 29
4.3.1 Well Ordering . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
4.3.2 Similarity Mapping . . . . . . . . . . . . . . . . . . . . . . . . . 32
5 LATTICES 34
6 Introduction to Number Theory 36
6.1 Some properties of (Z, +) and (Z, ·) . . . . . . . . . . . . . . . . . . . . 36
6.2 GCD, LCM and Linear Properties of GCD . . . . . . . . . . . . . . . . 37
5
6.3 Residue Modulo m . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
6.4 Congruence Linear Equation . . . . . . . . . . . . . . . . . . . . . . . . 41
6.4.1 Miscellaneous . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
7 GROUPS, RINGS AND FIELDS 47
7.1 Algebraic Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
7.1.1 Binary Operations . . . . . . . . . . . . . . . . . . . . . . . . . 47
7.1.2 Introduction to Some Algebraic Structures . . . . . . . . . . . . 51
7.2 Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
7.2.1 Examples of Groups . . . . . . . . . . . . . . . . . . . . . . . . 54
7.2.2 Subgroups of a Group . . . . . . . . . . . . . . . . . . . . . . . 55
7.2.3 Some Properties of Subgroups . . . . . . . . . . . . . . . . . . . 56
7.2.4 Cyclic Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
7.2.5 Symmetric groups . . . . . . . . . . . . . . . . . . . . . . . . . . 56
7.2.6 Homomorphism of Groupoids and Groups . . . . . . . . . . . . 58
7.3 Ring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
7.3.1 Illustrative Examples of Rings . . . . . . . . . . . . . . . . . . . 60
7.3.2 Some Properties of Rings . . . . . . . . . . . . . . . . . . . . . . 60
7.4 Field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
7.4.1 Some Illustrative Examples and Results in Fields . . . . . . . . 61
8 Polynomial Ring 62
8.1 Polynomials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
8.2 Division Algorithm of Polynomial . . . . . . . . . . . . . . . . . . . . . 64
6
Chapter 1
SETS
Remark 1.1.2 Use capital letters A, B, C, · · · to denote sets and their elements denote
by lower case letters a, b, c, · · · . If a is in A, we write a ∈ A and the negation of it is
a ̸∈ A.
Representing Sets
Sets can be defined by writing their elements in braces, as in A = {a, b, c, d}. It can
also be by the description of the elements as in A = {a|a has propertyP } is the set of
all objects with the property P .
Example 1.1.3 (1) The set B = {x ∈ Z|x = 2n ∀n ∈ Z} = {0, ±1, ±2, ±3, · · · }
(2) The set C = {x ∈ N|x ≥ 5} = {5, 6, 7, 8, · · · }
(3) The set D = {a, b, c, d, e, f }
Here are some common sets:
Example 1.1.4 (1) N = {1, 2, 3, 4, · · · }, set of natural numbers
(2) Z = {0, ±1, ±2, ±3, ±4, · · · }, set of integers
(3) Q = { ab |a, b ∈ Z, b ̸= 0}, set of rational numbers
7
(5) C = {a + ib|ab ∈ R}, set of complex numbers
Remark 1.1.5 Let A be any of the sets (1)-(5) in the previous slide. A∗ is the set of
nonzero elements of A and A+ set of non-negative elements of A.
Example 1.1.9 (1) The set of all living humans who do not breathe
(2) A = {x ∈ N|x ≤ 0}
(3) the set of all black-skinned Chinese ladies
(4) The set of all robots which eat vegetables
8
Definition 1.1.11 Let A and B be two non-empty sets. If every element of A is an
element of B, we write
A⊆B
and say that A is a subset of B, or that B is a superset of A and write B ⊇ A.
Exercise 1.1.15 Consider the set A = {1, 2, 3, · · · , 28, 29, 30}. Construct a set which
is a proper subset of A.
Definition 1.1.16 Let set E which is the set of all objects is called the universal set.
Example 1.1.17 Let E = {0, 1, 2, 3, · · · } be a universal set. The following are subsets
of E:
(1) A = {1, 2, 3, 4, 5}
(2) B = {4, 8, 12, 16, · · · }
(3) C = {2, 4, 6, 8, · · · }
(4) D = {1, 3, 9, 11, 15}
Definition 1.1.18 Let set E the universal set and A a subset of E. The complement
of A is
A = {x|x ∈ E but x ∈ / A}.
(2) If B = {4, 8, 12, 16, · · · }, B = {0, 1, 2, 3, 5, 6, 7, 9, 10, 11, 13, 14, 15, 17, 18, 19, · · · }
9
Exercise 1.1.20 Consider a set E = Z. Construct a subset of E and find its comple-
ment.
Power Set
Let A be a nonempty set. The set P(A), called the power set of A, is the set of all
subsets of A. Cardinality of Power SetIf |A| = n, |P(A)| = 2n .
Example 1.1.21 Let A = {1, 2, 3}, P(A) = {∅, {1}, {2}, {3}, {1, 2}, {1, 3}, {2, 3}, A}
and |P(A)| = 23 = 8.
Exercise 1.1.22 (1) Let A = {a, b}. Find P(A) and |P(A)|.
(2) Let B = {a, b, c, d}. Find P(A) and |P(A)|.
Definition 1.2.1 Let A and B be any two sets. The intersection of A and B consists of
all objects that belong to both A and B and is denoted by A∩B = {x|x ∈ A and x ∈ B}.
Definition 1.2.3 Let A and B be any two sets. The union of A and B consists of all
objects that belong to either A or B or both and is denoted by A ∪ B = {x|x ∈ A or x ∈
B or x ∈ A and x ∈ B}.
10
Example 1.2.4 Consider the set E = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}
A = {4, 5, 6, 7, 8, 9, 10}
B = {2, 3, 5, 6, 7, 10}
C=∅
(1) A ∪ B = {2, 3, 4, 5, 6, 7, 8, 9, 10}
(2) A ∪ C = A
(3) B ∪ C = B
(7) A ∩ A =?
(8) A ∪ A =?
11
⇒ A ∪ (B ∩ C) ⊆ [(A ∪ B) ∩ (A ∪ C)]
Let x ∈ (A ∪ B) ∩ (A ∪ C) ⇒ x ∈ (A ∪ B) and x ∈ (A ∪ C)
⇒ x ∈ A or x ∈ B or x ∈ (A ∩ B) and x ∈ A or x ∈ C or x ∈ (A ∩ C)
⇒ x ∈ A or x ∈ [B ∪ (A ∩ B)] and x ∈ A or x ∈ [C ∪ (A ∩ C)]
⇒ x ∈ A or x ∈ B and x ∈ A or x ∈ C
⇒ x ∈ A or x ∈ B and x ∈ C
⇒ x ∈ A or x ∈ (B ∩ C)
⇒ x ∈ [A ∪ (B ∩ C)]
⇒ (A ∪ B) ∩ (A ∪ C) ⊆ [A ∪ (B ∩ C)]
Solution to first part of 1.2.6 (5)
Let x ∈ A ∪ B ⇒ x ∈ / (A ∪ B)
⇒x∈ / A or x ∈/ B or x ∈
/ (A ∩ B)
If x ∈
/A⇒x∈ / (A ∩ B)
If x ∈
/B⇒x∈ / (A ∩ B)
In all, x ∈
/ (A ∩ B)
⇒x∈ / A and x ∈ /B
⇒ x ∈ A and x ∈ B
⇒ x ∈ (A ∩ B)
⇒ A ∪ B ⊆ (A ∩ B). Let x ∈ A ∩ B ⇒ x ∈ A and x ∈ B
⇒x∈ / A and x ∈ /B
x∈ / (A ∪ B)
⇒x∈A∪B
⇒ A ∩ B ⊆ A ∪ B.
Definition 1.2.7 The relative complement of B in A also known as set difference is
A \ B = A − B = {x|x ∈ A and x ∈
/ B}.
(1) A \ B = A − B = {4, 8, 9}
(2) B \ A = B − A = {2, 3}
Exercise 1.2.9 1. Let A, B, C be sets such that A ∩ B = A ∩ C and A ∪ B = A ∪ C.
Prove that
B = C.
2. If A, B, C are sets, establish the following:
(a) (A − B) − C = A − (B ∪ C).
(b) A − (B − C) = (A − B) ∪ (A ∩ B ∩ C).
12
Solution to 1.2.9 1
1. Let A ∩ B = A ∩ C and A ∪ B = A ∪ C. We just need to show that B ⊆ C and
C ⊆ B.
Let x ∈ B ⇒ x ∈ A ∪ B ⇒ A ∪ C
Then, x ∈ A or x ∈ C or x ∈ A ∩ C.
If x ∈ A, then x ∈ A ∩ B = A ∩ C ⇒ x ∈ C ⇒ B ⊆ C. Also, if x ∈ C or x ∈ A ∩ C,
then B ⊆ C.
Similarly, let x ∈ C ⇒ x ∈ A ∪ C ⇒ A ∪ B
Then, x ∈ A or x ∈ B or x ∈ A ∩ B.
If x ∈ A, then x ∈ A ∩ C = A ∩ B ⇒ x ∈ B ⇒ C ⊆ B. Also, if x ∈ B or x ∈ A ∩ B,
then C ⊆ B.
Since B ⊆ C and C ⊆ B, B = C. Solution to 1.2.9 2(a)
2(a). Let x ∈ (A − B) − C
Then, x ∈ (A − B) and x ∈ /C
⇒ x ∈ A and x ∈ / B and x ∈ /C
⇒ x ∈ A and x ∈ B and x ∈ C
⇒ x ∈ A and x ∈ B ∩ C = B ∪ C
⇒ x ∈ A and x ∈ / B∪C
⇒ x ∈ A − (B ∪ C) ⇒ (A − B) − C ⊆ A − (B ∪ C). Let x ∈ A − (B ∪ C)
Then, x ∈ A and x ∈ / (B ∪ C)
⇒ x ∈ A and x ∈ (B ∪ C) = B ∩ C
⇒ x ∈ A and x ∈ B and x ∈ C
⇒ x ∈ A and x ∈ / B and x ∈ /C
⇒ x ∈ (A − B) and x ∈ /C
⇒ x ∈ (A − B) − C ⇒ A − (B ∪ C) ⊆ (A − B) − C.
Since (A − B) − C ⊆ A − (B ∪ C) and A − (B ∪ C) ⊆ (A − B) − C, then the equality
holds.
2(b) is left as exercise.
DefinitionL1.2.10 The symmetric difference of A and B L
A△B = A B = {x|x ∈ A ∪ B but x ∈ / A ∩ B}. Also, A△B = A B = (A ∪ B) −
(A ∩ B) = (A − B) ∪ (B − A).
Example 1.2.11 Consider the set E = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}
A = {x|x ∈ N ∧ 4 ≤ x ≤ 10}
B = {2, 3, 5, 6, 7, 10}
13
B = {2,L
3, 5, 6, 7, 10}
Find B A.
Example 1.2.16 (1) Let X = {1, 2, 3, · · · , 9} and identify which of the following is
a partition of X:
(i) [{1, 3, 5}, {2, 6}, {4, 8, 9}]
(ii) [{1, 3, 5}, {2, 4, 6, 8}, {5, 7, 9}]
(iii) [{1, 3, 5}, {2, 4, 6, 8}, {7, 9}]
(2) Let Z = {0, ±1, ±2, ±3, · · · }.
{{2n + 1|n ∈ Z}, {2n|n ∈ Z}} = {{±1, ±3, ±5}, {0, ±2, ±4, ±6}}
is a partition of Z
14
Chapter 2
MAPPINGS
Remark 2.0.2 The sets A and B are the domain and codomain of f respectively. Note
that f (A) ⊆ B and f (A) is called the range of f . The image of the function f is
Im(f ) = {f (a)|a ∈ A},
Definition 2.0.3 Let A, B and C be nonempty sets and f and g are mappings such
that f : A → B and g : B → C. Then, the composition g ◦ f is the set g(f (A)) ⊆ C
such that g ◦ f : A → B → C, which is also a mapping.
15
150
100
ex 50
0
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5
x
Example 2.0.8 (a) f : R → R, where f (x) = ex , in Figure 2.1 is injective but not
surjective.
(b) f : R → R, where f (x) = x(x − 1)(x − 2), in Figure 2.2 is surjective but not
injective. Note that any line parallel to the x-axis meets the curve at least once,
so f is surjective. However, f is not injective since f (0) = 0 = f (1) = f (2) but
0 ̸= 1 ̸= 2.
(c) The identity mapping f : R → R, where f (x) = x, in Figure 2.3 is bijective.
(d) f : R → R, where f (x) = x2 , in Figure 2.4 is neither injective nor surjective.
(e) The constant mapping f : X → Y , where f (x) = r, in Figure 2.5 is neither
injective nor surjective. But, if f : X → {r}, it is only surjective. Consider when
r = 2.
The following proposition shows that the composition of functions is associative law.
Proposition 2.0.10 If A, B, C, D are sets, f : A → B, g : B → C and h : C → D are
functions, then
h ◦ (g ◦ f ) = (h ◦ g) ◦ f.
16
0.4
0.3
0.2
0.1
f(x)
-0.1
-0.2
-0.3
-0.4
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2
x
0.9
0.8
0.7
0.6
f(x)
0.5
0.4
0.3
0.2
0.1
0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
x
17
4
3.5
f(x) 2.5
1.5
0.5
0
-2 -1.5 -1 -0.5 0 0.5 1 1.5 2
x
2.8
2.6
2.4
2.2
f(x)
1.8
1.6
1.4
1.2
1
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2
x
18
Proof: For any x ∈ A, we have
(f ◦ g)(x) = (f ◦ g)(y)
⇒ f (g(x)) = f (g(y))
⇒ g(x) = g(y), since f is injective
⇒x = y, since g is injective.
Proposition 2.0.12 If f ◦ g is injective, only g must be injective but f needs not be.
Proof: If f ◦ g is injective, let
g(x) = g(y)
⇒ f (g(x)) = f (g(y))
.
⇒ (f ◦ g)(x) = (f ◦ g)(y),
⇒x = y, since (f ◦ g is injective).
Hence, g is injective. To show that f is not we use counter example. Let g(x) = 2x and
x, for even x,
2
f (x) = (2.0.1)
x + 1, for oddx
19
Definition 2.0.13 Functions f : A → B and g : B → A are said to be mutually
inverse if f ◦ g = idB and g ◦ f = idA .
Remark 2.0.14 If g ′ is another inverse for f , then g = g ′ , for by the associative law
we have g ′ ◦ (f ◦ g) = g ′ ◦ idB = g ′ = (g ′ ◦ f ) ◦ g = idA ◦ g = g. Therefore f has a unique
inverse if it has one at all; we write
f −1 : B → A
for the unique inverse of f .
Exercise 2.0.15 Which of the following functions is/are injective, surjective, bijective?
(a) f : R → Z defined by f (x) = [x], where [x] denotes the largest integer less or
equal to x.
(b) f : R → R+ with f (x) = ex , where R+ stands for the set of positive real numbers.
(c) f : A × B → B × A where f ((a, b)) = (b, a).
(d) Let f : A → A be an injective mapping, where A is a finite set. Then show that
f is a bijection.
20
Chapter 3
RELATIONS
21
is a universal relation between X and Y .
(6) Let X = {1, 2, 3}. The universal relation is
{(1, 1), (1, 2), (1, 3), (2, 1), (2, 2), (2, 3), (3, 1), (3, 2), (3, 3)}
is a universal relation on the set X.
(7) Every function f : X → Y is a relation of the form
{(x, f (x))|x ∈ X, y = f (x) ∈ Y }.
Remark 3.1.5 More examples of relation include equality, congruity of shapes, simi-
larity of polygons, subset and superset.
22
Definition 3.1.7 Let R be a relation on a set A, then R is called reflexive if aRa for
all a ∈ A.
Example 3.1.8 (1) Identity relation is reflexive: Let X = {1, 2, 3}. {(x, x)|x ∈
X} = {(1, 1), (2, 2), (3, 3)}.
(2) Universal relation is reflexive: Let X = {1, 2, 3}. The universal relation is
{(1, 1), (1, 2), (1, 3), (2, 1), (2, 2), (2, 3), (3, 1), (3, 2), (3, 3)}.
(3) ⊆ is a reflexive relation: For any nonempty set X and P(X) is such that for any
A ∈ P(X), A ⊆ A.
(4) ≤ is a reflexive relation: Let X = {1, 2, 3} and define R = {(a, b)|a ≤ b, and a, b ∈
X}. Thus aRb = {(1, 1), (1, 2), (1, 3), (2, 2), (2, 3), (3, 3)}.
(5) = is a reflexive relation: Any number x from any set is such that x = x.
(6) Let {1, 2, 3}. R1 = {(1, 1), (1, 2), (2, 1), (2, 2), (2, 3), (3, 1), (3, 2), (3, 3)}?
(7) Let X = {1, 2, 3}. R2 = {(1, 2), (2, 2), (2, 3), (3, 3)}?
(8) Define a relation on the set Z of integers by xRy iff ∃m ∈ Z∗ (nonzero integers)
such that m|(x − y), where m|a means m divides a without remainder. This
relation is reflexive since m|0 ⇒ m|(x − x). Hence, xRx.
Definition 3.1.9 Let R be a relation on a set A, then R is called symmetric if aRb
always implies that bRa.
Example 3.1.10 (1) Identity relation is symmetric: Let X = {1, 2, 3}. {(x, x)|x ∈
X} = {(1, 1), (2, 2), (3, 3)}.
(2) Universal relation is symmetric: Let X = {1, 2, 3}. The universal relation is
{(1, 1), (1, 2), (1, 3), (2, 1), (2, 2), (2, 3), (3, 1), (3, 2), (3, 3)}.
(3) ⊆ is not symmetric: For any nonempty set X and P(X), if A, B ∈ P(X), A ⊆ B
does not imply B ⊆ A always.
(4) ≤ is not: Let X = {1, 2, 3} and define R = {(a, b)|a ≤ b, and a, b ∈ X}. Note that
aRb = {(1, 1), (1, 2), (1, 3), (2, 2), (2, 3), (3, 3)} and (2, 1), (3, 1), (3, 2) ∈
/ aRb.
(5) Let {1, 2, 3}. R1 = {(1, 1), (1, 2), (1, 3), (2, 1), (2, 3), (3, 1), (3, 2), (3, 3)}?
(6) Let X = {1, 2, 3}. R2 = {(1, 2), (2, 2), (2, 3), (3, 3)}?
(7) Define a relation on the set Z of integers by xRy iff ∃m ∈ Z∗ such that m|(x − y).
This relation is symmetric since m|(x − y) ⇒ m| − (y − x) ⇒ m|(y − x). Hence,
xRy ⇒ yRx.
Definition 3.1.11 Let R be a relation on a set A, then R is called antisymmetric if
aRb and bRa imply that a = b.
23
Example 3.1.12 (1) Identity relation is also antisymmetric: Let X = {1, 2, 3}.
{(x, x)|x ∈ X} = {(1, 1), (2, 2), (3, 3)}.
(2) Universal relation is not antisymmetric: Let X = {1, 2, 3}. The universal relation
is {(1, 1), (1, 2), (1, 3), (2, 1), (2, 2), (2, 3), (3, 1), (3, 2), (3, 3)}.
(3) ⊆ is antisymmetric: For any nonempty set X and P(X), if A, B ∈ P(X) and
A ⊆ B implies B ⊆ A then A = B.
(4) ≤ is transitive: Let X = {1, 2, 3} and define R = {(a, b)|a ≤ b, and a, b ∈ X}. If
a ≤ b implies b ≤ a, then a = b.
(5) Let X = {1, 2, 3}. R2 = {(1, 2), (2, 2), (2, 3), (3, 3)}?
(6) Define a relation on the set Z of integers by xRy iff ∃m ∈ Z∗ such that m|(x − y).
This relation is not antisymmetric since m|(x−y) ⇒ m|(y −x), for which xRy ⇒
yRx but x ̸= y ∀x, y ∈ Z.
(7) Let X = {1, 2, 3, 4}. R3 = {(1, 1), (1, 2), (2, 3), (3, 3), (4, 4)}?
Definition 3.1.13 Let R be a relation on a set A, then R is called transitive if aRb
and bRc imply that aRc.
Example 3.1.14 (1) Identity relation, ⊆, ≤ and Universal relation are transitive
(2) Let {1, 2, 3}. R1 = {(1, 1), (1, 2), (1, 3), (2, 1), (2, 3), (3, 1), (3, 2), (3, 3)}?
(3) Let X = {1, 2, 3}. R2 = {(1, 2), (2, 2), (2, 3), (3, 3)}?
(4) Define a relation on the set Z of integers by xRy iff ∃m ∈ Z∗ such that m|(x − y).
This relation is transitive since if m|(x − y) and m|(y − z) for which xRy and
yRz, m|[(x − y) + (y − z)] ⇒ m|(x − z) ⇒ xRz ∀x, y, z ∈ Z.
(5) Let X = {1, 2, 3, 4}. R3 = {(1, 1), (1, 2), (2, 3), (3, 3), (4, 4)}?
(6) Let X = {1, 2, 3, 4}. R4 = {(1, 1), (1, 2), (2, 1), (2, 2), (3, 3), (4, 4)}?
24
Example 3.1.17 The relation R defined on Z by aRb ⇔ a = bk + r for some 0 ̸=
k, r ∈ R, a set of real numbers, is equivalence.
(1) aRa since ∃1, 0 ∈ R such that a = a(1) + 0 so it is reflexive.
(2) If aRb, then a = bko + ro . Since ko ̸= 0, b = a( k1o ) + (− kroo ). Hence, b = ak + r,
where r = − kroo , k = k1o ∈ R. Thus, bRa.
(3) Let aRb and bRc. Then, a = bk1 + r1 and b = ck2 + r2 for r1 , r2 , k1 , k2 ∈ R and
ki s are non-zero. Note, a = (ck2 + r2 )k1 + r1 = c(k2 k1 ) + (r2 k1 + r1 ) = ck + r,
where k = k2 k1 and r2 k1 + r1 .
Example 3.1.18 Let A be a set of non zero integers and ∼ the relation on A × A
defined by
(a, b) ∼ (c, d),
whenever ad = bc. Show whether ∼ is an equivalence relation.
Solution:
(1) This is reflexive since (a, b) ∼ (a, b) implies ab = ba for all a, b ∈ A.
(2) It is also symmetric since, if (a, b) ∼ (c, d), ad = bc, whence cb = da which implies
(c, d) ∼ (a, b).
(3) The relation is also transitive since if (a, b) ∼ (c, d) and (c, d) ∼ (e, f ), ad = bc
and cf = de which implies that (ad)(cf ) = (bc)(de). Since d and c are non zero,
af = be and that implies that (a, b) ∼ (e, f ).
Proof:
Assume that ∼ is an equivalence relation, we need to show that for a ∈ S, [a] = {b ∈
S : a ∼ b} is a partition of S. Let a ∈ S, usually, ∪[a] ⊆ S. Also, a ∈ [a] ⊆ ∪[a]. Thus,
S ⊆ ∪[a] and S = ∪[a]. Furthermore, assume that [a] ∩ [b] ̸= ∅. Then ∃x ∈ [a] ∩ [b]
which implies that x ∈ [a] and x ∈ [b]. In that case, a ∼ x and b ∼ x. Let y ∈ [a], then
a ∼ y and, by symmetric property, x ∼ a and by transitive property, x ∼ y and b ∼ y.
Hence, y ∈ [b]. Thus, [a] ⊆ [b]. Let y ∈ [b], then b ∼ y and, by symmetric property,
y ∼ b and by transitive property, y ∼ x which implies x ∼ y (symmetric property).
25
Hence, a ∼ y (transitive property) and y ∈ [a]. Thus, [b] ⊆ [a]. Since [a] ⊆ [b] and
[b] ⊆ [a], then, [a] = [b].
Conversely, let there be a partition in S and define a relation ∼ on it by a ∼ b if a
and b are in the same class ∀a, b ∈ S.
Reflexive:
a ∼ a is obvious.
Symmetric Property:
If a and b are in the same class, then, without loss of generality, a ∼ b implies that
b ∼ a.
Transitive Property:
Let a and b be in the same class and b and c be in the same class. Then, a ∼ b and
b ∼ c. This implies that a and c are also in the same class and so a ∼ c.
Remark 3.1.21 Equivalence relation induces partition and partition induces equiva-
lence relation.
Definition 3.1.22 Let R be an equivalence relation on a set X. Choose any element
a ∈ X, define
[a] = {x ∈ X|aRx},
which is called the R-equivalence class of a. The collection of equivalence classes is
defined as
X/R = {[x]|x ∈ X},
which is named as quotient set of X by R. It is actually a partition of X.
Example 3.1.23 The relation R defined on Z by aRr ⇔ a = bm + r for some integer
m ̸= 0 and a non negative integer r such that 0 < m ≤ r. This means that the
remainder upon dividing a by m is r or m|(a − r), which is a ≡ r( mod m). This
relation is also an equivalence relation which induces a partition.
Let m = 5
[0] = {· · · , −10, −5, 0, 5, 10, 15, · · · }
[1] = {· · · , −9, −4, 1, 6, 11, 16, · · · }
[2] = {· · · , −8, −3, 2, 7, 12, 17, · · · }
[3] = {· · · , −7, −2, 3, 8, 13, 18, · · · }
[4] = {· · · , −6, −1, 4, 9, 14, 19, · · ·S}
Z/R = {[0], [1], [2], [3], [4]}. Z = [i]4i=1
In general, if aRm ⇔ a ≡ r( mod m) on Z, Z/R = {[0], [1], [2], [3], · · · [m − 1]}.
Example 3.1.24 Let the set X = {a, b, c} have the equivalence relation
R = {(a, a), (b, b), (c, c), (b, c), (c, b)},
then
[a] = {a}, [b] = [c] = {b, c},
the quotient set of X by R is
X/R = {[a], [b]} = {{a}, {b, c}}.
26
Example 3.1.25 Consider the set Q = { pq |q ̸= 0 ∀p, q ∈ Z} of rational numbers. The
following set of equivalence fractions are subsets of Q and divide it into disjoint subsets
of itself.
1
2
= 24 = 36 = · · · , [ 12 ]
2
3
= 46 = 69 = · · · , [ 23 ]
3
4
= 68 = 129
= · · · , [ 43 ]
.. ..
. .
1 = 22 = 33 = 44 = · · · , [1]
2 = 42 = 36 = 84 = · · · , [2]
.. ..
. .
27
Chapter 4
Example 4.1.2 (a) (R, ≤), (R, ≥), (P(X), ⊇) and (P(X), ⊆) are POSET
(b) (Z, |) is not a POSET because it is not antisymmetric since a| − a and −a|a but
a ̸= −a.
28
Definition 4.2.3 A POSET is said to be totally (or linearly) ordered or a chain if
every pair of elements in it are comparable.
Example 4.2.4 (1) (N, |) is not a chain because 3 and 5 are not comparable.
(2) But let X = {2, 6, 12, 36}. (X, |) is a chain.
(3) (N, ≤) is a chain.
(4) (P(X), ⊆) is not a chain because neither is {x} ⊊ {y} nor {y} ⊊ {x} if x ̸=
y ∀ x, y ∈ P(X).
Example 4.3.2 (1) In (P(X), ⊆), ∅ is the first element since ∅ ⊆ A∀ A ∈ P(X)
and X is the last element since A ⊆ X∀ A ∈ P(X). For all x ∈ X, in P(X) ∅ is
the minimal element since ∅ ⊆ {x}. Also, X is the maximal element of P(X).
Example 4.3.3 (2) Let S = {2, 3, 4, 5, 6, } have a relation R = {(2, 4), (2, 5), (4, 5),
(6, 3), (2, 2), (3, 3), (4, 4), (5, 5), (6, 6)} defined on it. State if (S, R) is a POSET.
Also, find first, last, minimal and maximal elements of (S, R).
Solution
(S, R) is a POSET
No first element
No last element
2 and 6 are minimal elements
3 and 5 are maximal elements
Example 4.3.4 (3) (Z, ≤) has neither minimal nor maximal element. The situation
may not be the same for a finite subset of (Z, ≤) such as {0, ±1, ±2, ±3, ±4} with
the relation ≤.
29
Figure 4.1: Lattice Diagram
Use of Hasse Diagram Find the first, last, minimal and maximal elements in the
Figures 4.1, 4.2 and 4.3.
4.1 4.2 4.3
First Element 1 ∅ e
Last Element ∅ a a
Minimal Element 1 d, e e
Maximal Element 13, 18 a a
30
Figure 4.3: Lattice Diagram
31
(4) The least upper bound of T is an upper bound of T which precedes any of its upper
bounds.
Example 4.3.9 Consider the POSET (R, ≤). The interval (0, 1) is a subset of R
(1) (−∞, 0] is a lower bound of (0, 1).
(2) [1, ∞) is the upper bound of (0, 1).
(3) Least upper bound is 1 and greatest lower bound is 0.
32
Exercise 4.3.13 Let g : X → Y be a similarity mapping. Then, show whether or not
(1) g preserves least (or first) element
(2) g preserves maximal elements
33
Chapter 5
LATTICES
Let ∧ represent infimum and ∨ the supremum. Then, a ∧ b = b means that b is the
infimum of a and b. Also, a ∨ b = a means that a is the supremum of a and b.
Definition 5.0.1 Let S be a nonempty set. A lattice is a system of quadruple (S, ≾
, ∧, ∨), such that (S, ≾) is a partially set, in which each pair has glb and lub.
Exercise 5.0.5 Show that (ξ, ⊆, ∩, ∪) is a lattice, where ξ is the universal set.
Remark 5.0.6 Alternatively, let L be a nonempty set which is closed under the binary
operations join (∨) and meet (∧). Then, L is a lattice if the following holds:
(i) Commutativity Law
(a) a ∧ b = b ∧ a
(b) a ∨ b = b ∨ a
(ii) Associativity Law
34
(a) a ∧ (b ∧ c) = (a ∧ b) ∧ c
(b) a ∨ (b ∨ c) = (a ∨ b) ∨ c
(iii) Absorption Law
(a) a ∨ (a ∧ b) = a
(b) a ∧ (a ∨ b) = a
35
Chapter 6
Definition 6.1.1 Every integer n ≥ 2 can be written uniquely as the product of its
prime factors (Fundamental Theorem of Arithmetic).
Proposition 6.1.3 The set (Z, ≤) is such that, ∀a, b ∈ Z, only one of a < b, a = b or
a > b can occur and if a ≤ b,
36
(1) a + c ≤ b + c for any c ∈ Z
(2) ac ≥ b for some c ≥ 1 ∈ Z
(3) ac ≤ bc for c > 0 in Z
(4) ac ≥ bc for c < 0 in Z
Definition 6.1.5 Any integer P such that |P | > 1 and the only factors of P are ±1
and ±P is called a prime number.
Theorem 6.1.6 Let a be any integer and b be a positive integer. Then, ∃! integers q
and r such that a = bq + r and 0 ≤ r < b (Euclidean Algorithm).
Definition 6.2.2 Let {ai }ni=1 be a collection of integers. An integer c is called a com-
mon multiple of a′i s if each ai divides c, that is ai |c ∀i. If c divides all other com-
mon multiples of a′i s, it is called the lowest common multiple of a′i s and is denoted
[a1 , a2 , a3 , · · · , an ].
37
Proof: Let d = gcd(a, b). Then, d|a and d|b which implies that d|bq. Hence, d|(a − bq)
so that d|r. Thus, d|b and d|r. We claim that d = gcd(b, r). Suppose there is another
gcd(b, r) = d′ so that d|d′ . But d′ |b and d′ |r and so d′ |bq in which case d′ |(bq + r) and
d′ |a. Then we have that d′ |b and d′ |a. Since d = gcd(a, b), d′ |d also. The two cases d′ |d
and d|d′ occur together, then, d = ±d′ .
Theorem 6.2.6 If gcd(a, b) = d, we can have integers u and v such that d = ua + vb
Example 6.2.7 Find the gcd(540, 168) = d and the integers u and v such that d =
540u + 168v
540 = 168(3) + 36
168 = 36(4) + 24
36 = 24(1) + 12
24 = 12(2)
Thus, gcd(540, 168) = 12. To find u and v, we reverse the process.
12 = 36 − 24(1)
= 36 − [168 − 36(4)](1)
= 36(5) − 168(1)
= [540 − 168(3)](5) − 168(1)
= 540(5) − 168(16)
= 540(5) + 168(−16)
u = 5, v = −16, 12 = 540(5) + 168(−16)
Example 6.2.8 Find the gcd(2598, 1124) = d and the integers u and v such that d =
2598u + 1124v
2598 = 1124(2) + 350
1124 = 350(3) + 74
350 = 74(4) + 54
74 = 54(1) + 20
54 = 20(2) + 14
20 = 14(1) + 6
14 = 6(2) + 2
6 = 2(3)
38
Thus, gcd(2598, 1124) = 2. To find u and v, we reverse the process.
2 = 14 − 6(2)
= 14 − [20 − 14(1)](2)
= 14 − 20(2) + 14(2)
= 14(3) − 20(2)
= [54 − 20(2)](3) − 20(2)
= 54(3) − 20(6) − 20(2)
= 54(3) − 20(8)
.. .
. = ..
= 350(167) − 1124(52)
= [2598 − 1124(2)](167) − 1124(52)
= 2598(167) − 1124(386)
= 2598(167) + 1124(−386)
Example 6.2.9 Find the gcd(−28, 45) = d and the integers u and v such that d =
−28u + 45v. Note that a can be any integer.
−28 = 45(−1) + 17
45 = 17(2) + 11
17 = 11(1) + 6
11 = 6(1) + 5
6 = 5(1) + 1
5 = 1(5)
Thus, gcd(−28, 45) = 1. To find u and v, we reverse the process and obtain u = 8, v = 5
and 1 = −28(8) + 45(5).
39
6.3 Residue Modulo m
If upon dividing a by m the remainder is r, we can say that ‘a is congruent to r modulo
m’, a ≡ r(mod m). It means m|(a − r). So, we can define a relation ∼ such that for
any a, b ∈ Z, a ∼ b iff ∃ m ∈ Z∗ such that m|(b − a). This relation partitions Z into
residue classes modulo m. They are disjoin equivalent classes [0], [1], [2], [3], · · · , [m−1].
In general, [x] = {a ∈ Z : a ≡ x(mod m)}. A special modulo class is the
Zm = {0, 1, 2, · · · , m − 1}.
Example 6.3.3 In Z15 , the reduced residue system modulo 15 is {1, 2, 4, 7, 8, 11, 13, 14}
and ϕ(15) = 8.
40
6.4 Congruence Linear Equation
The case ax ≡ 1(mod m), where (a, m) = 1 or (a, m) > 1
In the case of gcd(a, m) = 1, the equation has unique and if gcd(a, m) > 1, then it has
no solution.
Example 6.4.1 The congruence equation 11x ≡ 1(mod 33) has no solution because
(11, 33) = 11 > 1.
9 = 7(1) + 2
7 = 2(3) + 1
2 = 1(2)
1 = 7 − 2(3)
= 7 − [9 − 7(1)](3)
= 7(4) − 9(3)
= 7(4) + 9(−3)
x = 4
y = −3
256 = 81(3) + 13
81 = 13(6) + 3
13 = 3(4) + 1
3 = 1(3)
41
Reversing the process as we earlier did,
1 = 13 − 3(4)
= 13 − [81 − 13(6)](4)
= 13(25) − 81(4)
= [256 − 81(3)](25) − 81(4)
= 256(25) − 81(79)
= 256(25) + 81(−79)
x = −79
= 177
y = 25
Example 6.4.5 Solve 6x ≡ 3(mod 9). The given equation has the same solution set
in Z9 as 2x ≡ 1(mod 3). Hence, x = 2, 5, 8.
280 = 33(8) + 16
33 = 16(2) + 1
16 = 1(16)
42
Reversing the process as we earlier did,
1 = 33 − 16(2)
= 33 − [280 − 33(8)](2)
1 = 33(17) − 280(2)
38 = 33(38)(17) − 280(38)(2)
38 = 33(646) + 280(−76)
x = 646
= 86
y = −76
79 = 22(3) + 13
22 = 13(1) + 9
13 = 9(1) + 4
9 = 4(2) + 1
4 = 2(2)
43
Reversing the process as we earlier did,
1 = 9 − 4(2)
= 9 − [13 − 9(1)](2)
= 9(3) − 13(2)
= [22 − 13(1)](3) − 13(2)
= 22(3) − 13(5)
= 22(3) − [79 − 22(3)](5)
1 = 22(18) − 79(5)
37 = 22(37)(18) − 79(37)(5)
37 = 22(666) − 79(185)
37 = 22(666) + 79(−185)
x = 666
= 34
= 113
= 192
y = −185
6.4.1 Miscellaneous
44
We are to solve 250 ≡ x(mod 105). Note that 105 = 3 × 5 × 7 We should solve:
250 ≡ x(mod 3)
250 ≡ x(mod 5)
250 ≡ x(mod 7)
2 ≡ −1(mod 3)
250 ≡ 1(mod 3)
250 ≡ 4(mod 3)
For 250 ≡ x(mod 5)
22 ≡ −1(mod 5)
(22 )25 ≡ −1(mod 5)
250 ≡ −1(mod 5)
250 ≡ 4(mod 5)
For 250 ≡ x(mod 7)
23 ≡ 1(mod 7)
(23 )16 ≡ 1(mod 7)
248 ≡ 1(mod 7)
248 22 ≡ 22 (mod 7)
250 ≡ 4(mod 7)
Hence, 250 ≡ 4(mod 105) and r = 4.
45
For 7100 ≡ x(mod 4)
7 ≡ −1(mod 4)
7100 ≡ 1(mod 4)
For 7100 ≡ x(mod 25)
72 ≡ −1(mod 25)
(72 )50 ≡ 1(mod 25)
7100 ≡ 1(mod 25)
Hence, 7100 ≡ 1(mod 100) and r = 1.
46
Chapter 7
47
(vi) For a set S an arbitrary binary operation “∗” can be given a meaning on it such
as for all a, b in S,
a ∗ b = a2 + b2 − ab.
In this case, we say that ∗ is defined on S as long as a ∗ b ∈ S is meaningful.
Example 7.1.5 (i) Let X = {0, 1, 2, 3, 4, 5} and define a binary operation □ on it
by x□y = x+y +xy ∀ x, y ∈ X. This is not closed because 2□5 = 2+5+(2×5) =
7 + 10 = 17 ∈
/X
(ii) Let Z6 = {0, 1, 2, 3, 4, 5} and define a binary operation +6 on it by a +6 b = re-
mainder upon dividing a + b by 6.
+6 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
(Z6 , +6 ) is a groupoid since +6 is closed in Z6 .
Remark 7.1.6 Note the following:
(i) (N, +), (Z, +), (R, +), (Q, +), (C, +) are always closed.
(ii) (N, ×), (Z, ×), (R, ×), (Q, ×), (C, ×) are always closed.
(iii) (N, −) is not closed.
(iv) (N, ÷), (Z, ÷), (R, ÷), (Q, ÷) are not closed
Definition 7.1.7 A binary operation ∗ on a nonempty set S is associative if for all
a, b, c ∈ S,
a ∗ (b ∗ c) = (a ∗ b) ∗ c.
Example 7.1.8 Define a binary operation ∗ on R the set of real numbers by a ∗ b =
a + b + ab
2
∀ a, b, c ∈ R. Show whether this is associative or not.
ab
(a ∗ b) ∗ c = (a + b + 2
) ∗c
= (a + b + 21 ab) + c + 12 (a + b + 21 ab)c
= a + b + c + 12 (ab + ac + bc) + 41 abc
48
Similarly,
bc
a ∗ (b ∗ c) = a ∗ (b + c + 2
)
bc a(b+c+ bc )
= a + (b + c + 2
) + 2
2
Example 7.1.12 Define an operation ∗ and ⊙ on the set N of natural numbers respec-
tively by
a ∗ b = ab ∀a, b ∈ N
a⊙b= a
b
∀a, b ∈ N
Check the following:
(1) Is ∗ distributive over ⊙
(2) Is ⊙ distributive over ∗
Solution:
Let a, b, c ∈ N
(1) Is ∗ distributive over ⊙
a ∗ (b ⊙ c) = a ∗ ( cb )
= a cb
ab
= c
49
Also,
(a ∗ b) ⊙ (a ∗ c) = (ab) ⊙ (ac)
ab
= ac
b
= c
Since abc = a ∗ (b ⊙ c) ̸= (a ∗ b) ⊙ (a ∗ c) = b
c
except a = 1, ∗ is not distributive
over ⊙. Let a, b, c ∈ N
(2) Is ⊙ distributive over ∗
a ⊙ (b ∗ c) = a ⊙ (bc)
a
= bc
Also,
a a
(a ⊙ b) ∗ (a ⊙ c) = b
∗ c
a2
= bc
a2
Since bca = a ⊙ (b ∗ c) ̸= (a ⊙ b) ∗ (a ⊙ c) = bc
except a = 1, ⊙ is not distributive
over ∗.
50
Remark 7.1.15 Note the following:
(i) (N, +), (Z, +), (R, +), (Q, +), (C, +) are always commutative.
(ii) (N, ×), (Z, ×), (R, ×), (Q, ×), (C, ×) are always commutative.
(iii) (N, ÷), (Z, ÷), (R, ÷), (Q, ÷), (C, ÷) are not commutative.
(iv) (N, −), (Z, −), (R, −), (Q, −), (C, −) are not commutative.
Exercise 7.1.16 (1) For a set N of natural numbers, check if the binary operation ⊕
defined by a⊕b = (ab)2 −ab for all a, b ∈ N is closed, associative and commutative.
(2) For a set R of real numbers, check if the binary operation ⊕ defined by a ⊕ b =
(ab)2 − ab for all a, b ∈ R is closed, commutative and distributive over ⊘ defined
by a ⊘ b = ab.
a ∗ e = a = e ∗ a ∀a ∈ S.
Example 7.1.20 Find the identity of the set (R, ∗) for ∗ defined on R by x ∗ y =
2x−2y−1
2
∀ a, b ∈ R. Find e for which x ∗ e = x = e ∗ x.
2x−2e−1
x∗e = 2
2x−2e−1
2
= x
2x − 2e − 1 = 2x
−2e − 1 = 0
e = − 12
51
2e−2x−1
e∗x = 2
2e−2x−1
2
= x
2e − 2x − 1 = 2x
2e − 1 = 4x
4x+1
e = 2
Example 7.1.21 Find the identity of the set (R, ∗) for ∗ defined on R by x ∗ y =
2x+2y−1
2
∀ x, y ∈ R. Find e for which x ∗ e = x = e ∗ x.
2x+2e−1
x∗e = 2
2x+2e−1
2
= x
2x + 2e − 1 = 2x
2e − 1 = 0
1
e = 2
2e+2x−1
e∗x = 2
2e+2x−1
2
= x
2e + 2x − 1 = 2x
2e − 1 = 0
1
e = 2
1
The set has an identity element e = 2
since e is unique.
Example 7.1.22 Find the identity of the set (Z, ∗) for ∗ defined on R by x ∗ y =
2x+2y−1
2
∀ x, y ∈ R. Find e for which x ∗ e = x = e ∗ x. Since e = 12 ∈
/ Z, the set has no
identity.
Definition 7.1.23 If the semigroup (S, ∗) has an identity element, that is, an element
e of S such that
a∗e=a=e∗a
for all a ∈ S, then it is called a monoid.
52
Example 7.1.24 (i) The identity element in (N, ×), (Z, ×), (R, ×), (Q, ×), (C, ×)
is 1 so they are monoids.
(ii) The identity element in (Z, +), (R, +), (Q, +), (C, +) is 0 while (N, +) has none.
(iii) (N, −), (Z, −), (R, −), (Q, −), (C, −) have no identity element.
(iv) (N, ÷), (Z, ÷), (R, ÷), (Q, ÷), (C, ÷) have no identity element.
x ∗ x−1 = e = x−1 ∗ x ∀x ∈ S.
Example 7.1.26 (i) No element in (N, ×) and (Z, ×) has inverse and 0 has no
inverse in (R, ×) and (Q, ×) since e = 1.
(ii) In (R∗ , ×) and (Q∗ , ×), the inverse is the reciprocal of each element. That is, for
any x reciprocal is x1 or for any xy , reciprocal is xy .
(iii) The inverse of each element x in (Z, +), (R, +), (Q, +), (C, +) is −x while ele-
ments of (N, +) has none.
Exercise 7.1.27 Determine which of the following is/are groupoid(s), monoid(s) and/or
semigroup(s) with respect to the usual addition, subtraction, division and multiplication:
(1) The set N of natural numbers
(2) For a set R of real numbers
(3) For a set Q of rational numbers
(4) For a set Z of integers
(5) For a set C of complex numbers
7.2 Group
The concept of group arises from many real life situations such as crystal structure,
symmetry of atomic orbits, transformation of computer graphics and so on. We have
already considered that when a proper binary operation ∗ is defined on a nonempty set
S, (S, ∗) becomes an algebraic structure. Such structures can be groupoid or semigroup
or monoid depending on some properties of the operation. Now, we define a special
algebraic structure called a group.
53
Definition 7.2.1 A monoid (S, ∗) is called a group if each element a of S has an
inverse. That is, to every a ∈ S, there is an element a−1 of S such that, for identity
element e,
a ∗ a−1 = e = a−1 ∗ a, .
(iv) For every a ∈ S, there is an a−1 ∈ S, called the inverse of a, such that
a ∗ a−1 = e = a−1 ∗ a.
for all a, b ∈ S. In that case, the group is also called an abelian group.
Example 7.2.5 Let X = {1, −1, i, −i}. The pair (X, ×) is a group, where × is ordinary
multiplication.
54
Example 7.2.8 Let GLn (R) be the set of all n × n invertible matrices with entries
from the set of real numbers. Hence, for A ∈ GLn (R), det(A) ̸= 0. If the usual rule
of multiplication of matrices is used, we obtain a group (GLn (R), ·) called the general
linear group. This particular group is of great importance in physical sciences. It is
easy to see that it is a non-abelian group.
Remark 7.2.9 If the cardinality of a group is finite, then the group is referred to as
finite, otherwise, it is infinite.
Example 7.2.12 (i) For any group G, {e} and G are subgroups of referred to as
trivial subgroups
(ii) With respect to the usual addition, the following is a chain of subgroups: Z ⊆
Q ⊆ R ⊆ C, where Z, Q, R, C are respectively set of integers, rational numbers,
real numbers and complex numbers.
55
7.2.3 Some Properties of Subgroups
Let H be any subgroup of G and e as stated earlier.
(i) A group whose cardinality is prime has only the trivial subgroups.
(ii) The identity of G is the same as that of H.
(iii) For all a, b ∈ H, we also have that ab ∈ H.
(iv) If a ∈ H, so is a−1 ∈ H.
(v) (iii) and (iv) can be combined that for all a, b ∈ H, we also have that ab−1 ∈ H.
This is enough to show that H ≤ G.
Example 7.2.15 Consider the set Zn with the binary operation ⊕n , which is addition
modulo n. Then, (Zn , ⊕n ) is an additive abelian group.
Example 7.2.16 Consider the set Z∗p with the binary operation ⊗p , which is multipli-
cation modulo p, a prime. Then, (Z∗p , ⊗p ) is a multiplicative abelian group.
Lemma 7.2.19 The set of all permutations on the set X under the composition of
permutations form a group.
56
◦ e ρ α λ β ϕ
e e ρ α λ β ϕ
ρ ρ e ϕ β λ α
α α β e ϕ ρ λ
λ λ ϕ β e α ρ
β β α λ ρ ϕ e
ϕ ϕ λ ρ α e β
Example 7.2.20 Let X = {1, 2, 3} in which case n = 3 and n! = 6. Hence, the set of
all permutations on X is S3 . We can have these permutations on X as
1 2 3 1 2 3 1 2 3 1 2 3 1 2 3
ϕ= ,β = ρ= α= λ=
3 1 2 2 3 1 2 1 3 3 2 1 1 3 2
and
1 2 3
e= .
1 2 3
We can compute the composition of the permutations ϕ and β, ϕβ to mean first use β
then ϕ (this is right to left and the direction must be kept unchanged). In that case,
ϕβ(1) = ϕ(2) = 1. So,
1 2 3 1 2 3 1 2 3
ϕβ = = = e.
3 1 2 2 3 1 1 2 3
57
but
1 2 3 4 1 2 3 4 1 2 3 4
= .
3 1 4 2 2 3 1 4 1 4 3 2
58
(iv) The mapping α : (R, +) → (R+ , ×), defined by α(x) = ex , where R+ is
positive real numbers;
(v) The mapping β : (N, +) → (N, +) defined by β(x) = 5x and
(vi) The mapping f : (Z, ×) → (Q, ×) defined by f (z) = 25 z.
2. Show that the set of all automorphisms of G denoted by Aut(G) is a group (group
of automorphism of G) under composition of mappings.
7.3 Ring
This section mainly contains the definition, some properties and examples of rings.
Definition 7.3.1 A non-empty set R is called a ring if two binary operations + and
×, usual addition and multiplication, are defined on it and for a, b, c ∈ R, the following
hold:
(2) a + b = b + a;
(2) (a + b) + c = a + (b + c);
(3) There exists 0 ∈ R such that a + 0 = a = 0 + a ∀ a ∈ R;
(4) There exists −a ∈ R such that a + (−a) = 0 = (−a) + a for each a ∈ R;
(5) a × (b × c) = (a × b) × c and
(6) (i) a × (b + c) = (a × b) + (a × c),
(ii) (a + b) × c = (a × c) + (b × c).
Definition 7.3.2 A non-empty set R is called a ring if
(1) (R, +) is an abelian group,
(2) (R, ×) is a semigroup and
(3) (i) a × (b + c) = (a × b) + (a × c) (Left distributivity),
(ii) (a + b) × c = (a × c) + (b × c) (Right distributivity)
Definition 7.3.3 A ring R
(i) is commutative if a × b = b × a and
(ii) has identity element (or is unital) if for each a ∈ R there is e ∈ R such that
a × e = a = e × a.
Remark 7.3.4 (R, +, ×) denotes a ring but we simply use R instead. If R is commu-
tative, left and right distributivity coincide. The property of a ring being commutative
or having identity is hinged on the operation “×”.
59
7.3.1 Illustrative Examples of Rings
(i) Z, Q, R and C are rings with the usual addition and multiplication.
(ii) The set mZ = {mn : ∀n ∈ Z and a fixed m ∈ Z} is a ring with respect to
addition and multiplication.
(iii) Zm with respect to addition and multiplication modulo m is a ring.
(iv) The set of all polynomials in x with coefficients in R, denoted by R[x], with
polynomial addition and multiplication, is a ring.
(v) Z[i] = {m + in : m, n ∈ Z} with respect to addition and multiplication of complex
numbers is a ring.
(vi) (IMn (R), +, ×) is a non-commutative ring with identity.
(iii) Rings such as Z, Zp , R, Q, C, R[x] and Z[i] do not have zero divisors.
Definition 7.3.7 For a, b, c ∈ IR,
ab = ac ⇒ b = c (Left cancellation) and (7.3.1)
ba = ca ⇒ b = c (Right cancellation) (7.3.2)
Remark 7.3.8 Cancellation can be multiplicative or additive. The condition for mul-
tiplicative cancellation law in a ring is equivalent to not having zero divisors.
Definition 7.3.9 A commutative ring with identity is said to be an integral domain if
it has no zero divisor.
Definition 7.3.10 A ring R is said to be of characteristic n if ∀ a ∈ R n is the least
of all such positive integers for which na = 0. If no such n exists, it is said that R is
of characteristic 0.
Example 7.3.11 (i) Zn is a ring of characteristic n.
(ii) Z, Q, R and C are rings of characteristic 0.
60
7.4 Field
Definition 7.4.1 A ring R is said to be a division ring or a skew field if (R − {0}, ×)
is a group (Note that R − {0} = R∗ ).
61
Chapter 8
Polynomial Ring
8.1 Polynomials
Definition 8.1.1 Let R be a ring and x an indeterminate. A polynomial form or
polynomial function is the expression
n
X
a(x) = ai xi , where ai ∈ R, 0 ≤ i ≤ n.
i=0
Definition 8.1.2 If in
n
X
a(x) = ai x i
i=0
Let m ≥ n. Then,
62
(i)
n
X m
X
i
a(x) ± b(x) = (ai ± bi )x + bj x j
i=0 j=n+1
(ii)
n
X k
X
k
a(x).b(x) = ck x , where ck = al bk−l , 0 ≤ k ≤ (m + n).
k=0 l=0
Definition 8.1.5 If in
n
X
a(x) = ai x i
i=0
Theorem 8.1.6 Let R[x] be the set of all polynomials in x with coefficients from the
ring R. Then (R[x], +, .) is a ring called the ring of polynomials.
Remark 8.1.9 For simplicity, except where confusion will arise, we henceforth write
R[x] instead of (R[x], +, .). Let us replace the ring R with any field IF . Then (IF [x], +, .)
is called a field of polynomials with coefficients from the field IF .
Definition 8.1.10 Let a(x), b(x) ∈ IF [x]. Then, a(x) is said to be a factor of or divide
b(x) if there exists a nonzero c(x) ∈ IF [x] such that b(x) = a(x)c(x) and in that case
we write a(x)|b(x) which is read as “a(x) divides b(x).”
Definition 8.1.11 Let a(x), b(x), c(x) ∈ IF [x]. The polynomial a(x) is said to be irre-
ducible over the field IF if it cannot be expressed as a product of any b(x) and c(x) such
that 0 < deg b(x) < deg a(x) and 0 < deg c(x) < deg a(x); otherwise, it is said to be
reducible.
Definition 8.1.13 Let a(x) ∈ IF [x]. u ∈ IF is called the zero or the root of a(x) if
a(u) = 0.
Example 8.1.14 The polynomial x2 + 1 has no real root but ±1 are the roots of x2 − 1.
63
8.2 Division Algorithm of Polynomial
For the set Z of integer numbers, the division algorithm states that if a is any number
and b is any positive number then there exist unique q and r such that a = bq + r such
that 0 ≤ r < b. This same algorithm can be applied to field of polynomials.
64
Assume that q(x) ̸= q ′ (x), then deg b(x)[q(x) − q ′ (x)] ≥ deg b(x). But
deg b(x)[q(x) − q ′ (x)] = deg [r′ (x) − r(x)] < deg b(x).
This is a contradiction and it can only be that q(x) = q ′ (x) which implies that
If u is a zero of a(x), then x−u is a factor of a(x) and we can have a unique q(x) ∈ IF [x],
by division algorithm, such that a(x) = (x − u)q(x). Hence, q(x) is of degree n − 1. By
the inductive hypothesis, q(x) has at most n − 1 zeros. Thus, since x − u has only one
zero, (x − u)q(x) has at most 1 + (n − 1) = n zeros.
Definition 8.2.4 Let a(x), b(x) ∈ IF [x]. A common divisor of a(x) and b(x) is a
polynomial c(x) ∈ IF [x] such that c(x)|a(x) and c(x)|b(x). The greatest common divisor
(g.c.d) or highest common factor (h.c.f ) of a(x) and b(x) is the polynomial g(x) which
is also a common divisor of a(x) and b(x) and is divided by any other common divisor
c(x) of a(x) and b(x).
65
Remark 8.2.5 Let a(x), b(x) ∈ IF [x] and g(x) their greatest common divisor, then
we write g(x) = (a(x), b(x)). Also note that there exist w(x), v(x) ∈ IF [x] such that
g(x) = w(x)a(x) + v(x)b(x) as in the case of ordinary number. For the g.c.d to be
unique, it has to be a monic polynomial. By repeated division algorithm for numbers,
we can have
a(x) = b(x)q(x) + r(x), deg r(x) < deg b(x);
b(x) = r(x)q1 (x) + r1 (x), deg r1 (x) < deg r(x);
r(x) = r1 (x)q2 (x) + r2 (x), deg r2 (x) < deg r1 (x);
..
.
rk−2 (x) = rk−1 (x)qk (x) + rk (x), deg rk (x) < deg rk−1 (x);
rk−1 (x) = rk (x)qk+1 (x)
Note that the required monic polynomial which is the g.c.d. of a(x) and b(x) is
Example 8.2.6 Find q(x) and r(x) if a(x) = x3 + 2x2 − 3x − 10 and b(x) = 2x + 1.
Also, find w(x) and v(x) such that g(x) = w(x)a(x) + v(x)b(x).
Solution:
1 2
2
x + 34 x − 15
8
2x + 1 x3 + 2x2 − 3x − 10
− x3 − 12 x2
3 2
2
x − 3x
− 23 x2 − 34 x
15
− 4
x − 10
15 15
4
x + 8
65
− 8
Hence,
1 3 15 65
x3 + 2x2 − 3x − 10 = (2x + 1)( x2 + x − ) − (8.2.3)
2 4 8 8
65 16 8
2x + 1 = − (− x − ). (8.2.4)
8 65 65
66
8 65
Hence, g(x) = (a(x), b(x)) = − 65 .− 8
= 1. By reversing order,
65 1 3 15
− = (x3 + 2x2 − 3x − 10) − (2x + 1)( x2 + x − ) (8.2.5)
8 2 4 8
8 3 8 1 3 15
1 = − (x + 2x2 − 3x − 10) + (2x + 1)( x2 + x − ) (8.2.6)
65 65 2 4 8
8 3 1
1 = − (x + 2x2 − 3x − 10) + (2x + 1)(4x2 + 6x − 15). (8.2.7)
65 65
8 1
Thus, w(x) = − 65 and v(x) = 65
(4x2 + 6x − 15)
Example 8.2.7 Find q(x) and r(x) if a(x) = x3 +2x2 −3x−10 and b(x) = 12 x2 + 34 x− 15
8
.
Also, find w(x) and v(x) such that g(x) = w(x)a(x) + v(x)b(x).
Solution:
2x + 1
1 2
+ 43 x − 15
2
x 8
x3 + 2x2 − 3x − 10
− x3 − 23 x2 + 15
4
x
1 2
2
x + 34 x − 10
− 21 x2 − 43 x + 15
8
65
− 8
4 2 6 3
− 65
x − 65
x + 13
65 1 2
+ 34 x − 15
− 8 2
x 8
− 12 x2
3
4
x
− 34 x
15
− 8
15
8
67
Hence,
1 3 15 65
x3 + 2x2 − 3x − 10 = ( x2 + x − )(2x + 1) − (8.2.8)
2 4 8 8
1 2 3 15 65 4 2 6 15
x + x− = − (− x − x + ).
2 4 8 8 65 65 65
8 65
Hence, g(x) = (a(x), b(x)) = − 65 .− 8
= 1. By reversing order,
65 1 3 15
− = (x3 + 2x2 − 3x − 10) − ( x2 + x − )(2x + 1)
8 2 4 8
8 3 2 8 1 2 3 15
1 = − (x + 2x − 3x − 10) + ( x + x − )(2x + 1). (8.2.9)
65 65 2 4 8
8 1
Thus, w(x) = − 65 and v(x) = 65
(16x + 8)
Example 8.2.8 Find q(x) and r(x) if a(x) = x3 + 2x2 − 3x − 10 and b(x) = 2x + 1.
Also, find w(x) and v(x) such that g(x) = w(x)a(x) + v(x)b(x).
Solution:
1
2x2 + 2
2x + 1 4x3 + 2x2 + x + 3
− 4x3 − 2x2
x +3
1
−x− 2
5
2
Example 8.2.9 Find q(x) and r(x) if a(x) = x6 + 3x5 + 4x2 − 3x + 2 and b(x) =
3x2 + 2x − 3 in Z7 [x]. Also, find w(x) and v(x) such that g(x) = w(x)a(x) + v(x)b(x).
Solution:
68
Hence, g(x) = (a(x), b(x)) = 5−1 5 = 3.5 = 1. By reversing order,By reversing order,
5 = (3x2 + 2x − 3) − (x + 2)(3x − 4)
1 = 3(3x2 + 2x − 3) − 3(x + 2)(3x − 4)
1 = 3(3x2 + 2x − 3) − 3(3x − 4)[(x6 + 3x5 + 4x2 − 3x + 2)
− (3x2 + 2x − 3)(5x4 + 5x2 − x)]
1 = 3(3x2 + 2x − 3) + 3(3x − 4)(3x2 + 2x − 3)(5x4 + 5x2 − x)
− 3(3x − 4)(x6 + 3x5 + 4x2 − 3x + 2)
1 = (3x2 + 2x − 3)[3 + 3(3x − 4)(5x4 + 5x2 − x)]
− 3(3x − 4)(x6 + 3x5 + 4x2 − 3x + 2)
1 = −3(3x − 4)(x6 + 3x5 + 4x2 − 3x + 2)
+ (3x2 + 2x − 3)[3 + 3(3x − 4)(5x4 + 5x2 − x)] (8.2.11)
Thus, w(x) = −3(3x − 4) = −2x + 5 = 5x + 5 and
69
Bibliography
[1] S.A. Ilori and O. Akinyele, Elementary Abstract and Linear Algebra, Ibadan Uni-
veristy Press, Ibadan (1986).
[2] A. Kuku, Abstract Algebra, Ibadan Univeristy Press, Ibadan (1992).
70