Difference between revisions of "Pigeonhole Principle/Solutions"

(M3)
(M3)
Line 24: Line 24:
 
Let <math>\{a\}</math> denote the fractional part of <math>a</math>.
 
Let <math>\{a\}</math> denote the fractional part of <math>a</math>.
 
Now, we sort the pigeons <math>\{x\}, \{2x\}, \hdots, \{nx\}</math> into the holes <math>[0, 1/n}), [1/n, 2/n), \hdots, [(n - 1)/n, 1).</math>
 
Now, we sort the pigeons <math>\{x\}, \{2x\}, \hdots, \{nx\}</math> into the holes <math>[0, 1/n}), [1/n, 2/n), \hdots, [(n - 1)/n, 1).</math>
If any pigeon falls into the first or last hole, we are done.
+
If any pigeon falls into the first hole, we are done.
Therefore assume otherwise; then some two pigeons <math>\{ix\}, \{jx\} \in [k/n, (k + 1)/n).</math>
+
Therefore assume otherwise; then some two pigeons <math>\{ix\}, \{jx\} \in [k/n, (k + 1)/n)</math> for <math>1 \le k < n</math>.
 
Assume, without loss of generality, that <math>j - i > 0</math>.
 
Assume, without loss of generality, that <math>j - i > 0</math>.
 
Then we have that <math>\{(j - i)x\}</math> must fall into the first or last hole, contradiction.
 
Then we have that <math>\{(j - i)x\}</math> must fall into the first or last hole, contradiction.

Revision as of 12:09, 1 June 2011

These are the solutions to the problems related to the Pigeonhole Principle.

Introductory

I1

The Martian must pull 5 socks out of the drawer to guarantee he has a pair. In this case the pigeons are the socks he pulls out and the holes are the colors. Thus, if he pulls out 5 socks, the Pigeonhole Principle states that some two of them have the same color. Also, note that it is possible to pull out 4 socks without obtaining a pair.

I2

Consider the residues of the elements of $S$, modulo $n$. By the Pigeonhole Principle, there exist distinct $a, b \in S$ such that $a \equiv b \pmod n$, as desired.

Intermediate

M1

The maximum number of friends one person in the group can have is 4, and the minimum is 0. If all of the members have at least one friend, then each individual can have somewhere between $1$ to $4$ friends; as there are $5$ individuals, by pigeonhole there must be at least two with the same number of friends. If one individual has no friends, then we can repeat the above argument for the remaining 4 individuals, and if more than one individual has no friends then we are done.

M2

For the difference to be a multiple of 5, the two integers must have the same remainder when divided by 5. Since there are 5 possible remainders (0-4), by the pigeonhole principle, at least two of the integers must share the same remainder. Thus, the answer is 1 (E).

M3

Multiplying both sides by $q$, we have \[|xq - p| < \frac{1}{n}.\] Now, we wish to find a $q$ between 1 and $n$ such that $xq$ is within $\frac{1}{n}$ of some integer. Let $\{a\}$ denote the fractional part of $a$. Now, we sort the pigeons $\{x\}, \{2x\}, \hdots, \{nx\}$ into the holes $[0, 1/n}), [1/n, 2/n), \hdots, [(n - 1)/n, 1).$ (Error compiling LaTeX. Unknown error_msg) If any pigeon falls into the first hole, we are done. Therefore assume otherwise; then some two pigeons $\{ix\}, \{jx\} \in [k/n, (k + 1)/n)$ for $1 \le k < n$. Assume, without loss of generality, that $j - i > 0$. Then we have that $\{(j - i)x\}$ must fall into the first or last hole, contradiction.

Olympiad

O1

By the Triangle Inequality Theorem, a side of a triangle can be less than the sum of the other two sides. Assume that the first two segments are as short as possible (1 inch). For a triangle to not exist, the next term must be 2, then 3, 5, 8, and 13 (this is the Fibonacci sequence). The 7th term is 13, which is greater than 10 inches.

O2

For the difference to be a multiple of 7, the integers must have equal modulo 7 residues. To avoid having 15 with the same residue, 14 numbers with different modulo 7 residues can be picked ($14 * 7 = 98$). Thus, two numbers are left over and have to share a modulo 7 residue with the other numbers under the pigeonhole principle.

O3

See this article.

O4

Inscribe a regular $9$-gon, it will divide the circle into $9$ equal arcs. The length of the side of this $9$-gon is $\simeq 1.71$, and this is an upper bound on the distance of any two points on the arc. From the pigeonhole principle one of the arcs contains at least two of the points.

O5

The pigeonhole principle is used in these solutions (PDF).

O6

This problem needs a solution. If you have a solution for it, please help us out by adding it.