|
PDF
2 Counting Pairs
Sometimes a problem asks us about the properties of a pair of items. In such situations, it helps to set up a matrix such that each entry represents a pair rather than a single item. Of course, the same technique can be used to count a triple, a quadruple, and so on, as we will see in Exercises.
Example 2. (IMC 2002) Two hundred students participated in a mathematical contest. They had 6 problems to solve. It is known that each problem was correctly solved by at least 120 participants. Prove that there must be two participants such that every problem was solved by at least one of these two students.
Proof. We will use proof by contradiction and assume that for any pair of the students, at most 5 problems were solved between the two. Since there are 200 students, there are $\binom{200}2=19900$ pairs of students. Let’s number the pairs from 1 to 19900 and the problems from 1 to 6. Let $A = (a_{i,j})$ be a 6×19900 matrix with its rows indexed by the problems and its columns indexed by the pairs of students. Let $a_{i, j}=1$ if both of the two students in pair $j$ did not solve problem $i$ and let $a_{i, j}=0$ otherwise. We have
\begin{matrix}&\text{Pairs}\\\text{Problems}&\left(\begin{array}{cccc}a_{1,1} & a_{1,2} & \cdots & a_{1,19900} \\ a_{2,1} & a_{2,2} & \cdots & a_{2,19900} \\ \vdots & \vdots & \ddots & \vdots \\ a_{6,1} & a_{6,2} & \cdots & a_{6,19900}\end{array}\right)\end{matrix}By our assumption, any pair of students solved at most 5 problems. Thus when we count by columns, we get at least one non-zero entry in each column. Thus the sum of all the entries of matrix $A$ is no less than 19900 .
On the other hand, we know that every problem was solved by at least 120 students. So for any problem, at most 80 students were unable to solve it. Thus when we count by rows, for any problem $i$, there are at most $\left(\begin{array}{c}80 \\ 2\end{array}\right)=3160$ pairs of students such that none of the students in the pair solved problem $i$. Thus, there are at most 3160 non-zero entries in row $i$. Therefore, the sum of all the entries of matrix $A$ is no more than $6 \cdot 3160=18960$.
Since $18960<19900$, we get a contradiction. Therefore our original assumption is false and there must be two participants such that every problem was solved by at least one of these two students.$\square$
Example 3. (Russia 1996) In the Duma there are 1600 delegates, who have formed 16,000 committees of 80 people each. Prove that one can find two committees having no fewer than four common members.
Proof. As is typical for a counting in two ways argument, we use proof by contradiction and assume that any pair of committees share at most 3 members. Let $N=16,000$. Since there are $N$ committees, there are $\left(\begin{array}{l}N \\ 2\end{array}\right)$ ways to choose a pair of committees. We number the delegates from 1 to 1600 and the pairs of committees from 1 to $\left(\begin{array}{c}N \\ 2\end{array}\right)$. Let matrix $A=\left(a_{i j}\right)$ be a 1600 by $\left(\begin{array}{l}N \\ 2\end{array}\right)$ matrix with its rows indexed by the delegates and its columns indexed by the committee pairs. Let $a_{i j}=1$ if delegate $i$ serves in both committees in pair $j$ and $a_{i j}=0$ otherwise.
Let’s first count by columns. Since each committee pair has at most 3 members, each column has at most 3 non-zero entries. Thus, $S$, the sum of all the entries in the matrix $A$, satisfies the condition$$S \leq 3 \cdot\left(\begin{array}{c}N \\ 2\end{array}\right)=\frac{3}{2} N(N-1)$$Next let's count by rows. Let $n_{i}$ be the number of committees delegate $i$ serves in. We have
$$
n_{1}+n_{2}+\cdots+n_{1600}=80 N
$$
For a given row $i$, the number of non-zero entries in that row is $\left(\begin{array}{c}n_{i} \\ 2\end{array}\right)=$ $\frac{1}{2} n_{i}\left(n_{i}-1\right)$. Thus, adding all the rows, we have
$$
S=\sum_{i=1}^{1600}\left(\begin{array}{c}
n_{i} \\
2
\end{array}\right)=\frac{1}{2}\left(\left(n_{1}^{2}+n_{2}^{2}+\cdots+n_{1600}^{2}\right)-\left(n_{1}+n_{2}+\cdots+n_{1600}\right)\right) .
$$
By the Cauchy-Schwarz inequality,
$$
n_{1}^{2}+n_{2}^{2}+\cdots+n_{1600}^{2} \geq \frac{\left(n_{1}+n_{2}+\cdots+n_{1600}\right)^{2}}{1600} .
$$
Therefore, $$ S \geq \frac{1}{2}\left(\frac{\left(n_{1}+n_{2}+\cdots+n_{1600}\right)^{2}}{1600}-\left(n_{1}+n_{2}+\cdots+n_{1600}\right)\right) $$
$$
=\frac{1}{2}\left(\frac{(80 N)^{2}}{1600}-80 N\right) \text {. }
$$
Thus,
$$
\begin{aligned}
\frac{1}{2}\left(\frac{(80 N)^{2}}{1600}-80 N\right) & \leq S \leq \frac{3}{2} N(N-1) \\
4 N-80 & \leq 3(N-1)
\end{aligned}
$$
Since $N=16,000$, the inequality above is not attainable. Therefore, our original assumption is false and one can find two committees having no fewer than four common members.$\square$
Although using a matrix to represent information is visually helpful, sometimes it is more convenient to solve a problem without using a matrix, as we will see in our next example.
Example 4. (Hong Kong 2007) In a school there are 2007 boys and 2007 girls. Each student joins no more than 100 clubs in the school. It is known that any boy and any girl join at least one club in common. Show that there is a club with at least 11 boys and 11 girls.
Proof. Again, we will use proof by contradiction and assume that any club has at most 10 boys or at most 10 girls. Let $S$ be the number of the triples $(b, g, c)$. Here a triple $(b, g, c)$ represents that boy $b$ and girl $g$ are in club $c$. By our assumption, there are only two possibly overlapping cases.
Case 1. A club has at most 10 boys. Considering any one of the 2007 girls, she is in at most 100 clubs, and each of those clubs has at most 10 boys. Thus the number of triples $(b, g, c)$ in this case is at most $2007 \cdot 100 \cdot 10=2007000$.
Case 2. A club has at most 10 girls. By a symmetric argument, the number of triples $(b, g, c)$ in this case is at most 2007000 .
Therefore, $S$, the total number of triples $(b, g, c)$ is at most $2007000+$ $2007000=4014000$. On the other hand, since any boy and any girl join at least one club in common, we have
$$
S \geq 2007 \cdot 2007=4028049>4014000 \geq S .
$$
This contradiction shows that our original assumption is false and there is a club with at least 11 boys and 11 girls.$\square$
|
|