Maths Olympiad Prep

Library / /674 of 740

, 2017

Combinatorics Difficulty 5.6 AIME, harder Prove it United States

Problem:

Marisa has a collection of 281=2552^{8}-1=255 distinct nonempty subsets of {1,2,3,4,5,6,7,8}\{1,2,3,4,5,6,7,8\}. For each step she takes two subsets chosen uniformly at random from the collection, and replaces them with either their union or their intersection, chosen randomly with equal probability. (The collection is allowed to contain repeated sets.) She repeats this process 282=2542^{8}-2=254 times until there is only one set left in the collection. What is the expected size of this set?

Solution

Solution:

It suffices to compute the probability of each number appearing in the final subset. For any given integer n[1,8]n \in [1,8], there are 27=1282^{7}=128 subsets with nn and 271=1272^{7}-1=127 without. When we focus on only this element, each operation is equivalent to taking two random sets and discarding one of them randomly. Therefore there is a 128255\frac{128}{255} probability that nn is in the final subset, and the expected value of its size is 8128255=10242558 \cdot \frac{128}{255}=\frac{1024}{255}.

Alternatively, since A+B=AB+AB|A|+|B|=|A \cup B|+|A \cap B|, the expected value of the average size of all remaining subsets at a given step is constant, so the answer is simply the average size of all 255 subsets, which is 8128255=1024255\frac{8 \cdot 128}{255}=\frac{1024}{255}.

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.