Maths Olympiad Prep

Library / BMO Short List /4 of 5

BMO Short List, 2023

Combinatorics Difficulty 7.7 National Olympiad, round 2 Prove it Balkan Mathematical Olympiad

Once upon a time there are nn pairs of princes and princesses who are in love with each other. One day a witch comes along and turns all the princes into frogs; the frogs can be distinguished by sight but the princesses cannot tell which frog corresponds to which prince. The witch tells the princesses that if any of them kisses the frog that corresponds to the prince that she loves then that frog will immediately transform back into a prince. If each princess can stand kissing at most kk frogs, what is the maximum number of princes they can be sure to save?

(The princesses may take turns kissing in any order, communicate with each other and vary their strategy for future kisses depending on information gained from past kisses.)

Solution

We claim that the princesses can guarantee saving kk princes and no more. To see that they can save kk princes, have each princess kiss the first kk frogs - clearly each of the first kk frogs will be saved.

Now we will show by induction on kk that the princesses cannot guarantee saving more than kk princes. The base case k=0k = 0 is trivial. Suppose that for some kk there exists a strategy for the princesses to save at least k+1k + 1 princes. Consider the first point during this strategy when a princess makes a kiss that is guaranteed to be correct - if no such point exists then there is some matching for which the princesses cannot assure saving any princes, so we may assume such a point exists. Denote the princess and frog involved in this kiss by p0p_0 and f0f_0 respectively.

Construct a bipartite graph GG on two sets of nn vertices, one set PP corresponding to the princesses and the other set FF corresponding to the frogs. For any p∈Pp \in P and f∈Ff \in F add edge pfpf if pp has not kissed ff before p0p_0 kisses f0f_0. Then, since up to this point no kiss has been guaranteed to be correct, there exists a perfect matching on this graph. However if we remove edge p0f0p_0f_0 to form a graph HH then there can no longer be a perfect matching as we assumed p0p_0 must be correct in kissing f0f_0. Thus, by Hall's marriage theorem there exists a subset F′F' of FF such that if PH′P'_H is the set of vertices connected to a vertex in F′F' by an edge in HH then ∣PH′∣<∣F′∣|P'_H| < |F'|. However if PG′P'_G is the set of vertices connected to a vertex in F′F' by an edge in GG then ∣PG′∣≥∣F′∣|P'_G| \geq |F'|, again by Hall's marriage theorem. Since ∣PH′∣≥∣PG′∣−1|P'_H| \geq |P'_G| - 1, this implies that ∣PG′∣=∣F′∣|P'_G| = |F'|. From now we denote P′≡PG′P' \equiv P'_G.

Now we allow the princesses to save all the frogs in F′F' for free - this can only help the princesses. If ∣F′∣=m|F'| = m this means that mm princesses (precisely those in P′P') and mm frogs (those in F′F') can be discounted and assumed saved. Consider any princess p∈P∖P′p \in P \setminus P'. As pp is not in P′P', no edge from pp to F′F' was in GG, i.e. pp has already kissed all frogs in F′F'. Thus we have n−mn-m princesses and n−mn-m frogs remaining, and each princess has already spent mm kisses on frogs in F′F' that now provide no useful information. Thus the rest of the princesses' strategy from this position is equivalent to a strategy to save at least k+1−mk+1-m princes given n−mn-m frogs and k−mk-m guesses. However by induction, no such strategy exists. This contradiction shows that the princesses can save at most kk princes.

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

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