"Equal" Partitions

(Gabriel here.) Today I'll talk about an interesting distribution problem that I solved recently and my thought process when solving it. Here it is:

(India-Iran Friendly Competition Q5) Let nkn \geq k be positive integers and let a1,,ana_1, \dots, a_n be a non-increasing list of positive real numbers. Prove that there exists kk sets B1,,BkB_1, \dots, B_k which partition the set {1,2,,n}\{1, 2, \dots, n\} such that min1jk(iBjai)min1jk(12k+12ji=jnai).\min_{1 \le j \le k} \left(\sum_{i \in B_j} a_i \right) \geq \min_{1 \le j \le k} \left(\frac{1}{2k+1-2j} \cdot \sum^n_{i=j} a_i\right). Proposed by Navid Safaei

The inequality looks extremely convoluted, so let's dissect what is happening.

  1. We have the numbers a1a2ana_1\ge a_2\ge \dots \ge a_n, and we can freely partition them into kk different (possibly non-empty) groups.
  2. The expression on the LHS is just the minimum sum of elements across the groups. Because there is no mention of BiB_i in the RHS, we are simply trying to distribute the elements as evenly as possible.
  3. The RHS comprises the following terms: a1++an2k1\frac{a_1+\dots+a_n}{2k-1}, a2++an2k3\frac{a_2+\dots+a_n}{2k-3}, ,ak++an1\dots ,\frac{a_k+\dots+a_n}{1}. The way we should treat the "min\min" is to think of it as giving us a choice: we only need our partition to beat one of these terms.

Now that we have a better idea of what we want, we should try proving some small cases.

Suppose k=1k=1, so there is no partition at all. Then, we want to show that a1+a2++ana1+a2++an1,a_1+a_2+\dots+a_n\ge \frac{a_1+a_2+\dots+a_n}{1},which is obvious. At this point, we should probably define a1++an=Sa_1+\dots+a_n=S.


We now try k=2k=2.

We want the minimum sum in our partition to beat either S3\frac{S}{3} or a2++an1\frac{a_2+\dots+a_n}{1}. The latter expression is pretty suggestive. The only way we can beat that is if our partition is {a1}\{a_1\} and {a2,,an}\{a_2,\dots,a_n\}, i.e. if a1a2++ana_1\ge a_2+\dots+a_n.

What if a1<a2++ana_1 < a_2+\dots+a_n (or equivalently, a1<S2a_1 < \frac{S}{2})? Remember that we want the groups to be as close as possible. Let's take the smallest ii such that a1+a2++ai>ai+1++an.a_1+a_2+\dots+a_i>a_{i+1}+\dots+a_n.This means that a1++ai1S2a_1+\dots+a_{i-1}\le \frac{S}{2} and a1++ai>S2a_1+\dots+a_i>\frac{S}{2}. We want one of these partitions to work.

What happens if they don't? Then a1++ai1<S3a_1+\dots+a_{i-1} < \frac{S}{3} and ai+1++an<S3a_{i+1}+\dots+a_n < \frac{S}{3}, so ai>S3a_i>\frac{S}{3}. However, if ai>S3a_i>\frac{S}{3}, then so is a1a_1, and the partition {a1}{a2,,an}\{a_1\}|\{a_2,\dots,a_n\} will beat S3\frac{S}{3}, so we are done.

Here I found a pictorial visualisation much more effective:


This case has given us some structural insight:

  1. The a2++an1\frac{a_2+\dots+a_n}{1} is used to catch cases where a1a_1 is disproportionately big.
  2. If all elements are "small", then we can beat S2k1\frac{S}{2k-1}. In this specific case, if all aiS3a_i\le \frac{S}{3}, then we can beat S3\frac{S}{3}.

We now move on to k=3k=3.

We now need to beat one of the terms S5\frac{S}{5}, Sa13\frac{S-a_1}{3}, or Sa1a21\frac{S-a_1-a_2}{1}.

As before, we want to eliminate cases where a1a_1 is disproportionately big. In the k=2k=2 case, this happens when a1S2a_1\ge \frac{S}{2}. What happens when a1S3a_1\ge \frac{S}{3} here? The key realisation is that this means a1a_1 is greater than the average size of the three groups. This means that even if we group a1a_1 by itself, it won't have the minimum sum.

In other words, it is optimal to put a1a_1 in its own group. After we do that, it suffices to show we can put a2,,ana_2,\dots,a_n into two groups so that they beat S5\frac{S}{5}, a2++an3\frac{a_2+\dots+a_n}{3} or a3++an1\frac{a_3+\dots+a_n}{1}. Does that look familiar? That is exactly the question we solved in the previous case! This hints at an induction proof for the general case.

Next, let's address the other situation, where all aia_i are less than S3\frac{S}{3}. As before, we want to use a greedy argument to produce the three groups that beat S5\frac{S}{5}.

Obviously, elements between S5\frac{S}{5} and S3\frac{S}{3} should stay in their own group. For everything else that is less than S5\frac{S}{5}, we can partition them into groups of between S5\frac{S}{5} and 2S5\frac{2S}{5}, with possibly some leftovers. Since each complete group is 2S5\le \frac{2S}{5}, we will have at least S5\frac{S}{5} leftover, and we are done!


Now, we are ready to tackle the original problem.

If a1Ska_1\ge \frac{S}{k}, then we can put it in its own group. We now have to partition a2,,ana_2,\dots,a_n into k1k-1 groups to beat one of a2++an2k3,,ak++an1\frac{a_2+\dots+a_n}{2k-3},\dots,\frac{a_k+\dots+a_n}{1}, which is exactly the case (n1,k1)(n-1,k-1).

Else, all elements are <Sk < \frac{S}{k}. We show we can beat S2k1\frac{S}{2k-1}. First, put all elements between S2k1\frac{S}{2k-1} and Sk\frac{S}{k} by themselves. For the rest, arbitrarily group them together and stop once the group size is S2k1\ge \frac{S}{2k-1}.

Any complete group have size 2S2k1\le \frac{2S}{2k-1}, and so there are at least k1k-1 of them. Finally, the last group will have size S2k1\ge \frac{S}{2k-1}, so we are done. (This may remind you of questions such as IMOSL 2013 C1.)


I hope this write-up is a good illustration of how to use small cases to gain deeper insights into the structure of the question and to eventually lead to a solution.

Comments

Popular posts from this blog

SMO Open 2024 ??% Speedrun

Musings about the IMO