Olympiad Maths Prep

Track / Stage 10 / 36 of 40 #1996 of 2000

Problem 1996

Hardest shortlist tier
Combinatorics Difficulty 9.3 Prove it China National Team Selection Test · China

Given positive integers kk and nn (n2n \ge 2), find the minimum constant cc satisfying this assertion: if GG is a simple knkn-regular graph (the degree of each vertex is knkn) with mm vertices, then each vertex can be coloured one of nn colours, such that the number of “mono edges” is at most cmcm. Here, a mono edge is an edge incident to two vertices of the same colour.

This one wants a proof. Work it on paper, read the official solution, then mark yourself honestly — the ladder only means something if the record is true.

Official solution

c=k(knn+2)2(kn+1)c = \frac{k(kn - n + 2)}{2(kn + 1)}.

First, we prove ck(knn+2)2(kn+1)c \ge \frac{k(kn - n + 2)}{2(kn + 1)}. Consider a complete graph Kkn+1K_{kn+1} with any nn-colouring of the vertices. Suppose that the numbers of vertices coloured by 1, 2, ..., nn are a1,a2,...,ana_1, a_2, ..., a_n, respectively. Then
a12+a22++an2(a1+a2++an)2n=(kn+1)2n=k2n+2k+1n. \begin{aligned} a_1^2 + a_2^2 + \dots + a_n^2 &\ge \frac{(a_1 + a_2 + \dots + a_n)^2}{n} \\ &= \frac{(kn + 1)^2}{n} \\ &= k^2n + 2k + \frac{1}{n}. \end{aligned}
As a1,a2,...,ana_1, a_2, ..., a_n are integers,
a12+a22++an2k2n+2k+1. a_1^2 + a_2^2 + \dots + a_n^2 \ge k^2n + 2k + 1.
Therefore, the number of mono edges is:
i=1nCai2=12(i=1nai2i=1nai)12(k2n+2k+1(kn+1))=12k(knn+2), \begin{aligned} \sum_{i=1}^{n} C_{a_i}^2 &= \frac{1}{2} \left( \sum_{i=1}^{n} a_i^2 - \sum_{i=1}^{n} a_i \right) \\ &\ge \frac{1}{2} (k^2n + 2k + 1 - (kn + 1)) \\ &= \frac{1}{2} k(kn - n + 2), \end{aligned}
which implies ck(knn+2)2(kn+1)c \ge \frac{k(kn - n + 2)}{2(kn + 1)}.

Next, we give three proofs that c=k(knn+2)2(kn+1)c = \frac{k(kn - n + 2)}{2(kn + 1)} satisfies the problem assertion.

Proof 1

For any knkn-regular graph GG, it is well known that GG has a (kn+1)(kn+1)-colouring such that adjacent vertices are of different colours. Divide the kn+1kn+1 colours randomly into nn groups such that one group contains k+1k+1 colours while each of the others contains kk colours, and for all these divisions, they have equal probabilities. Now change all colours of a group into one colour. For any edge of GG, initially, it is incident to vertices of different colours; after changing the colours, it is incident to vertices of the same colour, namely, it becomes a mono edge with a probability
Ck+12+(n1)Ck2Ckn+12=k(k+1)+k(k1)(n1)(kn+1)(kn)=knn+2n(kn+1). \frac{C_{k+1}^2 + (n-1)C_k^2}{C_{kn+1}^2} = \frac{k(k+1) + k(k-1)(n-1)}{(kn+1)(kn)} = \frac{kn - n + 2}{n(kn+1)}.
Therefore, after changing the colours, the expected number of mono edges is
knn+2n(kn+1)knm2=mk(knn+2)2(kn+1)=cm. \frac{kn - n + 2}{n(kn + 1)} \cdot \frac{knm}{2} = m \cdot \frac{k(kn - n + 2)}{2(kn + 1)} = cm.
There must exist an nn-colouring of GG such that the number of mono edges is less than or equal to cmcm. This verifies the problem assertion.

Proof 2

Suppose that among all nn-colourings of GG, the minimum number of mono edges is T(G)T(G). Let VV consist of vertices of GG. For a permutation π=(v1,v2,...,vm)\pi = (v_1, v_2, . . . , v_m) of VV, colour v1,v2,...,vmv_1, v_2, . . . , v_m in order (by one of nn colours) as follows. For a vertex vv, suppose that in π\pi, Aπ(v)A_{\pi}(v) of knkn neighbouring vertices of vv appear before vv. We colour vv with the colour that appears least frequently among those Aπ(v)A_{\pi}(v) neighbours (it appears at most Aπ(v)/n\lfloor A_{\pi}(v)/n \rfloor times). According to this greedy algorithm, it is guaranteed that
T(G)F(π):=vVAπ(v)n. T(G) \leq F(\pi) := \sum_{v \in V} \left\lfloor \frac{A_{\pi}(v)}{n} \right\rfloor.
The above inequality holds for any permutation π\pi. It suffices to prove, for all m!m! permutations, the average of F(π)F(\pi) is k(knn+2)2(kn+1)m\frac{k(kn - n + 2)}{2(kn + 1)} \cdot m, so that some permutation π\pi gives a desired nn-colouring. For a vertex vv, let its neighbours be {u1,u2,,ukn}\{u_1, u_2, \dots, u_{kn}\}. Consider B={v,u1,u2,,ukn}B = \{v, u_1, u_2, \dots, u_{kn}\}: among the m!m! relative orders of elements of BB given by all m!m! permutations, vv appears at position 1, 2, \dots, kn+1kn + 1 with equal probability 1kn+1\frac{1}{kn + 1}. Hence, as π\pi traverses all m!m! permutations, the average of Aπ(v)n\left\lfloor \frac{A_{\pi}(v)}{n} \right\rfloor is
1kn+1a=0knan=1kn+1(0×n+1×n++(k1)×n+k)=k(knn+2)2(kn+1). \begin{aligned} \frac{1}{kn+1} \sum_{a=0}^{kn} \left\lfloor \frac{a}{n} \right\rfloor &= \frac{1}{kn+1} (0 \times n + 1 \times n + \dots + (k-1) \times n + k) \\ &= \frac{k(kn - n + 2)}{2(kn + 1)}. \end{aligned}
As a result, the average of F(π)F(\pi) is k(knn+2)2(kn+1)m=cm\frac{k(kn - n + 2)}{2(kn + 1)} \cdot m = cm.

