Skip to content

Commit 9d5973d

Browse files
authored
Merge pull request #15 from tenick/solve/5.3_exercise41
add proof for chapter 5.3 exercise 41
2 parents 49c64c0 + fb2dd97 commit 9d5973d

File tree

4 files changed

+65
-13
lines changed

4 files changed

+65
-13
lines changed

all.pdf

-1.83 KB
Binary file not shown.

chapter5.pdf

-17 Bytes
Binary file not shown.

src/all.tex

+34-8
Original file line numberDiff line numberDiff line change
@@ -19913,21 +19913,47 @@ \subsubsection{Exercise 41}
1991319913
{\it Hint:} Let $P(n)$ be the sentence: If (1) $2n + 1$ people are all positioned so that the distance between any two people is different from the distance between any two other people, and if (2) each person sends a message to their nearest neighbor, then there is at least one person who does not receive a message from anyone. Use mathematical induction to prove that $P(n)$ is true for each integer $n \geq 1$.
1991419914

1991519915
\begin{proof}
19916-
(following the Hint) Let $P(n)$ be the sentence: ``If (1) $2n + 1$ people are all positioned so that the distance between any two people is different from the distance between any two other people, and if (2) each person sends a message to their nearest neighbor, then there is at least one person who does not receive a message from anyone.''
19916+
(following the Hint) Let $P(n)$ be the sentence: ``If (1) $2n + 1$ people are all positioned so that the distance between any two people is different from the distance between any two other people, and if (2) each person sends a message to their nearest neighbor, then there is at least one person who does not receive a message from anyone.''
1991719917

19918-
{\bf Show that $P(0)$ is true:} $P(0)$ says: ``If (1) $2 \cdot 0 + 1$ people are all positioned so that the distance between any two people is different from the distance between any two other people, and if (2) each person sends a message to their nearest neighbor, then there is at least one person who does not receive a message from anyone.''
19918+
{\bf Show that $P(0)$ is true:} $P(0)$ says: ``If (1) $2 \cdot 0 + 1$ people are all positioned so that the distance between any two people is different from the distance between any two other people, and if (2) each person sends a message to their nearest neighbor, then there is at least one person who does not receive a message from anyone.''
1991919919

19920-
Now the group has only $2 \cdot 0 + 1 = 1$ person and this person does not receive a message from anyone. So $P(0)$ is true.
19920+
Now the group has only $2 \cdot 0 + 1 = 1$ person and this person does not receive a message from anyone. So $P(0)$ is true.
1992119921

19922-
{\bf Show that for every integer $k \geq 0$ if $P(k)$ is true then $P(k+1)$ is true:}
19922+
{\bf Show that for every integer $k \geq 0$ if $P(k)$ is true then $P(k+1)$ is true:}
1992319923

19924-
Suppose $k\geq 0$ is an integer such that $P(k)$ is true: if (1) $2k + 1$ people are all positioned so that the distance between any two people is different from the distance between any two other people, and if (2) each person sends a message to their nearest neighbor, then there is at least one person who does not receive a message from anyone. {\it [We want to show $P(k+1)$ is true.]}
19924+
To prove that $P(k+1)$, let us first consider the pair in the group of $2k+3$ people with the minimum distance.
1992519925

19926-
To prove $P(k+1)$, suppose (1) $2(k+1) + 1$ people are all positioned so that the distance between any two people is different from the distance between any two other people, and (2) each person sends a message to their nearest neighbor.
19926+
Let's call this pair Group A, and the other $2k+1$ people Group B.
1992719927

19928-
{\it [Then we want to show there is at least one person who does not receive a message from anyone.]}
19928+
We know that the pair in Group A will send a message only to each other, because the pair's distance is the minimum among all other possible pairs in both Group A and B.
1992919929

