2-Predicates and Quantifiers
2-Predicates and Quantifiers
QUANTIFIER
A quantifier is an operator used to create a
proposition from a propositional function.
UNIVERSAL QUANTIFIER
Let P(x) be a propositional function. The
Universal quantification of P(x) is the
proposition
“ P(x) is true For all values of x in the
universe of discourse”.
i) False
ii) True
Existential quantification
Let P(x) be a propositional function. The Existential
quantification of P(x) is the proposition “There exists a
value of x in the universe of discourse such that P(x) is
true ”.
Notation : x P(x)
x C(x)
Truth Value: True if the universe of discourse is all
students in this class
What about if the universe of discourse is all
students (or all people?)
x (S(x)C(x))
This is wrong! Why?
x (S(x)→C(x)) 11
Translate the following statement using quantifiers
“Some students in this class have visited Mexico”
Let:
S(x) be “x is a student in this class”
M(x) be “x has visited Mexico”
Rephrasing: “There exists a student who has visited
Mexico”
x M(x)
Truth Value: True if the universe of discourse is all
students
What about if the universe of discourse is all people?
x (S(x) → M(x))
This is wrong! Why?
x (S(x) M(x))
Consider: “Every student in this class has
visited Canada or Mexico”
S(x) be “x is a student in this class”
M(x) be “x has visited Mexico”
C(x) be “x has visited Canada”
x (M(x)C(x)
When the universe of discourse is all students
x (S(x)→(M(x)C(x))
When the universe of discourse is all people
Why isn’t x (S(x)(M(x)C(x))) correct?
NEGATING QUANTIFICATIONS
To negate a universal quantification:
You negate the propositional function
AND you change to an existential
quantification
¬x P(x) = x ¬P(x)