1.4 Predicates And Quantifiers
Ex: 1, 3, 6, 8, 9, 10, 14, 16
- Propositional function P(x)
- Convert a propositional function to a proposition, and evaluate it.
- Quantification
1. Universal quantification - ∀xP(x)≡P(x1)∧P(x2)∧⋯P(xn)
2. Existential quantification - ∃xP(x)≡P(x1)∨P(x2)∨⋯P(xn)
- Negation of quantified expressions
1. ¬∀xP(x)≡∃x¬P(x)
2. ¬∃xP(x)≡∀x¬P(x)
Homework
p74: 11, 13, 30, 36, 52
11. Let P(x) be the statement "x=x2." If the domain consists of the integers, what are these truth values?
a) P(0) b) P(1) c) P(2) d) P(−1) e) ∀xP(x) f) ∃xP(x)
Solution
a) P(0) is the statement "0=02", and it's true.
b) P(1) is the statement "1=12", and it's true.
c) P(2) is the statement "2=22", and it's false.
d) P(−1) is the statement "−1=(−1)2", and it's false.
e) P(x) is not true for every integer, for instance, P(−1) is false. That is, x=−1 is a counterexample for ∀xP(x). Thus ∀xP(x) is false.
f) P(x) is sometimes true, for instance, P(0) is true. Thus ∃xP(x) is true.
13. Determine the truth value of each of these statements if the domain consists of all integers.
a) ∀n(n+1>n) b) ∃n(2n=3n) c) ∃n(n=−n) d) ∀n(3n⩽4n)
Solution
a) n+1>n is true for all integers. Thus ∀n(n+1>n) is true.
b) 2n=3n is sometimes true, for instance, 2×0=3×0. Thus ∃n(2n=3n) is true.
c) n=−n is sometimes true, for instance, 0=−(0). Thus ∃n(n=−n) is true.
d) 3n⩽4n is not true for every integer, for instance, 3×(−1)⩽4×(−1) is false. That is x=−1 is a counterexample for ∀n(3n⩽4n). Thus ∀n(3n⩽4n) is false.
30. Suppose the domain of the propositional function P(x,y) consists of pairs x and y, where x is 1, 2, or 3 and y is 1, 2, or 3. Write out these propositions using disjunctions and conjunctions.
a) ∃xP(x,3) b) ∀yP(1,y) c) ∃y¬P(2,y) d) ∀x¬P(x,2)
Solution
a) ∃xP(x,3)⇔P(1,3)∨P(2,3)∨P(3,3)
b) ∀yP(1,y)⇔P(1,1)∧P(1,2)∧P(1,3)
c) ∃y¬P(2,y)⇔¬P(2,1)∨¬P(2,2)∨¬P(2,3)
d) ∀x¬P(x,2)⇔¬P(1,2)∧¬P(2,2)∧P(3,2)
36. Find a counterexample, if possible, to these universally quantified statements, where the domain for all variables consists of all real numbers.
a) ∀x(x2=x) b) ∀x(x2=2) c) ∀x(∣x∣>0)
Solution
a) x=2 is a counterexample. When x=2, x2=x is false.
b) x=2 is a counterexample. When x=2, x2=2 is false.
c) x=0 is a counterexample. When x=0, ∣x∣>0 is false.
52. As mentioned in the text, the notation ∃!xP(x) denotes "There exists a unique x such that P(x) is true." If the domain consists of all integers, what are the truth values of these statements?
a) ∃!x(x>1) b) ∃!x(x2=1) c) ∃!x(x+3=2x) d) ∃!x(x=x+1)
Solution
a) ∃!x(x>1) is false. Because there exists more than one x such that x>1, for instance, x=2, x=3.
b) ∃!x(x2=1) is false. Because there exists more than one x such that x2=1, for instance, x=1, x=−1.
c) ∃!x(x+3=2x) is true. x+3=2x is true only if x=3.
d) ∃!x(x=x+1) is false. Because x=x+1 is always false for all integers.