Maths Olympiad Prep

Library / /24 of 24

, 2023

Combinatorics Difficulty 7.6 National Olympiad, round 2 Prove it Canada

Problem:
A country with nn cities has some two-way roads connecting certain pairs of cities. Someone notices that if the country is split into two parts in any way, then there would be at most knk n roads between the two parts (where kk is a fixed positive integer). What is the largest integer mm (in terms of nn and kk) such that there is guaranteed to be a set of mm cities, no two of which are directly connected by a road?

Solution

Solution:
The answer is m=n4km = \left\lceil \frac{n}{4k} \right\rceil.

Call a collection of cities independent if no two cities in the collection are joined by a road. Let rr and kk be integers such that n=4kq+rn = 4kq + r where 1r4k1 \leq r \leq 4k.

First we show that mn4k=q+1m \leq \left\lceil \frac{n}{4k} \right\rceil = q + 1. Let KiK_{i} denote a set of ii cities such that every pair of cities in KiK_{i} is linked by a road. Consider a country containing qq copies of K4kK_{4k} and one copy of KrK_{r}. An independent set of cities in this country contains at most one city from each K4kK_{4k} or KrK_{r} and therefore contains at most q+1q + 1 cities. Now note that any partition of the cities of the country into two new countries partitions each K4kK_{4k} and KrK_{r} into two sets. If KiK_{i} where i4ki \leq 4k is partitioned into two sets of cities of sizes aa and bb, then the number of roads between the two sets is ab(a+b)24kiab \leq \frac{(a + b)^2}{4} \leq k i. Summing this inequality over all copies of K4kK_{4k} and KrK_{r} yields that there are at most knk n roads between the two new countries. This implies that this particular country satisfies the given condition and it follows that mn4km \leq \left\lceil \frac{n}{4k} \right\rceil.

Now we show that any country satisfying the given condition has an independent set containing at least n4k\left\lceil \frac{n}{4k} \right\rceil cities. Call a set of cities ii-separable if it can be partitioned into ii disjoint independent sets of cities. Given a country satisfying the conditions, let SS be a largest set of cities in the country that is 2k2k-separable. We prove that Sn/2|S| \geq n/2. By definition of SS, there exists a partition A1,A2,,A2kA_{1}, A_{2}, \ldots, A_{2k} of the cities in SS such that each AiA_{i} is independent. Let S=t|S| = t. Assume for contradiction that t<n2t < \frac{n}{2}. There are at most knk n roads between SS and the rest of the country, which by the pigeonhole principle implies that there is a city uu not in SS that is connected to at most knnt<2k\frac{k n}{n - t} < 2k cities by road. Therefore uu is joined by a road to at most 2k12k - 1 cities in SS, and there must be an independent subset AiA_{i} such that uu is not linked by a road to any city in AiA_{i}. Adding uu to SS maintains the fact that SS is 2k2k-separable but contradicts its maximality. Therefore it must follow that tn2t \geq \frac{n}{2}. By the pigeonhole principle, one of the sets A1,A2,,A2kA_{1}, A_{2}, \ldots, A_{2k} must contain at least t2kn4k\frac{t}{2k} \geq \frac{n}{4k} cities. This proves the claim and therefore m=n4km = \left\lceil \frac{n}{4k} \right\rceil.

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.