Unofficial archive — problems, solutions & results © IMC, reproduced with permission.

IMC / 2023 / Problems / Day 2, P8

IMC 2023 · Day 2 · P8

very hard

Let TT be a tree with nn vertices; that is, a connected simple graph on nn vertices that contains no cycle. For every pair u,vu, v of vertices, let d(u,v)d(u, v) denote the distance between uu and vv, that is, the number of edges in the shortest path in TT that connects uu with vv.

Consider the sums W(T)={u,v}V(T)uvd(u,v)andH(T)={u,v}V(T)uv1d(u,v).W(T) = \sum_{\substack{\{u,v\} \subseteq V(T) \\ u \ne v}} d(u, v) \quad \text{and} \quad H(T) = \sum_{\substack{\{u,v\} \subseteq V(T) \\ u \ne v}} \frac{1}{d(u, v)}. Prove that W(T)H(T)(n1)3(n+2)4.W(T) \cdot H(T) \ge \frac{(n-1)^3 (n+2)}{4}. (proposed by Slobodan Filipovski, University of Primorska, Koper)

Solution (official)

Hint: There are n1n - 1 pairs u,vu, v with d(u,v)=1d(u, v) = 1; in all other cases d(u,v)2d(u, v) \ge 2.

Let k=(n2)k = \binom{n}{2} and let x1x2xkx_1 \le x_2 \le \dots \le x_k be the distances between the pairs of vertices in the tree TT. Thus W(T)H(T)=(x1+x2++xk)(1x1+1x2++1xk).W(T) \cdot H(T) = (x_1 + x_2 + \dots + x_k) \cdot \left( \frac{1}{x_1} + \frac{1}{x_2} + \dots + \frac{1}{x_k} \right). Since the tree has exactly n1n - 1 edges, there are exactly n1n - 1 pairs of vertices at distance one, that is, x1=x2==xn1=1x_1 = x_2 = \dots = x_{n-1} = 1. Thus W(T)H(T)=(n1+xn+xn+1++xk)(n1+1xn+1xn+1++1xk)==(n1)2+(n1)((xn+1xn)++(xk+1xk))++(xn++xk)(1xn++1xk).\begin{align*} W(T) \cdot H(T) &= (n - 1 + x_n + x_{n+1} + \dots + x_k) \cdot \left( n - 1 + \frac{1}{x_n} + \frac{1}{x_{n+1}} + \dots + \frac{1}{x_k} \right) = \\ &= (n-1)^2 + (n-1) \left( \left( x_n + \frac{1}{x_n} \right) + \dots + \left( x_k + \frac{1}{x_k} \right) \right) + {} \\ &\quad + (x_n + \dots + x_k) \left( \frac{1}{x_n} + \dots + \frac{1}{x_k} \right). \end{align*} From Cauchy inequality we have (xn++xk)(1xn++1xk)(1+1++1)2=(kn+1)2=(n1)2(n2)24.(x_n + \dots + x_k) \left( \frac{1}{x_n} + \dots + \frac{1}{x_k} \right) \ge (1 + 1 + \dots + 1)^2 = (k - n + 1)^2 = \frac{(n-1)^2 (n-2)^2}{4}. The equality holds if and only if xn=xn+1==xkx_n = x_{n+1} = \dots = x_k.

Now we minimize the expression (xn+1xn)++(xk+1xk)\left( x_n + \frac{1}{x_n} \right) + \dots + \left( x_k + \frac{1}{x_k} \right), where xi[2,n1]x_i \in [2, n-1].

It is clear that the minimal value is achieved for xn=xn+1==xk=2x_n = x_{n+1} = \dots = x_k = 2. Therefore we get W(T)H(T)(n1)2+(n1)(2+12)(kn+1)+(n1)2(n2)24=(n1)3(n+2)4.W(T) \cdot H(T) \ge (n-1)^2 + (n-1) \left( 2 + \frac12 \right) (k - n + 1) + \frac{(n-1)^2 (n-2)^2}{4} = \frac{(n-1)^3 (n+2)}{4}. The equality holds for x1==xn1=1x_1 = \dots = x_{n-1} = 1 and xn=xn+1==xk=2x_n = x_{n+1} = \dots = x_k = 2, that is, the smallest value is achieved for the tree where n1n - 1 pairs are at distance one, and the remaining k(n1)=(n1)(n2)2k - (n-1) = \frac{(n-1)(n-2)}{2} pairs are at distance two. The unique tree which satisfies these conditions is the star graph SnS_n. In this case it holds W(Sn)H(Sn)=(n1)2(n1)(n+2)4=(n1)3(n+2)4.W(S_n) \cdot H(S_n) = (n-1)^2 \cdot \frac{(n-1)(n+2)}{4} = \frac{(n-1)^3 (n+2)}{4}.

How the field did

contestants scored
377
average (of 10)
2.07
solved (≥ 80%)
14.3%
near-0 (≤ 10%)
58.6%
discrimination
0.52

Score distribution (field cohort)

Computed on contestants with a meaningful total (field cohort); discrimination is the corrected item–total correlation.

Similar problems

IMC 2016 · Day 2 · P9killeravg 0.7/10 · solved 3% · near-0 92% · disc 0.40
IMC 2014 · Day 2 · P10very hardavg 1.6/10 · solved 13% · near-0 81% · disc 0.31
IMC 2001 · Day 2 · P9hardavg 2.3/10 · solved 16% · near-0 66% · disc 0.48
IMC 2007 · Day 1 · P4hardavg 2.0/10 · solved 16% · near-0 69% · disc 0.61