NewLec 3
NewLec 3
NewLec 3
Yang Yue
Department of Mathematics
National University of Singapore
1 If and Only If
2 Mathematical Definitions
3 Logical Rules
5 Example of Proving “p ∨ q”
The bi-conditional “if and only if”
Truth table of p ↔ q:
p q p↔q
T T T
T F F
F T F
F F T
Example
[(p → q) ∧ p] → q is a tautology.
[(p → q) ∧ (q → r )] → (p → r )
is a tautology.
Example
Show that 300 000 067 110 605 737 is not a perfect square.
Proof.
Suppose that the given number z is the square of some (odd)
integer, say t. Now t = 10m + r for some integer m and for
some integer r from the list 1, 3, 5, 7, 9. But then
and so that last digit of z(= t 2 ) is the same as the last digit of
r 2 , which is, 1 or 9 or 5. But z’s final digit is a 7. Hence z
cannot be a perfect square.
Comments
we conclude
(C1 ∨ C2 ∨ C3 ∨ C4 ∨ C5 ) → D.”
In our proof, C1 is “The integer t has final digit 1”, etc, and
D is “The integer t 2 does not end in a 7”.
Second Example
Example
Show that 3 < π < 4.
π is the ratio dc of the length, c, of the circumference of a circle
to the length of the circle’s diameter d.
Discussion
c c
We need to show that 3 < d and d < 4.
Proof.
Let C be a circle of diameter d units. Then the perimeters of
the inscribed regular hexagon and the escribed square are
3d
respectively 3d and 4d. The required ratio thus lies between d
and 4dd , i.e., 3 < π < 4.
Remarks
Example
Show that either 2007 is a prime or it is divisible by some
number not exceeding 45.
Understanding the Problem
The statement does not claim that 2007 is prime nor that
2007 is divisible by some number not exceeding 45.
Proof.
Either 2007 is a prime or it is not. In the former case there is
nothing more to prove. In the latter case there are integers m
and n such that 2007 = mn. If both m and n exceed 45, then
mn > 452 = 2025, which is impossible. Thus one of them must
not exceed 45.
Comments