A positive integer $N$ is given. Panda builds a tree on $N$ vertices, and writes a real number on each vertex, so that $1$ plus the number written on each vertex is greater or equal to the average of the numbers written on the neighboring vertices. Let the maximum number written be $M$ and the minimal number written $m$. Mink then gives Panda $M-m$ kilograms of bamboo. What is the maximum amount of bamboo Panda can get?
Problem
Source: 2024 Israel TST Test 3 P2
Tags: function, averages, Trees, combinatorics
31.01.2024 12:05
another cute combi problem on Israel TST
18.02.2024 22:24
Similar to above
19.02.2024 13:21
Denote the label on each vertex $u\in V$ as $\ell(u)$. Thus, $$\ell(u)\ge \mathrm{avg}(\ell(N(u))-1$$It means that $$-\ell(u)\le \mathrm{avg}(-\ell(N(u))+1 \qquad(*)$$Let the maximum label $M$ be on the vertex $v$ and denote $\ell_1(u):=M-\ell(u), u\in V$. Observe that $\ell_1(u)\ge 0, \forall u\in V$ and $\ell_1(v)=0$. By (*) we get $$\ell_1(u) \le \mathrm{avg}(\ell_1(N(u)))+1$$Now, we are at the hypothesis of this St. Petersburg 2022 problem. What I mean is that the original problem is just a modified version of that Russian problem.
03.11.2024 22:11
Please correct me if I am wrong. We prove by induction that $max(M-m) = (n-1)^2$ and this can be achieved only in the case the tree is actually a path. Base cases are trivial. Assume the hypothesis is true for every $k\leq n$. We will prove it for $n+1$. FTSOC let there is a better construction which achieves more that $n^2$ kilograms, which is NOT a single path. Therefore, there exists a vertex with degree at least 3. We can "stretch out" it's branches, by induction hypothesis achieving each time a smaller $m$ or a bidder $M$. From then, contradiction is immediate.