Algebra First Chapter 2023
Algebra First Chapter 2023
H.C
16 septembre 2023
A statement admits two logical values : T or 1 when the statement is true, F or 0 when the
statement is false.
1
Lecture Notes Algèbre 1
1.3.1 Conjunction
1. Logical AND : P ∧ Q
2. Read "P and Q."
3. P ∧ Q is true if both P and Q are true.
4. Also called logical conjunction.
The propositional connective "and" is used to conjoin two statements. The conjunction of a
statement P and a statement Q is written as "P and Q". The symbol "∧" is also used for
"and". Thus, "P ∧ Q" also denotes the conjunction of P and Q.
1.3.2 Disjunction
1. Logical OR : P ∨ Q.
2. Read "P or Q."
3. P ∨ Q is true if at least one of P or Q are true (inclusive OR)
4. Also called logical disjunction.
The propositional connective "or" is used to obtain the disjunction of two statements. The
disjunction of a statement "P " and a statement "Q" is written as "P or "Q". The symbol "∨
is also used for "or". The disjunction of a statement "P " and a statement "Q" is also written
as "P ∨ Q".
Page 2
Lecture Notes Algèbre 1
1.3.5 Implication
A statement of the form P implies Q (in symbol P ⇒ Q) is called an implication. The
statement P ⇒ Q and the statement ‘If P , then Q’ are logically same, for (as we shall see) the
truth values of both the statements are always same. Again, "P " is called the antecedent or
the hypothesis, and "Q" is called the consequent or the conclusion.
1.3.6 Equivalence
A statement of the form P if and only if Q (briefly P iff Q) is called an equivalence. P
implies and implied by Q (in symbol P ⇔ Q) is logically same as P if and only if Q. We also
express it by saying that P is a necessary and sufficient condition for Q.
P
T or 1
F or 0
qP or P is true if and only if P is false. The truth table of a statement qP , is given by the
table :
P P
T F
F T
1. The truth functional rule for the conjunction P ∧ Q.
P ∧ Q is true if both P and Q are true, and The truth table of the proposition P ∧ Q is
given by :
P Q P ∧Q
T T T
T F F
F T F
F F F
Page 3
Lecture Notes Algèbre 1
P Q P ∨Q
T T T
T F T
F T T
F F F
P Q P P ∧Q P ∨Q P ∨Q P ⇒Q Q⇒P P ⇔Q
T T F T T T T T T
T F F F T F F T F
F T T F T T T F F
F F T F F T T T T
We notice that P ⇐⇒ Q is true when P and Q have the same logical value.
Proof 1.4.1 It is enough to establish the truth table of the propositions in question.
Page 4
Lecture Notes Algèbre 1
if its truth value is always F irrespective of the truth values of its atomic statement variables.
Thus, the negation of a tautology is a contradiction, and the negation of a contradiction is a
tautology. The Example :
Example 2.0.1 1.
P Q P P ∨Q (P ∨ Q) ∧ P (P ∨ Q) ∧ P ⇒ Q
T T F T F T
T F F T F T
F T T T T T
F F T F F T
is a tautology.
2. P ∧ P is a contradiction.
(P ∧ Q) ⇔ P ∨ Q.
(P ∨ Q) ⇔ P ∧ Q.
3 Quantifiers
The symbols ∀ and ∃ are called quantifiers because they refer in some sense to the quantity
(i.e., all or some) of the variable that follows them. Symbol ∀ is called the universal quantifier
and ∃ is called the existential quantifier. Statements which contain them are called quantified
statements. A statement beginning with ∀ is called a universally quantified statement, and one
beginning with ∃ is called an existentially quantified statement.
Page 5
Lecture Notes Algèbre 1
∃x0 ∈ R/ f (x0 ) = 0.
In order to specify that f vanishes into a single value, we add an exclamation point :
∃!x0 ∈ R / f (x0 ) = 0.
1
2. ∃x ∈ R/ x (x − 1) < 0 is a true statement. (For example x = 2
verifies the property).
3. ∃x ∈ R/ x2 = −4 is a false statement (no squared real will give a negative number).
Page 6
Lecture Notes Algèbre 1
Remark
The order of quantifiers is very important. For example both logical sentences :
∀x ∈ Z, ∃x0 ∈ Z / x + x0 = 0, ∃x0 ∈ Z / ∀x ∈ Z, x + x0 = 0
are different. The first is true, the second is false.
Example 4.1.1 Direct proof can be used to prove that the sum of two even integers is always
even :
Consider two even integers x and y. Since they are even, they can be written as x = 2a and
y = 2b, respectively, for some integers a and b. Then the sum is x + y = 2a + 2b = 2(a + b).
Therefore x + y has 2 as a factor and, by definition, is even. Hence, the sum of any two even
integers is even. This proof uses the definition of even integers and the distributive property.
Proof by exhaustion means breaking a statement down into a series of individual cases and
proving each one separately. It is the disjunction or case-by-case method.
So x2 − x + 1 − |x − 1| ≥ 0 and so x2 − x + 1 ≥ |x − 1|.
Page 7
Lecture Notes Algèbre 1
x2 − x + 1 − |x − 1| = x2 − x + 1 + (x − 1) = x2 ≥ 0.
and so x2 − x + 1 ≥ |x − 1|.
Conclusion. In all cases |x + 1| ≤ x2 + x + 1.
Proof by contraposition infers the statement "if P then Q" by establishing the logically
equivalent contrapositive statement : "if not Q then not P ", it is a reasoning which consists of
showing the statement P =⇒ Q using the following equivalence : P =⇒ Q ⇐⇒ Q =⇒ P.
Example 4.3.1 . Let n ∈ N. Show that if n2 is odd then n is odd.
Proof 4.3.1 We assume that n is not odd and we show that then n2 is not odd.
Since n is not odd, it is even and therefore there exists k ∈ N, such that n = 2k. Then
n2 = (2k)2 = 4k 2 = 2 (2k 2 ). And so n2 is even.
Conclusion : We have shown that if n is even then n2 is even. By contraposition this is
equivalent to : n2 is odd then n is odd.
In proof by contradiction, also known by the Latin phrase reductio ad absurdum (by
reduction to the absurd), it is shown that if some statement is assumed true, a logical contra-
diction occurs, hence the statement must be false.
Absurd reasoning is based on the following principle :
We assume both that P is true and that Q is false and we look for a contradiction. So if P is
true then Q must be true and therefore « P√ =⇒ Q» is true.
A famous example involves the proof that 2 is an irrational number (See Tutorial series).
1
Example 4.4.1 Let a, b ∈ ]0, +∞[ . Show that b ≤ a =⇒ b
≥ a1 .
Proof 4.4.1 .Suppose that 1b < a1 , then a1 − 1b > 0 which corresponds to b−a ab
> 0, this is
impossible since b − a ≤ 0 and ab > 0, this contradicts our previous statement.
Therefore, if b ≤ a alors 1b ≥ a1 .
Page 8
Lecture Notes Algèbre 1
Example 4.5.1 Show that the following assertion is false « Every positive integer is the sum
of three squares ».
Proof 4.5.1 A counterexample is the number 7 : the squares less than 7 are 0, 1, 4 but with
three of these numbers we cannot make 7.
1 + 2 + · · · + n = n(n + 1)/2
Proof :
1. Base case : If n = 1, 1 + · · · + n = 1, and n(n + 1)/2 = 11
2. Inductive Step :
Suppose that for a given n
1 + 2 + · · · + n + (n + 1) = [n + 1]([n + 1] + 1)/2
i.e.
1 + 2 + · · · + n + (n + 1) = (n + 1)(n + 2)/2
Add n + 1 both sides to equation (4.1), we get :
1 + 2 + · · · + n + (n + 1) = n(n + 1)/2 + (n + 1)
= n(n + 1)/2 + 2(n + 1)/2
= (n + 2)(n + 1)/2
Example 4.6.2 Show that for any natural number n ≥ 4, we have 2n < n! .
Let us show by induction on the integer n ≥ 4, that the property P (n) : 2n < n! is true.
— Base case : For n = 4, we have 2n = 16 and n! = 4! = 24, which shows that 24 < 4! .
Thus, P (n) is true for n = 4.
Page 9
Lecture Notes Algèbre 1
— Inductive Step : Assume that P (n) is true and show that P (n + 1) is true, which
amounts to assuming that 2n < n! and to show that 2n+1 < (n + 1)! .
We therefore assume that 2n < n! , then 2n+1 = 2.2n < 2(n! ), as n ≥ 4, then n > 2 and
also n + 1 > 2, which leads to
So if 2n < n! then 2n+1 < (n + 1)! , which shows that P (n) =⇒ P (n + 1).
— In conclusion, by induction on n ≥ 4, we have 2n < n! .
Page 10