1.5 Nested Quantifiers
Ex: 1, 2, 3, 4, 5, table 1
- How to evaluate quantification expressions? (example and counter-example)
- How to distribute negation in quantification expression ? (hw31, 32)
Homework
p85: 26, 27 e g h, 31b d, 46
26. Let Q(x,y) be the statement “x+y=x−y” If the domain for both variables consists of all integers, what are the truth values?
a) Q(1,1) b) Q(2,0) c) ∀yQ(1,y)
d) ∃xQ(x,2) e) ∃x∃yQ(x,y) f) ∀x∃yQ(x,y)
g) ∃y∀xQ(x,y) h) ∀y∃xQ(x,y)
Solution
a) Q(1,1)⇔1+1=1−1. Q(1,1) is false.
b) Q(2,0)⇔2+0=2−0. Q(2,0) is true.
c) ∀yQ(1,y) denotes the proposition "For every integer y, 1+y=1−y holds". When y=1, 1+y=1−y is false, therefore ∀yQ(1,y) is false.
d) ∃xQ(x,2) denotes the proposition "There is an integer x, such that x+2=x−2". Such x can not be found, ∃xQ(x,2) is false.
e) ∃x∃yQ(x,y) denotes the proposition "There is a pair x,y such that Q(x,y)". The pair x=1,y=0 satisfies Q(x,y), ∃x∃yQ(x,y) is true.
f) ∀x∃yQ(x,y) denotes the proposition "For every integer x there is an integer y such that Q(x,y)". When y=0, Q(x,y) is true for every integer x, ∀x∃yQ(x,y) is true.
g) ∃y∀xQ(x,y) denots the proposition "There is an integer y, such that for every integer x, x+y=x−y holds". When y=0, x+y=x−y holds for every x, ∃y∀xQ(x,y) is true.
h) ∀y∃xQ(x,y) denotes the proposition "For every integer y there is an integer x such that Q(x,y)". When y=1, we could not find any x to satisfy Q(x,y), ∀y∃xQ(x,y) is false.
27. Determine the truth value of each of these statements if the domain for all variables consists of all integers.
e) ∃n∃m(n2+m2=5)
g) ∃n∃m(n+m=4∧n−m=1)
h) ∃n∃m(n+m=4∧n−m=2)
Solution
e) The quantification ∃n∃m(n2+m2=5) denotes the proposition "There is a pair m,n such that n2+m2=5". The pair m=1,n=2 satisfies n2+m2=5. Hence the statement is true.
g) The quantification ∃n∃m(n+m=4∧n−m=1) denotes the proposition "There is a pair m,n such that n+m=4∧n−m=1". We could not find any integer pair m,n to satisfy n+m=4∧n−m=1, so the statement is false.
h) The quantification ∃n∃m(n+m=4∧n−m=2) denotes the proposition "There is a pair m,n such that n+m=4∧n−m=2". The pair m=1,n=3 satisfies n+m=4∧n−m=2. Hence, the statement is true.
31. Express the negations of each of these statements so that all negation symbols immediately precede predicates.
b) ∀x∃yP(x,y)∨∀x∃yQ(x,y)
Solution
¬(∀x∃yP(x,y)∨∀x∃yQ(x,y))≡¬∀x∃yP(x,y)∧¬∀x∃yQ(x,y)≡∃x¬∃yP(x,y)∧∃x¬∃yQ(x,y)≡∃x∀y¬P(x,y)∧∃x∀y¬Q(x,y)
d) ∀x∃y(P(x,y)→Q(x,y))
Solution
¬∀x∃y(P(x,y)→Q(x,y))≡∃x¬∃y(P(x,y)→Q(x,y))≡∃x∀y¬(P(x,y)→Q(x,y))≡∃x∀y(P(x,y)∧¬Q(x,y))
46. Determine the truth value of the statement ∃x∀y(x⩽y2) if the domain for the variables consists of
a) the positive real numbers.
b) the integers.
c) the nonzero real numbers.
Solution
The quantification ∃x∀y(x⩽y2) denotes the proposition "There is a x such that for every y, x⩽y2".
a) The statement is false when x,y are positive numbers. Because y2⩾0, we could not find any positive number x that x⩽y2.
b) The statement is true when x,y are integers. When x=0, the x⩽y2 is true for every y.
c) The statement is true when x,y are nonzero real numbers. When x=−1, the x⩽y2 is true for every y.