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[10pt, a4paper, twocolumn]{article}
2
3
\input{structure.tex} % Specifies the document structure and loads requires packages
4
5
6
\usepackage{draftwatermark}
7
\usepackage{tcolorbox}
8
9
\usepackage{todonotes}
10
11
12
\usepackage{enumerate}
13
14
%----------------------------------------------------------------------------------------
15
% ARTICLE INFORMATION
16
%----------------------------------------------------------------------------------------
17
\title{Secrets and Quantifiers} % The article title
18
19
20
\author{
21
\authorstyle{B\'ela Bajnok and Peter E. Francis} % Authors
22
\newline\newline % Space before institutions
23
\institution{Gettysburg College}
24
}
25
% \textsuperscript{1,2,3}
26
27
% % Example of a one line author/institution relationship
28
% \author{\newauthor{John Marston} \newinstitution{Universidad Nacional Autónoma de México, Mexico City, Mexico}}
29
30
\date{} % Add a date here if you would like one to appear underneath the title block, use \today for the current date, leave empty for no date
31
32
33
34
35
\renewcommand\thesubsubsection{\arabic{subsubsection}}
36
37
38
39
40
41
%----------------------------------------------------------------------------------------
42
43
\begin{document}
44
45
46
\maketitle % Print the title
47
48
\thispagestyle{firstpage} % Apply the page style for the first page (no headers and footers)
49
50
%----------------------------------------------------------------------------------------
51
% ARTICLE CONTENTS
52
%----------------------------------------------------------------------------------------
53
54
55
\newcommand{\s}{\mathbf{s}}
56
\newcommand{\q}{\mathbf{q}}
57
\renewcommand{\t}{\mathbf{t}}
58
59
60
61
62
\lettrine{A}{merican} writer, teacher, and comedian, Sam Levenson, gives us the following warning:
63
64
\vspace{.15in}
65
66
\begin{center}
67
\begin{Large}
68
Somewhere on this globe, every ten seconds, there is a woman giving birth to a child. She must be found and stopped.
69
\end{Large}
70
\end{center}
71
72
\vspace{.15in}
73
74
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.
75
76
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? Moreover, how do we teach new mathematical thinkers the importance of the delicate care that quantifiers need?
77
78
Let's start with the basics.
79
80
\section*{Some Notations}
81
82
When discussing quantifiers at length it is useful to have a simple notation to save time and brain power. Let's review some standard logical symbols.
83
84
We will write $P(x)$ to denote a statement whose truth depends on $x$ in a set $A$. For example, if $P(x)$ denotes the predicate
85
$$x<57\text{ or } x \text{ is odd},$$
86
for a positive integer $x$, then $P(4)$, $P(57)$, and $P(101)$ are all true, while $P(100)$ and $P(134)$ are false.
87
88
Here are the shorthand symbols we most often use:
89
90
\begin{itemize}
91
\item $\forall$ is the universal quantifier and can be pronounced ``for all.''
92
\item $\exists$ is the existential quantifier and can be pronounced ``there exists.''
93
\end{itemize}
94
95
96
97
The sentence $$\forall x\in A, P(x)$$ means that \textit{for all $x$ in the set $A$, $P(x)$ is true}.
98
The sentence $$\exists x\in A, P(x)$$ means that \textit{there is some (at least one) $x$ in the set $A$ for which $P(x)$ is true}.
99
100
The order and type of nested quantifiers can change the meaning of the statement drastically. Returning to Sam Levenson's joke, we are now comfortable distinguishing between the statements
101
$$\forall\text{ time}, \exists\text{ place},\exists\text{ woman giving birth}$$
102
and
103
$$\exists\text{ place}, \exists\text{ woman},\forall\text{ time giving birth}.$$
104
105
106
\section*{Quentin and Suzy}
107
108
Imagine Suzy has a secret sequence of four positive integers that Quentin would like to know. He is allowed to ask questions in the form of sequences of positive integers, to which her response will be the scalar product (the sum of the coordinate-wise product) of the two sequences, denoted by $(\ \cdot\ )$.
109
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
110
$$\q\cdot\s = q_1s_1+q_2s_2 + q_3s_3+ q_4s_4.$$
111
Quentin's goal is to discover the sequence in as few questions as possible. Here is how an interaction might play out:
112
113
Suppose Suzy has a sequence $(s_1,s_2,s_3,s_4)$ in mind. Quentin asks the question
114
$$\q=(1,2,3,4),$$
115
and Suzy responds with
116
$$\q\cdot\s=1\cdot s_1+2\cdot s_2 + 3 \cdot s_3+ 4 \cdot s_4=70.$$
117
Is there any information at all that Quentin can get out of this answer?
118
119
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
120
$$(10^6,10^4,10^2,1),$$
121
and Suzy responds with
122
$$10^6\cdot s_1+10^4\cdot s_2 + 10^2 \cdot s_3+ 1 \cdot s_4=2031008.$$
123
Looking at the digits of the response, he can correctly deduce that the secret sequence is $(2,3,10,8)$.
124
125
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.
126
127
It is exciting (at least for Quentin) that with two questions, he can always discover the secret. However, you might be wondering: can Quentin do better? Is one question enough?
128
129
This possibility will take a little more work to unpack and understand. You might be able to think of some secrets and single questions that can decode them. For example, if Quentin asks the question $(1,5,10,20)$ and Suzy answers 36, the secret has to be $(1,1,1,1)$. We can see this is true because there is just one way to use \$1, \$5, \$10, and \$20 bills to pay \$36 so each currency is used at least once. The situation is the same if the answer is 37, 38, 39, or 40; however, the answer 41 may come from the secret $(6,1,1,1)$ or $(1,2,1,1)$. So, we see that we may have a ``happy accident,'' but to go any further, we will need to get a little more technical about what we mean by `decoding the secret with one question.
130
131
132
\section*{Decoding Sequences}
133
134
Let $D(\q,\s)$ denote the predicate that the question $\q$ decodes the secret $\s$. In order to decode the secret with one question, you must be sure that no other secret sequence will return the same response for your 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,$$
135
or equivalently, for all $\t$ different from $\s$,
136
$$\q\cdot\t\neq\q\cdot\s.$$
137
In quantifier notation,
138
$$\forall\t, \t\neq\s \implies \q\cdot\t\neq\q\cdot\s.$$
139
140
141
% For example, our earlier sentence, \textit{there exist some secrets for which there exists a single question that can reveal them}, can be written
142
% $$\exists\s,\exists\q,D(\q,\s).$$
143
% So now we can talk about a one-question method more carefully: is there a question sequence that can decode any secret sequence? In quantifier notation, is
144
% $$\exists\q,\forall\s,D(\q,\s)$$
145
% true?
146
147
148
We can then use quantifiers to express the fact that, {\em sometimes}, a single question reveals the secret as
149
150
$$ \exists \s, \exists \q, D(q,s). $$
151
152
But is a single question {\em always} enough? As we next discuss, the answer depends largely on how we interpret this question. Indeed, depending on what we mean, there are two ways to make our question precise:
153
154
\begin{itemize}
155
\item[$($1$)$] $\exists\q,\forall\s,D(\q,\s)$
156
\item[$($2$)$] $\forall\s,\exists\q,D(\q,\s)$
157
\end{itemize}
158
Below we will decipher what these two questions mean and determine if they are true or not. As we will see, just by changing the order of our quantifiers, we get two rather different outcomes.
159
160
161
% \section*{Mixing Up Quantifiers}
162
163
% Now you might see why our previous question is interesting: it shows the importance of quantifiers when making a statement. Just by changing the order and type of the quantifiers, we can make quite a few similar sounding phrases that are really quite different.
164
165
% So, how can we interpret the question? Here are two possible ways that sound deceptively similar when read aloud:
166
167
% \begin{itemize}
168
% \item[$($1$)$] $\exists\q,\forall\s,D(\q,\s)$
169
% \item[$($2$)$] $\forall\s,\exists\q,D(\q,\s)$
170
% \end{itemize}
171
172
% Below, we will explore the truth of these two statements as well as attempt to distinguish them.
173
174
175
176
\section*{The Master Key}
177
The first quantifier chain
178
$$\exists\q,\forall\s,D(\q,\s)$$
179
can be read ``There is some fixed question that can decode any secret.'' If this were true, it would be in Quentin's favor.
180
181
We can understand this situation if we think of question sequences as keys and secret sequences as locks; $D(\q,\s)$ can be interpreted as key $\q$ opening lock $\s$. The metaphor continues: the statement above is interpreted as ``there is some key that can open any lock.'' Is this true?
182
183
No it is not. Let's prove it!
184
We must show that no matter what question we ask, there are two secret sequences that would return the same response:
185
$$\forall\q, \exists\s, \exists \t, \t\neq\s,\q\cdot\s=\q\cdot\t.$$
186
187
\begin{tcolorbox}
188
\begin{proof} Given any $\q = (q_1,q_2,q_3,q_4)$, let
189
$$\s=(1,1,1+q_4,1)$$
190
and
191
$$\t=(1,1,1,1+q_3).$$
192
Then
193
\begin{align*}
194
\q\cdot\s & = q_1+q_2+q_3(1+q_4)+q_4 \\
195
& = q_1 + q_2 + q_3 + q_4 +q_3q_4 \\
196
& = q_1+q_2+q_3+q_4(1+q_3) \\
197
& = \q\cdot\t.
198
\end{align*}
199
\end{proof}
200
\end{tcolorbox}
201
202
So, any given question $(q_1,q_2,q_3,q_4)$ will not be able to distinguish between the secret sequences $ (1, 1, 1+q_4, 1) $ and $(1,1,1,1+q_3)$. In other words, if we thought we had a `master key' (a key that could open any lock), we would be wrong because there are always at least two locks that it cannot open.
203
204
Thus, statement (1) actually falls in favor of Suzy.
205
206
207
\section*{The Unbreakable Secret}
208
The second quantifier chain
209
$$\forall\s,\exists\q,D(\q,\s)$$
210
can be read ``For any secret, we can pick a question to decode it,'' meaning that there is no secret safe from being decoded in one question.
211
212
Notice how at first glance, this sentence sounds very 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, and thus falls in favor of Quentin.
213
214
% As we will soon prove, there is no `unbreakable secret'! This fact is not trivial to prove and strays furthest from the original game in concept. For that reason, it is important to ground ourselves in the definitions that we have agreed upon.
215
216
\begin{tcolorbox}
217
\begin{proof}
218
Let $\s=(s_1,s_2,s_3,s_4)$ be an arbitrary sequence and pick pairwise relatively prime positive integers $a_1$, $a_2$, $a_3$, and $a_4$, each greater than $\max\{s_1,s_2,s_3,s_4\}$. Let
219
\begin{align*}
220
q_1 & =a_2a_3a_4, \\
221
q_2 & =a_1a_3a_4, \\
222
q_3 & =a_1a_2a_4, \\
223
q_4 & =a_1a_2a_3,
224
\end{align*}
225
and $\q = (q_1,q_2,q_3,q_4)$. We will show that $\q$ decodes $\s$. Then assume that there is some $\t=(t_1,t_2,t_3,t_4)$ for which
226
$$\q\cdot\s=\q\cdot\t,$$
227
or, equivalently,
228
$$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).$$
229
Since $a_1$ divides the last three terms and 0, $a_1$ must also divide $q_1(s_1-t_1)$; $a_1$ is relatively prime to $q_1$, so $a_1$ divides $s_1-t_1$. Because $s_1$ and $t_1$ are positive integers, $$s_1-t_1 < s_1.$$ Since by our choice that $a_1>s_1$, in order to have that $a_1|s_1-t_1$, it must be that $t_1\geq s_1$. Similarly, $t_2\geq s_2$, $t_3\geq s_3$, and $t_4\geq s_4$. Then in the above equation, four nonnegative terms sum to zero, so each is equal to zero, but that means $\s=\t$.
230
\end{proof}
231
\end{tcolorbox}
232
233
As we just proved, there is no `unbreakable secret!
234
235
236
\section*{Conclusion}
237
We see that Quentin and Suzy would, at least, have difficulty agreeing on an interpretation, for Quentin would prefer (2) and Suzy, (1).
238
239
Perhaps you are surprised with the results in the previous section; clearly, this is a difficult topic to teach budding mathematicians. We hope that we have classified the large difference that quantification makes in the truth of a statement, as well as the change in caliber of proof needed to keep up with the variation. 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!
240
241
\vfill
242
\vfill
243
244
\noindent\textbf{B\'ela Bajnok}\\
245
B\'ela Bajnok is a Professor of Mathematics at Gettysburg College and is the Director of the American Mathematics Competitions of the MAA.
246
\vfill
247
248
\noindent\textbf{Peter E. Francis}\\
249
Peter is an undergraduate Mathematics student at Gettysburg College.
250
251
252
253
254
255
256
257
\end{document}
258
259