M1102 Algebra II: Lebanese University Faculty of Sciences
M1102 Algebra II: Lebanese University Faculty of Sciences
M1102 Algebra II: Lebanese University Faculty of Sciences
Faculty of Sciences
M1102
Algebra II
Department of Mathematics
Spring Semester
2019 - 2020
©opyright Reserved
Preface
This book is designed to be compatible with the content of the course M1102
of the new curriculum at the faculty of sciences of the Lebanese University.
Ideas are presented in a clear style and the exercises were chosen delicately
to deepen the understanding of the required concepts of each semester.
We hope the students find this text convenient with their understanding skills
and enable them to go around elegantly between the ideas and the proofs
presented.
i
Contents
Preface i
1 Binary relations 1
1.1 Definitions and Notations . . . . . . . . . . . . . . . . . . . . 1
1.2 Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.3 Order Relations . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.4 Equivalence Relations . . . . . . . . . . . . . . . . . . . . . . . 5
Exercises and problems . . . . . . . . . . . . . . . . . . . . . . . . . 9
iii
Chapter 1
Binary relations
Definition 1.1.1. Let E be a non empty set and let (p) be a property defined
on the set E × E. (p) defines on E a binary relation R as follows: For every
x and y in E, we say that x has a relation R with y, we write xRy, if and
only if (x, y) verifies (p) in E × E.
xRy ⇔ (x, y) verifies (p).
The subset of E × E, {(x, y); (x, y) verifies (p)}, denoted by GR , is said to be
the graph of R. A more precise definition and details of graph are presented
in chapter 2. We have:
xRy ⇔ (x, y) ∈ GR
Remark 1.1.1. Two binary relations R and S defined on a set E are said
to be equal, we write R = S, if they have the same graph. We have in this
case the following equivalence:
xRy ⇔ xSy ∀x, y ∈ E.
1
We use quotient structure of Z in the creation of advanced cryptographic systems.
2 CHAPTER 1. BINARY RELATIONS
√
2. The usual order defined on R. π ≤ 4, 2 > 1.
xRp y ⇔ p divides x − y.
1.2 Properties
Definition 1.2.1. A relation R defined on a set E is said to be reflexive if
xRx for every element x in E.
Example 1.2.1. The equality, the relations Rp and Rf defined in the above
examples are reflexive. The relation < (less than strictly) defined on R is not
reflexive. It is a relation R verifying xRx ∀x ∈ R. Such a relation is said to
be antireflexive2 .
Example 1.2.2. The equality, the relation Rp and Rf are all symmetric. ≤
is not a symmetric relation.
Definition 1.2.3. A relation R defined on a set E is said to be antisymmetric
if for every elements x and y of E, we have: (xRy and yRx) ⇒ x = y
Example 1.2.3. ≤ is an antisymmetric relation.
Remark 1.2.1. Note that a relation can be symmetric and antisymmetric
at the same time. Also, it can be neither symmetric nor antisymmetric at
the same time.
Definition 1.2.4. A relation R defined on a set E is said to be transitive if
for every elements x, y and z of E, we have: xRy and yRz ⇒ xRz.
Remark 1.2.2. It is important to remark that transitivity does not give
the sense of circulation, that is, we don’t have: zRx instead of xRz in the
definition. If we call a circular relation any relation R verifying xRy and
yRz ⇒ zRx, we get the following fact:
Exercise 1.2.2. Let R be a reflexive relation. Then R is circular if and only
if R is symmetric and transitive.
We treat in the sequel interesting families of relations, the order relations
and the equivalence relations.
Definition 1.3.2. Let E be a set endowed with an order relation ≤ and let
a be an element of E.
Remark 1.3.2. (R, ≤) has neither maximal element nor minimal element.
Definition 1.3.3. Let E be a set endowed with an order relation ≤ and let
A be a part of E and a an element of E.
Remark 1.3.3. The least upper bound (resp. greatest lower bound) of a
part A is not necessarily an element of A. (]1, 2[ in (R, ≤).)
x̄ = {y ∈ E; xRy}.
Definition 1.4.3. Let E be a set, and let (Fi )i∈I be a family of subsets of
E. (Fi )i∈I is said to be a partition of E if:
(a) Fi 6= ∅ for all i ∈ I.
(c) ∪i∈I Fi = E.
Corollary 1.4.1. Let R be an equivalence relation defined on a non empty
set E. The family {x̄}x∈E/R is a partition of E.
Proof. We may verify easily that this family satisfies the conditions of a
partition, using the above proposition and the fact that x ∈ x̄ for every
x ∈ E.
By the following proposition, we complete the proof of our remark that an
equivalence relation defined on a set E is exactly a partition defined on the
same set.
Proposition 1.4.2. Let E be a non empty set and let {Fi }i∈I be a partition
of E. There exists an equivalence relation R defined on E such that the
classes of R are exactly the members of the partition.
Proof. Let R be the relation defined on E by:
ϕ : E/Rf →
7 f (E)
x̄ → 7 ϕ(x̄) = f (x)
2. Let
2
A = {xn = + (−1)n ; n ∈ N∗ }.
n
Show that SupQ (A) = 2 and InfQ (A) = −1.
xRy ⇔ x divides y.
Show that E has no maximal elements and that every prime number
is a minimal element of E.
Show that:
ARB ⇔ A = f −1 (f (B)).
is an equivalence relation on E.
f (x) = 2x2 − 3.
11. Let E and F be two sets and let R (resp. S) be an equivalence relation
on E (resp. F ). Let p : E → E/R (resp. q : F → F/S) be the
canonical surjection of E (resp. F ) onto E/R (resp. F/R). Show that
if f : E → F is a mapping of E to F , then the following properties are
equivalent:
and
G ◦ G = G and G ∩ G−1 = ∆.
xRy ⇔ (x − y) ∈ Z.
f : R∗+ 7→ R
ln(x)
x 7→
x
ϕ : E/R 7→ E/R
x̄ ¯
7→ ϕ(x̄) = f (x)
is bijective.
19. Let f and g be two mappings defined from a set E into a set F such
that f (x) 6= g(x) for every x ∈ E. We define on E the relation R by
xRy ⇔ f (x) = g(y).
13
20. Let (E, ≤) be an ordered non empty set and let f be an increasing
mapping from E to E verifying x ≤ f (x) = f (f (x)) for every x ∈ E.
Set F = {x ∈ E, x = f (x)}.
Theorem 2.1.1. If any two persons in V have exactly one common friend,
then there is a person in V who is the friend of everyone in V .
a c f
b d
V (G) = {a, b, c, d, f }
E(G) = {ab, ad, bc, bd, cd, df }
v(G) = 5, e(G) = 6, e = ab = ba
Example 2.1.2. G is a complete graph if xy ∈ E(G) ∀x, y ∈ V (G).
G=K4
y t y t
G H: subgraph of G
2.1. SYMMETRIC RELATIONS 17
z v x z v
y t y t
H1 : induced subgraph of G H2 : spanning subgraph of G
t v t v
G G−y
x y z x y z
t v t v
G − vz G + xt
V (P) = {v1 , v2 , . . . , vn }
Then,
x v
P[x,v]
y
x v
P
v1 v2
C: square, l(C) = 4:
l(C) = n:
vn v1 v2
vn−1 v3
20 CHAPTER 2. RELATIONS AND GRAPHS
A cycle is said to be even if its length is even and odd if its length is odd.
x t
v
y z
G
Tree
Example 2.1.8.
x y z
t
u v
G
3-regular graph
So, X X
d(v) + d(v) is even.
v∈G v∈G
d(v) odd d(v) even
22 CHAPTER 2. RELATIONS AND GRAPHS
Thus X
d(v) is even.
v∈G
d(v) odd
Example 2.1.9.
y
x• • •z
• • •
t v u
∗ {x, y} is a stable in G.
∗ {t, z, u} is a maximal stable in G.
∗ α(G) = 3.
∗ χ(G) = 3. V (G) = S1 ∪ S2 ∪ S3 , S1 = {x, t}, S2 = {y, z}, S3 = {v, u}.
∗ χ(G) 6= 2.
V (Ḡ) = V (G)
E(Ḡ) = {xy; xy 6∈ E(G)}
2.2. BIPARTITE GRAPH 23
Example 2.1.10.
y y
x• • •z x• • •z
• • • •
t v t v
G Ḡ
We write G=G(X,Y).
Remark: X and Y are stables; χ(G) ≤ 2.
Example 2.2.1.
• • • X
• • • • Y
Remark 2.2.1.
x• •y x• •z X
t• •z y• •t Y
G : bipartite
24 CHAPTER 2. RELATIONS AND GRAPHS
v1
•
x v2 •
• • v5
y• •z v3 • • v4
v ∈ X ⇒ v2 ∈ Y ⇒ v3 ∈ X.
Proof. We have
X X
e(G) = d(x) = d(y).
x∈X y∈Y
Then,
X X
k= k.
x∈X y∈Y
2.3 Digraphs
When a relation R is not symmetric, it defines what we call oriented graph
or digraph. Pairs are replaced by couples, and edges become arcs.
Example 2.3.1.
26 CHAPTER 2. RELATIONS AND GRAPHS
x y z
• • •
D:
• •
t v
• • • • •
•
• •
• •
•
We write C = v1 v2 . . . vn , l(C) = n.
Definition 2.3.4. A digraph is said to be strongly connected or strong if
∀x, y ∈ D, D contains an xy-directed path.
Example 2.3.2. The digraph below is a strong digraph.
•
• • • •
• • •
• • • •
•
• •
V (G) = {v1 , v2 , v3 , v4 , v5 , v6 , v7 }
E(G) = {v1 v3 , v1 v4 , v2 v3 , v2 v4 , v3 v4 , v4 v5 , v6 v7 }
(a) Draw G.
(b) Find δ(G), ∆(G), α(G), d(G), χ(G).
(c) Is G connected? Find the connected components of G.
(d) Find a longest path of G.
/ E(G) and G0 = G + xy verifies
(e) Find x, y ∈ V (G) such that xy ∈
that G is connected and ∆(G0 ) = ∆(G). Show that δ(G0 ) = δ(G).
G : Petersen graph
8. Let G be a graph.
(a) Show that D contains a vertex v such that d+ (v) = 0. Show that
S = {v; d+ (v) = 0} is a stable.
(b) Let v ∈ D and set c(v) = max{l(P); P is a divided path in D of
origin v}. Show that if c(v) = c(v 0 ) then vv 0 ∈
/ E(G(D)).
(c) Deduce that D contains a directed path P such that l(P) ≥
χ(D) − 1.
Axiom 3.1.1. (A1 ) Any non empty part of N admits a smallest element.
The set N may be introduced using another family of axioms, like Peano’s
axioms, the above axioms will be then simple consequences, they are chosen
1
From Michel Queysanne: Algèbre (1er cycle et classes préparatoires).
2
We define the successor in the same way: a0 is the successor of a if a < a0 and if
a ≤ b ≤ a0 then b = a0 or b = a.
CHAPTER 3. COMPLEMENT ON THE NATURAL INTEGERS AND
32 THE CARDINALS OF COUNTABLE SETS
here for a simplification reason: these axioms permit us to present the in-
duction as a proved fact. This notion may be presented as an axiom after
defining the successor function S(n) as follows:
1. 0 ∈ K.
2. n ∈ K ⇒ S(n) ∈ K.
Then K = N.
Proof. A and s are defined as in the above theorem, for every s0 < s, we have
s0 ∈
/ A and then s0 verifies p, then by hypothesis s verifies p, a contradiction.
So A = ∅.
The induction principle is based then on the axiom of the smallest element
satisfied in N. It is also founded on what we call “mathematical definition”.
In fact, the ambiguity in the definition of many properties -in a mathematical
point of view- raises up the belief that some of our fundamental logical laws
are built over a weak base. The “sorites” are among the more ancient para-
doxicons that go back to the Greek philosophers of the Megare school. These
paradoxicons consist of proving that it is impossible to construct a handful of
grains by adding one grain at a time. Other examples show in the same way
that there are no rich men. In fact, a man possessing a franc is not rich and
he will not be so if one franc is added. If we apply induction, we are forced to
conclude that this man will remain poor no matter how many pieces of money
3.2. CARDINAL OF A FINITE SET 33
he receives. For certain, the same argument is valid for the example of grains.
The problem resides in the fact that we have no precise borders permitting to
decide if something is a “handful” or not, if a man is rich or not, etc. Then,
it is the mathematical ambiguity in the definitions of “handful”, “rich”, etc
which leads to contradictory results3 .
Finally, it remains to remark that the first step 0 p(0)0 must be carefully
verified. To realize this see exercise 3 (A group of persons containing a
woman contains only women).
Proposition 3.2.1. Let m and n be two non zero positive integers. If there
exists an injection from [1, m] into [1, n], then m ≤ n.
Corollary 3.2.1. If there exists a bijection from [1, m] into [1, n], then m =
n.
Proposition 3.2.2. Let n be a non zero natural integer. Any injection from
[1, n] into [1, n] is a bijection.
injection from [1, n + 1] into [1, n + 1]. Let s be the element of [1, n + 1] such
that f (n + 1) = s and let ϕ be the permutation (s n + 1) (if s = n + 1, ϕ
is then the identity mapping), then ϕ ◦ f is an injection from [1, n + 1] into
[1, n + 1] such that ϕ ◦ f (n + 1) = n + 1, then it is a bijection by induction
hypothesis. We deduce that ϕ ◦ f is a bijection, then f is a bijection since ϕ
is so (f = ϕ−1 ◦ (ϕ ◦ f )).
Definition 3.2.1. A non empty set E is said to be finite of cardinal n (we
write card(E) = n) if there exists a bijection from E into [1, n] where n ∈ N∗ .
A non finite set is said to be infinite. By definition ∅ is a finite set of cardinal
zero, card(∅) = 0.
Remark 3.2.1. The above definition is well justified, in fact, if there exist
bijections from E to [1, n] and [1, m], then these two last sets are equipollent
and m = n.
The verification of the following remarks is left to the reader:
Proposition 3.2.3. Let E and F be two given sets. We have:
1. If F is finite and E ⊆ F , then E is finite and card(E) ≤ card(F ).
2. f is surjective.
3. f is bijective.
Proof. If f is injective, then f : E 7→ f (E) is bijective and we have card(f (E)) =
card(E) = card(F ), then E = f (E) and f is bijective. If f is surjective, we
may find a part A of E such that f : A 7→ F is a bijection. We have in this
case card(A) = card(F ) = card(E), then A = E and f is bijective.
f :N → B
s → f (s) = xs . is a bijection.
B is countable.
Corollary 3.3.2. A set E is countable if there exists an injection from E to
N.
Proof. Let f : E → N be an injective mapping. Then E ∼ f (E) which is
countable. So, E is countable.
Corollary 3.3.3. A subset E of a countable set F is countable.
Proof. Let
iE : E → F ; f : F → N injection.
x → iE (x) = x.
ϕ:E∪F →N
(
2f (x) if x ∈ E.
x → ϕ(x) =
2g(x) + 1 if x ∈ F.
Proof. Let
f :N×N→N
(a, b) → 2a × 3b
f is injective. In fact, let (a, b), (a0 , b0 ) ∈ N × N such that f (a, b) = f (a0 , b0 ).
We have:
0 0
f (a, b) = f (a0 , b0 ) ⇒ 2a 3b = 2a 3b .
0 0 0 0
2a divides 2a 3b = 2a 3b and 2a ∧ 3b = 1 ⇒ 2a divides 2a . So, a ≤ a0 .
Similarly, we show that a0 ≤ a. So a = a0 . We prove by a similar way that
b = b0 .
Corollary 3.3.5. The cartesian product of 2 countable sets is countable.
We prove now that the set R is not countable. For this, we prove first
that P(N) is not countable.
χA : N → {0, 1}
(
0 if t ∈
/ A.
t → χA (t) =
1 if t ∈ A.
ϕ : P(N) → χ
A → ϕ(A) = (xn )n≥0
where xn = χA (n), ∀n ≥ 0.
• ϕ is injective: Let A, A0 ⊆ N/ ϕ(A) = ϕ(A0 ). Set ϕ(A) = (xn )n≥0 ,
ϕ(A0 ) = (x0n )n≥0 . We have:
ui = 1 − xii , i ≥ 0.
Clearly (un )n≥0 ∈ χ. Then ∃ s such that f (s) = (un )n≥0 . We have f (s) =
(xsn )n≥0 = (un )n≥0 . So, us = xss , a contradiction.
si = 0, x1 x2 . . . xi i ≥ 0.
Proof. Let
ϕ:χ→R
(xn )n≥ 0 → ϕ((xn )n≥0 ) = 0, x1 x2 . . . xn . . .
ϕ is injective: Let ϕ((xn )n≥0 ) = ϕ((x0n )n≥0 ). Suppose to the contrary that
(xn )n≥0 6= (x0n )n≥0 and let n0 be the first integer such that xn0 6= x0n0 . Suppose
that xn0 = 0, x0n0 = 1.
n! n!
card(Hp+1 ) = card(Hp ) × (n − p) = × (n − p) =
(n − p)! (n − (p + 1))!
n!
Corollary 3.4.2. Cnp = p!(n−p)!
.
CHAPTER 3. COMPLEMENT ON THE NATURAL INTEGERS AND
40 THE CARDINALS OF COUNTABLE SETS
(a) 1 + 12 + 1
22
+ ... + 1
2n
=2− 1
2n
; n ≥ 1.
(b) (1 + 2 + . . . + n) = 1 + 2 + . . . + n3 .
2 3 3
n
(c) n+1n
≤ 3.
G = {X ∈ P (F ) such that a ∈ X}
f : P (E) 7→ G
X 7→ X ∪ {a}
7. Let p be prime.
9. Show that if p is prime and p does not divide n, then p divides np−1 − 1.
√
10. Let n ≥ 3. Show that if p is a prime, such that n < p and every
prime ≤ p does not divide n, then n is prime.
11. Let n ≥ 3. Show that if p is a prime, such that every prime ≤ p does
not divide n, and the quotient q of the division of n by p is < p, then
n is prime.
12. Show that if n ∈ N, then a and b are coprime in the following cases:
(a) a = 3n + 2 and b = 2n + 1.
(b) a = 14n + 3 and b = 5n + 1.
a b
a∧b= = and a ∨ b = aβ = bα.
α β
Application: Compute a ∧ b and a ∨ b in the following cases:
x2 + y 2 = 25.
15. Show that if x and y are two natural numbers, such that 3 divides
x2 + y 2 , then 3 divides x and y. Deduce that the equation x2 + y 2 =
7500000 has no solution in N.
16. Show that there exists no natural numbers x and y, such that x and y
are non-zero and
x3 + y 3 = 93 .
Remark: This is a particular case of Fermat’s Last Theorem which
states that if n is any natural number, such that n ≥ 3, then the
equation
xn + y n = z n
has no solutions for which x, y and z are non-zero natural numbers.
Pierre de Fermat, who lived from 1601 to 1665 was a French math-
ematician. He wrote in the margin of a notebook “I have found an
admirable proof of this theorem, but the margin is too narrow to con-
tain it.” Mathematicians have been searching for this proof ever since.
Using computers, they had proved the theorem for all n ≤ 30000, but
the year 1993 witnessed the end of this problem which had been fac-
ing mathematicians since the 17th century, when Professor Andrew
Wiles, who is a British mathematician at the University of Cambridge,
announced a proof for Fermat’s Last Theorem. He used ideas of many
mathematicians, but one of the crucial ingredients was the work of the
German mathematician Dr.Matthias Flach of Heidelberg University.
17. Show that if A and B are non-empty sets, then the following are equiv-
alent:
19. Show that if E1 , . . . , En are countable sets, then so are the sets E1 ×
. . . × En and ∪ni=1 Ei .
20. Show that Z is infinitely countable and give a bijection from Z onto N.
f (m − 1, n + 1) = f (m, n) + 1, f or all n ∈ N.
B = {x ∈ A; x ∈
/ f (x)}
26. Let n and k be non zero positive integers such that k ≤ 2n.
k+1 k (2n−2k−1) k+1 k k+1
(a) Show that C2n − C2n = (2n+1)
C2n+1 . Deduce that C2n ≤ C2n
if and only if k < n.
k n
(b) Conclude that C2n ≤ C2n ∀ k ≤ 2n.
(c) Using the binomial formula, calculate the expression
0 1 2n
C2n + C2n + . . . + C2n
4n n
Deduce that 2n+1
≤ C2n .
27. Let f be a mapping defined from a set E into E such that f (x) 6= x
for every x ∈ E. Set H = {A ⊆ E, f (A) ∩ A = ∅}.