###
Subsection 3.8.4 Multiple Quantifiers

If a proposition has more than one variable, then you can quantify it more than once. For example, \(p(x, y):x^2 - y^2 = (x + y)(x - y)\) is a tautology over the set of all pairs of real numbers because it is true for each pair \((x, y)\) in \(\mathbb{R} \times \mathbb{R}\text{.}\) Another way to look at this proposition is as a proposition with two variables. The assertion that \(p(x,y)\) is a tautology could be quantified as \((\forall x)_{\mathbb{R}} ((\forall y) _{\mathbb{R}}(p(x, y)))\) or \((\forall y)_{\mathbb{R}} ((\forall x) _{\mathbb{R}}(p(x, y)))\)

In general, multiple universal quantifiers can be arranged in any order without logically changing the meaning of the resulting proposition. The same is true for multiple existential quantifiers. For example, \(p(x, y) : x + y = 4 \textrm{ and } x - y = 2\) is a proposition over \(\mathbb{R} \times \mathbb{R}\text{.}\) \((\exists x)_{\mathbb{R}} ((\exists y) _{\mathbb{R}} (x + y = 4 \textrm{ and } x - y = 2))\) and \((\exists y)_{\mathbb{R}}\textrm{ } ((\exists x) _{\mathbb{R}} (x + y = 4 \textrm{ and } x - y = 2))\) are equivalent. A proposition with multiple existential quantifiers such as this one says that there are simultaneous values for the quantified variables that make the proposition true. A similar example is \(q(x, y) : 2x - y = 2 \textrm{ and }4x - 2y = 5\text{,}\) which is always false; and the following are all equivalent:

\begin{equation*}
\begin{split}
\neg ((\exists x)_{\mathbb{R}}((\exists y) _{\mathbb{R}}(q(x, y))))
& \Leftrightarrow \neg (\exists y)_{\mathbb{R}}((\exists x)_{\mathbb{R}}(q(x, y)))) \\
& \Leftrightarrow (\forall y)_{\mathbb{R}} (\neg ((\exists x)_{\mathbb{R}}(q(x,y)))) \\
& \Leftrightarrow ((\forall y)_{\mathbb{R}} ((\forall x)_{\mathbb{R}} (\neg q(x, y))))\\
& \Leftrightarrow ((\forall x)_{\mathbb{R}} ((\forall y)_{\mathbb{R}} (\neg q(x, y))))
\end{split}
\end{equation*}

When existential and universal quantifiers are mixed, the order cannot be exchanged without possibly changing the meaning of the proposition. For example, let \(\mathbb{R}^+\) be the positive real numbers, \(x : (\forall a)_{\mathbb{R}^+} ((\exists b)_{\mathbb{R}^+} (a b = 1))\) and \(y : (\exists b)_{\mathbb{R}^+} ((\forall a)_{\mathbb{R}^+}(a b = 1))\) have different logical values; \(x\) is true, while \(y\) is false.

*Tips on Reading Multiply-Quantified Propositions.* It is understandable that you would find propositions such as \(x\) difficult to read. The trick to deciphering these expressions is to “peel” one quantifier off the proposition just as you would peel off the layers of an onion (but quantifiers shouldn’t make you cry!). Since the outermost quantifier in \(x\) is universal, \(x\) says that \(z(a) : (\exists b)_{\mathbb{R}^+}(a b = 1)\) is true for each value that \(a\) can take on. Now take the time to select a value for \(a\text{,}\) like 6. For the value that we selected, we get \(z(6) : (\exists b)_{\mathbb{R}^+}(6b = 1)\text{,}\) which is obviously true since \(6b = 1\) has a solution in the positive real numbers. We will get that same truth value no matter which positive real number we choose for \(a\text{;}\) therefore, \(z(a)\) is a tautology over \(\mathbb{R}^+\) and we are justified in saying that \(x\) is true. The key to understanding propositions like \(x\) on your own is to experiment with actual values for the outermost variables as we did above.

