One thousand people are in a tennis tournament where each person plays against each other person exactly once, and there are no ties. Prove that it is possible to put all the competitors in a line so that each of the 998 people who are not at an end of the line either defeated both their neighbors or lost to both their neighbors.
Problem 1416
Official solution
Solution:
Take the natural graph theoretic interpretation, where an edge points towards the loser of each pair, and call such a line an alternating path. Consider the longest alternating path, and suppose it doesn't contain everyone. We will show we can make the path longer, which would be a contradiction.
First, assume the path has an odd number of vertices, labeled . WLOG points towards , points towards , all the way up to which points towards (otherwise, reverse all the edges). Also WLOG points towards (if not, label the vertices backwards). Let be a vertex not in the path. Note that if points towards , we can make the path longer by adding to the end. Thus, must point towards . But now we can take the path , which is longer than before, and so a contradiction.
Now assume the path has an even number of vertices, labeled , and WLOG points towards again. Then will point towards . Since 1000 is even, there are at least 2 vertices not in the path, say and . If either one points towards , we can add it to the end of the path, so must point towards both. Similarly, they must both point towards . But now note that if points to either, we can make the path , which is longer. Thus, must both point towards . Now restrict our attention to . Note that both point towards both ends, so we can WLOG assume points towards . Also WLOG points towards . Then we can form the path , which has vertices. Thus, if the longest alternating path does not contain every vertex, we can make it longer, which is a contradiction, so there must exist an alternating path with all 1000 vertices.