Professional Documents
Culture Documents
Numbers and Proofs: MOE H3 Math
Numbers and Proofs: MOE H3 Math
Lecture 1
• Compound statements
• Conditional statements
• Quantified statements
• Definitions and Theorems
Mathematical Language
Not exactly the same as English
A dialect of English
Expressing mathematical ideas precisely
The grammar is Logic
A is better than B
B is better than C
Therefore A is better than C
A sandwich is better than nothing
Nothing is better than God
Therefore, a sandwich is better than God
H3 Math Lecture 1 2
Logical Connectives
Also called logical operators
They are words that make one or more statements
into new statements.
A statement that involves logical connectives is
called a compound statement.
H3 Math Lecture 1 3
Negation
Standard form: not P Symbolic form: ~P
Example
negation
P: It is raining ~P: It is not raining
negation
Q: 3 is an odd integer ~Q: 3 is not an odd integer
3 is an even integer
H3 Math Lecture 1 4
Conjunction
Standard form: P and Q Symbolic form: P ∧ Q
Example P: 5 is a prime number
Q: 5 is an even number
P ∧ Q: 5 is a prime number and 5 is an even number
(same) 5 is an even prime number
3 < X and X < 6
Example 3<X<6 P∧Q
P: 3 < X
Q: X < 6
P ∧ Q is true only when both P and Q are true
H3 Math Lecture 1 5
Disjunction
Standard form: P or Q Symbolic form: P ∨ Q
~ (P ∨ Q) ≡ ~ P ∧ ~ Q
Example
Augustus De Morgan
(1806-1871)
P ∨ Q: 24 is either a square or a cube
~(P ∨ Q): 24 is neither a square nor a cube
Rephrase this statement using De Morgan’s Law
~P ∧ ~Q: 24 is not a square and not a cube
H3 Math Lecture 1 8
Negation in daily language
Example (daily language)
John is tall and thin P∧Q
Negation: ~(P ∧ Q)
H3 Math Lecture 1 12
don’t get 0 mark
(Knowing) S happens,
(it means that) the only possible outcome
is for T to happen (as oppose to T not
happen)
You don’t hand in
homework only if you
S only if T get 0 mark
You may find it confusing to apply this in
daily life example.
H3 Math Lecture 1 13
More examples
Example
If n is an even square, then n is divisible by 4
n is an even square is sufficient for n to be divisible by 4
hypothesis conclusion
n is an even square n is divisible by 4
sufficient necessary
H3 Math Lecture 1 14
The negation of a conditional is a conjunction,
not a conditional.
Negation of Conditional
The negation of P → Q is P ∧ ~ Q
Example
If n is an even square, then n is divisible by 4
H3 Math Lecture 1 16
Biconditional (statement)
Standard form: P if and only if Q Abbr: P iff Q
Symbolic form: P ↔ Q
P ↔ Q is true provided both P → Q and Q → P are true
P ↔ Q has the same meaning as (P → Q) ∧ (Q → P)
Example
n is odd if and only if n + 1 is even. True
Example
n is an even square if and only if n is divisible by 4.
False
H3 Math Lecture 1 17
(P → Q) ∧ (Q → P) ≡ P ↔ Q
Example
If n is a prime, then n is not divisible by 5
contrapositive
If n is divisible by 5, then n is not a prime
H3 Math Lecture 1 19
More examples
Example (daily life)
If you don’t hand in homework, then you will get
0 mark
contrapositive
If you don’t (want to) get 0 mark, then you
(must) hand in your homework
H3 Math Lecture 1 20
Contrapositive, Converse, Inverse
converse
P→Q Q→P
not logically equiv.
converse
~Q → ~P ~P → ~Q
not logically equiv.
H3 Math Lecture 1 21
Quantified Statements
Example quantifiers
1)There are integers x and y such that 2x + 5y = 7
2)For all integers x and y, 2x + 5y = 7
H3 Math Lecture 1 22
Universal quantifier
Let P(x) be x2 > 0
∀ x ∈ R, x2 > 0
A
H3 Math Lecture 1 24
Universal quantifier (domain)
An element in the domain
∀ x ∈ R, x2 > 0 such that, when substituted
This statement is false. for the variable, the predicate
It doesn’t work for x = 0. becomes a false statement.
∀ x ∈ R, x2 ≥ 0
This statement is true. Use basic property of
It works for all real number x. square numbers
H3 Math Lecture 1 25
Universal quantifier (other forms)
∀ x ∈ R, x2 > 0
Other forms
The square of every real number is greater than 0
(hidden variable)
x2 > 0 for any real number x
(trailing quantifier)
If x is in R, then x2 > 0 (implicit quantifier)
H3 Math Lecture 1 26
Existential quantifier
Let P(x) be x2 = 2
∃ x ∈ Z, x2 = 2
E
H3 Math Lecture 1 28
Existential quantifier (other forms)
∃ x ∈ Z, x2 = 2
∃ x ∈ R, x2 = 2
H3 Math Lecture 1 30
Lecture 2
Showing true or false
To show ∀ x, P(x) is true:
give a proof that P(x) is true for general x
To show ∀ x, P(x) is false:
find a value of x that P(x) is false.
such an x is called a counter-example
H3 Math Lecture 1 32
Negation with existential quantifier
∃ x, P(x) Negation: ~(∃ x, P(x))
∀ x, ~P(x)
Example (daily life)
S: Some students hand in homework
~S: No students hand in homework
~S: All students do not hand in homework
T: Some even numbers are divisible by 4
~T: No even numbers are divisible by 4
~T: All even numbers are not divisible by 4
H3 Math Lecture 1 33
Definition and Theorem
Theorem
Example ∀ n ∈ Z P(n) ↔ Q(n)
For any integer n, n is odd if and only if
n + 1 is even.
Definition
Example ∀ a ∈ Z P(a) ↔ Q(a)
An integer a is even if and only if
there exists an integer n such that a = 2n.
H3 Math Lecture 1 34
Definition and Theorem
A (mathematical) definition is a (true)
mathematical statement that gives the precise
meaning of a word or phrase that represents
some object, property or other concepts.
Example
1. Even and odd integers Properties of integers
2. n is divisible by m Relation between integers
Definition
An integer a is an odd integer iff
there exists an integer n such that a = 2n+1.
( n ∈ Z)(a = 2n+1)
H3 Math Lecture 1 36
Why definitions?
Why do we need definitions for even and odd
integers?
• Is 0 an even integer?
• Not to identify specific even and odd integers
• To describe general even and odd integers
• To be used in the proof of statements involving
even and odd integers
H3 Math Lecture 1 37