Now consider \(y\text{.}\) To see that \(y\) is false, we peel off the outer quantifier. Since it is an existential quantifier, all that \(y\) says is that some positive real number makes \(w(b)\) : \((\forall a) _{\mathbb{R}^+} (a b = 1)\) true. Choose a few values of \(b\) to see if you can find one that makes \(w(b)\) true. For example, if we pick \(b = 2\text{,}\) we get \((\forall a) _{\mathbb{R}^+}(2a = 1)\text{,}\) which is false, since \(2a\) is almost always different from 1. You should be able to convince yourself that no value of \(b\) will make \(w(b)\) true. Therefore, \(y\) is false.

Another way of convincing yourself that \(y\) is false is to convince yourself that \(\neg y\) is true:

\begin{equation*}
\begin{split}
\neg ((\exists b)_{\mathbb{R}^+} ((\forall a)_{\mathbb{R}^+}(a b = 1)))
&\Leftrightarrow (\forall b)_{\mathbb{R}^+}\neg ((\forall a)_{\mathbb{R}^+}(a b = 1))\\
& \Leftrightarrow (\forall b)_{\mathbb{R}^+} ((\exists a)_{\mathbb{R}^+}(a b \neq 1))
\end{split}
\end{equation*}

In words, for each value of \(b\text{,}\) there is a value for \(a\) that makes \(a b \neq 1\text{.}\) One such value is \(a=\frac{1}{b}+1\text{.}\) Therefore, \(\neg y\) is true.

One final example that serves as a preview to how quantifiers appear in calculus.

####
Example 3.8.9. The Limit of a Sequence>.

What does it mean that 0.999… = 1? The ellipsis (\(\dots\)) implies that there are an infinite number of 9’s on the left of the equals sign. Any way to try to justify this equality boils down to the idea of limits. After many years of struggling with what this means, mathematicians have come up with a universally accepted interpretation involving quantifiers. It is that

\begin{equation*}
(\forall \epsilon)_{\mathbb{R}^+} ((\exists N)_{\mathbb{P}})(n\geq N \Rightarrow |1- 0.\underbrace{99..9}_{n\,9’s}| \lt \epsilon))
\end{equation*}

In calculus, the symbol \(\epsilon\) is usually reserved for small positive real numbers. Let’s pick a value for \(\epsilon\) and peel the universal quantifier off the statement above. Let’s try \(\epsilon\) equal to \(\frac{1}{2^{10}}=\frac{1}{1024}\text{.}\) In addition we note that \(0.\underbrace{99..9}_{n\,9’s}=1-\frac{1}{10^n}\text{.}\) With our choice of \(\epsilon\) we get

\begin{equation*}
(\exists N)_{\mathbb{P}}(n\geq N \Rightarrow |1- 0.\underbrace{99..9}_{n\,9’s}| \lt \frac{1}{1024})
\end{equation*}

or

\begin{equation*}
(\exists N)_{\mathbb{P}}(n\geq N \Rightarrow \frac{1}{10^n} \lt \frac{1}{1024})
\end{equation*}

This last statement is true - one value of \(N\) that would work is \(11\text{.}\) You just have to convince yourself that any positive value of \(\epsilon\text{,}\) no matter how small, will produce a true statement. If you see that, you’ve convinced yourself that \(0.999\dots = 1\text{!}\)

###
Exercises 3.8.5 Exercises

#### 1.

Let \(C(x)\) be “\(x\) is cold-blooded,” let \(F(x)\) be “\(x\) is a fish,” and let \(S(x)\) be “\(x\) lives in the sea.”

Translate into a formula: Every fish is cold-blooded.

Translate into English: \((\exists x)(S(x) \land \neg F(x))\text{.}\)

Translate into English: \((\forall x)(F(x) \rightarrow S(x))\text{.}\)

Answer.
\(\displaystyle (\forall x)(F(x)\to C(x))\)

There are objects in the sea which are not fish.

Every fish lives in the sea.

#### 2.

Let \(M(x)\) be “\(x\) is a mammal,” let \(A(x)\) be “\(x\) is an animal,” and let \(W(x)\) be “\(x\) is warm-blooded.”

Translate into a formula: Every mammal is warm-blooded.

Translate into English: \((\exists x)(A(x) \land (\neg M(x)))\text{.}\)

#### 3.

