This is a failed attempt of mine at creating a contest problem; the failure is in the fact that I wasn't able to solve it myself.


Let $x\_1$, $x\_2$, ..., $x\_n$ be $n$ reals. For any integer $k$, define a real $f\_k\left(x\_1,x\_2,...,x\_n\right)$ as the sum


$\sum\limits\_{T\subseteq\left\lbrace 1,2,...,n\right\rbrace ;\\ \ \left|T\right|=k} \left|\sum\limits\_{t\in T}x\_t - \sum\limits\_{t\in\left\lbrace 1,2,...,n\right\rbrace \setminus T} x\_t\right|$.


We mostly care about the case of $n$ even and $k=\frac n 2$; in this case, $f\_k\left(x\_1,x\_2,...,x\_n\right)$ is a kind of measure for the dispersion of the reals $x\_1$, $x\_2$, ..., $x\_n$ (more precisely, of their $\frac n 2$-element sums).


Now my conjecture is that if $n$ is even and $k=\frac n 2$, then


$f\_k\left(x\_1,x\_2,...,x\_n\right)\geq f\_k\left(\left|x\_1\right|,\left|x\_2\right|,...,\left|x\_n\right|\right)$


for any reals $x\_1$, $x\_2$, ..., $x\_n$.


I think I have casebashed this for $n=4$ and maybe $n=6$; I don't remember anymore - it's too long ago. Sorry. I still have no idea what to do in the general case, although my attempts at big-$n$ counterexamples weren't of much success either.



Sum of difference moduli vs. sum of modulus differences
Hi, Darij!


This is actually quite simple (and also much more appropriate for AoPS than for MO). The idea is to show that for every $t$, the expression $\sum\_T|t+D\_T|$, where $D\_T$ is your difference, goes down if you replace all $x\_k$ by their absolute values ($t=0$ is your claim). The base $n=2$ is rather trivial and boils down to the inequality $|t-a|+|t+a|=2\max(|t|,|a|)\ge 2\max(|t|,|b|)=|t-b|+|t+b|$ when $|a|\ge |b|$. Now, assume that we know the statement for $n$ and want to show it for $n+2$. The trick is to choose a random pair of indices $i,j$ and notice that the full sum is just the average over such choices of $\sum\_T(|t+x\_i-x\_j+D\_T|+|t+x\_j-x\_i+D\_T|)$ where $T$ runs over all $n/2$ element subsets of the set of remaining indices. Now, applying the statement with $n=2$ for fixed $T$, we see that we can replace $x\_i$ and $x\_j$ with their absolute values and our sum (with fixed $i,j$) will go down in each term. After that, we replace everything else by the absolute values using the induction assumption and, again, the sum will go down. But now we are completely done: we showed that for each fixed $i,j$, the sum goes down when we replace everything by the absolute value, so it is true after averaging as well.


The whole thing is just a textbook case of the "inventor's paradox". Strange that you haven't figured it out... 


