Lecture 04 Propositional Function and Quantifiers
Lecture 04 Propositional Function and Quantifiers
Proposition or not?
1. She is beautiful.
3. x is greater than 3.
Subject and Predicate
1. She is beautiful.
Subject:
Predicate:
2. x is greater than 3.
Subject:
Predicate:
variable:
Propositional function:
1. universal quantifier
2. existential quantifier
Universal quantification
The universal quantification of P(x) is the statement
P(x) for all values of x in the domain
Notation: xP(x)
“for all x, P(x)”
“for every x, P(x)”
where is called the universal quantifier
xP(x) is false iff there is a value x in the domain for which P(x )
0 0
is false. x0 is called a counterexample.
e.g. All BSAM students batch 2015 at UP Mindanao are lefthanded.
predicate/propositional function?
domain?
counterexample?
in symbols?
True or False?
What if the domain is empty?
xP(x) will still be true since there is no value
in the domain for which P(x) will be false
Universal quantification and
conjunction
Given a domain containing x1, x2, …, xn. xP(x)
is the same as the conjunction
P(x1) P(x2) … P(xn)
the domain.
e.g. There exists a BSAM batch 2015 student of UPMin
who lives outside Davao City.
predicate/propositional function?
domain?
true or false?
What if the domain is empty?
xP(x) will be false since there is no value in
the domain for which P(x) will be true
Existential quantification and
disjunction
Given a domain containing x1, x2, …, xn. xP(x)
is the same as the disjunction
P(x1) P(x2) … P(xn)
y≠0(y3≠0)
z>0(z2=2)
Negation
Negation
xP(x) ~ xP(x) x ~P(x)
Negate:
All BSAM students batch 2014 at UP Mindanao are
lefthanded.
There exists a BSAM batch 2014 student of UPMin
who lives outside Davao City.