Over the universe of books, define the propositions \(B(x)\text{:}\) \(x\) has a blue cover, \(M(x)\text{:}\) \(x\) is a mathematics book, \(U(x)\text{:}\) \(x\) is published in the United States, and \(R(x, y)\) : The bibliography of \(x\) includes \(y\text{.}\)

Translate into words:

\((\exists x)(\neg B(x))\text{.}\)

\((\forall x)(M(x) \land U(x) \rightarrow B(x))\text{.}\)

\((\exists x)(M(x) \land \neg B(x))\text{.}\)

\((\exists y)((\forall x)(M(x)\to R(x,y)))\text{.}\)

Express using quantifiers: Every book with a blue cover is a mathematics book.

Express using quantifiers: There are mathematics books that are published outside the United States.

Express using quantifiers: Not all books have bibliographies.

Answer.
There is a book with a cover that is not blue.

Every mathematics book that is published in the United States has a blue cover.

There exists a mathematics book with a cover that is not blue.

There exists a book that appears in the bibliography of every mathematics book.

\(\displaystyle (\forall x)(B(x)\to M(x))\)

\(\displaystyle (\exists x)(M(x)\land \neg U(x))\)

\(\displaystyle (\exists x)((\forall y)(\neg R(x,y))\)

#### 4.

Let the universe of discourse, \(U\text{,}\) be the set of all people, and let \(M(x, y)\) be “\(x\) is the mother of \(y\text{.}\)”

Which of the following is a true statement? Translate it into English.

\(\displaystyle (\exists x)_U((\forall y)_U(M(x,y)))\)

\(\displaystyle (\forall y)_U((\exists x)_U(M(x,y)))\)

Translate the following statement into logical notation using quantifiers and the proposition \(M(x, y)\) : “Everyone has a maternal grandmother.”

#### 5.

Translate into your own words and indicate whether it is true or false that \((\exists u) _{\mathbb{Z}} (4 u^2 -9 = 0)\text{.}\)

Answer.The equation \(4u^2-9=0\) has a solution in the integers. (False)

#### 6.

Use quantifiers to say that \(\sqrt{3}\) is an irrational number.

Hint.Your answer will depend on your choice of a universe

#### 7.

What do the following propositions say, where \(U\) is the power set of \(\{1,2,\dots , 9\}\text{?}\) Which of these propositions are true?

\((\forall A)_U \lvert A \rvert \neq \lvert A^c \rvert\text{.}\)

\((\exists A)_U(\exists B)_U (\lvert A \rvert =5, \lvert B \rvert=5, \textrm{ and } A\cap B=\emptyset )\text{.}\)

\((\forall A)_U(\forall B)_U (A-B=B^c-A^c)\text{.}\)

Answer.
Every subset of \(U\) has a cardinality different from its complement. (True)

There is a pair of disjoint subsets of \(U\) both having cardinality 5. (False)

\(A-B=B^c-A^c\) is a tautology. (True)

#### 8.

Use quantifiers to state that for every positive integer, there is a larger positive integer.

#### 9.

Use quantifiers to state that the sum of any two rational numbers is rational.

Answer.
\((\forall a)_{\mathbb{Q}}(\forall b)_{\mathbb{Q}}\)(\(a+b\) is a rational number.)

#### 10.

Over the universe of real numbers, use quantifiers to say that the equation \(a + x = b\) has a solution for all values of \(a\) and \(b\text{.}\)

Hint.You will need three quantifiers.

#### 11.

Let \(n\) be a positive integer. Describe using quantifiers:

\(\displaystyle x \in \underset{k=1}{\overset{n}{\cup }}A_k\)

\(\displaystyle x \in \underset{k=1}{\overset{n}{\cap }}A_k\)

Answer.
Let \(I=\{1,2,3,\ldots ,n\}\)

\(\displaystyle (\exists x)_I\left(x\in A_i\right)\)

\(\displaystyle (\forall x)_I\left(x\in A_i\right)\)

#### 12.

Prove that \((\exists x)(\forall y)(p(x, y)) \Rightarrow (\forall y)(\exists x)(p(x, y))\text{,}\) but that converse is not true.