Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
| Download
Project: Peter's Files
Views: 3893
Visibility: Unlisted (only visible to those who know the link)
Image: ubuntu1804
1
\documentclass[10.5pt]{article}
2
3
\usepackage[letter, top=.75in, bottom=.75in, left=.75in, right=.75in, marginparwidth=.5 in]{geometry}
4
\usepackage[utf8]{inputenc}
5
\usepackage[english]{babel}
6
% \usepackage[document]{ragged2e}
7
8
\usepackage{hyperref, amsmath, amsthm, latexsym, amsfonts, enumerate, csquotes, multicol, fix-cm, color, soul, amssymb, graphicx}
9
10
\usepackage{mathpazo}
11
12
% \renewcommand{\baselinestretch}{.95}
13
14
% \usepackage{etoolbox}
15
% \newcommand{\zerodisplayskips}{%
16
% \setlength{\abovedisplayskip}{3pt}%
17
% \setlength{\belowdisplayskip}{3pt}%
18
% \setlength{\abovedisplayshortskip}{3pt}%
19
% \setlength{\belowdisplayshortskip}{3pt}}
20
% \appto{\normalsize}{\zerodisplayskips}
21
% \appto{\small}{\zerodisplayskips}
22
% \appto{\footnotesize}{\zerodisplayskips}
23
24
\setlength{\columnsep}{1cm}
25
26
\tolerance=1
27
\emergencystretch=\maxdimen
28
\hyphenpenalty=10000
29
\hbadness=10000
30
31
\newcommand{\s}{\mathbf{s}}
32
\newcommand{\q}{\mathbf{q}}
33
\renewcommand{\t}{\mathbf{t}}
34
\newcommand{\heading}[1]{\vspace{1em}\noindent\textbf{#1}\\\noindent}
35
36
\pagenumbering{gobble}
37
38
39
40
\begin{document}
41
42
\begin{center}
43
\fontsize{42pt}{0pt}\selectfont
44
Secrets and Quantifiers
45
\end{center}
46
47
\vspace{.25cm}
48
49
\begin{multicols}{2}
50
51
\noindent\textsc{Peter E. Francis and B\'ela Bajnok}\\\\\noindent
52
American writer, teacher, and comedian, Sam Levenson, gives us the following warning:
53
54
\begin{displayquote}
55
\textit{Somewhere on this globe, every ten seconds, there is a woman giving birth to a child. She must be found and stopped.}
56
\end{displayquote}
57
58
\noindent The joke comes from the fact that the statements ``for any given time, there is a place, at which there is a woman giving birth'' and ``there is a place, for which there is a woman that is always giving birth'' are not equivalent. The first is believable while the second, if true, would be ridiculously disastrous.
59
60
As this example shows, there is a discrepancy between the sometimes deceiving and confusing use of quantifiers (words or phrases used to describe the quantity of objects that have a certain property) in the English language and the rigidly fundamental role that quantification plays in mathematical writing. So the question is: how do we translate?
61
62
\heading{Some Notations}
63
We will write $P(x)$ to denote a \textit{predicate}, a statement whose truth depends on $x$ in a set $A$. For example, if $P(x)$ denotes the predicate ``$x<57\text{ or } x \text{ is odd}$,'' for a positive integer $x$, then $P(4)$, $P(57)$, and $P(101)$ are all true, while $P(100)$ and $P(134)$ are both false.
64
65
The symbol $\forall$ represents the universal quantifier (pronounced ``for all''). Thus, the sentence $$\forall x\in A, P(x)$$ means ``for all $x$ in the set $A$, $P(x)$ is true.'' The symbol $\exists$ is the existential quantifier (pronounced ``there exists''). The sentence $$\exists x\in A, P(x)$$ means ``there is some (at least one) $x$ in the set $A$ for which $P(x)$ is true.''
66
67
The order and type of nested quantifiers can change the meaning of the statement drastically. Sam Levenson's joke plays off the differences between the following two statements:
68
$$\begin{cases}\forall\text{ time}, \exists\text{ place},\exists\text{ woman giving birth}, \text{ and}\\
69
\exists\text{ place}, \exists\text{ woman},\forall\text{ time giving birth}.\end{cases}$$
70
71
\columnbreak
72
73
\heading{A Secret Game}
74
Imagine Suzy has a secret sequence of four positive integers that Quentin would like to know. He asks questions in the form of sequences of positive integers, to which Suzy's response will be the scalar product (the sum of the coordinate-wise product) of the two sequences: if Suzy's secret sequence is $\s=(s_1,s_2,s_3,s_4)$, the response to the question $\q=(q_1,q_2,q_3,q_4)$ is
75
$$\q\cdot\s = q_1s_1+q_2s_2 + q_3s_3+ q_4s_4.$$
76
77
% Quentin's goal is to discover the sequence in as few questions as possible.
78
Quentin has an idea of how to ``brute force'' the secret sequence: Suzy has a sequence $(s_1,s_2,s_3,s_4)$ in mind and Quentin asks the four questions $(2, 1, 1, 1)$, $(1, 2, 1, 1)$, $(1, 1, 2, 1)$, and $(1, 1, 1, 2)$. Suzy responds with $w$, $x$, $y$, and $z$, respectively.
79
These answers determine four equations, a linear system on the variables $s_1$, $s_2$, $s_3$, and $s_4$:
80
$$\begin{cases}
81
w = 2s_1+s_2+s_3+s_4\\
82
x = s_1+2s_2+s_3+s_4\\
83
y = s_1+s_2+2s_3+s_4\\
84
z = s_1+s_2+s_3+2s_4\\
85
\end{cases}$$
86
87
Maybe Quentin has studied some Linear Algebra or maybe he was lucky, because it turns out that these four questions are \textit{linearly independent} and so will always determine a system of four equations with a unique solution:
88
$$\begin{cases}
89
s_1 = \frac{4w-x-y-z}{5}\\
90
s_2 = \frac{4x-w-y-z}{5}\\
91
s_3 = \frac{4y-w-x-z}{5}\\
92
s_4 = \frac{4z-w-x-y}{5}\\
93
\end{cases}$$
94
This relies on the fact that any sequence of four \textit{real} numbers can be written as a linear combination of Quentin's four questions.
95
% Since we are working with sequences of four integers, four questions are necessary for this brute-force method.
96
97
It is exciting (at least for Quentin) that with four questions, he can always discover the secret. However, you might be wondering: can Quentin do better? Are fewer questions sufficient? This possibility takes a bit more to unpack.
98
99
We can think of some secrets where single questions decode them. For example, if Quentin asks the question $(1,5,10,20)$ and Suzy answers 36, the secret must be $(1,1,1,1)$: there is only one way to use \$1, \$5, \$10, and \$20 bills to pay \$36 so that each currency is used at least once. The situation is the same if Suzy answers 37, 38, 39, or 40; however, if Suzy answers 41, her secret could be $(6,1,1,1)$ or $(1,2,1,1)$. So, we see that we may have a `happy accident' in asking our question. To go further, we will need to be more technical with what we mean by `decoding the secret with one question.
100
101
102
\heading{Decoding Sequences}
103
Let $D(\q,\s)$ denote the predicate ``the question $\q$ decodes the secret $\s$''. In order to decode the secret with one question, you must ensure that no other secret sequence returns the same response for the question. That is, $D(\q,\s)$ is true exactly when there is no sequence $\t$ different from $\s$ for which $$\q\cdot\s=\q\cdot\t.$$
104
Equivalently in quantifier notation,
105
$$\underbrace{\forall\t,}_\text{for all $\t$}\ \underbrace{\t\neq\s,}_\text{different from $\s$}\ \q\cdot\t\neq\q\cdot\s.$$
106
But is a single question \textit{always} enough? The answer depends largely on the interpretation of this question. There are two ways to make our question precise:
107
\begin{enumerate}[1.]
108
\itemsep-0.05em
109
\item Is ``$\exists\q,\forall\s,D(\q,\s)$'' true?
110
\item Is ``$\forall\s,\exists\q,D(\q,\s)$'' true?
111
\end{enumerate}
112
113
We will decipher the meaning of these two questions and determine their truth. Our examination will expose that the order of the quantifiers results in two rather different outcomes.
114
115
116
\heading{The Master Key}
117
The first quantifier chain ``$\exists\q,\forall\s,D(\q,\s)$'' means ``there is some fixed question that can decode any secret.'' We can understand this situation by thinking of questions as keys and secrets as locks; the predicate $D(\q,\s)$ can be interpreted as ``key $\q$ opens lock $\s$.''
118
119
Continuing the metaphor, the statement above means ``there is some key that can open any lock.'' In the context of the game, if this were true, Quentin would always win by asking the same one question; the game would be quite boring. Is this true?
120
Let $\q = (q_1,q_2,q_3,q_4)$ be an arbitrary question. Define $\s=(1,1,1+q_4,1)$ and $\t=(1,1,1,1+q_3)$. Then
121
\begin{align*}
122
\q\cdot\s & = q_1+q_2+q_3(1+q_4)+q_4 \\
123
& = q_1+q_2+q_3+q_4(1+q_3)\\
124
& = \q\cdot\t.
125
\end{align*}
126
Thus, given a question, we can build at least two sequences between which the question cannot distinguish. In other words, if we thought we had a `master key' (one that could open any lock), we would be wrong because we showed how to build at least two locks that the key cannot open.
127
128
\columnbreak
129
130
\heading{The Unbreakable Secret}
131
The second quantifier chain ``$\forall\s,\exists\q,D(\q,\s)$'' can be read ``for any secret, we can pick a question to decode it'': there is no secret safe from being decoded in one question. At first glance, this sentence sounds quite similar to the previous, `master key,' sentence. Here is evidence that a small change in quantifiers can make a big difference in meaning. While (1) is false, (2) happens to be true. Let's see why.
132
133
Suppose that $\s=(s_1,s_2,s_3,s_4)$ is an arbitrary sequence.
134
Pick four pairwise relatively prime positive integers $a_1$, $a_2$, $a_3$, and $a_4$ (that is, four integers with no common prime factors) greater than $s_1$, $s_2$, $s_3$, and $s_4$, respectively. Then let
135
\begin{align*}
136
q_1 & = a_2a_3a_4, & q_2 & =a_1a_3a_4, \\
137
q_3 & = a_1a_2a_4, & q_4 & =a_1a_2a_3,
138
\end{align*}
139
and $\q = (q_1,q_2,q_3,q_4)$. We claim $\q$ decodes $\s$. To show this, assume there is some sequence $\t=(t_1,t_2,t_3,t_4)$ with $\q\cdot\s=\q\cdot\t$. Then we have
140
$$0=q_1(s_1-t_1)+q_2(s_2-t_2)+q_3(s_3-t_3)+q_4(s_4-t_4).$$
141
Since $a_1$ divides the last three summands and 0, $a_1$ must also divide $q_1(s_1-t_1)$. As $a_1$ is relatively prime to $q_1$ (by design), $a_1$ must divide $s_1-t_1$. Because $s_1$ and $t_1$ are positive integers, we conclude $s_1-t_1 < s_1$. We chose $a_1>s_1$, so $a_1$ dividing $s_1-t_1$ implies $t_1\geq s_1$. Similarly, $t_2\geq s_2$, $t_3\geq s_3$, and $t_4\geq s_4$. As the above equation shows four nonpositive integers sum to 0, we conclude that each summand must be 0, so $s_i=t_i$ for each $i$. Thus, $\s=\t$. There is no `unbreakable secret!
142
143
144
\heading{The Solution}
145
These two examples classify major differences that quantification makes in the truth of a statement, as well as the change in caliber of proof needed to keep up with seemingly small variations to sentence structure.
146
147
At the very least, now if anyone tells you that they have a shirt for every day of the week, you can rightfully ask them how they manage to wash it!
148
149
150
As we have seen, Quentin can always find the secret with four questions, but not necessarily with one. However, it turns out that two questions are always sufficient. Can you prove it?
151
152
\vfill
153
\hrule
154
\vfill
155
156
\noindent\textit{\textbf{Peter E. Francis} is an undergraduate Mathematics student at Gettysburg College.}
157
158
\vfill
159
160
\noindent\textit{\textbf{B\'ela Bajnok} is a Professor of Mathematics at Gettysburg College and is the Director of the American Mathematics Competitions of the MAA.}
161
162
163
\end{multicols}
164
165
166
167
168
169
\end{document}
170
171
172
173
174
175
176
177
178
179
180
% Perhaps you are surprised with the results in the previous two sections; clearly, budding mathematicians must be careful when thinking about quantifiers.
181
182
183
184
185
186
187
188
% Suppose . Quentin asks the question
189
% $$\q=(1,2,3,4),$$
190
% and Suzy responds with
191
% $$\q\cdot\s=1\cdot s_1+2\cdot s_2 + 3 \cdot s_3+ 4 \cdot s_4=70.$$
192
% Is there any information at all that Quentin can get out of this answer?
193
194
% Yes! He knows that none of $s_1$, $s_2$, $s_3$, or $s_4$ can be bigger than $70$, so each has at most two digits. He then cleverly asks the question
195
% $$(10^6,10^4,10^2,1),$$
196
% and Suzy responds with
197
% $$10^6\cdot s_1+10^4\cdot s_2 + 10^2 \cdot s_3+ 1 \cdot s_4=2031008.$$
198
% Looking at the digits of the response, he can correctly deduce that the secret sequence is $(2,3,10,8)$.
199
200
% It is not hard to see that this two-question method will always work! Any sequence can be decoded by asking any question, followed by $(10^{3d},10^{2d},10^{d},1)$, where $d$ is the number of digits in the response to the first question.
201
202
203