Let $ X_n=\{1,2,...,n\}$,where $ n \geq 3$. We define the measure $ m(X)$ of $ X\subset X_n$ as the sum of its elements.(If $ |X|=0$,then $ m(X)=0$). A set $ X \subset X_n$ is said to be even(resp. odd) if $ m(X)$ is even(resp. odd). (a)Show that the number of even sets equals the number of odd sets. (b)Show that the sum of the measures of the even sets equals the sum of the measures of the odd sets. (c)Compute the sum of the measures of the odd sets.
Problem
Source: Romania TST 1994
Tags: combinatorics proposed, combinatorics
28.08.2009 20:30
There's almost certainly a bijective proof, but this might actually be cleaner, and was certainly more straightforward. Let $ g(x) = \prod_{i = 1}^n (1 + x^i)$. Then $ g(x) = \sum_{X \subset X_n} x^{m(X)}$. Then the total number of even sets is the sum of the coefficients of the even part of $ g$, or $ \frac {g(1) + g( - 1)}{2} = \frac {g(1)}{2} = 2^{n - 1}$; since there are $ 2^n$ subsets in total, this is half of the sets. Differentiating, $ g'(x) = \sum_{X \subset X_n} m(X) x^{m(X) - 1}$. The sum of the measures of even sets is the sum of coefficients in the odd part of $ g'$, or $ \frac {g'(1) - g'( - 1)}{2}.$ By the product rule, $ g'(x) = \sum_{i = 1}^n ix^{i - 1} \prod_{j \in [n], i \ne j} (1 + x^j)$. Since $ (1 + x)(1 + x^3) \mid g$, we know $ - 1$ is a double root of $ g$ and is therefore a root of $ g'$. So we have $ \frac {g'(1) - g'( - 1)}{2} = \frac {g'(1)}{2} = (1 + 2 + \dots + n)2^{n - 2} = 2^{n - 2}\binom{n + 1}{2}$. Similarly, the sum of the measures of the odd sets is $ \frac {g'(1) + g'( - 1)}{2} = \frac {g'(1)}{2} = \binom{n + 1}{2}2^{n - 2}$; the two quantities are equal. EDIT: Actually... maybe not. For each $ S \subset X_n$ Pair $ S$ with $ S \oplus \{1\}$ (using $ \oplus$ for symmetric difference). Then this pairing is a bijection between odd and even sets, giving (a). Restricting to sets containing $ \{1\}$, the map $ T \mapsto T \oplus \{3\}$ is a bijection between odd and even sets, so half of all sets containing $ \{1\}$ are even; therefore the sum of the measures of all even sets equals that in all odd sets. Restricting to sets containing $ \{k\}$, for any $ k \ne 1$, the bijection $ S \mapsto S \oplus \{1\}$ takes even sets to odd sets, so every $ k$ is contained in $ 2^{n-2}$ even sets (and $ 2^{n-2}$ odd sets); therefore the sum of the measures of all even (odd) sets is $ (1 + \dots + n)2^{n-2} = \binom{n+1}{2}$.
29.08.2009 03:22
So basically $ g'(-1)=0$ implies b) The total sum of the measures of all subsets of $ X_n$ contains each element $ i$ exactly $ 2^{n-1}=|\mathcal{P}(X_n/\{i\})|$-times. So the total sum is $ 2^{n-1}\binom{n+1}{2}$ so by b) the answer to c) is $ 2^{n-2}\binom{n+1}{2}$
30.12.2024 15:55
recursive solution for (b) and (c)