Maths Olympiad Prep

Track / Stage 6 / 40 of 400 #1040 of 1964

Problem 1040

National olympiad, first round
Algebra Difficulty 6.0 Prove it

On a distant planet, there are 2014 cities, some pairs of which are connected by two-way roads. It turns out that the population of each city is the average of the populations of the cities to which it is connected by a single road, and moreover that it is possible to travel from every city to every other city by a sequence of roads.

Prove that all cities have the same population.

This one wants a proof. Work it on paper, then read the official solution and mark yourself. Be honest about it: the record is only any use to you if it is.

Official solution

Consider the city CmaxC_{\max } with the maximal population MM (breaking ties arbitrarily). Then MM is the average of the populations of the neighboring cities, say p1,p2,,pnp_{1}, p_{2}, \ldots, p_{n}, meaning that

p1+p2++pnn=M \frac{p_{1}+p_{2}+\cdots+p_{n}}{n}=M

But p1,p2,,pnMp_{1}, p_{2}, \ldots, p_{n} \leq M, and hence p1+p2++pnnMp_{1}+p_{2}+\cdots+p_{n} \leq n M. So this can only occur if p1=p2==pn=Mp_{1}=p_{2}=\cdots=p_{n}=M. Hence all neighbors of CmaxC_{\max } have population MM.

Proceeding in the same fashion, we find that all neighbors of neighbors of CmaxC_{\max } also must have population MM, and so on. Because the network of cities is connected, this implies that all cities must have population MM.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.