You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Epp.tex
+60-21Lines changed: 60 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -2236,7 +2236,8 @@ \subsubsection{Exercise 12}
2236
2236
\hline T & F & F & F \\
2237
2237
\hline F & T & T & T \\
2238
2238
\hline F & F & T & F \\
2239
-
\hline \end{array}
2239
+
\hline
2240
+
\end{array}
2240
2241
$$
2241
2242
\end{proof}
2242
2243
@@ -2417,7 +2418,8 @@ \subsubsection{Exercise 20}
2417
2418
\hline
2418
2419
F & F & F & F \\
2419
2420
\hline
2420
-
\end{array} $$
2421
+
\end{array}
2422
+
$$
2421
2423
2422
2424
$p \wedge \false$ and $p \vee \false$ are not logically equivalent.
2423
2425
\end{proof}
@@ -2863,7 +2865,8 @@ \subsubsection{Exercise 45}
2863
2865
2864
2866
(b) It is not the case that both Bob and Ann are both math and computer science majors, but it is the case that Ann is a math major and Bob is both a math and computer science major.
2865
2867
2866
-
\begin{proof} Define
2868
+
\begin{proof}
2869
+
Define
2867
2870
\begin{enumerate}
2868
2871
\item $p$: Bob is a math major.
2869
2872
\item $q$: Bob is a CS major.
@@ -2990,7 +2993,8 @@ \subsubsection{Exercise 46}
2990
2993
\subsubsection{Exercise 47}
2991
2994
In logic and in standard English, a double negative is equivalent to a positive.There is one fairly common English usage in which a “double positive” is equivalent to a negative. What is it? Can you think of others?
2992
2995
2993
-
\begin{proof} There is a famous story about a philosopher who once gave a talk in which he observed that whereas in English and many other languages a double negative is equivalent to a positive, there is no language in which a double positive is equivalent to a negative. To this, another philosopher, Sidney
2996
+
\begin{proof}
2997
+
There is a famous story about a philosopher who once gave a talk in which he observed that whereas in English and many other languages a double negative is equivalent to a positive, there is no language in which a double positive is equivalent to a negative. To this, another philosopher, Sidney
{\it [Strictly speaking, sarcasm functions like negation. When spoken sarcastically, the words “Yeah, yeah” are not a true double positive; they just mean “no.”]}
if one starts from person \#1 and goes repeatedly around the circle successively eliminating every second person, eventually only person \#$(2m + 1)$ will remain.
21280
21297
21281
21298
\begin{proof}
21282
-
{\it ???}
21299
+
We observe that after eliminating $m$ people (every second person,
21300
+
starting from \#1), we will have removed the people numbered
21301
+
$\#2, \#4, \ldots,\#(2m)$ leaving person \#$(2m+1)$ next in line.
21302
+
21303
+
We also know that:
21304
+
\begin{align*}
21305
+
2^n+m &< 2^{n+1} \\
21306
+
m &< 2^n \\
21307
+
m+1 &\le 2^n \\
21308
+
2m+1 &\le 2^n+m
21309
+
\end{align*}
21310
+
21311
+
In other words, since $2m+1 \in [1,r]$, the elimination never loops
21312
+
through the circle more than once; it terminates within the first
21313
+
traversal. This means we don’t need to worry about adjusting for shifts
21314
+
caused by previously eliminated people in a second pass.
21315
+
21316
+
After eliminating $m$ people, there are $2^n$ people remaining.
21317
+
By part (b), when $2^n$ people remain in the circle and we start from
21318
+
the current person — in this case, person \#$(2m + 1)$ — the last
21319
+
remaining person will be that same person.
21320
+
21321
+
Therefore, the last remaining person is \#$(2m + 1)$, as required.
0 commit comments