8.8, 9.8, 11.8 a) 99 boxes contain apples and oranges. Prove that we can choose 50 boxes in such a way that they contain at least half of all apples and half of all oranges. b) 100 boxes contain apples and oranges. Prove that we can choose 34 boxes in such a way that they contain at least a third of all apples and a third of all oranges. c) 100 boxes contain apples, oranges and bananas. Prove that we can choose 51 boxes in such a way that they contain at least half of all apples, and half of all oranges and half of all bananas. (I. Bogdanov, G. Chelnokov, E. Kulikov)
Problem
Source: All-Russian MO Round 4, 2005
Tags: vector, email, induction, inequalities, combinatorics proposed, combinatorics
04.04.2005 22:49
Very nice problems. For a): Order the boxes according to the number of apples they contain ($b_{99}$ has the most apples and $b_1$ has the fewest). Then take: $b_{99}$, one of $b_{98}, b_{97}$, ..., one of $b_2, b_1$. It is clear that any such set contains at least half of all apples (in the worst case you have chosen $b_{99}, b_{97}, ..., b_1$ which has at least as many apples as $b_{98}, ..., b_2$). Now from each subset of 2 boxes (98-97, ..., 2-1) take the box with more oranges. Then the set also contains at least half of the oranges. For b): Order the boxes according to the number of apples they contain ($b_{100}$ has the most apples and $b_1$ has the fewest). Then take: $b_{100}$, one of $b_{99}, b_{98}, b_{97}$, ..., one of $b_3, b_2, b_1$. Now in the worst case we have chosen $b_{100}, b_{97}, ..., b_1$ which has at least as many apples as $b_{99}, b_{96}, ..., b_3$ and $b_{98}, b_{95}, ..., b_2$. So any such set contains at least a third of the apples. Now from each set of 3 boxes (99-98-97, ..., 3-2-1) take the box with the most oranges. This set satisfies the conditions.
05.04.2005 01:23
well i have some ideas for this kind of problems but i cant finish them.... For every box $i$, identify the vector $v_i=(x,y,z)$ where $x$ is the number of apples on it, $y$ the number of oranges and $z$ the number of the other fruit on box $i$. the geometric interpretation is clear now....
09.04.2005 19:17
Very nice, Severius!
17.04.2005 20:40
and what about c) ?
24.04.2005 08:17
c is very hard. There are many solutions, but none of our students managed to solve it. A hint: prove a lemma: if we have $2k$ boxes, we may partition them to two groups by $k$ boxes in such a way that weight of apples in both groups differ by at most the maximal weight of apples in a single box, and the same for oranges.
11.09.2005 02:36
OH,MY ROOMMATE AND I CAN ONLY SOLVE THE FIRST TWO PROBLEM,THE SOLUTION IS SIMILAR TO YOURS I think the third problem is really hard for me.And I guess it must have a excelllent solution with a giant use of some lemma.Could anyone post the solution or email me:georgew_bush@163.com?THANKS!
15.12.2005 21:16
Does anyone has the official solution of this beautiful problem ?I think some people from Russia sure. So please post it Thank you very much
04.01.2006 10:13
Fedor Petrov wrote: c is very hard. There are many solutions, but none of our students managed to solve it. A hint: prove a lemma: if we have $2k$ boxes, we may partition them to two groups by $k$ boxes in such a way that weight of apples in both groups differ by at most the maximal weight of apples in a single box, and the same for oranges. How? I don't understand
05.01.2006 08:38
amir2 wrote: and what about c) ? prove it with induction
05.01.2006 10:55
BaBaK Ghalebi wrote: amir2 wrote: and what about c) ? prove it with induction Can you show?
05.01.2006 11:05
indybar wrote: BaBaK Ghalebi wrote: amir2 wrote: and what about c) ? prove it with induction Can you show? sure ASAP
06.01.2006 14:27
BaBaK Ghalebi wrote: sure ASAP hmm... I don't think induction works here.
06.01.2006 15:04
BaBaK Ghalebi wrote: amir2 wrote: and what about c) ? prove it with induction $2k-1$ box $\& k$ $n=k\to n=k+1$ if there were two boxes such that $a_1>a_2,b_1>b_2$ now by the assumption of the induction we ca n choose $k$ boxes from the $2k-1$ boxes left now we can add the box that contains $a_1,b_1$ now if there werent such boxes then we have: $a_1\geq a_2\geq ...\geq a{}_2{}_k_+_1$ $b_1\leq b_2\leq ...\leq b{}_2{}_k_+_1$ now we choose the boxes $1,3,5,...,2n+1$ $\Rightarrow$ $a_1+a_3+...+a{}_2{}_n_+_1\geq a_2+a_4+...+a{}_2{}_n$ sorry if I didnt explain it clearly did you get it or should I explain it better and more carefully??
06.01.2006 22:48
I have no idea what you're trying to say. What are the $a_i,b_i$ (I'm assuming they're the weights of apples, oranges resp. in the boxes) Then what about the bananas? Please "explain it better and more carefully"
06.01.2009 13:51
c) part: Lemma by Fedor Petrov: Any $ 2k$ pairs of positive reals $ (a_i,b_i)$ can be partitioned into $ 2$ groups of $ k$ pairs each, so that if $ x$ is a sum of $ a_i$ in the first group and $ y$ is a sum of $ a_i$ in the second group. Then $ |x - y|\leq\max_{i}a_i$. And the same inequality holds for the $ b_i$, i.e if $ m$ is a sum of $ b_i$ in the first group and $ n$ is a sum of $ b_i$ in the second group, then $ |m - n|\leq \max_i b_i$. Proof of the lemma: The statement clearly holds for the case $ k = 1,2$. So assume that the statement holds for $ k = n$ and let's prove it for $ k = n + 1$. WLOG assume that $ a_{2n + 2}\geq a_{2n + 1}\geq \max_{i = 1}^{2n}a_i$. Due to the induction assumptation used for the case $ 2n$ the following inequality must hold: $ |x - y|\leq a_{2n + 1}$. Consider two cases: 1.$ b_{2n + 2}\geq b_{2n + 1}$ WLOG suppose $ m\geq n$. Then add the pair $ (a_{2n + 1},b_{2n + 1})$ to the first group, and $ (a_{2n + 2},b_{2n + 2})$ to the second, so ${ |x + a_{2n + 1} - y - a_{2n + 2}}|\leq |x - y| + |a_{2n + 1} - a_{2n + 2}|\leq a_{2n + 1} + a_{2n + 2} - a_{2n + 1} = a_{2n + 2}$ Now suppose that $ m + b_{2n + 1}\geq n + b_{2n + 2}$, then $ |m + b_{2n + 1} - n - b_{2n + 2}| = m + b_{2n + 1} - n - b_{2n + 2}\leq\max_{i}^{2n + 2}b_i$, if $ m + b_{2n + 1}\leq n + b_{2n + 2}$ then: $ |m + b_{2n + 1} - n - b_{2n + 2}| = n + b_{2n + 2} - b_{2n + 1} - m\leq b_{2n + 2} - b_{2n + 1}\leq\max_{i}^{2n + 2}b_i$. For the case $ b_{2n + 1} > b_{2n + 2}$ do the reverse addition, the rest is completely the same as in the considered case. So the lemma is proved. $ \blacksquare$ The last step is pretty obvious, take two boxes, one with max number of apples weight and second with max number of oranges weights. So applying the lemma for $ 98$ ,for $ a_i$ take weights of apples and for $ b_i$ weights of oranges, and choose a group with bigger weight of bananas in it. And add both those boxes into this group.
01.01.2020 00:37
I have a question: for part c, we were able to deal with apples, oranges, and bananas, but is there a way we can generalize this problem so that we can deal with, say, $n$ fruits instead of just $3$? Sorry if the question is vague (and for the massive bump), but I am super curious about this.
14.04.2023 01:01
Here is what I believe is a different solution to part (c):
08.08.2023 23:52
Place the boxes in 3d space so that no four are coplanar. By the ham sandwich theorem, there is a plane which bisects the apples (treated as a single object) and does the same for the oranges and bananas. Choose the side of the plane with the least number of boxes. The worst case is when 3 boxes intersect the plane and there are 48 on one of the sides and 49 on the other. Thus you select at most 51 boxes. You have at least half of each type of fruit in this collection of boxes.
15.11.2024 14:48
https://turgor.ru/lktg/2005/4/razbeng.ps