Proof 3

For a knkn-regular graph GG, let A=V(G)A = |V(G)| be the number of vertices of GG. Since there are only finitely many nn-colourings of GG, there must be one with the minimum number of mono edges, say CC. We have the following claims on CC.

Claim 1 For every vertex vv, vv has at most kk neighbours that are in the same colour as vv; if this does occur, then vv has exactly kk neighbours in each of the nn colours (we call this vv a "balanced vertex").

Proof of claim 1 Let vv be of colour PP. If there is another colour QQ such that among vv's neighbours, the number of vertices in colour PP is larger than that in colour QQ, then we change the colour of vv from PP to QQ. This will reduce the number of mono edges, which is a contradiction. Hence, there are fewest neighbours of vv in colour PP (or one of the fewest); as vv has knkn neighbours, the claim is verified.

Claim 2 Adjacent balanced vertices must be monochromatic.

Proof of claim 2 Let v,wv, w be adjacent balanced vertices, vv in colour PP while ww in colour QQ. Changing vv to QQ and ww to PP, vwvw will not be a mono edge, but the numbers of mono edges incident to vv or ww will each decrease by 1, a contradiction.

Claim 3 If vv is not a balanced vertex, vv is adjacent to rr balanced vertices which have different colours from vv, then there are at most krk+1k - \frac{r}{k+1} mono edges incident to vv.

Proof of claim 3 Consider the edges between these rr balanced vertices. As each balanced vertex is adjacent to at most kk balanced vertices of its colour, in the subgraph of these vertices, the degree of each vertex does not exceed kk. Now we can choose at least rk+1\frac{r}{k+1} of these balanced vertices such that any two of them are not adjacent (assume that at most tt vertices can be chosen, then they have tktk or fewer neighbours, tk+trtk+t \ge r, or trk+1t \ge \frac{r}{k+1}). Change them to the colour of vv. From the properties of balanced vertices, we see that the number of mono edges does not change; however, if the number of mono edges emanating from vv exceeds kk, then changing vv's colour will reduce the number of mono edges, a contradiction. Therefore, the number of mono edges emanating from vv does not exceed kk, and hence there are at most krk+1k - \frac{r}{k+1} mono edges incident to vv.

Let aa be the number of balanced vertices in GG. There are two situations.

(i) If ak+1kn+1Aa \le \frac{k+1}{kn+1}A. By calculating the number of mono edges emanating from each vertex in two ways, we find that the total number of mono edges does not exceed
12(ak+(Aa)(k1))=12((k1)A+a)12((k1)A+k+1kn+1A)=k(knn+2)2(kn+1)A. \begin{align*} \frac{1}{2}(ak + (A-a)(k-1)) &= \frac{1}{2}((k-1)A + a) \\ &\le \frac{1}{2} \left( (k-1)A + \frac{k+1}{kn+1}A \right) \\ &= \frac{k(kn-n+2)}{2(kn+1)}A. \end{align*}

(ii) If a>k+1kn+1Aa > \frac{k+1}{kn+1}A. From Claim 2, it follows that the heterochromatic neighbours of a balanced vertex are never balanced vertices. Thus, the number of edges connecting a balanced vertex and a heterochromatic neighbour is ak(n1)>k(k+1)(n1)kn+1Aak(n-1) > \frac{k(k+1)(n-1)}{kn+1}A. Now for each non-balanced vertex, consider its heterochromatic balanced (vertex) neighbours: let the numbers be r1,r2,,rAar_1, r_2, \dots, r_{A-a}. We have
r1+r2++rAa>k(k+1)(n1)kn+1A. r_1 + r_2 + \dots + r_{A-a} > \frac{k(k+1)(n-1)}{kn+1} A.
From Claim 3, the number of mono edges does not exceed
12(ka+i=1Aa(krik+1))=12(kA1k+1i=1nari)<12(kAk(k+1)(n1)(k+1)(kn+1)A)=k(knn+2)2(kn+1)A. \begin{align*} \frac{1}{2} \left( ka + \sum_{i=1}^{A-a} \left( k - \frac{r_i}{k+1} \right) \right) &= \frac{1}{2} \left( kA - \frac{1}{k+1} \sum_{i=1}^{n-a} r_i \right) \\ &< \frac{1}{2} \left( kA - \frac{k(k+1)(n-1)}{(k+1)(kn+1)} A \right) \\ &= \frac{k(kn-n+2)}{2(kn+1)} A. \end{align*}
Therefore, c=k(knn+2)2(kn+1)c = \frac{k(kn - n + 2)}{2(kn + 1)} as desired.

Source: MathNet, licensed CC-BY-4.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.