Maths Olympiad Prep

Library / /7 of 9

, 2019

Combinatorics Difficulty 7.4 National Olympiad, round 2 Prove it Japan

Let S={1,2,,6}S = \{1, 2, \dots, 6\}. Let S\mathcal{S} be the set of all subsets of SS. How many mappings F:SSF: \mathcal{S} \to \mathcal{S} are there that satisfy the following condition:
F(F(A)B)=AF(B) for any pair of subsets of S. F(F(A) \cup B) = A \cap F(B) \text{ for any pair of subsets of } S.

Solution

Let us fix CSC \subset S and consider the situation where F()=CF(\emptyset) = C. If we let A=A = \emptyset in the given identity, we get F(CB)=F(C \cup B) = \emptyset for any set BB in S\mathfrak{S}. So, if DCD \supset C then we have F(D)=F(D) = \emptyset. Therefore, if we let A=CA = C, we get F(B)=CF(B)F(B) = C \cap F(B), which implies that for any BB in S\mathfrak{S}, F(B)CF(B) \subset C holds. Also, by letting B=B = \emptyset in the given identity, we get F(F(D))=DCF(F(D)) = D \cap C for any set DD in S\mathfrak{S}. If we substitute D=F(A)D = F(A) in this identity, we obtain F(F(F(A)))=F(A)C=F(A)F(F(F(A))) = F(A) \cap C = F(A). We also get from F(F(A))=ACF(F(A)) = A \cap C, F(F(F(A)))=F(AC)F(F(F(A))) = F(A \cap C), and therefore, we have F(A)=F(AC)F(A) = F(A \cap C) for any AA. Thus, we conclude that the mapping F:SSF: \mathfrak{S} \to \mathfrak{S} is determined completely by how the subsets of CC are mapped. Conversely, if for any pair of subsets X,YX, Y of CC condition
(1)F(F(X)Y)=XF(Y) (1) \qquad F(F(X) \cup Y) = X \cap F(Y)
is satisfied, and for any ASA \in \mathfrak{S} F(A)=F(AC)CF(A) = F(A \cap C) \subset C, then by letting X=ACX = A \cap C and Y=BCY = B \cap C, we get
F(F(A)B)=F((F(X)B)C)=F(F(X)Y)=XF(Y)=(AC)F(B)=AF(B), \begin{aligned} F(F(A) \cup B) &= F((F(X) \cup B) \cap C) = F(F(X) \cup Y) \\ &= X \cap F(Y) = (A \cap C) \cap F(B) = A \cap F(B), \end{aligned}
which shows that the identity given for the problem is satisfied. Consequently, it is sufficient to consider the mapping F:SCSCF: \mathfrak{S}_C \to \mathfrak{S}_C satisfying the condition (1), where by SC\mathfrak{S}_C we mean the set of all subsets of CC.
Now, if we consider such a mapping F:SCSCF: \mathfrak{S}_C \to \mathfrak{S}_C, then we have F(F(X))=XF(F(X)) = X so that the mapping FF is bijective, and if we replace XX by F(X)F(X) in (1), then we get
(2)F(XY)=F(X)F(Y). (2) \qquad F(X \cup Y) = F(X) \cap F(Y).
Conversely, if both F(F(X))=XF(F(X)) = X and F(XY)=F(X)F(Y)F(X \cup Y) = F(X) \cap F(Y) are satisfied, then by replacing XX in (2) by F(X)F(X), we get back the condition (1). So, from now on we consider mapping F:SCSCF: \mathfrak{S}_C \to \mathfrak{S}_C satisfying the two conditions F(F(X))=XF(F(X)) = X and F(XY)=F(X)F(Y)F(X \cup Y) = F(X) \cap F(Y).
Suppose now XYX \subset Y is satisfied, then we get F(X)F(Y)F(X) \supset F(Y), since F(Y)=F(X)F(Y)F(Y) = F(X) \cap F(Y). By the injectivity of FF, we get, in particular, that if XYX \subset Y but XYX \neq Y, then we get F(X)F(Y)F(X) \supset F(Y) but F(X)F(Y)F(X) \neq F(Y). So, if we consider the process of transferring elements from CXcC \cap X^c to XX one element at every step starting with X=X = \emptyset, then the number of elements in the set F(X)F(X) decreases strictly. Since we can repeat this process exactly tt times, where tt is the number of elements of CC, every element xCx \in C, the number of elements in the set F({x})F(\{x\}) is larger than or equal to the number of elements in C1C-1. But since FF is injective, this number cannot be equal to the number of elements in CC. Thus, we conclude that for each xCx \in C, the number of elements in the set F(x)F(x) equals the number of elements of C1C-1.
Consequently, there must exist in CC exactly one element, which does not belong to F({x})F(\{x\}). Call this element f(x)f(x). Then, the mapping f:CCf: C \to C is injective since FF is and surjective since CC is a finite set.
Since F(F(X))=XF(F(X)) = X for every XX, by letting X=X = \emptyset, we get F(C)=F(C) = \emptyset and if we let X={x}X = \{x\}, Y={f(x)}Y = \{f(x)\}, then the left hand side becomes \emptyset, and therefore, we have xC{f(f(x))}cx \notin C \cap \{f(f(x))\}^c, from which it follows that f(f(x))=xf(f(x)) = x must be valid. When X={x1,,xk}X = \{x_1, \dots, x_k\}, if we keep on applying (2), we get F(X)=C{f(x1),,f(xk)}cF(X) = C \cap \{f(x_1), \dots, f(x_k)\}^c, and conversely, FF defined by this formula satisfies the condition F(F(X))F(F(X)) and the property (2). Therefore, we can conclude that the number of functions FF satisfying F()=CF(\emptyset) = C equals the number of functions f:CCf: C \to C satisfying the property f(f(x))=xf(f(x)) = x.
The number of such functions f:CCf: C \to C coincides with the number of ways of specifying pairs x,yx, y satisfying the property f(x)=yf(x) = y, f(y)=xf(y) = x without repetition. In fact, for zCz \in C left out of the pairing mentioned above, it is sufficient to let f(z)=zf(z) = z, and conversely, from every ff satisfying the property mentioned above, the pairing mentioned above can be achieved.
At this point, we just ignore the specification of CC and consider the way of counting the mappings FF satisfying the conditions stated above. Then, since it is not necessary to specify CC to start off, we can start off by forming some pairs of elements of SS, and decide whether to make the remaining elements of SS to become elements of CC or not. To decide the number of ways of forming kk pairs of elements from the set containing 2k2k elements, we can line up 2k2k elements from left to right and among the elements having no partner, pick the one having the leftmost position and decide its partner and keep on doing the same until every one of 2k2k elements has a partner. Then, the number of ways this can be done is

(2k1)(2k3)1(2k-1)(2k-3)\dots 1. Therefore, the answer we seek for the problem is
(60)26+(62)24+(64)322+(66)53=64+240+180+15=499 \binom{6}{0} 2^6 + \binom{6}{2} 2^4 + \binom{6}{4} 3 \cdot 2^2 + \binom{6}{6} 5 \cdot 3 = 64 + 240 + 180 + 15 = 499

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.