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
8
9
10
%----------------------------------------------------------------------------------------
11
% ARTICLE INFORMATION
12
%----------------------------------------------------------------------------------------
13
\title{Decoding Secret Sequences and Mixing Up Quantifiers} % The article title
14
15
16
\author{
17
\authorstyle{B\'ela Bajnok and Peter Francis} % Authors
18
\newline\newline % Space before institutions
19
\institution{Gettysburg College}
20
}
21
% \textsuperscript{1,2,3}
22
23
% % Example of a one line author/institution relationship
24
% \author{\newauthor{John Marston} \newinstitution{Universidad Nacional Autónoma de México, Mexico City, Mexico}}
25
26
\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
27
28
%----------------------------------------------------------------------------------------
29
30
\begin{document}
31
32
33
\maketitle % Print the title
34
35
\thispagestyle{firstpage} % Apply the page style for the first page (no headers and footers)
36
37
%----------------------------------------------------------------------------------------
38
% ARTICLE CONTENTS
39
%----------------------------------------------------------------------------------------
40
41
42
\newcommand{\s}{\mathbf{s}}
43
\newcommand{\q}{\mathbf{q}}
44
\renewcommand{\t}{\mathbf{t}}
45
46
47
48
49
\lettrine{A}merican writer, teacher, and comedian, Sam Levenson, gives us the following warning:
50
51
\vspace{.15in}
52
53
\begin{center}
54
\begin{Large}
55
Somewhere on this globe, every ten seconds, there is a woman giving birth to a child. She must be found and stopped.
56
\end{Large}
57
\end{center}
58
59
\vspace{.15in}
60
61
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.
62
63
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? The answer is a game of course!
64
65
$\forall$ people, $\exists$ an understanding and $\nexists$ a want for review, skip the next section. If you're confused by that last sentence, that's OK, just keep on reading!
66
67
\section*{The Notation of Quantifiers}
68
69
When discussing quantifiers at length, it is useful to have a simple notation to save time and brain power, so before we get to our game, let's review some standard logical symbols.
70
71
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
72
$$x<57\text{ or } x \text{ is odd},$$
73
for a positive integer $x$, then $P(4)$, $P(57)$, and $P(101)$ are all true, while $P(100)$ and $P(134)$ are false.
74
75
Here are the shorthand symbols we most often use:
76
77
\begin{itemize}
78
\item $\forall$ is the universal quantifier and can be pronounced ``for all''.
79
\item $\exists$ is the existential quantifier and can be pronounced ``there exists''.
80
\item $\nexists$ is the non-existential quantifier and can be pronounced ``there does not exist''.
81
\end{itemize}
82
83
The sentence $$\forall x\in A, P(x)$$ means that \textit{for all $x$ in the set $A$, $P(x)$ is true}.
84
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}.
85
The sentence $$\nexists x\in A, P(x)$$ means that there is no $x$ in the set $A$ for which $P(x)$ is true. Equivalently, we can write
86
$$\forall x\in A, \lnot P(x),$$
87
meaning that \textit{for all $x\in A$, $P(x)$ is false}.
88
89
% There are other symbols used for quantification, but these are the only ones we will be using.
90
91
The order 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
92
$$\forall\text{ time}, \exists\text{ place},\exists\text{ woman giving birth}$$
93
and
94
$$\exists\text{ place}, \exists\text{ woman},\forall\text{ time giving birth}.$$
95
96
\section*{The Game}
97
98
Here is the game. Imagine I have a secret sequence of four positive integers that you would like to know. You are allowed to ask questions also in the form of sequences of positive integers, to which my response will be the sum of the coordinate-wise product of the two sequences, denoted by $(\ \cdot\ )$.
99
For example, if the secret sequence is $\s=(1,2,3,4)$, the response to the question $\q=(2,3,10,8)$ is
100
$$\q\cdot\s = 2(3)+3(2)+10(3)+8(4)=74.$$
101
The goal of the game is to discover my sequence in as few questions as possible. Let's play!
102
103
I have a sequence $(s_1,s_2,s_3,s_4)$ in mind. You first ask the question
104
$$(1,1,1,1),$$
105
to which my response is
106
$$s_1+s_2 + s_3+ s_4=42.$$
107
Now you know that every term in the sequence is less than 42, so has at most two digits. You cleverly ask the question
108
$$(10^6,10^4,10^2,1),$$
109
and I respond with
110
$$10^6\cdot s_1+10^4\cdot s_2 + 10^2 \cdot s_3+ 1 \cdot s_4=20031405.$$
111
Looking at the digits of my response, you can deduce that my secret sequence was $(20,3,14,5)$.
112
113
It is not hard to see that this two-question method will always work! Any sequence can be discovered by asking the questions $(1,1,1,1)$ and $(10^{3d},10^{2d},10^{d},1)$, where $d$ is the number of digits in the response to the first question.
114
115
Well I suppose that it is not that exciting of a game after all. However, you might be wondering if there is a more efficient method, a winning strategy with only one question.
116
117
Clearly, if the first question $(1,1,1,1)$ were to have a response of $4$, then we know that the secret sequence was also $(1,1,1,1)$, so we know that winning the game with one question is possible. However, to go any further, we will need to get a little more technical about what we mean by `winning the game.'
118
119
120
\section*{Decoding Sequences}
121
122
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.
123
124
That is, $D(\q,\s)$ is true exactly when there is no sequence $\t\neq\s$ for which $$\q\cdot\s=\q\cdot\t.$$
125
In quantifier notation,
126
$$D(\s,\t)\iff\nexists\t\neq\s, \q\cdot\t=\q\cdot\s,$$
127
or equivalently,
128
$$D(\s,\t)\iff\forall\t\neq\s, \q\cdot\t\neq\q\cdot\s.$$
129
130
So now we can ask our question more carefully. Is there a question sequence that can decode any secret sequence: is
131
$$\exists\q,\forall\s,D(\q,\s)$$
132
true?
133
134
Now you might see why this game is so interesting. We can ask quite a few similar sounding questions that are really quite different, just by changing the order and type of the quantifiers.
135
136
\section*{Mixing Up Quantifiers}
137
Here is a list of different modifications we can make to the quantifier chain above. (5 is the same as above.)
138
139
\begin{enumerate}
140
%1
141
\item ``There is some question that can decode some secret.''
142
$$\exists\q,\exists\s,D(\q,\s).$$
143
144
%4 --> 2
145
\item ``Every question decodes every secret.''
146
$$\forall\q,\forall\s,D(\q,\s).$$
147
148
149
%3
150
\item ``It is possible to ask any question and sometimes decode the secret.''
151
$$\forall\q,\exists\s,D(\q,\s).$$
152
153
154
%5 --> 4
155
\item ``There is some secret that can be decoded by any question.''
156
$$\exists\s,\forall\q,D(\q,\s).$$
157
158
159
160
%2 --> 5
161
\item ``There is some fixed question that can decode any secret.''
162
$$\exists\q,\forall\s,D(\q,\s).$$
163
164
165
166
%6
167
\item ``For any secret, we can pick a question to decode it.''
168
$$\forall\s,\exists\q,D(\q,\s).$$
169
170
171
\end{enumerate}
172
173
Before moving on, attempt to determine the truth of each of these claims. Do not get discouraged; while some of these require simple counterexamples or short proofs, others are a bit more involved to prove. I have arranged them from (what I believe to be) simplest to prove to most challenging.
174
175
Remember that a neat artifact of this notation is that in order to negate a statement quantified with only $\exists$s and $\forall$s, we can just switch the $\forall$s and $\exists$s and negate the last predicate. For example, the negation of the sentence
176
$$\exists a\in A, \forall b\in B, P(a,b)$$
177
is the sentence
178
$$\forall a\in A, \exists b\in B, \lnot P(a,b).$$
179
180
Each of these six statements is either proven or disproven below.
181
182
183
184
\newpage
185
\begin{enumerate}
186
\item $\exists\q,\exists\s,D(\q,\s)$ is true.
187
\begin{proof} The question $\mathbf{q}=(1,1,1,1)$ decodes the secret sequence $\mathbf{s}=(1,1,1,1)$.
188
\end{proof}
189
190
\item $\forall\q,\forall\s,D(\q,\s)$ is false.
191
\begin{proof} We must show that
192
$$\exists\q, \exists\s, \exists \t\neq\s,\q\cdot\s=\q\cdot\t.$$
193
Take $\q=(1,1,1,1)$, $\s=(2,1,1,1)$, and $\t=(1,2,1,1)$. Then
194
$$\mathbf{q}\cdot\mathbf{s} = 2+1+1+1=\mathbf{q}\cdot \mathbf{t}.$$
195
\end{proof}
196
197
198
199
\item $\forall\q,\exists\s,D(\q,\s)$ is true.
200
\begin{proof} Given any question $\q=(q_1,q_2,q_3,q_4)$, let $\s=(1,1,1,1),$ and suppose indirectly that there is some $\t=(t_1,t_2,t_3,t_4)\neq\s$ for which
201
\begin{align*}
202
q_1+q_2+q_3+q_4 & = \q\cdot\s \\
203
& =\q\cdot\t \\
204
& =q_1t_1+q_2t_2+q_3t_3+q_4t_4.
205
\end{align*}
206
If any $t_i>1$, then $\q\cdot\t>\q\cdot\s$, so $$t_1=t_2=t_3=t_4=1,$$
207
contradicting that $\s\neq\t$.
208
\end{proof}
209
210
211
212
\item $\exists\s,\forall\q,D(\q,\s)$ is true.
213
214
\begin{proof} Let $\s=(1,1,1,1),$ and similarly to (3), for all $\q=(q_1,q_2,q_3,q_4)$, there is no $\t\neq\s$ for which
215
\begin{align*}
216
q_1+q_2+q_3+q_4 & = \q\cdot\s \\
217
& =\q\cdot\t \\
218
& =q_1t_1+q_2t_2+q_3t_3+q_4t_4.
219
\end{align*}
220
\end{proof}
221
222
223
\item $\exists\q,\forall\s,D(\q,\s)$ is false.
224
\begin{proof} We must show that
225
$$\forall\q, \exists\s, \exists \t\neq\s,\q\cdot\s=\q\cdot\t.$$
226
Well, given any $\q = (q_1,q_2,q_3,q_4)$, let
227
$$\s=(1+q_2,1,1,1)$$ and $$\t=(1,1+q_1,1,1).$$ Then
228
\begin{align*}
229
\q\cdot\s & = q_1(1+q_2)+q_2+q_3+q_4 \\
230
& = q_1+q_2(1+q_1)+q_3+q_4 \\
231
& = \q\cdot\t.
232
\end{align*}
233
\end{proof}
234
235
\item $\forall\s,\exists\q,D(\q,\s)$ is true.
236
237
\begin{proof}
238
Let $\s=(s_1,s_2,s_3,s_4)$. 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
239
\begin{align*}
240
q_1 & =a_2a_3a_4, \\
241
q_2 & =a_1a_3a_4, \\
242
q_3 & =a_1a_2a_4, \\
243
q_4 & =a_1a_2a_3,
244
\end{align*}
245
and $\q = (q_1,q_2,q_3,q_4)$. Then assume indirectly that there is some $\t=(t_1,t_2,t_3,t_4)\neq\s$ for which
246
$$\q\cdot\s=\q\cdot\t,$$
247
or equivalently,
248
$$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).$$
249
Since $a_1$ divides the last three terms and 0, $a_1$ must also divide $q_1(s_1-t_1)$; $a_1$ does not divide $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 $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 since $\s\neq\t$ we know that one of these inequalities is strict. Thus,
250
$$q_1(s_1-t_1)+q_2(s_2-t_2)+q_3(s_3-t_3)+q_4(s_4-t_4)<0,$$
251
a contradiction.
252
\end{proof}
253
254
\end{enumerate}
255
256
\section*{Conclusion}
257
Perhaps you are surprised with the results in the previous section (6 was most surprising to me), but hopefully you can see the large differences that quantification make in the truth of a statement, as well as the change in caliber of proof needed to keep up with the variation. Clearly, this is a difficult topic to teach budding mathematicians.
258
259
Now, are we sure we aren't missing any combinations of quantifier chains in our lineup?
260
261
262
263
264
265
266
267
%----------------------------------------------------------------------------------------
268
% BIBLIOGRAPHY
269
%----------------------------------------------------------------------------------------
270
271
% \printbibliography[title={Bibliography}] % Print the bibliography, section title in curly brackets
272
273
%----------------------------------------------------------------------------------------
274
275
\end{document}
276
277