Professional Documents
Culture Documents
Module 1 Part B
p(x) : x 0
q(x) : x2 0
r(x) : x2 3x 4 = 0
s(x) : x2 3 > 0
x[p(x) r(x)]
x[p(x) q(x)]
x[q(x) s(x)]
F (1)
x[r(x) s(x)]
F (1)
Exercise
Let p(x) : x 3, q(x) : x + 1 is odd
Universe: Integers. What are the truth values pf q(1), p(3)
Write the following statements in symbolic form.
Universe : Integers
p(x) : x > 0
q(x) : x is even.
t(x) : x is exactly divisible by 5.
at least one integer is even.
x.q(x)
there exists a positive integer that is even.
x.(p(x) q(x))
No even integer is divisible by 5.
x.(q(x) t(x))
Exercise
Universe: Integers. True or False ?
p(x) : x2 7x + 10 = 0
q(x) : x2 2x 3 = 0
r(x) : x < 0
x[p(x) r(x)]
T
x[q(x) r(x)]
2
F(3)
x[q(x) r(x)]
T
x[p(x) r(x)]
T
Summary
Statement
x.p(x)
x.p(x)
x.p(x)
x.p(x)
True
False
x.y.p(x, y) y.x.p(x, y)
x.y.p(x, y) y.x.p(x, y)
Let p(x, y) : (x + y = 6)
?
x.y.p(x, y) xyp(x, y)
x.y.p(x, y) xyp(x, y)
Let p(x, y) : x + y = 17
?
x.y.p(x, y) y.x.p(x, y)
x.y.p(x, y) 6 y.x.p(x, y)
Exercise
True or false ?
Universe is set of all real number
x.y.(x2 + y 2 0)
True (x = 0)
5
x.[c(x) d(x)]
c(a)
c(a) d(a)
d(a)
premise
premise
Step 1, Rule of Universal Specification
2,3,MP
Example 2
Universe : All triangles
p(t) : t has two sides of equal length
q(t) : t is an isosceles triangle
r(t) : t has two angles of equal measure
6
t.[p(t) q(t)]
p(c) q(c)
t.[q(t) r(t)]
q(c) r(c)
p(c) r(c)
r(c)
p(c)
Premise
1, Rule of Universal Specification
Premise
3, Rule of Universal Specification
2,4, Law of Syllogism
Premise
5,6 MT
Example 3
Universe : Students
j(x) : x is a junior
s(x) : x is a senior
p(x) : x is enrolled in a physical education class
No senior or junior is enrolled in physical education class
B is enrolled in physical education class
Therefore B is not a senior
Example 3
x.[(j(x) s(x)) p(x)]
p(b)
s(b)
1
2
3
4
5
6
Premise
Premise
1, Rule of Universal Specification
2,3, MT
4 DeMorgans
Conjunctive Simplification
Example 1
x.[p(x) q(x)]
x.[q(x) r(x)]
x.[p(x) r(x)]
1
2
3
4
5
6
x.[p(x) q(x)]
p(c) q(c)
x.[q(x) r(x)]
q(c) r(c)
p(c) r(c)
x.[p(x) r(x)]
Premise
1, Rule of Universal Specification
Premise
3, Rule of Universal Specification
2,4 Law of Syllogism
5, Rule of Universal Generalisation
Example 2
x.[p(x) q(x)]
x.[(p(x) q(x)) r(x)]
x.[r(x) p(x)]
1
2
3
4
5
6
x.[p(x) q(x)]
p(c) q(c)
x.[(p(x) q(x)) r(x)]
(p(c) q(c)) r(c)
r(c) (p(c) q(c))
r(c) (p(c) q(c))
Premise
1, Rule of Universal Specification
Premise
3, Rule of Universal Specification
Contrapositive
De Morgans
Example 2
7
8
9
10
11
12
r(c)
p(c) q(c)
[p(c) q(c)] [p(c) q(c)]
p(c) [q(c) q(c)]
p(c)
x.[r(x) p(x)]
Premise (assumed)
Modus Ponens
Rule of Conjunction
Distributive Law
p(c) F0 p(c)
Rule of Universal Generalisation
x.[p(x) q(x)]
x.p(x)
x.[.q(x) r(x)]
x.[s(x) r(x)]
x.s(x) .
x.[p(x) q(x)] Premise
x.p(x) Premise
p(a) Existential Specification
p(a) q(a) Universal Specification
q(a) Disjunctive Syllogism
x.[.q(x) r(x)] Premise
.q(a) r(a)] Universal Specification
r(a) Disjunctive Syllogism
x.[s(x) r(x)] Premise
s(a) r(a) Universal Specification
.s(a) Modus Tollens
x.s(x)
Method of Exhaustion
Theorems: Mathematical statements that are known to be true.
Consider the universe of {2, 4, 6, 8}
For all n, we can write n as a sum of at most three perfect squares.
2=1+1
4=4
6=4+1+1
8=4+4
11