Algebra Course MESSIRDI BACHIR
Algebra Course MESSIRDI BACHIR
Algebra Course MESSIRDI BACHIR
1
2.1.2 Inclusion - subset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
2.1.3 Equality of two sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
2.1.4 Power set (Sets of parts) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
2.1.5 Intersection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
2.1.6 Union . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
2.1.7 Partitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
2.1.8 Complement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
2.1.9 Cartesian product . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
2.1.10 Sum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
2.1.11 Di¤erence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
2.1.12 Symmetric di¤erence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
2.1.13 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
2.2 Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
2.2.1 Concept of application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
2.3 Restriction of an application-Extention of an application . . . . . . . . . . . . . . 29
2.4 Equality of two applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
2.5 Composition of applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
2.6 Image of a subset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
2.7 Injective applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
2.8 Surjective applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
2.9 Bijectivite application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
2.10 Inverse application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
2.11 Inverse Image of a Subset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
2.12 application properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
2.13 Involution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
2
3.2.2 The equivalence class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
3.2.3 Quotient set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
3.3 Order relation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
3.3.1 De…nition of an order relation . . . . . . . . . . . . . . . . . . . . . . . . . 47
3.3.2 Total Orders and Partial Orders . . . . . . . . . . . . . . . . . . . . . . . 48
3.3.3 Upper bound - Lower bound . . . . . . . . . . . . . . . . . . . . . . . . . 48
3.3.4 Supremum (least upper bound)- In…mum(greatest lower bound) . . . . . 49
3.3.5 Maximum - minimum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
3
.
Hello students, I am MESSIRDI in charge of the algebra module, before starting I have just
given you some instructions. Knowing that before in your high school career you never studied
algebra and the big problem that arises in a general way in mathematics is the understanding
of notions and not preservation. Before most teachers tell the students if you have this question
you answer like that and even the student if he asks the question how? the teacher says take
the technique without going further. that’s the problem. So for the algebra subject we will give
you the tools to better understand especially the reasoning aspect. Let’s start by giving you
an idea of the program for the …rst semester.
Preface
This book was the result of teaching experience in the …eld of algebra for years in the
common trunks of various technical and mathematical disciplines (SETI – MI – ST- SM- 1st
year preparatory school), through which I identi…ed the weaknesses and di¢ culties encountered
by the student, and tried to simplify and overcome these di¢ culties by giving a simpli…ed
explanation of the lesson followed by targeted exercises with a sequence of ideas and a global
concept.
I saw that students have gaps to learn mathematics especially in the reasoning aspect that
is to say understanding things but how do I start writing the answer? Hence the great problem
for the student is the writing of ideas.
For this I tried to guide the student by a style quite simple to understand whose object is to
give a complete and formal explanation. Each chapter is structured around a mini course that
simpli…es the information followed by examples of applications and a variety of exercises that
serve to illustrate the theory and to simplify the concepts and make them free of complexity
and di¢ culty.
I have divided the book into seven chapters, each of which consists of a complete summary
of the lesson followed by various exercises that include most of the questions used to illustrate
the theory. In the …rst chapter, I gave a comprehensive overview on the modes of reasoning, the
notions of logic and the theory of sets, in the second chapter I gave a summary on relationships,
in the third I touched on applications and everything related to them, for the fourth I recalled
4
and added notions about complex numbers, the …fth is a formal chapter that gives a general
idea about algebraic structures that are useful especially in the chapter of vector spaces, in
the penultimate chapter I have touched on most of the questions on arithmetic in Z, the last
chapter and in the last chapter I have presented polynomials and rational fractions which are
very useful especially in the courses of integration methods.
In the end, I hope I have managed to present the ideas in a simpli…ed form, as I can only
thank all those who contributed directly or indirectly to this work, including my colleagues at
Tlemcen University.
5
Chapitre 1
You know from experience that a mathematics course consists of a series of statements, called
de…nitions or propositions. De…nitions are laid down a priori and propositions must be demon-
strated with the help of de…nitions or other already established propositions. In any problem
we …nd hypotheses and questions and to answer these questions we use the given hypotheses
or well known theorems. It is this approach, which consists in moving logically through the
various stages of mathematical reasoning. However, we thought it useful to identify some rules
of universal logic.
The propositions are noted in the letters: P; Q; R; :::or by indexed letters: P1 ; P2 ; P3 ; :::.
Subsequently we associate to a true proposition the letter " V " or the number " 1 ", and a
6
false proposition by " F " or " 0 ".
To two propositions P and Q, we can associate a third, which is de…ned by a logical connector
or connectors between these two propositions.
Conjunction
Exemple 3 If two pieces of information are given to an individual, then the total information
is only true if both pieces of information are true.
disjunction
Exemple 5 If a teacher has given us two questions, but he will take the best score of both, then
the student has the full score if he answers just one of the two questions.
Remarque 6 Saying P _ Q does not mean that the two propositions P and Q are mutually
exclusive, in other words, the "or" here allows us to give any of the following three cases:
i) We have P but not Q:
ii) We have Q but not P:
iii) We have P and we have Q:
Here, for example, we …nd that a parallelogram is a quadrilateral whose sides are parallel and
equal two to two or if their diagonals are median (its diagonals cut in the middle).
7
Implication
Exemple 8 In an exam the teacher gives an exercise consisting of hypotheses and questions. In
nature he makes true assumptions and he wants true answers so that the grade will be complete,
then the student will have the full grade in three cases:
1- In the normal state, that is, the hypotheses are true and the answers also.
2- The teacher has made a mistake in the assumptions and the student fails to …nd the solution
(statements of an exercise are false).
3- The teacher made a mistake in the assumptions and the student found the solution because
he is brilliant or he used something other than the assumptions.
It is in the latter case where the implication is false.
4- In this case the student did not receive the grade because: The assumptions are true and the
answers are false.
P
|{z} ) Q :
|{z}
Hypotheses Problems
Equivalence
8
equivalence as two senses of implication, that is, P () Q is exactly:
P ) Q and Q ) P:
Exemple 11
P , Q:
These formulae are given in the following table (The truth table):
_
P Q P P ^Q P _Q P )Q P () Q
1 1 0 1 1 1 1
1 0 0 0 1 0 0
0 1 1 0 1 1 0
0 0 1 0 0 1 1
To show that a proposal is true or false we can use the truth table. If the total proposition is
combinations between two propositions or their negations then in the combinations of truths
between these two propositions we have 4 lines, but if we have three then we have 8 lines. In
the general case, the number of rows is 2n , where n is the number of propositions used (see the
letters used in the total proposal). On the other hand for columns it is necessary to lay down
all the sub-propositions which constructed the total proposal. To tell if the proposal is true or
false just see the last column of the table (total proposal), if all the results are true then the
proposal is true and if one of the results is false then the proposal is false.
Remarque 13 In the …lling of the table that uses three propositions, we start with the 1st
9
column we divide it by two above we have 1 and below we have 0, then the 2nd column we divide
it by 4 in the …lling it is two by two (of 1 and 0) and in the 3rd is one by one (1 then a 0) to
have all the combinations of truth between three propositions.
[H1 ] : (P ) Q) , Q ) P :
Indeed:
P Q Q P P )Q Q)P [H1 ]
1 1 0 0 1 1 1
1 0 1 0 0 0 1
0 1 0 1 1 1 1
0 0 1 1 1 1 1
[H2 ] : P _ Q ) R , P ^ R:
P Q R Q P _Q P ^R P ^R P _Q )R [H2 ]
1 1 1 0 1 1 0 1 0
1 1 0 0 1 0 1 0 0
1 0 1 1 1 1 0 1 0
1 0 0 1 1 0 1 0 0
0 1 1 0 0 0 1 1 1
0 1 0 0 0 0 1 1 1
0 0 1 1 1 0 1 1 1
0 0 0 1 1 0 1 0 0
10
1.1.5 Tautology
(P ) Q) _ (Q ) P ) ;
is a tautology?
P Q P )Q Q)P (P ) Q) _ (Q ) P )
1 1 1 1 1
1 0 0 1 1
0 1 1 0 1
0 0 1 1 1
So it’s a tautology.
P P P _P
1 0 1
0 1 1
This proposition is called the law of excluded third parties (either the …rst or the second and not
a third).
1.1.6 Antinomy
P P P ^P
1 0 0
0 1 0
11
This proposition is called the law of contradiction.
P , Q , P ^ Q or Q ^ P :
(5) P , P .
Caution: Do not write = instead of ,.
Remarque 1.1 The …rst two forms (1) and (2) are known as the laws of Morgan.
(1) For the negation of the conjunction: the negation of two true information is one of the
two false.
(2) For the negation of the disjunction: The negation of one is true is the both are false.
(3) For the negation of the implication, we give the following example:
If you say to me, "If you give me a key, then I open this door," then the denial of that
sentence for me to contradict you is, "I give you a key and you can’t open the door," that key is
no longer the right key to the door. Another example if one of the students has hypotheses and
will answer the questions then the negation is that he has the hypotheses and fails to answer
the questions.
12
(4) For the equivalence it is enough to write it in the form of two meanings of implications
and one negates the conjunction of the two implications.
(1) (P _ P ) ) P .
(2) P ) (P _ Q).
Either a set E and a speci…ed property P . The following two questions can be asked:
a)Are there elements of E that is veri…ng this property?
b)If yes, is the property true for all elements or for a single element?
To formulate the answers to these two questions we introduce symbols called quanti…ers,
these are:
Existential quanti…er
It is written 9 and means: that there is at least one element of E having the property P , for
example:
9x 2 R; x2 + x 2 = 0:
13
Means that there is at least a real number such as:
x2 + x 2 = 0, for example x = 2:
For example:
x2 2x + 1 = 0 , (x 1)2 = 0;
Universal quanti…er
Which is written 8 (reads: For all) and means that any element of E checks P , for example:
8x 2 R; x2 + 2x + 1 0;
means that each actual number veri…es the written inequality because:
x2 + 2x + 1 = (x + 1)2 0:
9x 2 E; P (x) is false.
8x 2 E; P (x) is false.
14
(3) The negation of (9!x 2 E; P (x) is true) is:
Properties 1.1 Let E a set and P (x)a proposition whose values of truths are based on elements
x of E.
(1) (8x 2 E; P (x) ^ Q(x)) , ((8x 2 E; P (x)) ^ (8x 2 E; Q(x))).
(2) (8x 2 E; P (x) _ Q(x)) ( ((8x 2 E; P (x)) _ (8x 2 E; Q(x))).
(3) (9x 2 E; P (x) ^ Q(x)) ) ((9x 2 E; P (x)) ^ (9x 2 E; Q(x))):
(4) (9x 2 E; P (x) _ Q(x)) , ((9x 2 E; P (x)) _ (9x 2 E; Q(x))):
This means that you can distribute 8 on « ^ » and 9 on « _ » , but you can’t distribute 8 on
« _ » and 9 on « ^ » .
Now if the proposition P (x; y) depends on two variables x and y:
(5) ((8x 2 E); (8y 2 E); P (x; y)) , ((8y 2 E); (8x 2 E); P (x; y)):
(6) ((9x 2 E); (9y 2 E); P (x; y)) , ((9y 2 E); (9x 2 E); P (x; y)):
This means that we can swap quanti…ers of the same nature.
(7) ((9x 2 E)=(8y 2 E; P (x; y))) ) (8y 2 E; 9x 2 E=P (x; y)):
(8) (8y 2 E; 9x 2 E=P (x; y)) 6) ((9x 2 E)=(8y 2 E; P (x; y))):
In the last formula, the x is not the same for all y. This means that we cannot swap quanti…ers
of di¤ erent natures in all cases.
Exemple 21 Either the results table for Ali and Sara, knowing that the proposition:
We let the sets E = fAli, Sarag and F = fAlgebra1, Analysis1, PHYSIQUE1, INFO1g :
(1) 8x 2 E; 8y 2 F : P (x; y) is false because:
For x =Ali and y = Algebra1 the rating is strictly lower than 10.
15
(2) 8x 2 E; 9y 2 F : P (x; y) is true because:
Each student has at least one grade above or equal to 10.
(3) 9x 2 E; 8y 2 F : P (x; y) is false because:
Both students do not have all grades above or equal to 10.
(4) 9x 2 E; 9y 2 F : P (x; y) is true because:
Both students have at least a grade greater than or equal to 10.
It is important to …nd a way or a method to answer a certain problem, for this we are inspired
by some techniques called reasoning.
P ) Q;
where P is the hypotheses (assumptions) and Q is the problems or conclusions. For this we
apply techniques from given hypotheses and known theorems to …nd our problems.
) n2 is even.
Generally, the search for an answer to a problem is based on the given hypotheses or known
theorems, but sometimes one can …nd a reasoning other than the direct path. One draws on
the reasoning by the absurd, which supposes that the negation of the problem is true, and then
one comes to a contradiction with the given hypotheses, either one of the known theorems, or
16
one of the axioms, that is, what was proposed is false, which implies that the problem is true.
In other words:
(P ) Q) () Q ) contradiction :
8n 2 N; n2 is even ) n is even.
) n2 = 2 2k 2 + 2k + 1
) n2 = 2k 0 + 1 with k 0 = 2k 2 + 2k
where n is even.
ln 2 ln 2
Exemple 1.3 Prove that ln 3 is an irrational number ln 3 2
=Q .
Reminder: x is a rational number (x 2 Q) if it checks:
p
x = ; p; q 2 Z; q 6= 0 such as: (p ^ q) = 1;
q
(p ^ q) = 1 means that p and q are relatively prime (…rst among them) (the only common divisor
between them is 1).
ln 2
To show that ln 3 2
= Q, by contradiction, assumes that:
ln 2 ln 2 p
2 Q ) 9p; q 2 N such as (p ^ q) = 1 and = ;
ln 3 ln 3 q
) ln 2q = ln 3p ) 2q = 3p (contradiction),
ln 2
because 2q is even and 3p is odd, hence ln 3 is an irrational number.
17
1.2.3 Contrapositive
n = p2 ; p 2 N ) 2n 6= q 2 ; 8q 2 N :
Indeed:
q2
9q 2 N; 2n = q 2 ) n =
2
2
) n 6= p ; (this is the contraposed)
because if:
q2 q2
n p2 )
= = p2 ) 2 = 2
2 p
p p
) 2 = 2 Q, which is false.
q
1.2.4 Counter-Example
It is used to prove that the proposition or a property is not always true by giving
an example where it is false.
Exemple 22 Prove that for all x 2 R; f (x) = x2 3x 4 0 is false, because if we give for
exemple x = 0, we have f (0) < 0:
We use the reasoning by induction in the case of a relation or a formula dependent on an index
n 2 N (on a natural integer and no other). So to show that a property is true for any
18
natural integer n greater than or equal to an integer n0 , we check that it is heriditary (i.e.: if
it is true for any integer, then it is true for the next integer). It su¢ ces then that it is true for
the …rst integer n0 to deduce that it is true for any integer n greater than or equal to n0 .
Recap: To show that a relationship (Rn ) ; is true for all integer n n0 by induction, the
following two steps are followed:
1st step: It is shown to be true for the …rst index, i.e.: (Rn0 ) is true.
2nd Step: We assume that (Rn ) is true for a …xed integer n 2 N (is called the inductive
hypothesis) and show that (Rn+1 ) is true.
8n 2 N; 32n 2n is divisible by 7:
19
Indeed:
Hence:
32(n+1) 2n+1 is divisible by 7:
Conclusion:
8n 2 N; 32n 2n is divisible by 7.
8n 2 N; 4n + 6n 1 is a multiple of 9: (Pn )
4n+1 + 6 (n + 1) 1 is a multiple of 9:
20
Indeed:
4n+1 + 6 (n + 1) 1=4 4n + 6n 1+6
=1 4n + 6n 1+3 4n + 6
= 9k + 3 4n + 6 (based on the inductive hypothesis)
= 9k + 3 (9k1 6n + 1) + 6 (4n + 6n 1 = 9k1 )
= 9 (k1 + 3k1 2n + 1) = 9k2 with k2 = 4k1 2n + 1;
) 4n+1 + 6 (n + 1) 1 is a multiple of 9;
so (Rn+1 ) is true.
Conclusion:
8n 2 N; 4n + 6n 1 is a multiple of 9.
21
Chapitre 2
E = fx=x 2 Q and 1 x 5g :
22
2.1.1 Vocabulary and ratings (notations)
If a is an element of Set E, write a 2 E, state a "a is an element of E" or "a belongs to E".
The negation of the previous statement is noted a 2
= E ( a is not an element of E or say a does
not belong to E). It is noted that a set that does not contain any elements is said to be the
empty set, noted: ;.
Let E and F be two sets. If all the elements of the set E belong to the set F we say that E is
included in F , or else E is a subset of F and we write E F . To show in the general case that
E F , it is enough to take any element x of E and we show that this element belongs to F .
(E F ) , (x 2 E ) x 2 F ) : (2.1)
Exemple 25 N R:
Preuve: We have: 2 3
4 a 2 ;} ) a 2 E5 ;
| {z
False proposition
this implication is true because the …rst proposition is false, which asserts that the implication
is true, then by (2.1) we have ; E:
Let E and F be two sets. To proof that E = F , just show that E F and F E.
Dé…nition 27 The power set of a set E, noted } (E) is the set whose elements are the subsets
of E, such that ; 2 } (E) and E 2 } (E), in addition the number of elements of the power set
} (E) is 2n where n is the number of elements of E.
23
Remarque 28 Despite that the elements are sets we write A 2 } (E) if A E:
2.1.5 Intersection
Dé…nition 33 The intersection of two parts, A and B, is the subset formed by the elements
belonging to each of the parts considered. This intersection is designated by the notation A \ B
(We pronounce "A and B" or "A intersected with B"), for that:
(x 2 A \ B) , (x 2 A and x 2 B) :
The intersection can be reduced to the empty part, in this case we say that the sets are disjunct.
24
2.1.6 Union
Dé…nition 34 The whole of all the elements belonging to at least one of the parts A and B, is
said the union of these parts, noted: A[ B (We pronounce "A union B"). We have:
(x 2 A [ B) , (x 2 A or x 2 B) :
Properties 2.1 Let A; B and C be tree subsets of a set E, then we have the following proper-
ties:
(1) A \ B A:
(2) A A [ B:
(3) A \ A = A [ A = A:
(4) A \ ? = ?:
(5) A [ ? = A:
(6) A \ B = B \ A and A [ B = B [ A:
(7) (A \ B) \ C = A \ (B \ C) and (A [ B) [ C = A [ (B [ C) :
(8) A \ (B [ C) = (A \ B) [ (A \ C) :
(9) A [ (B \ C) = (A [ B) \ (A [ C) :
(10) A \ B = B if and only if B A:
(11) A [ B = B if and only if A B:
2.1.7 Partitions
E= [ Ei and Ei \ Ej = ;; 8i 6= j:
1 i n
25
Exemple 37 Let E = f1; 2; 3g, we have the di¤ erent partitions:
P (E) = ff1g ; f2g ; f3gg P (E) = ff1; 2g ; f3gg P (E) = ff1; 3g ; f2gg
P (E) = ff2; 3g ; f1gg P (E) = ff1; 2; 3gg .
2.1.8 Complement
Dé…nition 38 Let E F , the complement of the set E in the set F , is the set in the union
with E equals F , and the intersection with E equals the empty set. We note it by: CFE or E,
so we have:
E [ CFE = F and E \ CFE = ;:
Exemple 39 For:
E = f1; 2; 3g and F = f1; 2; 3; 4; 5; 6g ;
Dé…nition 40 Cartesian product of two sets E and F is the set of ordered pairs of type (x; y)
with x 2 E and y 2 F , noted E F , that is:
E F = f(x; y) =x 2 E and y 2 F g :
E F 6= F E.
26
2.1.10 Sum
Dé…nition 43 The sum of two sets E and F is the rated set E + F de…ned by:
E + F = f = x + y; x 2 E and y 2 F g .
E + F = f2; 5; 3; 6; 7; 4; 8g :
2.1.11 Di¤erence
Dé…nition 45 The di¤ erence between two sets E and F is the set noted E r F or E F
de…ned by:
E F = fx 2 E with x 2
= Fg.
E F = f2; 3g :
Dé…nition 47 The symmetric di¤ erence between two sets E and F is the set:
E4F = (E F ) [ (F E) ;
= (E [ F ) (E \ F ) ;
= f(x 2 E and x 2
= F ) or (x 2 F and x 2
= E)g :
27
2.1.13 Example
(1)E [ F = E \ F :
x 2 E [ F ) x 2 E or x 2 F ;
) (x 2 G and x 2
= E) or (x 2 G and x 2
= F );
) x 2 G and (x 2
= E or x 2
= F );
) x 2 G and x 2
= E \ F;
) x 2 E \ F:
x 2 E \ F ) x 2 G and x 2
= E \ F;
) x 2 G and (x 2
= E or x 2
= F );
) (x 2 G and x 2
= E) or (x 2 G and x 2
= F );
) x 2 E or x 2 F ;
) x 2 E [ F:
28
but we use the equivalence directly:
x 2 E \ F , x 2 E and x 2 F ;
, (x 2 G and x 2
= E) and (x 2 G and x 2
= F );
, x 2 G and (x 2
= E and x 2
= F );
, x 2 G and x 2
= E [ F;
, x 2 E [ F:
2.2 Applications
f : E!F
x 7 ! f (x) = y:
It is said that x is the antecedent (pre-image) of y ander f , E is the starting set and F is the
arrival set or codomain of f . Formally, using predicate logic:
f : E ! F;
is an application if:
8x 2 E; 9!y 2 F such as f (x) = y:
In addition, we have what we call the application graph noted Gf given by:
29
Exemple 50
f : R!R
x 7 ! f (x) = 6x + 3, is an application.
Dé…nition 53 To show that two applications f and g are equal, we show that they have the
same starting set E and the same arrival set F , in addition:
8x 2 E; f (x) = g (x) :
g f : E 1 ! F2
x 7! (g f ) (x) = g (f (x)) :
30
Exemple 55 Let:
f : N!N
x 7! f (x) = 2x;
and
g : N!N
8
< x
if x is even,
2
x 7! g (x) =
: x+1
if x is odd.
2
f g:N!N
8
< f x if x is even,
2
x 7! f (g (x)) =
: f x+1 if x is odd.
8 2
< x if x is even,
=
: x + 1 if x is odd.
g f :N!N
x 7! g (f (x)) = g (2x) = x because 2x is even.
Remarque 56 In the general case: g f 6= f g (see example). Knowing that in cases one
sense of the composite exists and the other does not exist.
Exemple 57
f : N!N
p
x 7! f (x) = x;
31
and
g : Z!Z
x 7! 2x:
f g : N!Z
p
x 7! (f g) (x) = f (g (x)) = f (2x) = 2x: (x 2 N)
(2) g f does n’t exist because for x 2 Z ; g (f (x)) does n’t exist.
hence:
y 2 f (A) , 9x 2 A; y = f (x):
Exemple 59
f : R ! R+
x 7! f (x) = jxj ;
and
A = f 1; 1; 2; 2; 3; 3g :
Therefore:
f (A) = f1; 2; 3g :
32
2.7 Injective applications
Or,
8x1 ; x2 2 E; f (x1 ) = f (x2 ) ) x1 = x2 (The contraposed).
Exemple 61
f : R!R
x 7! f (x) = 2x;
and
g : R ! R+
x 7! g (x) = jxj :
2 6= 2 but f (2) = f ( 2) = 2:
33
That is to say each element of the set of arrival admits at least one antecedent.
Exemple 64
f : R!R
x 7! f (x) = jxj :
y 2 R ; 8x 2 R : f (x) = jxj =
6 y:
Exemple 65
g : N!N
8
< x
if x is even,
2
x 7! g (x) =
: x+1
if x is odd.
2
g is surjective because:
2y
8y 2 N; 9x = 2y 2 N avec f (x) = f (2y) = = y:
2
Remarque 66 There are other techniques to show injectivity and surjectivity, which uses the
notion of derivative and the table of variations.
34
Exemple 2.1 Let f be an application de…ned by:
f :
[ 1; +1[ ! R
1
x !
7 f (x) = p ;
x2 + 2x + 2
x2 + 2x + 2 = (x + 1)2 + 1 > 0:
f is continuous on[ 1; +1[ (even on R) because it is the quotient of two continuous functions.
Moreover, it is derivable with:
p 2x+2
0 2 x2 +2x+2 2x + 2
f (x) = = p
(x2 + 2x + 2) 2 (x2 + 2x + 2) x2 + 2x + 2
x+1
= p 0;
(x2 + 2x + 2) x2 + 2x + 2
x 1 +1
f 0 (x)
1
f (x) &
0
f ([ 1; +1[) = ]0; 1] ;
35
2.9 Bijectivite application
Exemple 68
f : R+ ! R+
x 7! f (x) = x2 :
f is bijective, because:
p
8y 2 R+ ; 9!x = y 2 R+ because: y = x2 = f (x) :
Dé…nition 69 Let f be an application of a set E in a set F . The necessary and su¢ cient
condition for the reverse to exist is that the application f is bijective. In this case the inverse
application noted f 1 is de…ned by F in E, which has for each element y, we associate a unique
element x.
Exemple 70
f : R!R
x 7! f (x) = 3x + 5:
y 5
y = 3x + 5 ) x = ;
3
36
then:
1
f :
R!R
y 5
y !
7 :
3
or write:
1
f :
R!R
x 5
x !
7 ;
3
1
f (B) = fx 2 E = f (x) 2 Bg :
Exemple 72
f : R ! R+
Therefore:
1
f (B) = f 1; 2; 3; 1; 2; 3g :
Remarque 73 The inverse image of an element exists unless the application is bijective, but
the inverse image of a set exists in all cases.
37
Exemple 74
f : R ! R+
We have:
f (2) = f ( 2) = 4 with 2 6= 2;
so f is not injective so is not bijective then: f 1 (4) doesn’t exist, but f 1 (f4g) = f 2; 2g :
Preuve:
y 2 f (A) ) 9x 2 A such as, f (x) = y;
then:
) y 2 f (B) ;
therefore:
f (A) f (B) :
38
Preuve: (a) Prove that: f (A [ B) f (A) [ f (B) :
Let y 2 f (A [ B), then:
f (A \ B) = f (A) \ f (B) :
39
Preuve: Just show that: f (A) \ f (B) f (A \ B) ?
Let y 2 f (A) \ f (B), then:
y 2 f (A) and y 2 f (B) ;
so,
(9x1 2 A such as: f (x1 ) = y) and (9x2 2 B such as: f (x2 ) = y);
x1 = x2 = x;
) 9x 2 A and 9x 2 B such as: f (x) = y,
) 9x 2 A \ B such as: f (x) = y
) y 2 f (A \ B) :
then:
f (A \ B) = f1g and f (A) \ f (B) = f1; 1g ;
Preuve:
1
If x 2 f (C) ) 9y 2 C such as, f (x) = y;
40
then:
so,
1 1
f (C) f (D) :
Conclusion:
1 1 1
8C; D F; f (C [ D) = f (C) [ f (D) :
41
Conclusion:
1 1 1
8C; D F; f (C \ D) = f (C) \ f (D) :
2.13 Involution
Hence:
f [f (x)] = x or else: f f = I;
8x 2 E; I (x) = x:
Exemple 78
f : R!R
x 7! f (x) = x;
is an involution.
42
Chapitre 3
Re‡exivity
8u 2 E; u<u:
43
Exemple 81 Let < be a relationship de…ned on Z by:
x<y , 3 divide (x y) :
Symmetry
x<y , (x y) is a multiple of 2:
So we have:
8x; y 2 R; x<y , (x y) is a multiple of 2:
Antisymmetry
44
Exemple 85 Let < be the relationship de…ned on N by:
a<b , a divide b:
Let a; b 2 N , we have:
a<b , a divide b ) 9k1 2 N ; b = k1 a;
Thus,
a = k2 k1 a ) k2 k1 = 1 ) k2 = k1 = 1 ) a = b;
Transitivity
x; x0 < y; y 0 , x + x0 = y + y 0 ;
and
y; y 0 < z; z 0 , y + y 0 = z + z 0 ;
45
hence (x; x0 ) < (z; z 0 ), and therefore < is transitive.
Dé…nition 88 A relation de…ned in a set E is called an equivalence relation if and only if it is:
Re‡exive, symmetric and transitive. Moreover, if u<v, with < is an equivalence relationship,
then u is said to be equivalent to v modulo <.
Dé…nition 90 The equivalence class of a given element u for an equivalence relation < de…ned
on E is the set of elements v equivalent to that element. It is noted as: u_ or cl(u), with:
x<y , 3 divide (x y) :
x<2 , 3 divide (x 2)
, 9k 2 Z : x 2 = 3k;
, x = 3k + 2;
, cl(2) = f3k + 2; k 2 Zg ;
46
Properties 3.1 If a 2 x,
_ then a_ = x:
_
Preuve: (1) If v 2 a_ ) v<a but a 2 x_ then a<x, by transitivity v<x, which implies that:
v 2 x,i.e.:
_ a_ x:
_
(2) If v 2 x_ ) v<x but a 2 x_ then x<a, par transitivity v<a, which implies that: v 2 a;i.e.:
_
x_ a:
_
Dé…nition 92 Let E be a set and let < an equivalence relation.The quotient set of E by < is
the set of equivalence classes with respect to < and is denoted E=<. So we have:
E=< = fcl(u); u 2 Eg :
8u 2 E; u<u;
then u 2 u,
_ which implies that:
8u 2 E; u_ 6= ;:
(2) we have:
[ u_ = E:
u2E
Because the u_ are subsets of E, so [u_ E and each element u 2 E veri…es u<u (re‡exivity)
so u 2 u_ [u,
_ which implies that: E [u:
_
(3) Finally if u_ 6= v_ then u_ \ v_ = ; because if there is an element a 2 u_ \ v_ we will have a<u
and v<a hence v<u because the relation is transitive. Thus u_ = v_ (contradiction).
47
3.3 Order relation
(2) Antisymmetry:
8p; q 2 N ; p<q and q<p;
) q n1 n2 = q ) n1 n2 = 1 ) n1 = n2 = 1;
(3) Transitivity:
8p; q; r 2 N ; p<q and q<r;
) pn1 n2 = r;
) (9m = n1 n2 2 N such as pm = r) ;
48
Conclusion:
< is an order relation because it is re‡exive, antisymmetric and transitive.
Dé…nition 95 A total order is an order relation in which every pair of elements is comparable.
That means,
8u; v 2 E; u<v or v<u:
p<q , (p divide q) :
pSq , p q:
49
(2) m is a lower bound of E, if: 8u 2 E; m<u.
Dé…nition 99 Let E be a set with an order relation <, then supremum of a set E is the
smallest of the upper bound of E (we use <), noted sup E . On the other hand the in…mum is
the largest of the lower bound of E (we use <), noted inf E. Otherwise one has:
(1) 8M an upper bound of E, (sup E) <M:
(2) 8m a lower bound of E, m< (inf E) :
Dé…nition 100 Let E be a set with an order relation <, then if the supremum of a set E belongs
to E, then the maximum exists and it is equal to the supremum of E, if not the maximum does
not exist.
On the other hand if the in…mum of a set E belongs to E, then the minimum exists and it is
equal to the in…mum of E, if not the minimum does not exist.
The maximum is noted by: max E and the minimum by: min E:
Exemple 101 In I = [2; 5[ provided with an order relation < de…ned by:
x<y , x y:
50