Maths Olympiad Prep

Library / /53 of 61

Combinatorics Difficulty 7.5 National Olympiad, round 2 Prove it Canada

Problem:

The nn players of a hockey team gather to select their team captain. Initially, they stand in a circle, and each person votes for the person on their left.

The players will update their votes via a series of rounds. In one round, each player aa updates their vote, one at a time, according to the following procedure: At the time of the update, if aa is voting for bb, and bb is voting for cc, then aa updates their vote to cc. (Note that aa, bb, and cc need not be distinct; if b=cb = c, then aa's vote does not change for this update.) Every player updates their vote exactly once in each round, in an order determined by the players (possibly different across different rounds).

They repeat this updating procedure for nn rounds. Prove that at this time, all nn players will unanimously vote for the same person.

Solution

Solution:

Initially, all players are in a cycle. Note that once a player leaves the cycle, they cannot rejoin. Furthermore, a new cycle cannot be created. Hence, at any point in time, the graph corresponding to the votes will be a functional graph with a single cycle.

We will first prove that after log2n\lfloor \log_{2} n \rfloor rounds, the cycle will become a self-loop. Then, we will show that in the next log2n\lfloor \log_{2} n \rfloor rounds, all other players vote for the player in the self-loop.

To show the first step, assume the cycle has size K>1K > 1 at the beginning of a round. Consider arbitrary player aa in the cycle who is updating their vote. Say abca \to b \to c, all in the cycle. Then aca \to c now, bumping bb out of the cycle and reducing its size to K1K - 1. Note that bb can now update their vote as well without affecting the size of the cycle. If we consider all KK original players in the cycle, we see that at least K2\lceil \frac{K}{2} \rceil of them must still be in the cycle at the time of their update, and hence the cycle's size is reduced to at most K2\lfloor \frac{K}{2} \rfloor. After log2n\lfloor \log_{2} n \rfloor rounds, the cycle must be reduced to size 1.

Now that the cycle has been reduced to a single player, say zz, consider any path from a player aa to zz. No players can be added to this path now. With a similar argument as the cycle, the length of the path must halve each round. In particular, a path of length LL to the cycle gets reduced to length L2\lceil \frac{L}{2} \rceil (note the ceiling, we had the floor for the cycle). After log2n\lfloor \log_{2} n \rfloor rounds, the path must be reduced to length 1.

Thus, after log2n+log2n\lfloor \log_{2} n \rfloor + \lfloor \log_{2} n \rfloor rounds, the graph has been completely reduced. For n5n \geq 5, log2n+log2n2log2n+1n\lfloor \log_{2} n \rfloor + \lfloor \log_{2} n \rfloor \leq 2 \lfloor \log_{2} n \rfloor + 1 \leq n. For the other nn, we can manually check that log2n+log2nn\lfloor \log_{2} n \rfloor + \lceil \log_{2} n \rceil \leq n.

We will use induction on nn.

Inductive Hypothesis. Let GG be any functional graph with nn nodes and a single cycle. Then after nn rounds of the given operation, GG will become a self-loop with n1n - 1 nodes pointing to it.

Base Case. The cases n2n \leq 2 are clear.

Inductive Step. Assume that the hypothesis is proved for n=k1n = k - 1 and n=k2n = k - 2. We will prove it for n=kn = k. Consider any initial functional graph with kk nodes and a single cycle. Note there is some node aa which has in-degree 0 (i.e. no nodes point to it), or all kk nodes are in the cycle.

In the first case, consider G{a}G \setminus \{a\}. Note that all operations except aa's own updates are independent of where aa is. By the inductive hypothesis, after k1k - 1 rounds, G{a}G \setminus \{a\} has become a single self-loop and k2k - 2 nodes pointing to it. Regardless of where aa is, it will point to the self-loop after one more round and we are done.

In the case where all kk nodes are in a cycle, consider the very first operation zab    zb,abz \to a \to b \implies z \to b, a \to b. This creates a zero in-degree node aa, but zz's operation has been used for the first round so the inductive hypothesis cannot be naively applied. Instead, consider bcb \to c (possibly c=zc = z if k=3k = 3). At some point in the first round, bb will be updated. Either cc will become another zero in-degree node, or aa will be the only node that points to cc. Either way, consider G{a,c}G \setminus \{a, c\}. By the induction hypothesis, after rounds 2 through k1k - 1, this graph will become a self-loop with k3k - 3 nodes pointing to it. It's also easy to see that aa and cc both have in-degree 0 after round 2. Then in one more round after round k1k - 1, we must have aa and cc pointing to the self-loop. So we are done for n=kn = k.

By induction, we are done for all nn.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.