Maths Olympiad Prep

Library / /32 of 37

Combinatorics Difficulty 7.2 National olympiad, round 2 Find the answer

Let f:XXf:X\rightarrow X, where X={1,2,,100}X=\{1,2,\ldots ,100\}, be a function satisfying:
1) f(x)xf(x)\neq x for all x=1,2,,100x=1,2,\ldots,100;
2) for any subset AA of XX such that A=40|A|=40, we have Af(A)A\cap f(A)\neq\emptyset.
Find the minimum kk such that for any such function ff, there exist a subset BB of XX, where B=k|B|=k, such that Bf(B)=XB\cup f(B)=X.

A number or a short expression. Spacing and $ signs are ignored.

Solution

Let f:XX f: X \rightarrow X , where X={1,2,,100} X = \{1, 2, \ldots, 100\} , be a function satisfying:
1. f(x)x f(x) \neq x for all x=1,2,,100 x = 1, 2, \ldots, 100 ;
2. For any subset A A of X X such that A=40 |A| = 40 , we have Af(A) A \cap f(A) \neq \emptyset .

We need to find the minimum k k such that for any such function f f , there exists a subset B B of X X , where B=k |B| = k , such that Bf(B)=X B \cup f(B) = X .

Consider the arrow graph of f f on X X . Each connected component looks like a directed cycle with a bunch of trees coming off each vertex of the cycle. For each connected component C C , let α(C) \alpha(C) be the maximum number of elements of C C we can choose such that their image under f f is disjoint from them, and let β(C) \beta(C) be the minimum number of vertices of C C we can choose such that they and their image cover C C . We have the following key claim:

Claim: We have α(C)β(C)1 \alpha(C) \geq \beta(C) - 1 .

Proof: It suffices to show that given a subset DC D \subseteq C such that D D and f(D) f(D) cover C C , we can find a subset DC D' \subseteq C such that DD |D'| \leq |D| and such that there is at most one pair of elements from D D' that are adjacent.

Label the edges of C C with ordinal numbers. Label the edges of the cycle with 1 1 , and for any edge with depth k k into the tree it's in (with depth 1 1 for edges incident to the cycle), label it with ωk \omega^k . Suppose we're given DC D \subseteq C such that D D and f(D) f(D) cover C C . Call an edge bad if both of its endpoints are in D D . We'll show that either all the bad edges are on the central cycle, or there is a way to modify D D such that its cardinality does not increase, and the sum of the weights of the bad edges decreases. Since we can't have infinite decreasing sequences of ordinals, we'll reduce the problem to the case where the only bad edges are on the central cycle.

Suppose we have a bad edge af(a) a \to f(a) with weight ωk \omega^k for k2 k \geq 2 . Modify D D by removing f(a) f(a) from D D and adding f(f(a)) f(f(a)) if it is not already present. If f(f(a)) f(f(a)) is already present, then the size of D D decreases and the set of bad edges becomes a strict subset of what it was before, so the sum of their weights goes down. If f(f(a)) f(f(a)) is not already present, then the size of D D doesn't change, and we lose at least one bad edge with weight ωk \omega^k , and potentially gain many bad edges with weights ωk1 \omega^{k-1} or ωk2 \omega^{k-2} , so the total weight sum goes down.

Suppose we have a bad edge af(a) a \to f(a) with weight ω \omega . Then, f(a) f(a) is part of the central cycle of C C . If f(f(a)) f(f(a)) is already present, delete f(a) f(a) , so the size of D D doesn't change, and the set of bad edges becomes a strict subset of what it was before, so the sum of their weights goes down. Now suppose f(f(a)) f(f(a)) is not already present. If there are elements that map to f(f(a)) f(f(a)) in the tree rooted at f(f(a)) f(f(a)) that are in D D , then we can simply delete f(a) f(a) , and by the same logic as before, we're fine. So now suppose that there are no elements in the tree rooted at f(f(a)) f(f(a)) that map to it. Then, deleting f(a) f(a) and adding f(f(a)) f(f(a)) removes an edge of weight ω \omega and only adds edges of weight 1 1 , so the size of D D stays the same and the sum of the weights goes down.

This shows that we can reduce D D down such that the only bad edges of D D are on the central cycle. Call a vertex of the central cycle deficient if it does not have any elements of D D one level above it in the tree rooted at the vertex, or in other words, a vertex is deficient if it will not be covered by Df(D) D \cup f(D) if we remove all the cycle elements from D D . Note that all elements of D D on the cycle are deficient since there are no bad edges not on the cycle. Fixing D D and changing which subset of deficient vertices we choose, the claim reduces to the following: Suppose we have a directed cycle of length m m , and some k k of the vertices are said to be deficient. There is a subset D D of the deficient vertices such that all the deficient vertices are covered by either D D or the image of D D of minimal size such that at most one edge of the cycle has both endpoints in D D .

To prove this, split the deficient vertices into contiguous blocks. First suppose that the entire cycle is not a block. Each block acts independently, and is isomorphic to a directed path. It is clear that in this case, it is optimal to pick every other vertex from each block, and any other selection covering every vertex of the block with it and its image will be of larger size. Thus, it suffices to look at the case where all vertices are deficient. In this case, it is again clearly optimal to select (m+1)/2 (m+1)/2 of the vertices such that there is only one bad edge, so we're done.

This completes the proof of the claim. \blacksquare

Let C \mathcal{C} be the set of connected components. We see that
39CCα(C)CCβ(C)C. 39 \geq \sum_{C \in \mathcal{C}} \alpha(C) \geq \sum_{C \in \mathcal{C}} \beta(C) - |\mathcal{C}|.
If C30 |\mathcal{C}| \leq 30 , then we see that
CCβ(C)69, \sum_{C \in \mathcal{C}} \beta(C) \leq 69,
so we can select a subset BX B \subseteq X such that B69 |B| \leq 69 and Bf(B)=X B \cup f(B) = X . If C31 |\mathcal{C}| \geq 31 , then from each connected component, select all but some vertex with nonzero indegree (this exists since there are no isolated vertices) to make up B B . We see then that B100C=69 |B| \leq 100 - |\mathcal{C}| = 69 again. Thus, in all cases, we can select valid B B with B69 |B| \leq 69 .

It suffices to construct f f such that the minimal such B B has size 69. To do this, let the arrow graph of f f be made up of 29 disjoint 3-cycles, and a component consisting of a 3-cycle abca a \to b \to c \to a with another vertex xa x \to a , and 9 vertices y1,,y9 y_1, \ldots, y_9 pointing to x x . This satisfies the second condition of the problem, since any A A satisfying Af(A)= A \cap f(A) = \emptyset can take at most 1 from each 3-cycle, and at most 12 from the last component. Any B B satisfying Bf(B)=X B \cup f(B) = X must have at least 2 from each of the 3-cycles, and at least 11 from the last component, for a total of at least 292+11=69 29 \cdot 2 + 11 = 69 , as desired. We can get 69 by selecting exactly 2 from each 3-cycle, and everything but x x and c c from the last component. This shows that the answer to the problem is 69 \boxed{69} .

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: Omni-MATH, licensed Apache-2.0. Statement and solution reproduced as published; topic and difficulty added by this site.