Nested Quantifiers - Introduction: X y (X+y 0)
Nested Quantifiers - Introduction: X y (X+y 0)
Solution: This statement says that for every real number x and for every
real number y,
if x > 0 and y < 0, then xy < 0.
That is, this statement says that for real numbers x and y,
if x is positive and y is negative, then xy is negative.
This can be stated more succinctly as
“The product of a positive real number and a negative real number is
always a negative real number.”
THINKING OF QUANTIFICATION AS LOOPS ∀x ∀y
• In working with quantifications of more than one variable, it is
sometimes helpful to think in terms of nested loops.
• Remark: If there are infinitely many elements in the domain of some
variable, we cannot actually loop through all values.
• For example, to see whether ∀x ∀y P(x, y) is true,
we loop through the values for x, and for each x we loop through the
values for y.
If we find that P (x, y) is true for all values for x and y,
We have determined that ∀x ∀y P (x, y) is true.
If we ever hit a value x for which we hit a value y for which P (x, y) is
false,
we have shown that ∀x ∀y P (x, y) is false.
THINKING OF QUANTIFICATION AS LOOPS ∀x∃y
• To determine whether ∀x ∃y P(x, y) is true,
• Because the statement “𝑙𝑖𝑚𝑥→𝑎 f(x) does not exist” means for all real
numbers L, 𝑙𝑖𝑚𝑥→𝑎 f(x) ≠ L, this can be expressed as
∀L∃ ∈ > 0 ∀ δ > 0 ∃ x(0 < |x - a| < δ ∧ |f(x) - L| ≥ ∈ ).
This last statement says that for every real number L there is a real
number ∈ > 0 such that for every real number δ > 0, there exists a
real number x such that 0 < |x - a| < δ and |f(x) - L| ≥ ∈ .
Exercise Problems -1
• Determine the truth value of each of these statements if the domain of
each variable consists of all real numbers.
a) ∀x ∃y (𝑥 2 = y) b) ∀x ∃y (x = 𝑦 2 )
c) ∃x ∀y (xy = 0) d) ∃x ∃y (x + y = y + x)
e) ∀x (x = 0 → ∃y (xy = 1) ) f ) ∃x ∀y (y = 0 → xy = 1)
g) ∀x ∃y (x + y = 1) h) ∃x ∃y (x + 2y = 2 ∧ 2x + 4y = 5)
i) ∀x ∃y (x + y = 2 ∧ 2x - y = 1) j) ∀x ∀y ∃z (z = (x + y)/2)
a) ∀x ∀y P(x, y) b) ∃x ∃y P(x, y)
c) ∃x ∀y P(x, y) d) ∀y ∃x P(x, y)
Exercise Problems -2
Let T (x, y) mean that student x likes cuisine y, where the domain for x
consists of all students at your school and the domain for y consists of
all cuisines. Express each of these statements by a simple English
sentence.
a) ¬T (Abdallah Hussein, Japanese)
b) ∃x T(x, Korean) ∧ ∀x T(x, Mexican)
c) ∃y (T (Monique Arsenault, y) ∨ T (Jay Johnson, y))
d) ∀x ∀z ∃y ( (x = z) → ¬(T (x, y) ∧ T (z, y) ) )
e) ∃x ∃z ∀y (T (x, y) ↔ T (z, y))
f ) ∀x ∀z ∃y (T (x, y) ↔ T (z, y))
Exercise Problems -3
• Translate these statements into English, where the domain for each
variable consists of all real numbers.
a) ∀x ∃y (x < y)
b) ∀x ∀y ( ( (x ≥ 0) ∧ (y ≥ 0) ) → (xy ≥ 0) )
c) ∀x ∀y ∃z (xy = z)
• Let Q(x, y) be the statement “x has sent an e-mail message to y,” where the
domain for both x and y consists of all students in your class.
Express each of these quantifications in English.
a) ∃x ∃y Q(x, y) b) ∃x∀y Q(x, y)
c) ∀x ∃y Q(x, y) d) ∃y∀x Q(x, y)
e) ∀y ∃x Q(x, y) f ) ∀x ∀y Q(x, y)
Exercise Problems -4
• Let W (x, y) mean that student x has visited website y, where the domain for x
consists of all students in your school and the domain for y consists of all
websites. Express each of these statements by a simple English sentence.