MathAnalysis 1 (2023)
MathAnalysis 1 (2023)
Lecture 1
Elements of mathematical logic, sets of numbers
Aleksandra P¦drak
E-amil: [email protected]
Course materials:
Claudio Canuto and Anita Tabacco "Mathematical analysis I"
https://www.booksfree.org/mathematical-analysis-i-by-
claudio-canuto-and-anita-tabacco-pdf-free-download/
Lecture presentation slides
Platon educational platform
The course credit:
end-term practical test,
nal theoretical examination (grade 4 or better from the
practical test exempts a student from taking a nal exam),
the presence in the classes is mandatory
Consultation: after every lecture at room 30
Examples:
'7 is an odd number' (True)
√
'3 > 12' (False)
'Venus is a star' (False)
'Milan is far from Rome' (is not a formula)
'Is it your place?' (is not a formula)
p q p∨q
0 0 0
1 0 1
0 1 1
1 1 1
Conjunction
The conjunction of two formulas p and q is the formula p ∧ q we
read it as "p and q ". The conjunction is true if both p and q are
true, false otherwise.
The logical values of the conjunction p and q are as follows
p q p∧q
0 0 0
1 0 0
0 1 0
1 1 1
Implication
The implication of two formulas p and q is the formula p ⇒ q we
read it as:
"If p then q "
"p implies q "
"p sucient condition for q "
"q necessary condition for p "
The logical values of the implication p and q are as follows:
p q p⇒q
0 0 1
1 0 0
0 1 1
1 1 1
Logic equivalence
The equivalence of two formulas p and q is the formula p ⇔ q we
read it as:
"p is equivalent to q "
The logical values of the equivalence p and q are as follows:
p q p⇔q
0 0 1
1 0 0
0 1 0
1 1 1
p ⇔ q ≡ (p ⇒ q) ∧ (q ⇒ p)
p ∼p
0 1
1 0
Predicates
A predicate is an assertion or property p(x, ...) that depends upon
one or more variables x ,... belonging to suitable sets, and which
becomes a formula (hence true or false) whenever the variables are
xed.
Example
Let us consider a predicate:
then
p(7) is true,
p(10) is false.
A = {x ∈ X | p(x)}
Example
Consider the set A = {(x, y ) | x 2 + y 2 ≤ 9}
3
-1
-2
-3
-3 -2 -1 0 1 2 3
∀x S(x)
Existential quantier
Let S(x) be a predicate, the formula
∃x S(x)
Proof by contradiction
In this case we also have to prove the implication:
(h1 ∧ h2 ∧ · · · ∧ hn ) ⇒ c
is intrinsically contradictory.
Aleksandra P¦drak Mathematical Analysis Lecture 1 Elements of mathematical l
Types of mathematical proofs
Example
√
Prove that 2 is irrational number.
√
Suppose that 2 is a rational number.
√
Then it could be written as common fraction 2 = ba where a
and b are non-zero integers with no common factor.
√
Thus b 2 = a, squaring both sides one gets 2b 2 = a2 . Thus
the right expression is divisible by 2, so we can write a = 2c
where c is also integer.
Substitution into the original equation yields 2b 2 = 4c 2 ,
dividing both sides by 2 yields b 2 = 2c 2 . But it means that b
must be even number.
This contradicts our previous statement that
√ a and b have no
common factor, so we must conclude that 2 is an irrational
number.
Aleksandra P¦drak Mathematical Analysis Lecture 1 Elements of mathematical l
Types of mathematical proofs
To do that we assume that the left side of implication is true for a certain
k > 4.
Next we want to draw a conclusion that right side is true
(k + 1)! = k!(k + 1) > 2k (k + 1) > 2k · 2 = 2k+1
Because the rst formula in the sequence is true and the implication
k! > 2k ⇒ (k + 1)! > 2k+1 is also true for every k > 4 by the mathematical
induction theorem the inequality n! > 2n is true for n ≥ 4.
Aleksandra P¦drak Mathematical Analysis Lecture 1 Elements of mathematical l
Algebra of sets
We shall denote sets by upper case letters A, B, X ..., while for the
members or elements of a set lower case letters x, y , ... will be
used. When an element x is in the set X one writes x ∈ X ("x is
an element of X "), otherwise the symbol x ̸∈ X is used.
Union of sets
A∪B = {x | x ∈ A ∨ x ∈ B}
Intersection of sets
A∩B = {x | x ∈ A ∧ x ∈ B}
Dierence of sets
A\B = {x | x ∈ A ∧ x ̸∈ B}
Complement of a set
CA = Ac = X \A = {x | x ̸∈ A}
∃m∈R ∀x∈X x ≥m
∃M∈R ∀x∈X x ≤M
Bounded set
A set X ⊂ R is bounded if it is bounded from above and from
below.
∃m,M∈R ∀x∈X m ≤ x ≤ M
Example
Check if the set A is bounded
p
A= : p, q ∈ N ∧ p < q
q
Since
p
p<q ⇒ <1
q
Therefore the upper bound of A is any number M which is M ≥ 1.
On the other hand since p, q ∈ N then p > 0 and q > 0 thus
p
q > 0. According to this the lower bound of A is any number m
which fulll the inequality m ≤ 0.
B = {x ∈ R : tan(x) = 4}
a ∈ X ∧ ∀x∈X x ≥ a
We write it as
a = minX .
b ∈ X ∧ ∀x∈X x ≤ b
We write it as
b = maxX .
It is easy to see that the element are getting smaller. Thus the
maximal element is the rst one 1 and set B does not possess
the minimal element.
Aleksandra P¦drak Mathematical Analysis Lecture 1 Elements of mathematical l
Inmum and supremum
Innum of a set
Let set X ⊂ R be bounded from below. Number a is an innum of a set X if
and only if
∀x∈X x ≥ a and ∀ϵ>0 ∃x0 ∈X x0 < a + ϵ
We write it as
a = inf X .
If set X in not bounded from below we take:
inf X = −∞
Remarks:
Innum of a set X is also a lower bound of X .
Innum of a set X is not necessarily an element of a set X .
If on a number line one steps away to the right from the innum by a
arbitrarily small distant ϵ then one get past some element x0 which
belong to the set X .
Supremum of a set
Let set X ⊂ R be bounded from above. Number a is a supremum of a set X if
and only if
∀x∈X x ≤ b and ∀ϵ>0 ∃x0 ∈X x0 > b − ϵ
We write it as
b = sup X .
If set X in not bounded from above we take:
sup X = ∞
Remarks:
Supremum of a set X is also an upper bound of X .
Supremum of a set X is not necessarily an element of a set X .
If on a number line one steps away to the left from the supremum by a
arbitrarily small distant ϵ then one get past some element x0 which
belong to the set X .
√ √
Therefore inf A = − 2 and sup A = 5.
√
b) B = ⟨ 2, ∞) ∩ Q
A set√B is composed of rational numbers which are greater
than 2. The supremum√ of a set is sup B = ∞. The innum
of a set is inf B = 2. It comes from the fact that the real
number √
2 = 1.4142135623730950488 . . .
can be approximate by rational number with arbitrary precision.