Difference between revisions of "2007 USAMO Problems/Problem 3"
Brackie. . (talk | contribs) (→Solution 1) |
|||
(13 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
== Problem == | == Problem == | ||
+ | (''András Gyárfás'') Let <math>S</math> be a [[set]] containing <math>n^2+n-1</math> [[element]]s, for some [[positive]] [[integer]] <math>n</math>. Suppose that the <math>n</math>-element [[subset]]s of <math>S</math> are partitioned into two classes. Prove that there are at least <math>n</math> [[pairwise disjoint]] sets in the same class. | ||
+ | |||
+ | == Solution == | ||
+ | |||
+ | === Solution 1 === | ||
+ | Claim: If we have instead <math>k(n+1)-1</math> elements, then we must have k disjoint subsets in a class. | ||
+ | We proceed by Induction | ||
+ | |||
+ | Base Case: <math>k=1</math> is trivial. | ||
+ | |||
+ | Case 1: If there exists an <math>n+1</math> element subset <math>X</math> s.t. <math>X</math> has 2 n-element subsets in different classes. | ||
+ | Consider the <math>(k-1)(n+1)-1</math> elements that are not in <math>X</math>, from the Induction hypothesis, we have <math>k-1</math> disjoint subsets in one of the classes. Those <math>k-1</math> subsets paired with a subset of <math>X</math> in the same class forms <math>k</math> disjoint subsets of size n. | ||
+ | |||
+ | Case 2: All <math>n+1</math> element subsets have all of their n-element subsets in one class. | ||
+ | Look at any 2 n-element subsets <math>a_1</math> and <math>a_p</math>. Then we can create a path <math>a_1,a_2,...,a_p</math> s.t. any 2 consecutive terms belong to the same n+1-element subset.(i.e. we change 1 element each time.) Thus, <math>a_1</math> and <math>a_p</math> are in the same class and we see that all subsets are in one class. Obviously we can find <math>k</math> disjoint subsets of size n. | ||
− | |||
− | == Solution == | + | The question is asking for the case when we substitute <math>k=n</math> which we have proved. |
+ | |||
+ | === Solution 2 === | ||
+ | Call an <math>n+1</math>-element subset of <math>S</math> separable if it has a subset in each class of the partition. We [[recursion|recursively]] build a set <math>Q</math> of disjoint separable subsets of <math>S</math>: begin with <math>Q</math> empty and at each step if there is a separable subset which is disjoint from all sets in <math>Q</math> add that set to <math>Q</math>. The process terminates when every separable subset intersects a set in <math>Q</math>. Let <math>T</math> be the set of elements in <math>S</math> which are not in any set in <math>Q</math>. We claim that one class contains every <math>n</math>-element subset of <math>T</math>. | ||
+ | |||
+ | Suppose that <math>a_1, a_2, \ldots a_k</math> are elements of <math>T</math>. Denote by <math>A_i</math> the set <math>\left\{a_i, a_{i+1}, \ldots a_{i+n-1}\right\}</math>. Note that for each <math>i</math>, <math>A_i \cup A_{i+1}</math> is not separable, so that <math>A_i</math> and <math>A_{i+1}</math> are in the same class. But then <math>A_i</math> is in the same class for each <math>1 \leq i \leq k - n + 1</math> — in particular, <math>A_1</math> and <math>A_{k-n+1}</math> are in the same class. But for any two sets we may construct such a sequence with <math>A_1</math> equal to one and <math>A_{k-n+1}</math> equal to the other. | ||
+ | |||
+ | We are now ready to construct our <math>n</math> disjoint sets. Suppose that <math>|Q| = q</math>. Then <math>|T| = (n+1)(n-q) - 1 \geq n(n-q)</math>, so we may select <math>n - q</math> disjoint <math>n</math>-element subsets of <math>T</math>. Then for each of the <math>q</math> sets in <math>Q</math>, we may select a subset which is in the same class as all the subsets of <math>T</math>, for a total of <math>n</math> disjoint sets. | ||
+ | |||
+ | === Solution 3 === | ||
+ | In order to apply induction, we generalize the result to be proved so that it reads as follows: | ||
+ | |||
+ | '''Proposition.''' If the <math>n</math>-element subsets of a set <math>S</math> with <math>(n + 1)m - 1</math> elements are partitioned into two classes, then there are at least <math>m</math> pairwise disjoint sets in the same class. | ||
+ | |||
+ | ''Proof.'' Fix <math>n</math> and proceed by induction on <math>m</math>. The case of <math>m = 1</math> is trivial. Assume <math>m > 1</math> and that the proposition is true for <math>m - 1</math>. Let <math>\mathcal{P}</math> be the partition of the <math>n</math>-element subsets into two classes. If all the <math>n</math>-element subsets belong to the same class, the result is obvious. Otherwise select two <math>n</math>-element subsets <math>A</math> and <math>B</math> from different classes so that their intersection has maximal size. It is easy to see that <math>|A\cap B| = n - 1</math>. (If <math>|A\cap B| = k < n - 1</math>, then build <math>C</math> from <math>B</math> by replacing some element not in <math>A\cap B</math> with an element of <math>A</math> not already in <math>B</math>. Then <math>|A\cap C| = k + 1</math> and <math>|B\cap C| = n - 1</math> and either <math>A</math> and <math>C</math> or <math>B</math> and <math>C</math> are in different classes.) Removing <math>A\cup B</math> from <math>S</math>, there are <math>(n + 1)(m - 1) - 1</math> elements left. On this set the partition induced by <math>\mathcal{P}</math> has, by the inductive hypothesis, <math>m - 1</math> pairwise disjoint sets in the same class. Adding either <math>A</math> or <math>B</math> as appropriate gives <math>m</math> pairwise disjoint sets in the same class. <math>\blacksquare</math> | ||
+ | |||
+ | '''Remark:''' The value <math>n^2 + n - 1</math> is sharp. A set <math>S</math> with <math>n^2 + n - 2</math> elements can be split into a set <math>A</math> with <math>n^2 - 1</math> elements and a set <math>B</math> of <math>n - 1</math> elements. Let one class consist of all <math>n</math>-element subsets of <math>A</math> and the other consist of all <math>n</math>-element subsets that intersect <math>B</math>. Then neither class contains <math>n</math> pairwise disjoint sets. | ||
+ | |||
+ | |||
+ | |||
+ | {{alternate solutions}} | ||
+ | |||
+ | == See also == | ||
+ | * <url>viewtopic.php?t=145845 Discussion on AoPS/MathLinks</url> | ||
{{USAMO newbox|year=2007|num-b=2|num-a=4}} | {{USAMO newbox|year=2007|num-b=2|num-a=4}} | ||
+ | |||
+ | [[Category:Olympiad Combinatorics Problems]] | ||
+ | {{MAA Notice}} |
Latest revision as of 14:36, 2 October 2024
Problem
(András Gyárfás) Let be a set containing elements, for some positive integer . Suppose that the -element subsets of are partitioned into two classes. Prove that there are at least pairwise disjoint sets in the same class.
Solution
Solution 1
Claim: If we have instead elements, then we must have k disjoint subsets in a class. We proceed by Induction
Base Case: is trivial.
Case 1: If there exists an element subset s.t. has 2 n-element subsets in different classes. Consider the elements that are not in , from the Induction hypothesis, we have disjoint subsets in one of the classes. Those subsets paired with a subset of in the same class forms disjoint subsets of size n.
Case 2: All element subsets have all of their n-element subsets in one class. Look at any 2 n-element subsets and . Then we can create a path s.t. any 2 consecutive terms belong to the same n+1-element subset.(i.e. we change 1 element each time.) Thus, and are in the same class and we see that all subsets are in one class. Obviously we can find disjoint subsets of size n.
The question is asking for the case when we substitute which we have proved.
Solution 2
Call an -element subset of separable if it has a subset in each class of the partition. We recursively build a set of disjoint separable subsets of : begin with empty and at each step if there is a separable subset which is disjoint from all sets in add that set to . The process terminates when every separable subset intersects a set in . Let be the set of elements in which are not in any set in . We claim that one class contains every -element subset of .
Suppose that are elements of . Denote by the set . Note that for each , is not separable, so that and are in the same class. But then is in the same class for each — in particular, and are in the same class. But for any two sets we may construct such a sequence with equal to one and equal to the other.
We are now ready to construct our disjoint sets. Suppose that . Then , so we may select disjoint -element subsets of . Then for each of the sets in , we may select a subset which is in the same class as all the subsets of , for a total of disjoint sets.
Solution 3
In order to apply induction, we generalize the result to be proved so that it reads as follows:
Proposition. If the -element subsets of a set with elements are partitioned into two classes, then there are at least pairwise disjoint sets in the same class.
Proof. Fix and proceed by induction on . The case of is trivial. Assume and that the proposition is true for . Let be the partition of the -element subsets into two classes. If all the -element subsets belong to the same class, the result is obvious. Otherwise select two -element subsets and from different classes so that their intersection has maximal size. It is easy to see that . (If , then build from by replacing some element not in with an element of not already in . Then and and either and or and are in different classes.) Removing from , there are elements left. On this set the partition induced by has, by the inductive hypothesis, pairwise disjoint sets in the same class. Adding either or as appropriate gives pairwise disjoint sets in the same class.
Remark: The value is sharp. A set with elements can be split into a set with elements and a set of elements. Let one class consist of all -element subsets of and the other consist of all -element subsets that intersect . Then neither class contains pairwise disjoint sets.
Alternate solutions are always welcome. If you have a different, elegant solution to this problem, please add it to this page.
See also
- <url>viewtopic.php?t=145845 Discussion on AoPS/MathLinks</url>
2007 USAMO (Problems • Resources) | ||
Preceded by Problem 2 |
Followed by Problem 4 | |
1 • 2 • 3 • 4 • 5 • 6 | ||
All USAMO Problems and Solutions |
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.