Difference between revisions of "2002 USAMO Problems/Problem 1"

 
m (This is a guess about what the problem is supposed to say)
Line 7: Line 7:
 
(b) the union of any two blue subsets is blue;
 
(b) the union of any two blue subsets is blue;
  
(c) there are exactly <math> \displaystyle N </math> subsets.
+
(c) there are exactly <math> \displaystyle N </math> red subsets.
  
 
== Solutions ==
 
== Solutions ==

Revision as of 21:02, 18 February 2007

Problem

Let $\displaystyle S$ be a set with 2002 elements, and let $\displaystyle N$ be an integer with $0 \le N \le 2^{2002}$. Prove that it is possible to color every subset of $\displaystyle S$ either blue or red so that the following conditions hold:

(a) the union of any two red subsets is red;

(b) the union of any two blue subsets is blue;

(c) there are exactly $\displaystyle N$ red subsets.

Solutions

Solution 1

Let a set colored in such a manner be properly colored. We prove that any set with $\displaystyle n$ elements can be properly colored for any $0 \le N \le 2^n$. We proceed by induction.

The base case, $\displaystyle n = 0$, is trivial.

Suppose that our claim holds for $\displaystyle n = k$. Let $\displaystyle s \in S$, $\displaystyle |S| = k + 1$, and let $\displaystyle S'$ denote the set of all elements of $\displaystyle S$ other than $\displaystyle s$.

If $N \le 2^k$, then we may collor all subsets of $\displaystyle S$ which contain $\displaystyle S$ blue, and we may properly color $\displaystyle S'$. This is a proper coloring because the union of any two red sets must be a subset of $\displaystyle S'$, which is properly colored, and any the union of any two blue sets either must be in $\displaystyle S'$, which is properly colored, or must contain $\displaystyle s$ and therefore be blue.

If $\displaystyle N > 2^k$, then we color all subsets containing $\displaystyle s$ red, and we color $\displaystyle N - 2^k$ elements of $\displaystyle S'$ red in such a way that $\displaystyle S'$ is colored properly. Then $\displaystyle S$ is properly colored, using similar reasoning as before. Thus the induction is complete.

Solution 2

If $\displaystyle N = 0$, color every subset blue. If $\displaystyle N = 2002$, color every subset red. Otherwise, let $\displaystyle S$ be $\{ 0, 1, \ldots , 2001 \}$. Write $\displaystyle N$ in binary, i.e., let

$N = \sum_{i=1}^{k} 2^{a_i}$,

where each of the $\displaystyle a_i$ is an element of $\displaystyle S$. We color each of the $\displaystyle a_i$ red and all the other elements of $S$ blue. We color the empty set blue, and we color any other set the color of its largest element. This satisfies the problem's first two conditions, as the largest element of the union of two red (or blue) sets will have a red (or blue) number as its largest element. In addition, for each integer $n \in S$, there are $\displaystyle 2^{n}$ subsets of $\displaystyle S$ with $\displaystyle n$ as a maximal element, so $\sum_{i=1}^{k} 2^{a_i} = N$ subsets of $\displaystyle S$ are colored red, as desired.


Alternate solutions are always welcome. If you have a different, elegant solution to this problem, please add it to this page.

Resources