A first course in algebra
Yassine Guerboussa
Contents
Introduction
5
Part 1. First year
7
Chapter 1. Sets and relations
1. Basic notions
1.1. Sets and elements
1.2. Predicates and sets
1.3. Operations on sets
1.4. Cartesian product.
1.5. Mappings (Functions)
1.6. Direct images; inverse images
1.7. Families of sets
1.8. Concluding remarks
Exercises
Additional exercises
2. Binary relations
2.1. Definitions and examples
2.2. Equivalence relations
2.3. Order relations
2.4. Orders on products
2.5. Adjunction*
Exercises
8
8
8
12
15
17
18
23
26
29
31
34
35
35
35
36
36
38
38
Chapter 2. Basic algebraic structures
1. Binary operations
1.1. Definitions and examples
Exercises
2. Monoids; groups
2.1. Definition and basic examples
2.2. Subgroups; homomorphisms
2.3. Factor groups
3. Rings
40
40
40
41
42
42
43
43
43
Chapter 3. Linear algebra
1. Vector spaces
1.1. Definitions and examples
44
44
44
3
1.2. Subspaces; linear maps
1.3. Generating families, free families and bases
1.4. Factor space
Exercises.
2. Matrices
2.1. Operations on matrices
2.2. Correspondence between matrices and linear maps
2.3. Elementary operations; canonical form
2.4. Determinant
46
46
48
48
49
49
49
51
52
Solutions to the exercises.
Chapter 1
§1.1
54
54
54
Bibliography
57
4
Introduction
Below are some useful remarks for reading this manuscript.
1. Sometimes, for two statements P and Q , we write
P =⇒ Q
instead of "P implies Q ", or "if P , then Q ". Here, the "implication" is taken in
the abstract sense that
if P is true, Q is also true.
Subsequently, the assertion (P =⇒ Q ) doesn’t necessarily presuppose a
relationship between the contents of P and Q . For instance, implications such
as:
Winter is cold =⇒ 2 + 2 = 4,
Algeria is the largest country in Africa =⇒ 13 is a prime number,
Snow is white =⇒ Raï music is Algerian,
are considered correct in spite of looking peculiar or even unreasonable.
2. The expressions "P is a sufficient condition for Q " and "Q is a necessary
condition for P " are other common ways for expressing the implication (P =⇒
Q ).
2. An important consequence of the above definition is that " =⇒ " is a
transitive relation, i.e., for all statements P , Q and R, if we have
P =⇒ Q
and Q =⇒ R,
then
P =⇒ R.
3. In general, in order to establish a statement of the form (P =⇒ Q ), we
start by assuming that P is true, and proceed to show that Q is also true. Such
a process exemplifies the notion of "proof " which lies at the heart of mathematics. In practice, we have at our disposal some definitions, axioms (i.e.,
first principles admitted as self-evident) and rules which we try to combine
with the assumption P to reach Q . Students would learn (with serious work)
5
how to deal with some situations that are considered basic and essential for
their education in some area of mathematics; however, there is in principle
no ready (magic) recipe or revelation for dealing with all the possible cases,
and the student should get out from the delusive refuge (built for him by early
education...), and face the ultimate natural situation that we are before an
inexhaustible ocean in which most is still unknown, waiting for some young
minds to unveil it! Quoting from Grothendieck’s R& S:
"It is in this gesture of "going beyond," to be something in
oneself rather than the pawn of a consensus, the refusal to
stay within a rigid circle that others have drawn around one-it
is in this solitary act that one finds true creativity. All others
things follow as a matter of course."
4. The notation
P ⇐⇒ Q
stands for the conjunction of (P =⇒ Q ) and (Q =⇒ P ); it reads "P is
equivalent to Q ", "P if and only if Q " or "P is a necessary and sufficient condition
for Q ". In general, in order to establish such a statement, we proceed to prove
both of the implications (P =⇒ Q ) and (Q =⇒ P ).
5. A statement of the form "the conditions P , Q , R are equivalent" has the
obvious meaning that any two of the mentioned conditions are equivalent.
In order to prove such a statement, we can use the transitivity of " =⇒ " to
reduce the number of steps in the proof; for instance, it suffices to establish
the following cycle of implications:
P =⇒ Q ,
Q =⇒ R,
R =⇒ P.
The above generalizes in the obvious way to statements involving more than
three conditions.
2. Paragraphs included between [ ] are marginal remarks, which are certainly important, but not indispensable for understanding the main text; one
can skip them at first reading.
6
Part 1
First year
CHAPTER 1
Sets and relations
No one should be able to chase us from the paradise that Cantor
created for us.
—David Hilbert, On the infinite
Thanks to logicians we have sophisticated programming languages
and superior software. Computer science has become too important to be
left to engineers. Fortunately, physicists and mathematicians are
switching to computer and hardware design in great numbers,
attracted by the higher pay. Professors of computer science, even
those who do not know how to read and write, make double the
salary of even the best mathematicians.
Jian Carlo Rota, Interview, LOS ALAMOS SCIENCE
Spring/Summer 1985
1. Basic notions
1.1. Sets and elements. Intuitively speaking, a set is a collection or a
gathering of objects. For instance, we can talk about:
– the set of the natural numbers not exceeding 9;
– the set of all natural numbers 0, 1, 2, 3 . . .;
– the set of the real solutions of the equation x 4 = 1;
– the set of all lines in the plane;
– the set of all continuous real functions; etc.
A set formed by finitely many elements will denoted
Recall the notation for the basic sets of numbers: N the natural numbers,
...
The objects forming a set X are called the elements of X . We write a ∈ X
to indicate that a is an element of X , and a ∉ X otherwise.
which reads "a belongs to X ", 1 to indicate that the object , and For instance, if we denote by S , then a ∈ S holds if and only if a = 1 or a = −1.
1We also say in such a case that that "a lies in X ", "a is a member of X ", etc.
8
1
∉ N.
2
• Denote by S the set of the real solutions of the equation x 4 − 1 = 0.
Observe that
Examples 1.1.
• We have 0 ∈ N, 1 ∈ N, whereas
x 4 − 1 = (x 2 − 1) (x 2 + 1);
hence, a ∈ S holds if and only if a = −1 or a = 1. Denote by T the
set of the complex solutions of the equation x 4 − 1 = 0. Observe that
x 4 − 1 = (x 2 − 1) (x 2 + 1);
hence, a ∈ S holds if and only if a = −1 or a = 1.
√
Exercise. Show that 2 ∉ Q, where Q is the set of rational numbers.2 [For
more examples of this kind, see Exercises ...]
A set formed by finitely many objects, a 1 ,a2 , . . . ,an say, is denoted by
{a1 ,a2 , . . . ,an }.
(1)
For example, the set formed by the two numbers 0 and 1 is {0, 1}, the set of
the primes not exceeding 10 is {2, 3, 5, 7}, the set of the complex solutions of
the equation x 4 − 1 = 0 is {1, −1,i , −i }, etc.
Warning. One should not confuse the set formed by a given object with
the object itself; for instance, one should not confuse the set {0} with 0.3
Likewise, one should not use (0, 1) or 0, 1 to mean the set formed by 0 and 1.
At this point (stage)
The first principle that should be stated about sets is that a set is completely
determined by its elements; in other words, two sets are equal if and only if they
have the same elements. We shall refer to this principle as
This principle is known as the axiom of extensionality.4
√
2 was familiar to the ancients since it arises ’in nature’ as the hypotenuse
of the right triangle:
2The number
1
√
2
1
√
The fact that 2 cannot be expressed as the ratio of two whole numbers (i.e., it is irrational)
was known at least to the Pythagorean in the 5th century BC, and that was a striking discovery
at that time.
3Confusing such two objects is similar to considering the set (or group) formed by the
students in a given classroom as a student!
4A rigorous treatment of set theory is out of reach at this level, nevertheless, one can. In
the sequel, we shall attempt to make explicit the axioms used in founding the theory of sets,
and to mention where each axiom intervene. However, no attempt will be made to present the
subject in a strictly axiomatic (or formal) way; such an approach is not appropriate for our
purpose here.
9
By virtue of the axiom of extensionality, the set described in (1) is uniquely
determined; moreover, the order in which the elements ai are listed is unimportant (for instance, the two sets {a1 ,a 2 ,a3 } and {a2 ,a3 ,a1 } are equal since
the same elements appear in both of them).
Continuing in our intuitive treatment, two sets will be considered as equal
if, and only if, they have the same elements. In symbols, for two sets X and
Y , we have
X = Y ⇐⇒
Conversely, let a ∈ Q ; assume
a is not prime, and let p be the smallest
√
prime divisor of a; so p > a (according to the property defining Q ) and
a = pb for some integer b > 1. Now, b has at least a prime divisor q , and
q ≥ p since q also divides a; therefore, b ≥ p. It follows that
√
a ≥ p 2 > ( a) 2 = a,
a contradiction. Thus, the assumption that a is not prime cannot holds, that
is, a ∈ P . This proves that Q ⊆ P and concludes the proof.
One should precise when two sets are equal; that is we define the relation
of equality on the category of sets.
Definition 1.2. We say that a set A is a subset of a set X , and write
A ⊆ X , if every element of A is also an element of X . In other words, saying
that A is a subset of X means that, for all x,
x ∈ A =⇒ x ∈ X .
For example, we have
{0} ⊆ {0, 1}
(but not 0 ⊆ {0, 1}),
{0, 1, 2} ⊆ N and N ⊆ R.
In the latter example, we can insert Z (the set of all integers), Q (the set of all
rational numbers) and C (the set of all complex numbers), so that
N ⊆ Z ⊆ Q ⊆ R ⊆ C.
We assume that there exists an empty set, i.e., a set having no elements. Again,
such a set is uniquely determined thanks to the axiom of extensionality; we
denote it by ∅ ∅. [We may consider the declaration that "an empty set exists"
as another axiom of set theory.]
Question. What is the difference between ∅ and {∅}?
Proposition 1.3. For any set X , the empty set ∅ is a subset of X .
Proof. Given any object x, the condition x ∈ ∅ is never fulfilled; thus the
statement "whenever x ∈ ∅ is true, x ∈ X is also true" holds. In other words,
we have, for all x,
x ∈ ∅ =⇒ x ∈ X ;
10
thus, ∅ ⊆ X as desired.
Note that the axiom of extensionality can be rephrased by using the relation "⊆" as follows: For all sets X and Y ,
X = Y ⇐⇒ X ⊆ Y and Y ⊆ X .
In general, in order to prove an equality X = Y of sets, we proceed to
prove each of the inclusions X ⊆ Y and Y ⊆ X , separately; and to prove an
inclusion, say X ⊆ Y , we start by picking an arbitrary element a ∈ X , and
proceed to show that a lies indeed in Y . Here is an example illustrating that
(plenty of other examples will be encountered in the sequel).
Example 1.4. Let P be the set of all primes, and Q be the set of√ all
integers a > 1 satisfying the property "a has no prime divisor p with p ≤ a."
We claim that P = Q .
(a) We start by proving the inclusion P ⊆ Q . Pick an element a ∈ P .
Obviously, a has only one prime divisor, namely, a itself; in particular, a satisfies the property defining Q , that is, a ∈ Q . Thus, P ⊆ Q .
(b) Conversely, let a ∈ Q ; assume
√ a is not prime, and let p be the smallest
prime divisor of a; so p > a (according to the property defining Q )
and a = pb for some integer b > 1. Now, b has at least a prime divisor
q , and q ≥ p since q also divides a; therefore, b ≥ p. It follows that
√
a ≥ p 2 > ( a) 2 = a,
a contradiction. Thus, the assumption that a is not prime cannot
holds, that is, a ∈ P . This proves that Q ⊆ P and concludes the
proof.
Given a set X , we may naturally think of the subsets of X as a whole; in
other words:
Axiom of the power set. For every set X , there exists a set, denoted by P (X ),
whose elements are the subsets of X .
We call P (X ) the power set of X . By definition, we have
A ∈ P (X ) ⇐⇒ A ⊆ X .
Examples 1.5.
(i) For X = {1, 2}, we have P (X ) = {∅, {1}, {2},X }.
(ii) For X = {1, 2, 3},
P (X ) = {∅, {1}, {2}, {3}, {1, 2}, {1, 3}, {2, 3},X }.
(iii) For X = N, the power set P (N) can be visualized by considering its
elements as infinite tapes involving 0’s and 1’s; indeed, every subset
A ⊆ N can be (uniquely) represented as
11
a 0 a 1 a 2 . . . an
with an = 1 if n ∈ A and an = 0 otherwise. For instance, the subset
2N (the even numbers) can be represented by
1 0 1 0 ...
and the subset 2N + 1 (the odd numbers) can be represented by
0 1 0 1 ...
[See the exercise discussing the indicator functions].
[Historically, the existence of the power set of any given infinite set was not accepted
immediately by all the ; quoting from a letter of René Baire to Jacques Hadamard (in 1905):
"In particular, when a set is given (we agree to say, for example, that we are
given the set of sequences of positive integers), I consider it false to regard the
subsets of this set as given."
Probably, no mathematician nowadays will agree with Baire’s view since the latter leads to
rejecting fundamental constructions such as the set of real numbers (this fact was immediately
remarked by Hadamard in his reply). The previous debate is one of the many controversies
promoted by the so-called "Axiom of choice", which we shall discuss later in this chapter.]
It can be shown that if X is a finite set with n elements, then P (X ) has 2n
elements. Furthermore, for any positive integer k ≤ n, the number of subsets
of X having k elements is equal to the binomial coefficient
n
n!
.
=
k !(n − k )!
k
[For a proof of the latter, see Corollary 1.26 below. The binomial coefficients,
as their name indicates, arise in the expansion of the binomial (x + y) n , that
is,
n Õ
n k n−k
n
x y .
(x + y) =
k
k =0
Substituting x = y = 1 yields the identity
n
2 =
n Õ
n
k =0
k
,
which shows that the number of subsets of X is indeed equal to 2n .]
1.2. Predicates and sets. Consider an expression of the form ’x = 1’. Is
that true or false?
Informally speaking, a predicate P (x), involving a variable x, is a statement about x which becomes a proposition (i.e., a statement that has a truth
12
value) whenever x is given a definite value. Given a object a, we write P (a) for
the proposition that follows by substituting a for x in the expression of P (x).5
Examples 1.6.
(i) The expression
P (x) : ’x is a prime number’
is a predicate. Substituting 2 for x yields the true proposition
P (2) : ’2 is a prime number’.
Similarly, P (3), P (5), P (101) are true propositions; but
P (4) : ’4 is a prime number’
is a false proposition.
(ii) The expression
Q (y) : ’y is a rational number whose square is 1’
is a predicate (involving the variable y); obviously, Q (y) yields a true
proposition for y = 1 or −1, and a false one otherwise.
(iii) Consider
R (y) : ’y is a rational number whose square is 2’.
Plainly, R (y) is a predicate which yields a false proposition for all the
values of y.
(iv) To every given set A, we can assign the predicate "x ∈ A", which
yields a true proposition if, and only if, x is substituted with an element of A.
Given a predicate P (x), we may naturally think of the objects that satisfy
P (x) (i.e., the objects a for which P (a) is true) as a whole; in other words,
(UC) To every predicate P (x) is assigned a set which comprehends all the objects
that satisfy P (x).6
For instance, for the predicates defined in the examples above, we have:
(i) P (x) ↦→ the set of prime numbers;
(ii) Q (x) ↦→ the set {−1, 1};
(iii) R (x) ↦→ the empty set ∅;
(iv) "x ∈ A" ↦→ the set A.
5A predicate P (x) is also called a propositional function or property. Note also that
the variable x in P (x) plays no special role, that is, it can be replaced by any other variable
without affecting the content of the predicate.
6For the curious reader, that statement is known as the "principle of unrestricted comprehension".
13
By contrast, the following construction shows that (UC) is no longer valid.
Russell’s paradox. Consider the predicate
P (x) : "x is a set which doesn’t belong to itself ".
If to P (x) corresponds a set S , then, by definition, S belongs to S if and only if P (x)
holds true when substituting S for x; that is,
S ∈ S ⇐⇒ S ∉ S .
[This paradox is named after Bertrand Russell, who established it around
1902; nevertheless, Ernst Zermelo discovered it independently around 1899,
but he didn’t publish the result. Note that this paradox is related to Cantor’s
diagonal argument (see Exercise 1.1, Chap. 1).]
Around 1908, Zermelo introduced a variant of the principle (UC) which
enables us to avoid the known paradoxes and to retain, at the same time, the
essence of the antecedent principle.
Axiom of separation. For every set X and every property P (x), there exists a
set whose elements are the elements of X which satisfy the property P (x).
To summarize, a given property P (x), sole, is not sufficient in general for
defining a set; rather, it can be used in conjunction with an already existing
set X to separate a new set, say A, from X by selecting the elements of X that
satisfy P (x); in such a case, the set A is designated by
A = {a ∈ X | P (a) is true},
or just
A = {a ∈ X | P (a)}.
For example, if we take P (x) to be "x 2 = 1" and X to be N or Z, we obtain
the two sets:
{x ∈ N | x 2 = 1} = {1},
and
{x ∈ Z | x 2 = 1} = {−1, 1}.
An interesting consequence of the above axiom is the following:
Proposition 1.7. There is no set of all sets (i.e., the collection of all sets is not
a set).
Indeed, assume that such a set exists, and let us denote it by U ; by the
above axiom we can form the set
S = {x ∈ U | x ∉ x }.
Now, S ∈ S means that S ∉ S , a contradiction. Thus, U cannot exist.
14
1.3. Operations on sets. Let A and B be two sets.
• The intersection of A and B, denoted by A ∩ B, is defined to be the
set of all elements lying in both A and B; in other words, we have
x ∈ A ∩ B ⇐⇒ x ∈ A and x ∈ B .
• The union A ∪ B is defined to be the set of all elements lying in at
least one of A and B; in other words, we have
x ∈ A ∪ B ⇐⇒ x ∈ A or x ∈ B .
• The difference between A and B, denoted by A − B, is the set of all
elements of A not lying in B; in other words,
x ∈ A − B ⇐⇒ x ∈ A and x ∉ B .
• The symmetric difference of A and B, denoted by AΔB, is the set
defined by
X ΔY = (X − Y ) ∪ (Y − X ).
The above operations can be illustrated by the following figures (called
Venn diagrams):
B
A
A∩B
A∪B
B
A
B
A
B
A
A−B
AΔB
[The existence of A ∩ B and A − B follows from the axiom of separation by selecting from
A the elements which satisfy the predicates "x ∈ B" and "x ∉ B", respectively. By contrast,
the existence of the union A ∪ B is not justified yet; the existence of such a set follows in fact
from another axiom which ensures that more general sorts of unions exist; we shall discuss this
axiom when we treat families of sets.]
Example 1.8. For A = {0, 1} and B =]0, 1] (the set of all reals x satisfying
0 < x ≤ 1), we have
A ∩ B = {1},
A ∪ B = [0, 1],
15
A − B = {0},
B − A =]0, 1[,
AΔB = [0, 1[.
For the complements of A and B in R, we have:
Ac =] − ∞, 0[ ∪ ]0, 1[ ∪ ]1, +∞[,
and
B c =] − ∞, 0] ∪ ]1, +∞[.
It is readily seen from the definitions that, for all sets A, B and C , we have:
– Idempotent laws: A ∩ A = A and A ∪ A = A.
– Commutative laws: A ∩ B = B ∩ A and A ∪ B = B ∪ A.
– Associative laws:
(A ∩ B) ∩ C = A ∩ (B ∩ C )
and
(A ∪ B) ∪ C = A ∪ (B ∪ C ).
– Distributive laws:
A ∩ (B ∪ C ) = (A ∩ B) ∪ (A ∩ C )
and
A ∪ (B ∩ C ) = (A ∪ B) ∩ (A ∪ C ).
– De Morgan’s laws: if A and B are contained in some global set X , then
(2)
(A ∩ B) c = Ac ∪ B c
and
(3)
(A ∩ B) c = Ac ∪ B c .
Let us prove (2) and (3) for example.
First, observe that, for x ∈ X , one of the following cases holds:
(i) x ∈ A and x ∈ B;
(ii) x ∈ A and x ∉ B;
(iii) x ∉ A and x ∈ B;
(iv) x ∉ A and x ∉ B .
Starting with (2), observe x ∈ (A ∩ B) c means that x cannot be in A and
B at the same time (i.e.„ the case (i) does hold); therefore, one of the cases
(ii), (iii) and (iv) holds, which means that either x ∉ A or x ∉ B, that is, x ∈ Ac
or x ∈ B c , or again x ∈ Ac ∪ B c . This proves that
(A ∩ B) c ⊆ Ac ∪ B c .
Similarly, x ∈ Ac ∪ B c means exactly that one of (ii), (iii) and (iv) holds; thus
x cannot be in A ∩ B, that is x ∈ (A ∩ B) c . This proves that
(A ∩ B) c ⊆ Ac ∪ B c ,
and concludes the proof of (2).
16
To prove (3), one can proceed as above, or, alternatively, observe that
substituting Ac and B c for A and B, respectively, in (2) yields
(Ac ∩ B c ) c = A ∪ B;
the result follows at once by taking complements of both sides.
1.4. Cartesian product.
Definition 1.9. Given two sets A and B, we define the Cartesian product
A × B to be the set of all ordered pairs (a,b) with a ∈ A and b ∈ B.
The term ’ordered’ means that the order in which the elements a and b are
taken in (a,b) matters; in other words, the pair (a,b) is distinct from (b,a),
unless a = b. Notice here the substantial difference between (a,b) and {a,b }
(the latter, being a set, is determined by its elements without referring to any
order, so {a,b } = {b,a}). Ordered pairs of objects are characterized by the
following property:
(a,b) = (a 0,b 0) ⇐⇒ a = a 0 and b = b 0 .
(4)
Remark 1.10. Formally, the ordered pair (a,b) of two objects a and b can be defined as
the set
{{a}, {a,b }}.
To see that this definition satisfies the property (4), suppose that we have
{{a}, {a,b }} = {{a 0 }, {a 0 ,b 0 }}.
(5)
We claim that a = a 0 and b = b 0 . If a = b, then {a} = {a,b }, and (5) becomes
{{a}} = {{a 0 }, {a 0 ,b 0 }}.
It follows that the set on the right has only one element, that is, {a 0 } = {a 0 ,b 0 }, and that
{a} = {a 0 }. Thus the objects a,b,a 0 ,b 0 are all equal; in particular, a = a 0 and b = b 0 . It
remains to check the case where a ≠ b. The latter is equivalent to {a} ≠ {a,b }, so by (5) the
set {{a 0 }, {a 0 ,b 0 }} must have two elements, or equivalently a 0 ≠ b 0 . It follows that {a} = {a 0 }
and {a,b } = {a 0 ,b 0 }, which implies that a = a 0 and b = b 0 , as claimed.
Examples 1.11.
(i) For A = {0, 1} and B = {0, 1, 2}, we have
A × B = {(0, 0), (0, 1), (0, 2), (1, 0), (1, 1), (1, 2)}.
Similarly,
B × A = {(0, 0), (0, 1), (1, 0), (1, 1), (2, 0), (2, 1)}.
Observe that A × B ≠ B × A.
(ii) The elements of the Cartesian product R × R (denoted shortly by R2 ) correspond to the points of the Cartesian plane, i.e., the plane endowed with two
perpendicular axes (O X ) and (OY ); each pair (a,b) ∈ R2 corresponds to the
point whose projections on the axes (O X ) and (OY ) are defined by the real
numbers a and b, respectively (as in the figure below).
17
Y
(a,b)
b
a
O
X
[The idea of representing more than one quantity by adding a dimension is due to R. Descartes
The above idea, due to the famous philosopher René Déscartes, revolutionized Mathematics
at the time; it permits us to treat geometric objects as algebraic equations.] ). Example of finite
small sets; R × R represent the plane; []; projection maps should be discussed later. Cartesian product of
more than two sets (finite product)... The universal property of the product can be treated as an exercise.
elec
field
tric
ic field
magnet
f (x)
f (x) = x
1 x
f (x) = 20
e
x
f (x) = sin x
1.5. Mappings (Functions).
Definition 1.12. Let X and Y be two sets. We call a mapping (or just
map) from X to Y every rule that assigns to every element x ∈ X a unique
element of Y , which we denote by f (x) and call the image of x by f .
18
f
We write f : X → Y or X → Y to indicate that f is a map from X to
Y ; in this case, X is called the domain of f , and Y its codomain. The notation
f
x ↦→ y is used to indicate that y is the image of x by f (that is, y = f (x)).7
f
f
Example 1.13. The assignment x ↦→ x 2 defines a map R → R. and we
have for instance f (0) = 0, f (0.5) = 0.25, f (−2) = 4, f (1.5) = 2.25, etc.
g 1
Example 1.14. The relation x ↦→
from R to R is not a map since it
x
assigns no element to x = 0. By contrast, g defines a map from R − {0} to R.
Example 1.15. (Inclusion map; identity map) Let X be a set. For every
𝜄
A ⊆ X , we have the inclusion map A → X which associate to every a ∈ A the
element a itself (viewed as an element of X ), that is, 𝜄(a) = a. For A = X , the
inclusion map X → X is called the identity map of X , and usually denoted
by 1X or idX .
Example 1.16. (Counting functions) To every subset A ⊆ N, we can associate a map f : [0, +∞[→ R by setting
f (x) = |A ∩ [0,x] |.
In other words, f (x) is the number of elements of A that are ≤ x.
(i) Take for instance A = {0, 2, 4, 6, . . .} (the even natural numbers). The first
few values of f (x) are f (0) = 1, f (1) = 1, f (2) = 2, f (3) = 2, f (4) = 3,
. . ., f (10) = 6. It is readily seen that
jx k
+ 1.
f (x) =
2
(ii) Let A = {1, 4, 9, 16, . . . ,n 2 , . . .} (the perfect squares). The first few values
of f (x) are f (0) = 1, f (1) = 1, f (2) = 2, f (3) = 2, f (4) = 3, . . .,
f (10) = 6. It is readily seen that
jx k
f (x) =
+ 1.
2
For every real number x > 0, let 𝜋(x) denote the number of prime num𝜋
bers not exceeding x. Thus we have a map ]0, +∞[ → R (observe that we can
replace the latter R by N), and we have for instance 𝜋(1.9) = 0, 𝜋(4) = 2,
𝜋(7) = 4, 𝜋(10) = 4 (see the table below for more values).
[Observe that 𝜋(x) is not defined by an explicit formula. Computing 𝜋(x), for some given
x, is closely related to the procedure of checking whether a positive integer n ≤ x is prime.
Given n, the obvious
way for checking the primality of n is to check that, for every prime p < n
√
(or only p ≤ n), p doesn’t divide n. The latter process can be done in a mechanical way
(i.e., algorithmic), and in such a situation the question of how much the algorithm costs (time,
memory, etc.). In 2002, three Indian computer scientists—and mathematicians—published an
amazing algorithm (named in their honor, the "AKS primality test") which can check the
primilaity of n in a polynomial time (i.e., the running time doesn’t exceed an amount of the
7Symbols such as f , f x, x f , etc., are sometimes used in place of f (x).
x
19
form m c for some real number c , where m is the number of inputs of the algorithm). Note that
beside the interest in computing 𝜋(x), finding efficient primality tests is a sensible question in
Cryptography.]
[While we don’t have an exact formula for 𝜋(x), for every given x, ggg ]
x
10
102
103
104
105
106
107
1010
𝜋(x)
4
25
168
1, 229
9, 592
78, 498
664, 579
455, 052, 511
𝜋 (x) log x
x
𝜋(x) − x/log x
−0.3
3.3
23
143
906
6, 116
44, 158
20, 758, 029
0.92
1.15
1.16
1.13
1.10
1.08
1.07
1.05
𝜋(x)
lim
x→∞ x/log(x)
𝜋(x) − Li(x)
−2.2
−5.1
−10
−17
−38
−130
−339
−3, 104
= 1.
𝜋(x) ∼ logx x
Count the primes!
Example 1.17. Similar to Example 1.13, combining the usual operations
on real numbers yield a large collection of maps from R to R; examples of the
latter include
p
|x | + 1
4x 5 − 2
3
,
x
→
↦
,
x ↦→ x , x ↦→
√
(x + 1) 4
x2 + 1
Example 1.18. (The prime counting function)
By definition, two maps f and g are equal if and only if they have the
same domain X and the same codomain and f (x) = g (x) for all x ∈ X .
The maps from X to Y form a set which we denote by Y X .
Two maps f , g : X → Y are equal if they coincide at every element of X ,
that is, f (x) = g (x) for all x ∈ X .
The following criterion allows us to recognize the bijective maps without
appealing to the elements; this is quite important
Proposition 1.19. Let X and Y be two sets, and f : X → Y be a map. For f
to be bijective, it is necessary and sufficient that there exists a map g : Y → X such
that f g = 1Y and g ◦ f = 1X .
Proof. Assume f is bijective. So, for every y ∈ Y , there is a unique
g
element g y ∈ Y with f (g y ) = y; hence, we have a well-defined map y ↦→ g y ,
from Y to X , which satisfies by construction f ◦ g = 1Y . Moreover, for x ∈ X ,
we know that g f (x) is the unique element of X which satisfies f (g f (x) ) = f (x),
20
hence g f (x) = x (because f is injective)8; the latter shows that g ◦ f = 1X .
g
Thus, the map y ↦→ g y satisfies the desired properties.
Conversely, assume that there exists a map g : Y → X which satisfies
the properties in the proposition. If we have two elements x,x 0 ∈ X with
f (x) = f (x 0), then g ( f (x)) = g ( f (x 0)); but since g ◦ f = 1X , it follows that
1X (x) = 1X (x 0), that is, x = x 0; this shows that f is injective. To see that f is
surjective, let y ∈ X ; set x = g (y); so x is an element of X which satisfies
f (x) = f (g (y)) = 1Y (y) = y .
Thus, f is bijective as desired.
Note that one can characterize injective maps and surjective maps in a
similar way; see Exs. Ax, Ay.
Proposition 1.20. If X is a finite set with n elements, and Y is a finite set
with m elements, then Y X is a finite set with m n elements.
Proof. Assume X = {x 1 , . . . ,x n }. To define a map f : X → Y , we can
assign to x 1 any element of Y , so f (x 1 ) can have m values; similarly, f (x 2 )
can have m values, etc. It follows that there are m n possible values for the
sequence f (x 1 ), . . . , f (x n ); the result follows.
Definition 1.21. Let X and Y be two sets, and f : X → Y be a map.
(i) We say that f is injective if no two distinct elements of X have the
same image by f , that is, for all x,x 0 ∈ X ,
x ≠ x0
implies
f (x) ≠ f (x 0).
(ii) We say that f is surjective if it covers all the elements of Y , that is,
for every y ∈ Y , there exists x ∈ X such that f (x) = y.
(ii) We say that f is bijective if it is both injective and surjective.
Note that some authors use the terms "one-to-one" and "onto" instead of
"injective" and "surjective", respectively. A bijective map is also called a oneto-one correspondence. Obviously, for a map f : X → Y to be injective, it
is necessary and sufficient that, for all x,x 0 ∈ X ,
f (x) = f (x 0)
implies x = x 0 .
Example 1.22. Consider the map f : R → R defined by f (x) = x 2 . This map
is not injective:
Proposition 1.23. Assume that X is a finite set with n elements, Y is a finite
m!
set with m elements, and that n ≤ m. Then there are
injective maps from
(m − n)!
X to Y .
8In fact, the uniqueness of g
f (x) implies directly that g f (x) = x.
21
Proof. Set X = {x 1 , . . . ,x n }. To construct an injective map f : X → Y ,
we can assign to x 1 any element of Y , so f (x 1 ) can have m values; next we
can assign to x 2 any element of Y distinct from f (x 1 ), so f (x 2 ) can have
m − 1 values. By induction, if f (x 1 ), . . . , f (x i −1 ) are already chosen, then we
can assign to x i any element in Y that does not lie in {f (x 1 ), . . . , f (x i −1 )}, so
f (x i ) can have m − i + 1 possible values. It follows that the number of such
m!
maps f is equal to m (m − 1) · · · (m − n + 1), or more briefly to
as
(m − n)!
claimed.
It should be clear that there is no injective map from X to Y when n > m.
Remark 1.24. Assume X and Y are finite sets with the same number of
elements, and f : X → Y is a map. Then
f is injective
⇐⇒
f is bijective
⇐⇒
f is surective.
Indeed, set X = {x 1 , . . . ,x n }. If f is injective, then the images f (x 1 ), . . . , f (x n )
are all distinct, that is, the set X 0 := {f (x 1 ), . . . , f (x n )} has n elements, but
since Y has n elements, we have X 0 = Y , so f is surjective and thus bijective. Next if f is bijective, then it is in particular surjective. Finally, if f is
surjective, then {f (x 1 ), . . . , f (x n )} = Y ; as Y has n elements, it follows that
f (x 1 ), . . . , f (x n ) are all distinct, so f is injective. This completes the proof.
Combining the above remark with prop. 1.23 yields the following:
Corollary 1.25. If X is a finite set with n elements, then the number of bijective
maps from X to X is equal to n!.
The bijective maps from X to itself are often called the permutations of
X . Thus, a set with n elements has n! permutations.
For example, the set X = {1, 2, 3} has 3! = 6 permutations, namely:
1 2 3
1 2 3
1 2 3
e=
,t =
,t =
1 2 3 1
2 1 3 2
3 2 1
1 2 3
1 2 3
1 2 3
t3 =
, r1 =
, r2 =
.
1 3 2
3 1 2
2 3 1
[Here, we are following the standard notation: a given permutation f of a set X = {x 1 , . . . ,x n }
is denoted by
x1
x2
...
xn
;
f (x 1 ) f (x 2 ) . . . f (x n )
for instance, r 1 is the permutation of {1, 2, 3} defined by 1 ↦→ 3, 2 ↦→ 1, and 3 ↦→ 2.]
As another consequence of prop. 1.23, we have:
Corollary 1.26. Let X be a set with n elements. For every integer 0 ≤ k ≤ n,
n!
.
the number of subsets of X with k elements is equal to kn :=
k !(n − k )!
22
Proof. Let 0 ≤ k ≤ n, and let Pk denote the set of all subsets of X
with k elements. For every A ∈ Pk , define IA to be the set of all maps
f : {1, . . . ,k } → X such that {f (1), . . . , f (k )} = A. Observe that every map
in IA is injective, and that
Ø
I=
IA ,
A ∈ Pk
where I is the set of all injective maps from {1, . . . ,k } to X . Obviously, IA is
disjoint from IB whenever A is distinct from B, so
Õ
|I| =
|IA |.
A ∈ Pk
By prop. 1.23, each IA has k ! elements, and I has
n!
elements; substi(n − k )!
tuting in the latter equation yields
n!
= |Pk |k !,
(n − k )!
hence,
n!
n
|Pk | =
=
k !(n − k )!
k
as claimed.
The numbers kn , known as the binomial coefficients, have many interesting properties and occur in many situations.
Binomial formula+ combinatorial property+ Application to find the number of all subsets of a given set+ ...
Number of surjective maps (include it as an exercise)
Inversion formula involving binomail coefficients (include it as an exercise)
Example 1.27. Let X be a set. For every given A ⊆ X , the indicator function
𝜒 A of A is the map 𝜒 A : X → {0, 1} defined by
(
1 if x ∈ A,
𝜒 A (x) =
0 if x ∉ A.
f
1.6. Direct images; inverse images. Let X and Y be two sets, and X →
Y be a map.
For A ⊆ X , we define
f (A) = {y ∈ Y | there exists a ∈ A with y = f (a)}.
We call f (A) the direct image (or just image) of A by f .
[Note that the existence of f (A) follows from the axiom of separation by
selecting the elements y ∈ Y that satisfy the predicate "there exists a ∈ A with
y = f (a)".]
23
Note that
f is surjective ⇐⇒ f (X ) = Y
Example 1.28. Consider f : R → R with f (x) = x 2 . For
A = {−2, 0, 2},
A 0 =] − 2 , 2[
1
and A 00 =] , +∞[,
2
we have
f (A) = {0, 4},
f (A 0) = [0 , 4[
and
1
f (A 00) =] , +∞[.
4
Taking direct images commutes with (finite) unions, but not with intersections (nor with passing to the complements).
Proposition 1.29. Let X and Y be two sets, and f : X → Y be a map. Then,
for all A,A 0 ⊆ X , the following hold:
(i) f (A ∪ A 0) = f (A) ∪ f (A 0).
(ii) f (A ∩ A 0) ⊆ f (A) ∩ f (A 0); the equality doesn’t hold in general.
Proof. (i) Let y ∈ f (A ∪ A 0); so y = f (a) for some a ∈ A ∪ A 0. Clearly,
a ∈ A or a ∈ A 0, so we have either f (a) ∈ f (A) or f (a) ∈ f (A 0), which means
that f (a) lies in f (A) ∪ f (A 0), that is, y ∈ f (A) ∪ f (A 0). This proves that
f (A ∪ A 0) ⊆ f (A) ∪ f (A 0).
For the reverse inclusion, let y ∈ f (A) ∪ f (A 0); so y ∈ f (A) or y ∈ f (A 0).
Thus we have either y = f (a) for some a ∈ A, or y = f (a 0) for some a 0 ∈ A 0.
Now, since both of a and a 0 lie in A ∪ A 0, we have y ∈ f (A ∪ A 0). This proves
that
f (A) ∪ f (A 0) ⊆ f (A ∪ A 0),
and (i) follows.
For (ii), observe that every y ∈ f (A ∩ A 0) has the form y = f (a) for some
a ∈ A∩A 0; but since a ∈ A and a ∈ A 0, we have f (a) ∈ f (A) and f (a) ∈ f (A 0),
that is, f (a) ∈ f (A) ∩ f (A 0). It follows that
f (A ∩ A 0) ⊆ f (A) ∩ f (A 0)
as desired. To see that the equality doesn’t always hold, consider for instance
f : R → R with f (x) = x 2 . For A = {1, 2} and A 0 = {1, −2}, we have
f (A ∩ A 0) = f ({1}) = {1}.
On the other hand, f (A) = {1, 4} = f (A 0), so
f (A) ∩ f (A 0) = {1, 4} ≠ f (A ∩ A 0).
24
For B ⊆ Y , we define the inverse image f −1 (B) of B by f to be
f −1 (B) = {x ∈ X | f (x) ∈ B }.
[Again, the existence of f −1 (B) follows from the axiom of separation by selecting from X the elements x which satisfy "f (x) ∈ B". Note also that the expression f −1 (B) doesn’t presuppose the existence of an inverse map f −1 : X → Y
(the latter exists only when f is bijective). Nonetheless, we may consider the
assignment B ↦→ f −1 (B) as a map from P (Y ) → P (X ).]
Example 1.30. Consider again f : R → R with f (x) = x 2 . For B = {1},
f −1 (B) = {x ∈ R | f (x) ∈ {1}}.
Obviously, f (x) ∈ {1} means that x 2 = 1; solving the latter equation in R
yields x = −1 or 1, so
f −1 (B) = {−1, 1}.
For B 0 = [0, 2], the members
of f −1 (B 0) are the reals x which satisfy x 2 ≤ 2,
√
or, equivalently, |x | ≤ 2. Thus
√ √
f −1 (B 0) = [− 2 , 2].
Note that the inverse images f −1 ({y }), with y ∈ Y , are usually called the
fibers of f ; they play an important in various areas of mathematics. Regarding
the basic properties of f as a map, we have the following immediate facts:
– f is injective ⇐⇒ none of the fibers of f has more than one element.
– f is sujective ⇐⇒ none of the fibers of f is empty.
Combining the above two facts yields:
– f is bijective ⇐⇒ all the fibers of f are singletons9.
Contrary to taking direct images, taking inverse images commutes with
the basic operations on sets.
Proposition 1.31. Let X and Y be two sets, and f : X → Y be a map. Then,
for all B,B 0 ⊆ Y , the following properties hold:
(i) f −1 (B ∪ B 0) = f −1 (B) ∪ f −1 (B 0).
(ii) f −1 (B ∩ B 0) = f −1 (B) ∩ f −1 (B 0).
(iii) f −1 (Y − B) = X − f −1 (B).
Proof. Let us start with (i). Let x ∈ X ; we have
x ∈ f −1 (B ∪ B 0) ⇐⇒ f (x) ∈ B ∪ B 0
(by def of inverse images.)
⇐⇒ f (x) ∈ B or f (x) ∈ B 0
⇐⇒ x ∈ f −1 (B) or x ∈ f −1 (B 0)
⇐⇒ x ∈ f
−1
(B) ∪ f
−1
0
(B ).
9A singleton is a set formed by just one element.
25
(by def of union.)
(by def of inverse images.)
(by def of union.)
Thus, f −1 (B ∪ B 0) has the same elements as f −1 (B) ∪ f −1 (B 0), proving (i).
To prove (ii), we proceed similarly,
x ∈ f −1 (B ∩ B 0) ⇐⇒ f (x) ∈ B ∩ B 0
(by def of inverse images.)
⇐⇒ f (x) ∈ B and f (x) ∈ B 0
⇐⇒ x ∈ f
−1
⇐⇒ x ∈ f
−1
(B) and x ∈ f
(B) ∩ f
−1
−1
(by def of intersection.)
0
(B )
0
(B ),
(by def of inverse images.)
(by def of intersection.)
which proves (ii).
Finally, for (iii), we have
x ∈ f −1 (Y − B) ⇐⇒ f (x) ∈ Y − B
⇐⇒ f (x) ∉ B
⇐⇒ x ∉ f
−1
(by def of inverse images.)
(by def of the complement.)
(B)
⇐⇒ x ∈ X − f
(by def of inverse images.)
−1
(B),
(by def of the complement.)
which proves (iii) and concludes the proof of the proposition.
[Cf. Exercise A.3 for a generalization of the latter props. 1.29 and 1.31.]
1.7. Families of sets.
Definition 1.32. A family of sets {Ai }i ∈I indexed by a set I is an assignment
i ↦→ Ai
which assigns to every element (or index) i ∈ I a set Ai .
[We may view such a family as a function on I whose values are sets; for the codomain of
such a function we can take the power set P (X ) where X is a set containing all the Ai ’s, that
is, Ai ⊆ X for all i ∈ I ; the existence of such a set X is guaranteed by the axiom of union which
we discuss below.]
Observe that, for I = {1, 2}, giving a family of sets (Ai )i ∈I is the same
as giving two sets A1 and A2 . More generally, for I = {1, 2, . . . ,n}, giving a
family of sets {Ai }i ∈I amounts to giving a list of sets A1 , . . . ,An . Below are
some examples indexed by infinite sets.
Examples 1.33.
taking
(i) Let I = N. We can define a family {An }n ∈N by
An = [0,
1
[
2n
for all n ∈ N.
Hence,
A0 = [0, 1[,
1
A1 = [0, [,
2
1
A2 = [0, [,
4
26
1
A3 = [0, [,
8
...
(ii) Let I = R. We can define a family {Ar }r ∈r by taking, for all r ∈ R,
Ar = [r, +∞[
In other words, Ar = {x ∈ R | x ≥ r }.
(iii) For every map f : X → Y , we have the family {Fy }y ∈Y (indexed by
the codomian of f ) where Fy is the fiber of f on y. Recall that the
latter is defined as
Fy = {x ∈ X | f (x) = y } = f −1 {y }.
The definition of intersection and union can be generalized to arbitrary
families of sets.
Definition 1.34. Given a family of sets {Ai }i ∈I , we define its intersection by
Ù
Ai = {x | x ∈ Ai for all i ∈ I }.
i ∈I
Ñ
Hence, i ∈I Ai is formed by the elements that lie in all of the Ai ’s at the same time.
We define the union of this family by
Ø
Ai = {x | there exists i ∈ I such that x ∈ Ai };
i ∈I
so
Ð
i ∈I Ai is formed by the elements that lie in at least one of the Ai ’s.
Example 1.35. For I = {1, 2}, a family {Ai }i ∈I is formed by two sets A1
and A2 , and we have clearly
Ù
Ai = A 1 ∩ A 2 ,
i ∈I
and
Ø
Ai = A 1 ∪ A 2 .
i ∈I
So, when I contains exactly two elements, we recover the definition of the
(binary) operations "∪" and "∩".
1 1
Example 1.36. For the family {An }n ≥1 , where An =] − , [ for all integers
n n
n ≥ 1, we have
Ù
An = {0},
n ≥1
and
Ø
An =] − 1, 1[.
n ≥1
Indeed, for the intersection, observe that, for any integers n ≥ 1, we have
Ñ
1
1
− < 0 < , so 0 ∈ An ; this shows that {0} ⊆ n ≥1 An . Conversely, let
n
n
Ñ
1
x ∈ n ≥1 An . If x ≠ 0, then choosing any integer n 0 ≥ |x1 | yields |x | ≥
, so
n0
x ∉ An0 , which contradicts the fact that x lies in An for all n. Thus, we must
27
Ñ
have x = 0, that is, n ≥1 An is contained in {0}; the result follows. ÐFor the
union, it is clear that An ⊆] − 1, 1[ for all n ≥ 1; so any element in n ≥1 An
lies in ] − 1, 1[, that is,
Ø
An ⊆] − 1, 1[.
n ≥1
For the reverse inclusion,
Ð it suffices to observe that ] − 1, 1[= A1 , and use the
obvious fact that A1 ⊆ n ≥1 An .
Let (Ai )i ∈I and (B j ) j ∈ J be two families of sets (indexed by two non empty
sets I and J ). Then we have the following identities:
(6)
(7)
Ai ) ∩ (
Ø
i ∈I
j∈J
Ù
Ai ) ∪ (
Ù
(
(
Ø
i ∈I
Bj ) =
Ø
(Ai ∩ B j ),
(i ,j ) ∈I × J
Bj ) =
j∈J
Ù
(Ai ∪ B j ).
(i ,j ) ∈I × J
If moreover, all the Ai ’s are contained in some global set X , then
Ù
Ø
(8)
( Ai ) c =
Aci ,
(
(9)
i ∈I
i ∈I
Ø
Ù
Ai ) c =
i ∈I
Aci .
i ∈I
Observe that (8) and(9) generalize De Morgan’s laws , and that (6) and (7)
generalize the distributive laws:
A ∩ (B 1 ∪ B 2 ) = (A ∩ B 1 ) ∪ (A ∩ B 1 ),
et
A ∪ (B 1 ∩ B 2 ) = (A ∪ B 1 ) ∩ (A ∪ B 1 ).
Let us prove (6) for example (the remaining identities are left as an exercise). We start by proving the inclusion
Ø
Ø
Ø
( Ai ) ∩ (
Bj ) ⊆
(Ai ∩ B j ).
i ∈I
j∈J
Ð
(i ,j ) ∈I × J
Ð
Ð
Let x be an element in ( i ∈I Ai ) ∩ ( j ∈ J B j ). Hence, x ∈ i ∈I Ai and x ∈
Ð
j ∈ J Bi ; subsequently there exist i 0 ∈ I and j 0 ∈ J such that x ∈ Ai0 and
x ∈ B j 0 , but the latter means that x ∈ Ai0 ∩ B j 0 , so in particular
Ø
x∈
(Ai ∩ B j ),
(i ,j ) ∈I × J
which proves the desired inclusion.
Ð
For the reverse inclusion, let x be an element of (i ,j ) ∈I × J (Ai ∩ B j ); hence
there exists a pair (i0 , j 0 ) in I × J such that x ∈ AÐi0 ∩ B j 0 . The latter
Ð means
that x ∈ Ai0 and x ∈ B j 0 , so in particular x ∈ i ∈I Ai and x ∈ j ∈ J B j ;
28
subsequently x lies in the intersection (
the proof.
Ð
i ∈I Ai ) ∩ (
Ð
j ∈ J B j ), which completes
1.8. Concluding remarks. 0.– Modern mathematics—except, perhaps,
the part of category theory that deal with very large classes of objects—is
founded on "set theory". In the late of the 19th century, mathematicians, especially in Germany, realized that all the mathematics at that time can be founded
on natural numbers (due mainly to the work of Weierstrass, Dedekind, Hilbert,
...); Arithmetization of Analysis, and a large part of Geometry;. Frege went
further and claimed that natural numbers and, subsequently, all, can be built
on his theory of logic and comprehension. Together with the work of Cantor
on infinite sets, and subsequent developments (the structuralism of Bourbaki),
the forgoing justifies the importance of set theory in today’s mathematics.
1.– The aspect of set theory concerning the the elementary relations based
on the notion "membership" (i.e., the binary operations of intersection, union,
complement, etc., and their properties) reflects the basic operations of logic
(conjunction, disjunction, negation, etc.), and it has been present in the thoughts
of mathematicians and philosophers since Antiquity. On the other hand, the
aspect which forms the essential of sets—and which deserves the name of set
theory—is about the "infinite" and the "foundations". In the latter sense, set
theory started with Georg Cantor, in 1873, when he realized that not all infinite
sets have the same size, i.e., there are different kinds of infinities!
2- Motivated by deep questions about functions of real variables, Cantor
was led to the investigation of infinite "sets" of real numbers;
In order to compare the sizes of two sets, Cantor used the notion of a
one-to-one correspondence (a bijection, using a modern terminology). A
one-to-one correspondence between two sets A and B is a relation a ↦→ x a ,
which assigns to every object a in A a well-determined object x a in B, such
that no two distinct objects in A correspond to the same object in B (that is,
x a ≠ x a 0 whenever a ≠ a 0), and every object in B occurs as one of the x a ’s. Let
us write A ∼ B if such a correspondence can be established.
3.– The idea of comparing the sizes of sets by one-to-one correspondence
goes back at least to Galileo, who used the fact that n ↦→ n 2 the principle
that "the whole is greater than a part" is no longer true when dealing with the
infinite.
In the case where A and B are finite, the existence of such a correspondence amounts to saying that A and B have the same number of elements.
So, in general, we may consider A and B as having the same size (even if
this size is infinite) whenever we can establish such a correspondence between
their elements. For example, the set of all natural numbers has the same size
as its part formed by the even numbers since the relation n ↦→ 2n defines a
one-to-one correspondence between them. Obviously, we may consider the set
A as having a smaller size than B if there exists a one-to-one correspondence
29
between A and a proper part of B, but none between A and the whole of B.
Cantor’s first result in this direction shows that the rational numbers (more
generally, the algebraic numbers) are countable, that is, one can establish a
one-to-one correspondence n ↦→ r n between the natural numbers and the rationals. The next natural question which arises in this context is whether the
real numbers are countable (that is, can one establish a one-to-one correspondence between the naturals and the reals? Or, equivalently, can one establish
a numerical sequence s 0 ,s1 , . . . ,sn , . . ., which covers all the real numbers?). Remarkably, Cantor succeeded in answering this question in a few of days only,
and the answer turned out to be negative, i.e., no such a correspondence can
be established (later, we shall record a proof of the later result which relies on
another proof that appeared under the hands of Cantor fourteen years after
his first proof ). Taking A = N and B to be the set of reals, Cantor’s result
means that the size of the continuum (i.e., the set of the reals) is much more
greater than the countable (it follows in particular that there are transcendental numbers). Encouraged by the established result, Cantor went further in
this direction and developed a theory of transfinite numbers; (arithmetic of
infinite numbers). Here, the most remarkable idea is that of well-ordering,
which played a prominent in the development of mathematics thereafter. (For
the next 25 years, Cantor continued in this direction and developed a whole
theory, including a theory of all cardianl numbers, transfinite number, and the
very interesting idea of "well-ordering"; it is this corpus that Hilbert referred
to as "the paradise created for us by Cantor".)
4. If X is infinite, P (X ) is not only infinite but it contains too many
elements so that there is no correspondence x ↦→ Ax , assigning to every x ∈ X
an element Ax in P (X ), such that the Ax ’s cover the whole of P (X ) (in other
words, there exists no "surjective map" from X to P (X ); cf. Exercise 1.9).
The aspect regarding "the foundation" began with the appearance of paradoxes in Cantor’s theory.
It turns out that such a naive definition, though useful for pedagogical
purposes, implies paradoxical constructions such as the "set of all sets not belonging to themselves" (Russell’s paradox) once we come to large collections,
as we shall see later. 10 Historically, set theory started with Georg Cantor
around 1873; at that time, and for Cantor’s definition "By a set is meant a
gathering into one whole of objects which are quite distinct in our intuition or our
thought." raised no substantial objections. It is by 1897 that Buruli-Forty, an
Italian mathematician, established the first first paradox which that definition
implies; Cantor’s paradox and Russell’s ones are established in ...;
These promoted deep reflections on the foundations of mathematics; and
they have had a great impact on the development of mathematical logic and
10Paradoxes, "largest cardinal number" (Cantor’s paradox) or Burali-Forti, etc
30
"formalism". It should be noted that the ideas of computability, Turing machine, originated in these lines of the progressions of the ideas originated in
the early "Foundational crisis".
to build mathematics on a solid ground;
Hilbert’s formalism, leading to Godel’s work on Incompleteness, Formal
proof, computatbility, Turing’s machine ... which lie in the heart of theoretical
computer;
To avoid such paradoxes, Zermelo proposed a system of axioms (rules) to
build set theory, which has culminated later in Zermelo-Fraenkel set theory, or
ZF for short. It is unfortunate that we cannot use such a system to present set
theory at the level of such an introductory course, although, we shall briefly
mention some axioms here and there in order to show the big picture at least.
1. The notion of property is not precised. A pathological example: P (n) =
n is a natural number which can be defined by at most ten English words words.
2. There is not only one theory of sets. The theory of categories need
much, ...
3. Consistency, with the axiom of Choice, and Hypothesis of continuous,
...
4. So far, we have not justified why the natural numbers, for instance, form
a set; and the same apply to the integers, rationals, reals. In fact, the existence
of the sets of the latter can be justified if we can only define the set of natural
numbers; "God created natural numbers, and the rest is the creation of men".
5. Categories gives better explanations for the most abstract and complicated results about set theory and logic, e.g., Godel’s incompleteness, the
independence of the Axiom of choice from ZF, the independence of the Continuum Hypothesis, etc. I’ll add a part which discuss that; the language of
Category theory will be indispensable to every serious computer scientist in
few years.
Exercises.
1. Let A = {0, 1}, B =]0, 1], and C = [−1, 0] (we consider the latter as subsets of R).
Determine the following sets:
(i) A ∩ B, A ∩ C and B ∩ C ;
(ii) A ∪ B, A ∪ C and B ∪ C ;
(iii) A − B, B − A, A − C , C − A, B − C and C − B; deduce AΔB, AΔC and BΔC ;
(iv) Ac , B c and C c (with respect to R).
√2. Prove that R * Q. [Clearly, one needs to find a number x ∈ R with x ∉ Q; show that
x = 2 satisfies that claim.11]
11The number
√
2 was familiar to the ancients since it arises (in nature) as the hypotenuse
of the following right triangle.
31
3. Fix a set X and a subset A ⊆ X . Prove that, for all S ⊆ X , the following equivalences:
(i) A ⊆ S ⇐⇒ A ∩ S = A.
(ii) A ⊆ S ⇐⇒ A ∪ S = S .
(iii) A ∩ S = ∅ ⇐⇒ S ⊆ Ac .
(iv) A ∪ S = X ⇐⇒ Ac ⊆ S .
Assume X is finite with n elements, and A has k elements. Find:
(v)* the number of parts S of X that are disjoint from A;
(vi)* the number of parts S of X that contain A;
(vii)* the number of parts S of X such that A ∪ S = X .
4. Let A, B and C be three subsets of a set X . Prove that
(AΔB)ΔC = AΔ(BΔC ).
[The latter shows that the symmetric difference is an associative operation.]
5. Consider the sets of real numbers:
A = {0, 1},
B = {0, 1, 2}
and C = [0, 1].
(i) Determine the sets A × B and B × A (by listing their elements).
(ii) Characterize the elements of each of the product sets B × C , C × B and C × C , and
then represent the latter sets in a Cartesian plane.
(iii) Express the "boundary" of C × C in a set-theoretic language.
6. Determine all the maps from {0, 1} to {1, 2, 3}? Which of these are (i) injective, or (ii)
surjective? Repeat these questions for maps from {1, 2, 3} to {0, 1}.
7. How many permutations does the set {1, 2, 3, 4} have? Determine those which fix no
element (using the standard notation for permutations).
1
8. Consider the map f : R → R defined by f (x) = 2
.
x +1
(i) Is f injective? Surjective?
(ii) Determine the direct images of A = {0, 1} and A 0 = [0, 1].
1
(iii) Determine the inverse images of B = {0}, B 0 = {1, 2} and B 00 =] , 1[.
2
9. Let n and k be two natural numbers. Find a combinatorial proof of each of the following
identities:
n
n−1
n−1
(i)
=
+
,
k
k −1
k
(ii)
n
n
=
,
k
n −k
1
√
2
1
√
The fact that 2 is not the ratio of two whole numbers (i.e., it is irrational) was know at least
to the Pythagorean in the 5th century BC, and that was a striking discovery at that time.
32
n 2
Õ
n
(iii)
k
k =0
=
2n
.
n
[Hint: Fix a set X with n elements and an element a ∈ X . For (i), count separately the parts
of X with k elements that contain a and those that don’t. For (ii), observe that passing to
complements in X establish a one-to-one correspondence between the parts with k elements
and those with n − k elements. For (iii), consider a partition of X into two equal parts A and
B, and count the subsets of X having i elements from A and k − i elements from B.]
10. Given a set X , prove that there is no surjective map from X to P (X ). [Hint: Assume
that such a surjection x ↦→ Fx exists; let A = {x ∈ X | x ∉ f (x)}; so A = Fa for some a ∈ X . Is
a ∈ Fa ? (This argument was established by Georg Cantor around 1890; we usually refer to it
as Cantor’s diagonal argument).]
11. Let X be a set. For every given A ⊆ X , the indicator function 𝜒 A of A is the map
𝜒 A : X → {0, 1} defined by
(
1 if x ∈ A,
𝜒 A (x) =
0 if x ∉ A.
(i) Prove that, for all A,B ⊆ X , we have:
A = B ⇐⇒ 𝜒 A = 𝜒 B .
(ii)* Show that the map A ↦→ 𝜒 A defines a one-to-one correspondence between P (X )
and {0, 1}X . [Note that the latter implies that if X is finite with n elements, then
P (X ) has 2n elements.]
(iii) Prove that, for all A,B ⊆ X , we have the following:
(a) 𝜒 A∩B = 𝜒 A · 𝜒 B ;
(b) 𝜒 A∪B = 𝜒 A + 𝜒 B + 𝜒 A · 𝜒 B ;
(c) 𝜒 Ac = 1 − 𝜒 A ;
(d) 𝜒 AΔB = 𝜒 A + 𝜒 B .
[For f , g : X → {0, 1}, f + g and f · g are defined in the obvious way:
( f + g )(x) = f (x) + g (x),
( f · g )(x) = f (x) · g (x);
and
moreover, addition and multiplication in {0, 1} are taken modulo 2.]
12. Let (Ai )i ∈I be a family of subsets of a set X . Recall that the intersection and union of
this family are defined by:
Ù
Ai = {x ∈ X | for all i ∈ I , x ∈ Ai }
i ∈I
and
Ø
Ai = {x ∈ X | there exists i ∈ I with x ∈ Ai }.
i ∈I
(i) Prove the following two identities:
Ù
Ø
(11.i,a)
( Ai ) c =
Aci
(
(11.i,b)
i ∈I
i ∈I
Ø
Ù
Ai ) c =
Aci .
i ∈I
i ∈I
Ð
Ñ
(ii)* What would i ∈I Ai and i ∈I Ai be when I = ∅?
(iii) Given another family (B j ) j ∈ J of subsets of X , prove that:
Ù
Ù
Ù
(9.3)
( Ai ) ∪ (
Bj ) =
(Ai ∪ B j )
i ∈I
j∈J
(i ,j ) ∈I × J
33
(9.4)
(
Ø
i ∈I
Ai ) ∩ (
Ø
Ø
Bj ) =
j∈J
(Ai ∩ B j ).
(i ,j ) ∈I × J
Additional exercises.
A1. Fix an integer n ≥ 2. Show that if 𝛼 is a positive
integer that is not an nth power in Z
√
(i.e., there is no integer 𝛽 such that 𝛼 = 𝛽 n ), then n 𝛼 is irrational.
A2. Assume r is a real number satisfying an equation of the form
r n + c 1r n−1 + · · · + c n = 0,
where c 1 , . . . ,c n are integers, with c n ≠ 0. Show that if r ∉ Z, then r is irrational.
√
[Taking c 1 = . . . = c n−1 = 0 and c n = 𝛼, we recover the case r = n 𝛼 treated in the previous
exercise.]
A3. Let X and Y be two sets, and f : X → Y be a map. Prove the following properties:
(10)
(i) For any family (Bi )i ∈I of subsets of Y , we have:
Ù
Ù
f −1 ( Bi ) =
f −1 (Bi );
i ∈I
(11)
f −1 (
Ø
i ∈I
(12)
i ∈I
Bi ) =
Ø
f −1 (Bi ).
i ∈I
(ii) For any family (Ai )i ∈I of subsets of X , we have
Ø
Ø
f ( Ai ) =
f (Ai ).
i ∈I
i ∈I
Ax. Let X and Y be two sets, and f : X → Y be a map. Prove that the following
statements are equivalent:
(i) f is injective.
(ii) For all maps g ,h : X 0 → X , where X 0 is an arbitrary set, we have
f ◦ g = f ◦ h =⇒ g = h.
(iii) f has a left inverse, i.e., there exists a map g : Y → X with g ◦ f = 1X .
[Using jargon of "category theory", the condition (ii) means that f is a monomorphism.]
Ay. Let X and Y be two sets, and f : X → Y be a map. Prove that the following statements
are equivalent:
(i) f is surjective.
(ii) For all maps g ,h : Y → Y 0 , where Y 0 is an arbitrary set, we have
g ◦ f = h ◦ f =⇒ g = h.
(iii) f has a right inverse, i.e., there exists a map g : Y → X with g ◦ f = 1X . [This is
just another rephrasing of the axiom of choice.]
[Again, using jargon of "category theory", the condition (ii) means that f is an epimorphism.]
34
Î
Az. On définit le produit i ∈I Ai d’une famille (Ai )i ∈I de parties de E comme l’ensemble
Ð
des applications x : I → i ∈I Ai satisfaisant à x(i ) ∈ Ai pour tout i ∈ I . Il est plus commode
de noter x(i ) par xi , et de noter une telle application x par (xi )i ∈I . Supposons ( Ji )i ∈I une
famille d’ensembles, et pour chacun des Ji on a une famille (Ai ,j ) j ∈ Ji de parties de E; et
Î
notons K l’ensemble produit i ∈I Ji . Montrer que
Ù Ø
Ø Ù
(
Ai ,j ) =
( Ai ,ki )
(13)
i ∈I j ∈ Ji
k ∈K i ∈I
Ø Ù
Ù Ø
(
Ai ,j ) =
( Ai ,ki ).
(14)
i ∈I j ∈ Ji
k ∈K i ∈I
Observons que si I ne contient que deux éléments pour lesquels ils corresponds deux
ensembles J 1 et J 2 , on retrouve les formules (6) et (7).
3).
2. Binary relations
2.1. Definitions and examples.
Definition 2.1. Let X and Y be two sets. We call a relation from X to
Y every subset of the product X × Y .
Thus, a relation R from X to Y is just a set of specified pairs (x, y), where
x ∈ X and y ∈ Y . Usually, we write xRy instead of (x, y) ∈ R, in which case
we say that x is related to y by R.
f
Example 2.2. A map X → Y is just a relation f ⊆ X × Y which satisfies the
two conditions: for all x ∈ X , there exists a unique y ∈ Y such that (x, y) ∈ f ; that
is f can be realized as the set
f = {(x, y) ∈ X × Y | y = f (x)}
Definition 2.3. We call a binary relation on set X every relation R from
X to itself (that is, R ⊆ X × X ).
The above suggests that we can talk of relations between more than two
objects; for instance, a ternary relation on a set X is a subset R of X × X × X ;
In general, we shall use simply "relation" instead for "binary relation" if
no confusion arise.
2.2. Equivalence relations.
Definition 2.4. Let X be a set, and R be a binary relation on X . We
say that R is an equivalence relation if it is reflexive, anti-symmetric and
transitive.
35
In other words, R is an equivalence relation if it satisfies the following
conditions: (i)
(i) for all x ∈ X , we have xRx.
(ii) for all x, y ∈ X ,
xRy =⇒ yRx .
(ii) for all x, y, z ∈ X ,
xRy and yRz =⇒ xRz .
Example 2.5. Fix an integer n ≥ 0, and consider on Z the relation:
xRy ⇐⇒ x − y = nk for some k ∈ Z
[This relation is often dented x = y mod n ]
2.3. Order relations.
Definition 2.6. An order relation on a set X is a binary relation which is
reflexive, anti-symmetric and transitive.
A partial order is also called an order relation or ordering, and a set
endowed with such a relation is often called a poset (the abbreviation of partially ordered set). Order relations are usually denoted by symbols like ≤, 4,
⊆, etc.
Examples 2.7.
• The usual order on the naturals
• Inclusion on a power set
• division in N
• Division in Z is a partial order.
2.4. Orders on products. Given a (finite) family X 1 , . . . ,Xn of posets,
there are natural ways for extending the orders Î
on the Xi ’s to an order on the
product set X 1 × X 2 × . . . × Xn (which we write in=1 Xi for short);
The first The product order, also called the component-wise order, is
0
0 0
0
defined
În as follows: for two elements x = (x 1 ,x 2 , . . . ,x n ) and x = (x 1 ,x 2 , . . . ,x n )
in i =1 Xi , we have
x 4 x0 ⇐⇒ x i ≤i x i0 for every index i
(With ≤i denotes the order on Xi .)
In the case of a family formed by two posets X and Y , the above reduces
to the following:
(x, y) 4 (x 0, y 0) ⇐⇒ x ≤ x 0 and y y 0 .
For example, taking X and Y equal to N endowed with the usual order,
we have (1, 0) 4 (1, 1), (0, 1) 4 (0, 2), but not (1, 2) 4 (2, 1) (in particular, the
product order is not linear even if its components are.)
36
The product order is particularly useful when dealing with lattices, Boolean
algebras...
Î
The lexicographic order on in=1 Xi Î
is defined as follows: for two elements (x 1 ,x 2 , . . . ,x n ) and (x 10 ,x 20 , . . . ,x n0 ) in in=1 Xi , we set
(x 1 ,x 2 , . . . ,x n ) 4 (x 1 ,x 2 , . . . ,x n )
if either x i = x i0 for all indices i , or for the smallest index i with x i ≠ x i0 we
have x i <i x i0.
In the case of two posets X and Y , the above reduces to
(x, y) 4 (x 0, y 0) ⇐⇒ either x < x 0, or x = x 0 and y y 0 .
(One needs to prove that both the product and the lexicographic orders
define in fact order relations.)
More or less, the lexicographic is the one used to order the words in a
dictionary; the underlying set is the one formed by the alphabets together
with an empty word ; we order the alphabet in the usual order (and we agree
that precedes all of them), so
< a < b < . . . < x < y < z.
Now, we take the product set An (when n is an integer representing the longest
word in English; it is said that n = 45); now every word can be viewed as an
n-tuple, for example "cat" is (c ,a,t , , . . .); check the dictionary...
Observe moreover, that the lexicographic order (on arbitrary strings of
ciphers ) coincide with the usual one.... [This suggest to extend the lexicographic order to denumbrable families of sets; so that we can compare the
reals in the usual way.]
For a given set A, a word of length n is a finite sequence
u = x 1x 2 . . . xn
where x i ∈ A (observe that the expression x 1 x 2 . . . x n is essentially the same
as x 1 ,x 2 , . . . ,x n .) A language on A is any set of words on A. The latter notion
is substantial in logic and computer science; ordering the words is equally
interesting, and by virtue of the lexicographic order, we need only order the
alphabets (i.e., the elements of A) in order to have a total order on the desired
language.
Remark 2.8. A noteworthy is that the lexicographic order is linear (i.e., a total
order) whenever all its components are. Indeed, Assume the poset (Xi , ≤i ) is totally
0
0 0
0
ordered for every
În index i . Let x0 = (x 1 ,x 2 , . . .0,x n ) and x = (x 1 ,x 2 , . . . ,x n ) be two
elements of i =1 Xi . If x = x , then x 4 x (by reflexivity), otherwise there exists
an index i with x i ≠ x i0. suppose i is the smallest index with that property; as Xi is
totally ordered, we have either x i <i x i0 or x i0 <i x i , so by definition we have either
x 4 x0 or x0 4 x; this proves the claim.
37
2.5. Adjunction*. The material of this paragraph is not usually included
in a first course, and can be skipped at first reading. but it should be; this form
the simplest examples of "adjoint functors" which becomes a central notion in.
If time does not allows, the material can be given as Homework for students;
or should be added later in an appropriate course.
In fact, one needs only relations that are reflexive and transitive (preorder)
to develop the notions;
Exercises.
13. Let X be a set, and (Ai )i ∈I be a partition of X (i.e., the Ai ’s are non-empty pairwise
Ð
disjoint subsets of X which satisfy X = i ∈I Ai ).
(i) Show that the relation ∼ defined on X by
x ∼ y ⇐⇒ there exists i ∈ I with x, y ∈ Ai
is an equivalence relation.
(ii) Determine the quotient set X /∼.
(iii)* Let ℜ denote the set of all equivalence relations on X , and 𝔓 the set of all partitions
of X . Show that the map sending every R in ℜ to the quotient set X /R defines a
one-to-one correspondence between ℜ and 𝔓.
(iv)* Find a formula that gives the number of equivalence relations on a set with n elements for any given n ≥ 1 (use the previous question).
14. Let X and Y be two sets, and f : X → Y be a map. Consider the relation R f on X
defined by
xR f x 0 ⇐⇒ f (x) = f (x 0 ).
(i) Show that R f is an equivalence relation.
(ii) Consider the particular case where X = Y = R and f (x) = x 2 . For every a ∈ R,
determine the equivalence class a with respect to R f .
(iii)* Show that for any equivalence relation R on X , there exists a map 𝜋 : X → Y (for
some set Y ) such that R = R 𝜋 .
3. Consider on N the relation 4 defined by
a 4 b ⇐⇒ a divides b (i.e., there exists k ∈ N with b = ak ).
(i) Show that 4 is a partial order on N.
(ii) Does it remain so if we replace N by Z (division in Z is defined similarly: an integer
a divides another b if b = ak for some k ∈ Z).
(iii) Let A = {2, 5}. Determine A ↑ (the set of upper bounds of A) and A ↓ the set of lower
bounds of A). Find inf A, sup A, min A and max A (if they exist).
(iv) Repeat the same questions for A = {a,b }.
(v) Is the poset (N, 4) bounded?
4. Show that every non-empty finite poset has a maximal element.
5. Let (X , 4) be a poset.
(i) Show that the following two conditions are equivalent:
(a) X satisfies the ascending chain condition: every increasing sequence
x1 4 x2 4 . . . 4 xn 4 . . .
of elements of X is stationary (that is, x m = x m+1 = . . . for some integer m.)
38
(b) X satisfies the maximal condition: every non-empty subset of X has a maximal
elements.
(ii)* By analogy, formulate the "descending chain condition" and the "minimal condition"
and prove that they are equivalent (deduce that directly from (i)).
6. A well-ordering on a set X is an order relation for which every non-empty subset of X
has a minimum (i.e., a least element).
(i) Prove that every well-ordering on X is a total order.
(ii) Is N (resp. R) endowed with the usual order well-ordered?
(iii) The principle of induction on N asserts that for any predicate P (n) pertaining to
the natural number:
"If P (0) is true, and P (k ) implies P (k + 1) for all k , then P (n) is true for all n ∈ N."
Prove that the above principle follows from the fact that N is well-ordered.
(iv)*** Does there exist a well-ordering on R?
9.
39
CHAPTER 2
Basic algebraic structures
1. Binary operations
1.1. Definitions and examples.
Definition 1.1. Let X be a set. We call a binary operation on X every
map 𝜇 : X × X → X .
Such an operation 𝜇 : X × X → X assigns to every ordered pair (x, y) of
elements of X a third element 𝜇(x, y) of X , which we call the composite of x
and y under 𝜇. In practice, we usually denote the composite 𝜇(x, y) by x 𝜇y,
or simply by xy if no confusion arises.
Note that a binary operations on a set X is also called a law of composition
on X ; the corresponding term "loi de composition" is the common term in French
mathematical writing,
Example 1.2. Addition and multiplication of natural numbers define two
binary operations on N:
+ : N × N → N and
· : N × N → N.
We have, for instance,
qu’on l’appelle le composé de x et y; on le note aussi , ou simplement xy
(ou n’importe quelle expression convenable et non ambigüe). Par exemple,
l’addition et la multiplication des nombres naturels sont des lois de compositions sur N, d’où les deux magmas (N, +) et (N, ·). De même, Z, Q, R, et
C sont des magmas pour l’addition ainsi que pour la multiplication usuelles.
Pour tout entier n ≥ 0, l’addition et la multiplication modulo n définissent
deux magmas (Z/nZ, +) et (Z/nZ, ·)
Soit E un ensemble, et notons P (E) l’ensemble de ses parties. La réunion
et l’intersection définissent deux lois de compositions sur P (E), c’est à dire
deux magmas (P (E), ∪) et (P (E), ∩). Si pour A,B ∈ P (E), on définit A \ B
comme l’ensemble des x ∈ E satisfaisant à x ∈ A et x ∉ B, on obtient une
autre loi de composition (A,B) ↦→ A \ B sur P (E).
40
Example 1.3. En particulier |S n | = n!. Par exemple, S 3 contient 3! = 6 éléments, à savoir
1 2 3
1 2 3
1 2 3
1=
, 𝜏1 =
, 𝜏2 =
1 2 3
2 1 3
3 2 1
1 2 3
1 2 3
1 2 3
𝜏3 =
, 𝜎1 =
, 𝜎2 =
.
1 3 2
3 1 2
2 3 1
En utilisant que la définition de la composition, on voit directement que la table de
multiplication de ces éléments étant
1
𝜏1
𝜏2
𝜏3
𝜎1
𝜎2
1
1
𝜏1
𝜏2
𝜏3
𝜎1
𝜎2
𝜏1
𝜏1
1
𝜎2
𝜎1
𝜏3
𝜏2
𝜏2
𝜏2
𝜎1
1
𝜎2
𝜏1
𝜏3
𝜏3
𝜏3
𝜎2
𝜎1
1
𝜏2
𝜏1
𝜎1
𝜎1
𝜏2
𝜏3
𝜏1
𝜎2
1
𝜎2
𝜎2
𝜏3
𝜏1
𝜏2
1
𝜎1
(le composé xy se lit dans l’intersection de la linge de x et la colonne de y.)
On peut utiliser une petite portion de ce tableau pour le recouvrer d’une façon plus automatique. On
peut y faire par exemple à partir des relations 𝜏12 = 1 (i.e, 𝜏1 𝜏1 = 1), 𝜏22 = 1, 𝜏1 𝜏2 𝜏1 = 𝜏2 𝜏1 𝜏2 = 𝜏3 ,
en observant que 𝜎1 = 𝜏1 𝜏2 et 𝜎2 = 𝜏2 𝜏1 . On a par exemple, 𝜎1 𝜏1 = 𝜏1 𝜏2 𝜏1 = 𝜏3 , 𝜎1 𝜏2 = 𝜏1 𝜏22 = 𝜏1 ,
𝜎1 𝜏3 = 𝜏1 𝜏22 𝜏1 𝜏2 = 𝜏2 , 𝜎1 𝜎1 = 𝜏1 (𝜏2 𝜏1 𝜏2 ) = 𝜏1 (𝜏1 𝜏2 𝜏1 ) = 𝜏2 𝜏1 = 𝜎2 , et 𝜎1 𝜎2 = 𝜏1 𝜏22 𝜏1 = 1. On
obtient les autres lignes de la même manière.
Soient M un magma, et x, y, z ∈ M . L’expression xyz n’a aucun sens en
général; la loi de M est binaire, c’est-à-dire elle ne nous permet de composer
que des pairs d’éléments de M , ou par itération de composer des suites finies
x 1 , . . . ,x n dans M en les regroupant par des parenthèses. Les éléments x, y, z ,
pris dans cet ordre, peuvent être regroupés de deux façons: (xy)z et x (yz ).
Si t ∈ M , les façons possibles de regrouper x, y, z ,t sont ((xy)z )t , (x (yz ))t ,
(xy) (zt ), x ((yz )t ), et x (y (zt )).
Definition 1.4. On dit que la loi de M est associative si (xy)z = x (yz ) pour
tous x, y, z ∈ M . Si c’est le cas, on dit que M est un semi-groupe.
Exercises.
1. The binary operation on R given by (x, y) ↦→ x − y is associative? Commutative? Has
an identity element?
2. Let S be a set together with an associative binary operation (x, y) ↦→ xy. Let a,b ∈ S
such that aba = a. Show that, for c = bab, we have
aca = a
and
41
cac = c .
3. Let X =] − 1, 1[, and define for all x, y ∈ X the quantity
x +y
x ◦y =
.
1 + xy
(i) Show that ◦ is a binary relation on X .
(ii) Is X a group for this operation?
[The above operation represents the velocity-addition formula in special relativity!]
4. Let X be a set together with a binary operation (x, y) ↦→ xy. For every a ∈ X , define
𝛾a : X → X and 𝛿a : X → X by
𝛾a (x) = ax
and
𝛿a (x) = xa.
[We call 𝛾a and 𝛿a the left and the right translation by a, respectively.]
(i) Prove that for the operation on X to be associative, it is necessary and sufficient
that 𝛾a ◦ 𝛿b = 𝛿b ◦ 𝛾a for all a,b ∈ X .
(ii) If the operation on X is associative, then for all a,b ∈ X we have
𝛾a ◦ 𝛾b = 𝛾ab
and
𝛿a ◦ 𝛿b = 𝛿ba .
Assume X is a group for the forgoing operation. Prove the following:
(iii) 𝛾a and 𝛿a are permutations of X , for all a ∈ X .
(iv) The map 𝛾 : a ↦→ 𝛾a is a group homomorphism (an embedding in fact) from X to
the symmetric group SX .
[The latter result is due to Arthur Cayley, ∼ 1854; it shows that every abstract group
can be realized as a permutation group (or a group of substitutions using the terms
of that time.)]
5. Let G be a group satisfying x 2 = e for all x ∈ G . Prove that G is commutative.
6. * Let G be a group satisfying x 3 = e for all x ∈ G . Prove that every element in G
commutes with its conjugates, that is, xx y = x y x for all x ∈ G , where x y = y −1 xy.
7.*. Let G be a group, and H be a subgroup of G . Define on G the relation:
x ∼ y ⇐⇒ xy −1 ∈ H .
(i) Show that ∼ is an equivalence relation.
(ii) Determine the equivalence class of the identity element e of G .
(iii) Show that all the equivalence classes have the same cardinality |H |.
(iv) Using (iii), show that if G is finite, then the cardinality of H divides that of G
(Lagrange theorem).
[Note that for G = Z, and H = nZ, the above relation coincides with the usual congruence
modulo n.]
2. Monoids; groups
2.1. Definition and basic examples.
Definition 2.1. On appelle groupe tout monoïde dont les éléments sont tous
inversibles.
Autrement dit, un groupe est un ensemble G muni d’une loi de composition
(x, y) ↦→ xy qui satisfait aux axiomes suivants:
42
(i) Associativité: pour tous x, y, z ∈ G , on a (xy)z = x (yz ) .
(ii) Élément neutre: il existe un élément 1 ∈ G (unique) qui vérifie x1 =
1x = x pour tout x ∈ G .
(i) Inverses: pour tout x ∈ G , il existe un élément x −1 ∈ G (unique) tel
que xx −1 = x −1 x = 1.
2.2. Subgroups; homomorphisms. On tombe souvent sur des situations
où la vérification des axiomes de groupe soit un peu artificielle; la notion suivante permet de déduire une structure de groupe d’une autre plus directement
(bien que son importance déborde totalement ce dernier cadre).
Definition 2.2. Soit G un groupe. On appelle sous-groupe de G toute partie
H ⊆ G qui vérifie les conditions suivantes:
(i) 1 ∈ H .
(ii) Pour tous x, y ∈ H , on a xy ∈ H .
(iii) Pour tout x ∈ H , on a x −1 ∈ H .
Si H est un sous-groupe de G , alors par (ii), la loi de G induit une application (x, y) ↦→ xy, de H × H dans H . Cette loi sur H est évidemment
associative; la condition (i) assure l’existence du neutre dans H , et (iii) assure
que tout élément de H est inversible (dans H ). Ainsi, H est lui même un
groupe pour cette loi induite.
Par exemple, {1} (dit le sous-groupe trivial) et G sont des sous-groupes de G .
Le groupe (Z, +) est un sous-groupe du groupe additif R. Les parties {−1, 1}
et ]0, +∞[ sont des sous-groupes du groupe multiplicatif R \ {0}. L’ensemble
{1, 𝜎1 , 𝜎2 } forme un sous-groupe de S 3 (appelé le groupe alterné de degré 3,
et noté A3 ).
2.3. Factor groups.
3. Rings
43
CHAPTER 3
Linear algebra
Throughout this chapter, K denotes a field, i.e., a set endowed with an
addition + and a multiplication · which allows us to do arithmetic as in Q.
The basic examples of fields, beside Q, include R, C, and Z/pZ with p prime
(see §...). The reader who is not familiar with the notion of field yet may think
of R whenever encountering K in the sequel.
1. Vector spaces
1.1. Definitions and examples. Firstly, recall that an abelian group is a
set V endowed with a binary operation (u,v ) ↦→ u + v which is commutative,
associative, has an identity element 0V , and for which every element u ∈ V
has an inverse −u in V ; in other words, the following properties are hold:
(i) u + v = v + u, for all u,v ∈ V .
(ii) (u + v ) + w = u + (v + w), for all u,v ,w ∈ V .
(iii) There is an element 0V ∈ V such that u + 0V = u, for all u ∈ V .
(iv) For every u ∈ V there is an element −u ∈ V such that u + (−u) = 0V .
Note that the identity element 0V and the inverse −u of u ∈ V are uniquely
determined (cf. Sect. 2.2).
Definition 1.1. A vector space over K is an abelian group V together with
an action action of K on V ,
K ×V → V
(𝛼,v ) ↦→ 𝛼v ,
which satisfies the following axioms:
(V1) (𝛼 + 𝛽 )u = 𝛼u + 𝛽u,
(V2) 𝛼(u + v ) = 𝛼u + 𝛼v ,
(V3) (𝛼𝛽 )u = 𝛼(𝛽u),
(V4) 1v = v ,
for all 𝛼, 𝛽 ∈ K and all u,v ∈ V .
A vector space V over K is also called a K -vector space. It is convenient in
such a situation to refer to the elements of V as vectors and to the elements of
K as scalars.
44
Example 1.2. Let V = R2 the set of all ordered pairs (x, y) of real numbers.
Define an addition on V by setting: for u = (x, y) and v = (x 0, y 0) in R2 ,
u + v = (x + x 0, y + y 0).
Note that the above coincides with the usual addition of vectors in the plane:
It is readily seen that (R2 , +) is an abelian group; the identity element is
0R2 = (0, 0), and the inverse of u = (x, y) is −u = (−x, −y). Moreover, we have
an action of K = R on R2 defined by
𝛼u = (𝛼x, 𝛼y),
for all 𝛼 ∈ R. It is straightforward to see that this action satisfies the axioms
(V1)–(V4) above, and hence R2 is a vector space over R.
Example 1.3. Similarly, for V = R3 , we can define an addition by setting:
for u = (x, y, z ) and v = (x 0, y 0, z 0) in R3 ,
u + v = (x + x 0, y + y 0, z + z 0),
It follows that (R3 , +) is an abelian group with identity element 0R3 =
(0, 0, 0), and the inverse of u = (x, y, z ) is given by −u = (−x, −y, −z ). Moreover,
we have a natural action of R on R3 given by:
𝛼u = (𝛼x, 𝛼y, 𝛼z ),
for 𝛼 ∈ R. Again, one easily sees that this action satisfies the axioms (V1)–
(V4); that is, R3 is an R-vector space.
Example 1.4. The latter two examples generalize in the obvious way to
V = Rn , or more generally to V = K n (the Cartesian product of n copies of
K ) for every integer n ≥ 1. More generally, for every n ≥ 1, we can consider
V = K n , and for u = (x 1 , . . . ,x n ) and y = (y 1 , . . . , y n ) in k n we define
u + v = (x 1 + y 1 , . . . ,x n + y n ).
k n est un groupe abélien pour cette addition; l’élément neutre étant le vecteur
nul (0, . . . , 0), et l’inverse de x étant −x = (−x 1 , . . . , −x n ). Pour 𝛼 ∈ k , on
définit comme d’habitude
𝛼x = (𝛼x 1 , . . . , 𝛼x n ).
On voit aussitôt que ces deux lois vérifient les propriétés:
𝛼(x + y) = 𝛼x + 𝛼y,
(𝛼 + 𝛽 )x = 𝛼x + 𝛽x,
(𝛼𝛽 )x = 𝛼(𝛽x),
et
1x = x
∈ k n , et tous 𝛼, 𝛽
pour tous x, y
∈ k . , one can take V = R3 and define an
addition on it by setting, for all u = (x, y, z ) and v = (x 0, y 0, z 0) in R3 ,
u + v = (x + x 0, y + y 0, z + z 0).
45
It follows that (R3 , +) is an abelian group with identity element 0R3 = (0, 0, 0),
and the inverse of u = (x, y, z ) is given by −u = (−x, −y, −z ). Moreover, we
have a natural action of R on R3 given by:
𝛼u = (𝛼x, 𝛼y, 𝛼z ),
for 𝛼 ∈ R. Again, one easily sees that this action satisfies the axioms (1)–(4)
defining a vector space; that is, R3 is an R-vector space.
Ainsi, k n a une structure canonique de k -module. De même, on a une
structure canonique de k -module sur Mn (k ) où l’action de k sur ce dernier
est donnée par 𝛼(ai j ) = (𝛼ai j ), avec 𝛼 ∈ k . Si k est un corps, la notion de
k -module coïncide avec la notion familière d’espace vectoriel sur k .
Soient V et W deux k -modules, et f : V → W une application. On dit
que f est k -linéaire si elle vérifie:
f (x + y) = f (x) + f (y)
et
f (𝛼x) = 𝛼 f (x)
pour tous x, y ∈ V et 𝛼 ∈ k . On dit que f est un isomorphisme de k -modules
si f est de plus bijective; si c’est le cas, on dit que V et W sont isomorphes.
Comme l’on avait expliqué pour les groupes, deux k -modules isomorphes ont
essentiellement la même structure de k -module.
1.2. Subspaces; linear maps.
1.3. Generating families, free families and bases. Let V be a vector
space over K (where K is a given field).
Let v 1 ,v 2 , . . . ,v n be a (finite) family of vectors in V . We call a K -linear
combination (or just linear combination if no confusion arises) of this family
every vector u ∈ V that can be expressed as
u = 𝛼 1v 1 + 𝛼 2v 2 + · · · + 𝛼 n v n ,
where 𝛼 1 , 𝛼 2 , . . . , 𝛼 n ∈ K . Let us denote by W the set of all such linear combination. We claim that:
(a) W is a subspace of V which contains the set {v 1 , . . . ,v n }, and
(b) if W 0 is a subspace of V such that {v 1 , . . . ,v n } ⊆ W 0, then W ⊆ W 0.
To prove (a), observe firstly that 0V ∈ W since we can take 𝛼i = 0 for all i =
1, . . . ,n. Also, if u,v ∈ W , then we can find scalars 𝛼 1 , . . . , 𝛼 n and 𝛽 1 , . . . , 𝛽 n
such that
u = 𝛼 1v 1 + · · · + 𝛼 n v n
and
v = 𝛽 1v 1 + · · · + 𝛽 n v n ;
it follows immediately that
u + v = (𝛼 1 + 𝛽 1 )v 1 + · · · + (𝛼 n + 𝛽 n )v n ,
46
and hence u + v ∈ W . Similarly, for any scalar 𝜆 ∈ K , we have
𝜆u = 𝜆 (𝛼 1v 1 + · · · + 𝛼 n v n )
= 𝜆 (𝛼 1v 1 ) + · · · + 𝜆 (𝛼 n v n )
= (𝜆 𝛼 1 )v 1 + · · · + (𝜆 𝛼 n )v n ,
and hence 𝜆u ∈ W . This proves that W is a subspace of V . Next, observe
that every vector v j in the given family can be written as linear combination
v j = 𝛼 1v 1 + · · · + 𝛼 j v j + · + 𝛼 n v n
with 𝛼 j = 1 and the remaining 𝛼i equal 0. Thus v j ∈ W for all j = 1, . . . ,n.
0
This completes the proof of (a). To prove (b), suppose
Ín W is a subspace of
V which contains the set {v 1 , . . . ,v n }, and let u = i =1 𝛼i v i be an arbitrary
element of W . As W 0 is stable under multiplication by scalars, it follows
that W 0 contains each of 𝛼 1v 1 , 𝛼 2v 2 , . . . , 𝛼 n v n , and hence it contains their sum
(since W 0 is stable under addition), that is u ∈ W 0. This proves that W ⊆ W 0
and concludes the proof of (b).
The facts (a) and (b) above show that the set of all linear combinations
of the family v 1 ,v 2 , . . . ,v n is the smallest subspace of V which contains all the
v i ’s; it is usually denoted by hv 1 ,v 2 , . . . ,v n i or Span{v 1 ,v 2 , . . . ,v n }, and called
the subspace generated (or spanned) by the family v 1 ,v 2 , . . . ,v n .
Definition 1.5. We say that v 1 ,v 2 , . . . ,v n is a generating family of V if
V = hv 1 ,v 2 , . . . ,v n i
(in other words, every vector of V can be expressed as a K -linear combination of v 1 ,
v 2 , . . . ,v n ).
At this level, we shall deal only with the K -vector spaces V
Observe that 0V is a linear combination of the above family since we can
take 𝛼i = 0 for all i = 1, . . . ,n.
0V = 0v 1 + 0v 2 + · · · + 0v n
(that is all the coefficients 𝛼i are taken to be 0).
that if we have another linear combination
v = 𝛽 1v 1 + · · · + 𝛽 n v n
of the above family, then
which shows that u+v is again a linear combination of the family v 1 ,v 2 , . . . ,v n .
Similarly, for every scalar 𝜆 ∈ K , we have
hence 𝜆u is also a linear combination of the v i ’s.
The set of all such linear combinations is usually denoted by The latter
terminology is justified by the following result:
47
Proof. For brevity, write W for hv 1 ,v 2 , . . . ,v n i. We have 0V ∈ W (take
𝛼i = 0 for all i ). In addition, if u,v ∈ V ,
u +v
= (𝛼 1v 1 + · · · + 𝛼 n v n ) + (𝛽 1v 1 + · · · + 𝛽 n v n )
= (𝛼 1v 1 + 𝛽 1v 1 ) + · · · + (𝛼 n v n + 𝛽 n v n )
= (𝛼 1 + 𝛽 1 )v 1 + · · · + (𝛼 n + 𝛽 n )v n ,
hence u + v ∈ W . Also, for 𝜆 ∈ K , we have
𝜆u = 𝜆 (𝛼 1v 1 + · · · + 𝛼 n v n )
= 𝜆 (𝛼 1v 1 ) + · · · + 𝜆 (𝛼 n v n )
= (𝜆 𝛼 1 )v 1 + · · · + (𝜆 𝛼 n )v n ,
which shows that 𝜆u ∈ W . Thus W is a subspace of V . To prove the second
statement, suppose W 0 is a subspace of V which contains v 1 , . . . ,v n ; as W 0 is
stable under multiplication by scalars, we see that 𝛼i v i ∈ W 0
for u ∈ W as above, we have
Informally speaking, a generating family of V is a family of vectors from
which we can obtain all the vectors of V . More precisely, let be a (finite) family
of vectors in V ;
At this level, we shall deal only with vector spaces which are finitely generated (also called finite dimensional vector spaces)
(i.e., those which can be generated by finitely many vectors);
Roughly speaking, a generating family of V is a family of vectors from
which we can obtain all the vectors of V . It is necessary to consider in this case
the minimum number of such vectors; the latter coincide with the dimension
of V . It turns out that the dimension of a a vector space is an invariant;
which allows us to classify vector spaces; two vector spaces have the same
structure iff they have the same dimension. For ex ample, every R-vector
space of dimension 1 is similar to the line R; anR-vector space of dimension 2
is similar to the plane R2 , etc.
1.4. Factor space.
Exercises.
1. Let K be a field, and ....
(i) Show that the relation ∼ defined on X by
x ∼ y ⇐⇒ there exists i ∈ I with x, y ∈ Ai
is an equivalence relation.
(ii) Determine the quotient set X /∼.
48
(iii)* Let ℜ denote the set of all equivalence relations on X , and 𝔓 the set
of all partitions of X . Show that the map sending every R in ℜ to
the quotient set X /R defines a one-to-one correspondence between
ℜ and 𝔓.
(iv)* Find a formula that gives the number of equivalence relations on a
set with n elements for any given n ≥ 1 (use the previous question).
2. Let I be set, and V = k I be the set of all maps from I to K . Show that
the functional space V is a vector space
2. Matrices
2.1. Operations on matrices.
2.2. Correspondence between matrices and linear maps. Suppose we
are given the following data:
– a K -vector spaces U , and a basis u 1 , . . . ,u m of U which we denote by
B;
– a K -vector spaces V , and a basis v 1 , . . . ,v n of V which we denote by
B 0;
– a K -linear map f : U → V .
Then, for every vector u j of B, the image f (u j ) can be expressed in a unique
way as a linear combination
f (u j ) = 𝛼 1 j v 1 + 𝛼 2 j v 2 + · · · + 𝛼 n j v n ,
for j = 1, . . . ,n;
or, more concisely,
(15)
f (u j ) =
n
Õ
𝛼i j v i ,
for j = 1, . . . ,m.
i =1
We obtain therefore a matrix A = (𝛼i j ) in K n×m , whose j th column encodes
the coordinates of the vector f (u j ) in the basis B 0.
Definition 2.1. Under the above notations, the matrix A = (𝛼i j ), with
the entries 𝛼i j defined by (15), is called the matrix associated to f : U → V
with respect to the bases B and B 0.
Examples: (1), (2), (3).
If we represent every vector x ∈ K m as a column matrix
x=
that is, we identify K n with K m×1 , then every matrix A = (𝛼
a K -linear map
i j ) in K
A : Km → Kn
where A(x) = A · x (clearly the multiplication makes sense), ...
49
n×m yields
We can identify U to K n by ... and V to K m ,
Proposition 2.2. Let f : U → V be a K -linear map, and A be its associated
matrix with respect to some fixed bases B and B 0 of U and V , respectively. Then we
have the commutative diagram
U
f
/V
𝜑
Km
A
,
𝜑0
/ Kn
where 𝜑 : U → K m and 𝜑 0 : V → K m are the K -isomorphisms induced by B and
B 0, respectively.
Proposition 2.3. Let f , g : U → V be two K -linear maps, and A and B be
their associated matrices with respect to the bases B and B 0, respectively. Then
(i) The matrix associated to the map f + g : U → V with respect to the above
bases is equal to A + B.
(ii) For every scalar 𝛼 ∈ K , the matrix associated to the map 𝛼 f : U → V
with respect to the above bases is equal to 𝛼A.
Corollary 2.4. f ↦→ M ( f ) is in isomorphism HomK (U ,V ) and K n×m .
Proposition 2.5. Let U , V , and W be finite dimensional K -vector spaces, B be
a basis of U , B 0 a basis of V , and B 00 a basis of W . If f : U → V and g : V → W
are two K -linear maps, then we have
M (g ◦ f ) = M (g ) · M ( f )
where M ( f ), M (g ) and M (g ◦ f ) have their obvious meaning (e.g., M (g ◦ f ) is the
matrix associated to g ◦ f with respect to the bases B and B 00).
Proof. Set
B:
u1, . . . um ,
0
B :
v1, . . . vn ,
00
w1, . . . w p ,
B :
and write A = (𝛼i j ) for M ( f ), B = (𝛽 i j ) for M (g ), and C = (𝛾i j ) for M (g ◦ f ).
Observe that B ∈ K p×n and A ∈ K n×m ; so the multiplication BA makes sense,
and we have BA ∈ K p×m . We need to show that C = BA, that is,
n
Õ
𝛾i j =
𝛽 ik 𝛼k j .
k =1
for all i = 1, . . . , p and all j = 1, . . . ,m. For j fixed, we have by definition
(16)
g ◦ f (u j ) =
p
Õ
i =1
50
𝛾i j w i .
On the other hand,
n
Õ
f (u j ) =
𝛼k j v k ,
k =1
and so
n
Õ
g ( f (u j )) =
(17)
𝛼k j g (v k ).
k =1
But, for every k = 1, . . . ,n, we have
g (v k ) =
p
Õ
𝛽 ik g (w i ).
i =1
Substituting the latter in (17), yields
g ( f (u j )) =
n
Õ
𝛼k j
k =1
p
Õ
!
𝛽 ik w i =
i =1
Õ
𝛽 ik 𝛼k j w i ,
(i ,k )
where the sum last sum extends over all the pairs (i ,k ) with 1 ≤ i ≤ p and
1 ≤ k ≤ n. Rearranging the terms of the latter, we obtain
!
p
n
Õ
Õ
𝛽 ik 𝛼k j w i
(18)
g ( f (u j )) =
i =1
k =1
comparing (18) and (16), we obtain
p
n
Õ
Õ
i =1
!
𝛽 ik 𝛼k j w i =
p
Õ
𝛾i j w i ,
i =1
k =1
Since the w i ’s are linearly independent, we infer
n
Õ
𝛽 ik 𝛼k j
for all i = 1, . . . p,
𝛾i j =
k =1
and, plainly, the latter holds for every j = 1, . . . ,m; this concludes the proof.
2.3. Elementary operations; canonical form. The correspondence between multiplication of matrices and composition of linear maps, discussed
in the latter section, allows us to treat calculations with matrices more conceptually; this gives us, in particular, understanding (and insights) of what is
happening in the calculation.
Let A = (𝛼i j ) be a matrix in K n×m . For every index i , the pivot of the i th
row of A is the first entry in this row which is not zero.
Example after treating the fundamental property M (g ◦ f ) = M (g ) ·M ( f ):
elementary matrices (swapping two columns; add a scalar times a column to
another column); semantic of multiplication by elementary matrices on the
left or on the right. [Importance in solving linear equations].
51
Subspaces and their number can be treated by relation matrices.
2.4. Determinant. Notons Endk (V ) l’ensemble des applications k -linéaires
de V dans lui même. On peut munir cet ensemble d’une structure évidente
de k -module en posant pour tous f , g ∈ Endk (V ), et 𝛼 ∈ k :
( f + g ) (x) = f (x) + g (x)
et
(𝛼 f ) (x) = 𝛼 f (x)
pour tout x ∈ V.
On s’intéresse pour le moment à V = k n . Il y a un isomorphisme canonique du k -module Endk (V ) sur Mn (k ). Pour le voir, observons
d’abord que
Í
tout x ∈ V s’écrit d’une façon unique comme x = in=1 x i e i , où x i ∈ k ,
et e 1 , . . . ,e n désigne la base canonique de k n , c’est-à-dire e 1 = (1, 0, . . . , 0),
e 2 = (0, 1, . . . , 0),Íetc. Ainsi, si f ∈ Endk (V ), on peut écrire pour chaque
j ∈ [n], f (e j ) = in=1 b i j e i , et obtenir donc une matrice 𝜓( f ) = (b i j ), ce qui
définit une application 𝜓 : Endk (V ) → Mn (k ).
Proposition 2.6. Avec la notation ci-dessus, 𝜓 : Endk (V ) → Mn (k ) définit
un isomorphisme de k -modules.
Proof. Clairement, pour f ∈ Endk (V ), l’application 𝜑(𝜓( f )) applique
chaque e j sur f (e j ); l’unicité du prolongement de e j ↦→ f (e j ) assure alors que
𝜑(𝜓( f )) = f , d’où 𝜑𝜓 est l’application identique de Endk (V ). De même, si
A = (aÍ
i j ) est une matrice dans Mn (k ), alors l’application 𝜑A applique chaque
e j sur in=1 ai j e i , d’où la j -ème colonne de 𝜓(𝜑A ) est formée par les a 1 j , . . . ,an j ;
il résulte à la fois que 𝜓(𝜑A ) = (ai j ) = A, d’où le résultat.
On voit aisément que toute application e j ↦→ f (e j ), de {e 1 , . . . ,e n } dans
V , se prolonge uniquement1 en une application k -linéaire f˜ : V → V , avec
f˜(x) =
n
Õ
x i f (e i ),
pour x =
n
Õ
xi ei .
i =1
i =1
Maintenant, pour toute matrice A = (ai j ) dans Mn (k ), on peut définir une
application de {e 1 , . . . ,e n } dans V par
e j ↦→
n
Õ
ai j e i
pour tout j ∈ [n],
i =1
et cela se prolonge en une application k -linéaire 𝜑A : V → V . On obtient ainsi
une application 𝜑 : A ↦→ 𝜑A , de Mn (k ) dans Endk (V ). Réciproquement, pour
Par cette proposition, tout f dans Endk (V ) peut être vu comme une
matrice dans Mn (k ) avec l’identification f ≡ 𝜓( f ); réciproquement toute
A ∈ Mn (k ) peut être vue comme une application k -linéaire de V dans V
avec l’identification A ≡ 𝜑A .
1Ceci signifie que si l’on a une application k -linéaire g : V → V telle que g (e ) = f (e )
i
pour tout i , alors g = f˜
52
i
Signalons qu’ De plus, si f , g ∈ Endk (V ), on voit immédiatement que
l’application f g est linéaire, c’est-à-dire g f ∈ Endk (V ). Il résulte donc que
Endk (V ) est un semi-groupe pour la composition des applications, ou en fait
c’est un monoïde puisque l’application identique 1V est k -linéaire. On laisse
au lecteur le soin de vérifier les propriétés suivantes pour tous f , g ∈ Endk (V )
et 𝛼 ∈ k .
(19)
𝜓( f + g ) = 𝜓( f ) + 𝜓(g )
(20)
𝜓(𝛼 f ) = 𝛼𝜓( f )
(21)
𝜓( f g ) = 𝜓( f )𝜓(g )
et
𝜓(1V ) = 1n .
Les deux premières montrent que notre identification de Endk (V ) à Mn (k )
préserve la structure k -linéaire, et (21) montre qu’elle préserve de plus la structure multiplicative.2
On notera GL(V ) le groupe des éléments inversibles dans le monoïde
Endk (V ). Évidemment, on peut regarder GL(V ) comme un sous-groupe de
Sym(V ). De plus, en vertu de la proposition précédente, on peut identifier
GL(V ) à GLn (k ). Pour cela, il suffit de voir que 𝜓(GL(V )) = GLn (k ).
Remark 2.7. Montrer ce dernier résultat, c’est-à-dire 𝜓(GL(V )) = GLn (k ).
Solution. Soit f ∈ GL(V ); il existe alors g ∈ GL(V ) tel que f g = 1V et g f = 1V . Par
(21) on obtient 𝜓( f )𝜓(g ) = 1n et 𝜓(g )𝜓( f ) = 1n , donc 𝜓( f ) ∈ GLn (k ); d’où 𝜓(GL(V )) ⊆
GLn (k ). Réciproquement, si A ∈ GLn (k ), et A−1 désigne son inverse, alors on peut les identifier à deux éléments f et g dans Endk (V ), c’est-à-dire 𝜓( f ) = A et 𝜓(g ) = A−1 . On a
donc 𝜓( f g ) = 𝜓( f )𝜓(g ) = 1n , et comme 𝜓(1V ) = 1n , il résulte que f g = 1V ; on voit de
même que g f = 1V , et par suite f ∈ GL(V ). Ceci montre que A ∈ 𝜓(GL(V )), ou encore
GLn (k ) ⊆ 𝜓(GL(V )), d’où le résultat.
Plus généralement, si l’on a deux monoïdes M et M 0 , et une application 𝜙 : M → M 0
telle que 𝜙(xy) = 𝜙(x)𝜙(y) pour tous x, y ∈ M , et 𝜙(1) = 1 (c’est ce qu’on appelle morphisme
de monoïdes), alors 𝜙 applique M × dans M 0× , c’est-à-dire 𝜙(M × ) ⊆ M × ). De plus, si 𝜙 est
bijective, alors 𝜙(M × ) = M × ).
2Lorsqu’on on traite la notion de k -algèbre, tout cela revient à dire que 𝜓 est un isomorphisme de k -algèbres, ou encore que Endk (V ) et Mn (k ) ont la même structure en tant que
k -algèbres.
53
Solutions to the exercises.
Chapter 1
§1.1.
1. We are given A = {0, 1}, B =]0, 1] and C = [−1, 0]; the following results
are immediate:
(i) A ∩ B = {1}, A ∩ C = {0} and B ∩ C = ∅;
(ii) A ∪ B = [0, 1], A ∪ C = [−1, 0] ∪ {1} and B ∪ C = [−1, 1];
(iii) A − B = {0}, B − A =]0, 1[, A − C = {1}, C − A = [−1, 0[, B − C = B
and C − B = C . Subsequently AΔB = [0, 1[, AΔC = [−1, 0[∪{1} and
BΔC = [−1, 1].
(iv) For the complements, we have
Ac = R − {0, 1} =] − ∞, 0[ ∪ ]0, 1[ ∪ ]1, +∞[, and
B c =] − ∞, 0] ∪ ]1, +∞[
and C c =] − ∞, −1[ ∪ ]0, +∞[.
√
√
2. To see that 2 ∉ Q we proceed
by Reductio ad absurdum. Assume 2
√
is rational. Thus, we can write 2 = ab for some positive integers a and b;
moreover, we may suppose that the fraction ab is irreducible, that is, a and b
2
are coprime. We have 2 = ab 2 , and 2b 2 = a 2 , so b divides a 2 ; subsequently, b
divides a (by virtue of Euclid’s Lemma3), but b is prime to a (by assumption),
2
so we must have b = 1. Hence,
√ 2 = a and a ∈ Z, a contradiction. In
conclusion, the assumption that 2 is rational cannot hold; the result follows.
Remarks.
(a) The above argument works, not only with 2, but with any positive in2
teger 𝛼 which is not a perfect square, i.e., which √
is not
√ of√from
√ a with
a ∈ Z. So, we have in fact an infinite sequence 2, 3, 5, 6, . . . , of
irrational numbers; for more examples of such numbers see Exercises
1.A1 and 1.A2.
(b) One may ask here how one can determine all the irrational numbers,
or, equivalently, all the elements of R. Such a question presupposes
3Recall that this Lemma asserts that: If an integer n divides a product ml of two integers, and
if n is prime to m, then n divides l . Some authors refers to the latter as Gauss’ lemma.
54
that we already have a precise definition of the real numbers. Basically, the latter are conceived to be so that they can represent the
"continuum", i.e., the continuous quantities such as lengths, time,
etc; equivalently, one is supposed to be able to assign a "number"
to each point on a given line (endowed with an origin point corresponding to the number 0). With that aim in mind, we may rather
ask: How can one proceed to construct R?
3. First, recall that an equivalence "P ⇐⇒ Q " means that "P =⇒ Q " and
"Q =⇒ P ". Hence, establishing such an equivalence reduces to establishing
both of the forgoing implications. In order to prove an implication, say "P =⇒
Q ", we start by assuming that P is true, and then we proceed to show that Q
is also true.
(i) As indicated above, in order to establish the equivalence
A ⊆ S ⇐⇒ A ∩ S = A,
we have to show that both of the direct implication " =⇒ " and its
reverse hold.
( =⇒ ) Suppose that A ⊆ S . We need to show that
A∩S ⊆ A
and
A ⊆ A ∩ S.
The first inclusion is obvious since if x ∈ A ∩ S , then in particular
x ∈ A. For the second inclusion, let x ∈ A; as A ⊆ S (by assumption),
we have x ∈ S , hence x lies in both A and S , that is, x ∈ A ∩ S . It
follows that A ⊆ A ∩ S as desired.
( ⇐= ) Assume that A ∩ S = A. We need to show that A ⊆ S .
Let x ∈ A. Our assumption ensures that x ∈ A ∩ S , and in particular
x ∈ S . This proves that A ⊆ S as desired.
(ii) To prove that
A ⊆ S ⇐⇒ A ∪ S = S,
we proceed as in (i).
( =⇒ ) Assume that A ⊆ S . We need to show that
A∩S ⊆ A
and
A ⊆ A ∩ S.
The inclusion S ⊆ A ∪ S is obvious. For the second inclusion,
let x ∈ A ∪ S ; so we have either x ∈ A or x ∈ S . As A ⊆ S (by
assumption), it follows that x ∈ S in both cases; thus A ∪ S ⊆ S as
desired.
( ⇐= ) Assume that A ∪ S = S . If x ∈ A, then in particular
x ∈ A ∪ S , so by assumption x ∈ S . This proves that A ⊆ S as
desired.
55
(iii) The question is to prove that
A ∩ S = ∅ ⇐⇒ S ⊆ Ac .
We shall proceed as in the previous questions.
( =⇒ ) Assume that A ∩ S = ∅. Let x ∈ S . If x ∈ A, then x would
lie in A ∩ S , a contradiction. Thus x ∉ A, that is, x ∈ Ac . This proves
that S ⊆ Ac .
( ⇐= ) Assume that S ⊆ Ac . If A ∩ S is non-empty, then there is
an element x which lies in both A and S ; hence x lies in both A and
Ac (since S ⊆ Ac ), a contradiction. Thus, A ∩ S = ∅ as claimed.
(iv) To prove that
A ∪ S = X ⇐⇒ Ac ⊆ S,
we can proceed as in (iii), or, alternatively, we can proceed as follows.
A ∪ S = X ⇐⇒ (A ∪ S ) c = ∅
⇐⇒ Ac ∩ S c = ∅
c
(De Morgan’s laws.)
⇐⇒ S ⊆ A
(by (iii), with A replaced by Ac .)
⇐⇒ Ac ⊆ S .
(why?)
(v)* By (iii), a part S of X is disjoint from A if and only if S ⊆ Ac , that is,
S ∈ P (Ac ). Thus,
{S ⊆ X | A ∩ S = ∅} = P (Ac ).
As Ac has n − k elements, P (Ac ) has 2n−k elements, so the set {S ⊆
X | A ∩ S = ∅} has 2n−k elements as claimed.
(vi)* For every S ⊆ X , we have
A ⊆ S ⇐⇒ S c ⊆ Ac
⇐⇒ A ∩ S c = ∅
c
(by (iii))
⇐⇒ S ⊆ A
(by (iii), with A replaced by Ac .)
⇐⇒ Ac ⊆ S .
(why?)
Now, observe that the map S ↦→ S c defines a one-to-one correspondence between the sets {S ⊆ X | A ⊆ S } and {R ⊆ X | A ∩ R =
∅}, and the latter has 2n−k elements by the result of (iv); thus,
|{S ⊆ X | A ⊆ S }| = 2n−k .
(vii)* Using (iv), a part S ⊆ X satisfies A ∪ S = X if and only if Ac ⊆ S .
Hence, the set {S ⊆ X | A ∪S = X } coincides with the set of all parts
of X that contain Ac . Applying the result in (v), with A replaced by
Ac , yields
|{S ⊆ X | A ∪ S = X }| = 2n−(n−k ) = 2k .
56
Bibliography
[1] R. J. Baxter,
Some deleted paragraphs are gathered after (end document).
57
0
You can add this document to your study collection(s)
Sign in Available only to authorized usersYou can add this document to your saved list
Sign in Available only to authorized users(For complaints, use another form )