19930-
{\it [how to continue ??? Remove two people, use inductive hypothesis?]}
19930+
We also know that it's possible that either Group A doesn't receive a message from Group B, or Group A receives at least $1$ and at most $2k+1$ messages from Group B.
19931+
19932+
Let us consider each cases.
19933+
19934+
{\bf Case 1: Group A doesn't receive a message from Group B}
19935+
19936+
Notice that Group B has $2k+1$ people in it, have unique distances between any two people in it, and every people in it sends a message to their nearest neighbor in the same group.
19937+
19938+
So, by $P(k)$, we know that Group B has at least one person who doesn't receive a message.
19939+
19940+
Therefore, in the entire group of $2k+3$ people, at least one person does not receive a message.
19941+
19942+
{\bf Case 2: Group A receives at least $1$ and at most $2k+1$ message from Group B }
19943+
19944+
Let $m$ be the number of messages Group A received from Group B.
19945+
19946+
If $m$ people in Group B send messages to Group A, then only $2k+1-m$ messages remain for people within Group B.
19947+
19948+
Since $1 \leq m \leq 2k+1$, it follows that $2k+1-m < 2k+1$
19949+
19950+
Thus, not all $2k+1$ people in Group B can receive messages. At least one person in Group B does not receive a message.
19951+
19952+
Therefore, in the entire group of $2k+3$ people, at least one person does not receive a message.
19953+
19954+
In both cases, at least one person in the group of $2k+3$ people does not receive a message.
19955+
19956+
Hence, $P(k+1)$ is true.
1993119957
\end{proof}
1993219958

1993319959
\subsubsection{Exercise 42}

src/chapter5.tex

+31-5
Original file line numberDiff line numberDiff line change
@@ -3440,15 +3440,41 @@ \subsection{Exercise 41}
34403440
34413441
Now the group has only $2 \cdot 0 + 1 = 1$ person and this person does not receive a message from anyone. So $P(0)$ is true.
34423442
3443-
{\bf Show that for every integer $k \geq 0$ if $P(k)$ is true then $P(k+1)$ is true:}
3443+
{\bf Show that for every integer $k \geq 0$ if $P(k)$ is true then $P(k+1)$ is true:}
34443444
3445-
Suppose $k\geq 0$ is an integer such that $P(k)$ is true: if (1) $2k + 1$ people are all positioned so that the distance between any two people is different from the distance between any two other people, and if (2) each person sends a message to their nearest neighbor, then there is at least one person who does not receive a message from anyone. {\it [We want to show $P(k+1)$ is true.]}
3445+
To prove that $P(k+1)$, let us first consider the pair in the group of $2k+3$ people with the minimum distance.
34463446
3447-
To prove $P(k+1)$, suppose (1) $2(k+1) + 1$ people are all positioned so that the distance between any two people is different from the distance between any two other people, and (2) each person sends a message to their nearest neighbor.
3447+
Let's call this pair Group A, and the other $2k+1$ people Group B.
34483448
3449-
{\it [Then we want to show there is at least one person who does not receive a message from anyone.]}
3449+
We know that the pair in Group A will send a message only to each other, because the pair's distance is the minimum among all other possible pairs in both Group A and B.
34503450
3451-
{\it [how to continue ??? Remove two people, use inductive hypothesis?]}
3451+
We also know that it's possible that either Group A doesn't receive a message from Group B, or Group A receives at least $1$ and at most $2k+1$ messages from Group B.
3452+
3453+
Let us consider each cases.
3454+
3455+
{\bf Case 1: Group A doesn't receive a message from Group B}
3456+
3457+
Notice that Group B has $2k+1$ people in it, have unique distances between any two people in it, and every people in it sends a message to their nearest neighbor in the same group.
3458+
3459+
So, by $P(k)$, we know that Group B has at least one person who doesn't receive a message.
3460+
3461+
Therefore, in the entire group of $2k+3$ people, at least one person does not receive a message.
3462+
3463+
{\bf Case 2: Group A receives at least $1$ and at most $2k+1$ message from Group B }
3464+
3465+
Let $m$ be the number of messages Group A received from Group B.
3466+
3467+
If $m$ people in Group B send messages to Group A, then only $2k+1-m$ messages remain for people within Group B.
3468+
3469+
Since $1 \leq m \leq 2k+1$, it follows that $2k+1-m < 2k+1$
3470+
3471+
Thus, not all $2k+1$ people in Group B can receive messages. At least one person in Group B does not receive a message.
3472+
3473+
Therefore, in the entire group of $2k+3$ people, at least one person does not receive a message.
3474+
3475+
In both cases, at least one person in the group of $2k+3$ people does not receive a message.
3476+
3477+
Hence, $P(k+1)$ is true.
34523478
\end{proof}
34533479
34543480
\subsection{Exercise 42}

0 commit comments

Comments
 (0)