Maths Olympiad Prep

Library / /4 of 6

, 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 pPp \in P and fFf \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 FF' of FF such that if PHP'_H is the set of vertices connected to a vertex in FF' by an edge in HH then PH<F|P'_H| < |F'|. However if PGP'_G is the set of vertices connected to a vertex in FF' by an edge in GG then PGF|P'_G| \geq |F'|, again by Hall's marriage theorem. Since PHPG1|P'_H| \geq |P'_G| - 1, this implies that PG=F|P'_G| = |F'|. From now we denote PPGP' \equiv P'_G.

Now we allow the princesses to save all the frogs in FF' for free - this can only help the princesses. If F=m|F'| = m this means that mm princesses (precisely those in PP') and mm frogs (those in FF') can be discounted and assumed saved. Consider any princess pPPp \in P \setminus P'. As pp is not in PP', no edge from pp to FF' was in GG, i.e. pp has already kissed all frogs in FF'. Thus we have nmn-m princesses and nmn-m frogs remaining, and each princess has already spent mm kisses on frogs in FF' 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+1mk+1-m princes given nmn-m frogs and kmk-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,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.