Chapter1 2
Chapter1 2
1.1.1 Propositions
Definition 1.1. A proposition is a sentence that can be either true or false but cannot be both
at the same time.
Example 1.1.
• ”3 + 2 = 7”, is a false proposition.
• ”6 is an even number”, is a true proposition.
If P and Q are two propositions, then we can define new propositions constructed from P and Q.
1.1.2.1 Negation
4
UMBB, Department of Mathematics Mathematics I, SM (2024-2025)
1.1.2.2 Disjunction
P Q P ∨Q
1 1 1
1 0 1
0 1 1
0 0 0
1.1.2.3 Conjunction
P Q P ∧Q
1 1 1
1 0 0
0 1 0
0 0 0
1.1.2.4 Implication
Definition 1.5. The proposition P̄ ∨ Q is called logical implication, denoted P ⇒ Q and read
as ”P implies Q” or ”if P then Q”.
P Q P ⇒Q
1 1 1
1 0 0
0 1 1
0 0 1
Remark 1.1. According to the truth table, we note that the implication is false in only one
case: ”P true and Q false”. We say that the true does not imply the false.
5
UMBB, Department of Mathematics Mathematics I, SM (2024-2025)
1.1.2.5 Equivalence
P Q P ⇔Q
1 1 1
1 0 0
0 1 0
0 0 1
1.1.3 Quantifiers
Denoted ∀, and read as ”for all ” or ”for every”. The proposition ∀x ∈ E : P (x) is true if the
propositions P (x) are true for all x in the set E.
Example 1.2.
• ”∀x ∈ R : x2 ≥ 0” is a true proposition.
• ”∀x ∈ R : x ≥ 0” is a false proposition.
Denoted ∃, and read as ”there exists at least”. The proposition ∃x ∈ E : P (x) is true if we can find
at least one x for which P (x) is true.
Example 1.3.
• ”∃x ∈ R : x2 = −1” is a false proposition.
• ”∃x ∈ R : x(x − 3) < 0” is a true proposition (it suffices to take x = 2).
6
UMBB, Department of Mathematics Mathematics I, SM (2024-2025)
Example 1.4.
• ”∀x ∈ R, ∃y ∈ R : x + y ≥ 0” is a true proposition.
• ”∃y ∈ R, ∀x ∈ R : x + y ≥ 0” is a false proposition.
The first reads: for every real number x, there exists a real number y (which can depend on x)
such that x + y ≥ 0.
But, the second reads: there exists a real number y such that for every real number x (the y
cannot be the same for all x) we have x + y ≥ 0.
Remark 1.3. The quantifier ∃ means there exists at least one value; if we add an exclamation
point ∃! it means there exists a unique value.
is the proposition
∃x, ∀y : P (x, y)
∀x ∈ R, ∃y ∈ R : x + y ≥ 0
| {z }
P (x,y)
is the proposition
∃x ∈ R, ∀y ∈ R : x + y < 0
| {z }
P (x,y)
Thus, to demonstrate that a proposition P is true, we assume that its negation P̄ is true and reach
a contradiction.
7
UMBB, Department of Mathematics Mathematics I, SM (2024-2025)
∀x ∈ N : x + 1 ̸= 0
| {z }
P
We assume that ∃x
| ∈ N : {zx + 1 = 0} is true, then x = −1 is a contradiction with x ∈ N.
P
Therefore, the initial hypothesis is false, so the proposition ∀x ∈ N : x + 1 ̸= 0 is true.
Thus, if we want to show the implication P ⇒ Q, we can simply show the implication Q̄ ⇒ P̄ .
∀x ∈ N : n2 is even =⇒ n is even
∀x ∈ N : n is odd =⇒ n2 is odd
We have
n is odd =⇒ ∃k ∈ N : n = 2k + 1
=⇒ n2 = (2k + 1)2
=⇒ n2 = 4k 2 + 4k + 1
=⇒ n2 = 2 2k 2 + 2k +1
| {z }
k′
=⇒ n2 is odd
∀x ∈ N : n2 is even =⇒ n is even
is true.
To show that a proposition ”∀x ∈ E : P (x)” is false, it suffices to find an x0 ∈ E such that P (x0 )
is false.
8
UMBB, Department of Mathematics Mathematics I, SM (2024-2025)
The principle of induction allows us to show that a proposition P (n) is true for every natural number
n greater than or equal to a fixed natural number n0 , by proceeding in two steps:
ii) For n ≥ n0 we assume that P (n) is true, and then we prove that the proposition P (n + 1) is true
Finally, in the conclusion, we recall that by the principle of induction P (n) is true for all n ≥ n0 .
2n+1 = 2 × 2n
= 2n + 2n
> n + 2n because, for n ≥ 0, P (n) is true
> n + 1 because, ∀n ∈ N : 2n ≥ 1
9
CHAPTER 2
Set Theory
Definition 2.1. A set is any collection of objects having a common property. It is often denoted
by E, F, G, . . .
Example 2.1.
N = {0, 1, 2, . . .} The set of natural numbers.
Z = {. . . , −2, −1, 0, 1, 2, . . .} The set of integers.
n o
p ∗
Q = q | p ∈ Z and q ∈ Z The set of rational numbers.
Definition 2.2.
• A set E is made up of objects called elements, written as x ∈ E and read as ”x belongs to
E”.
• A set F is said to be included in E if every element of F belongs to E, written as F ⊂ E.
• Two sets E and F are said to be equal and written as E = F if and only if F ⊂ E and
E ⊂ F.
Definition 2.3. Let E be a set. A subset (or part) of E is a set where all elements belong to
E.
Remark 2.1. Among the subsets of a set E, we have: the empty set ∅ ⊂ E, and the set itself
E ⊂ E.
Definition 2.4. The power set P(E) of a set E is the set of all subsets of E:
P(E) = {F | F ⊂ E}
10
UMBB, Department of Mathematics Mathematics I, SM (2024-2025)
P(E) = P({1, 2, b}) = {∅, {1}, {2}, {b}, {1, 2}, {1, b}, {2, b}, {1, 2, b}}.
Proposition 2.1. If E contains n elements, then the power set P(E) contains 2n elements.
Definition 2.5. Let E be a set. The set E is said to be finite if the number of elements in E
is finite. The number of elements in E is called the cardinality of E, denoted card(E).
Definition 2.6. The intersection of A and B is the set of elements that belong to both A and
B, denoted A ∩ B:
A ∩ B = {x | x ∈ A and x ∈ B}
Definition 2.7. The union of A and B is the set of elements that belong to either A or B,
denoted A ∪ B:
A ∪ B = {x | x ∈ A or x ∈ B}
Example 2.4. Let A = {1, 2, b} and B = {2, 3} be two sets. Then we have
A ∩ B = {2}
A ∪ B = {1, 2, b, 3}
A∩∅=∅ ; A∩A=A
A∪∅=A ; A∪A=A
(A ∩ B) ∩ C = A ∩ (B ∩ C)
(A ∪ B) ∪ C = A ∪ (B ∪ C)
A ∩ (B ∪ C) = (A ∩ B) ∪ (A ∩ C)
A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C)
11
UMBB, Department of Mathematics Mathematics I, SM (2024-2025)
CE F = {x | x ∈ E and x ∈
/ F}
CE F = {1, b}.
Definition 2.9. A partition of a set E is defined as n parts of E that are pairwise disjoint and
whose union is equal to E:
Ai ∩ Aj = ∅, ∀i, j
A1 , . . . , An is a partition of E ⇐⇒
A1 ∪ A2 ∪ . . . ∪ An = E
Remark 2.2.
A and B are disjoint ⇐⇒ A ∩ B = ∅
Example 2.6. {1}, {2, b, 5}, and {7, a} is a partition of the set {1, 2, b, 5, 7, a}.
Definition 2.10. The Cartesian product of two sets E and F , denoted E × F , is the set of
ordered pairs (x, y) where x ∈ E and y ∈ F.
12