The National Foundation of Happiness (NFoH) wants to estimate the happiness of people of country. NFoH selected random persons, and on every morning asked from each of them whether she is happy or not. On any two distinct days, exactly half of the persons gave the same answer. Show that after days, there were at most persons whose “yes” answers equals their “no” answers.
Problem 1566
Official solution
1. Define the vectors:
Let be the vector representing the answers on the -th day, where and if the -th person answered "yes" on the -th day, and if the -th person answered "no".
2. Orthogonality condition:
The problem states that on any two distinct days, exactly half of the persons gave the same answer. This implies that the dot product of any two distinct vectors and is zero:
This orthogonality condition means that the vectors are orthogonal in .
3. Norm of the vectors:
Each vector has a norm squared equal to :
because each is either or .
4. Sum of vectors:
Let be the sum of the answers of the -th person over days:
We need to show that there are at most persons whose "yes" answers equal their "no" answers over days.
5. Sum of squares:
Consider the sum of the squares of :
Using the orthogonality condition, we can write:
6. Contradiction:
If there are more than persons whose "yes" answers equal their "no" answers, then the number of such persons is greater than . Let be the number of persons whose "yes" answers equal their "no" answers. Then:
For these persons, . For the remaining persons, . Therefore:
Since , we have:
Thus:
This contradicts the earlier result that .
Therefore, the assumption that there are more than persons whose "yes" answers equal their "no" answers leads to a contradiction.