Maths Olympiad Prep

Library / /13 of 13

Combinatorics Difficulty 7.8 National olympiad, round 2 Prove it Bulgaria

Given a natural number n3n \ge 3. To find the smallest real number k>0k > 0 with the following property: If GG is a connected graph with nn vertices and mm edges, then it is always possible to delete no-more than k(mn2)k \cdot \left(m - \left\lfloor \frac{n}{2} \right\rfloor\right) edges so that vertices can be colored in two colors and every undeleted edge has multi-colored vertices.
(Alexander Ivanov)

Solution

Lemma: Let GG be a connected graph with at least 33 vertices. Then either there exist two vertices connected by an edge whose removal (along with the outgoing edges) leaves GG connected, or there exist two vertices of degree 11 (i.e., "leaves").
Consider an arbitrary "covering tree" of GG and take as its "root" an arbitrary vertex that is not a "leaf". Let vv be the farthest vertex from the "root" and uu be its "ancestor". Let v1,v2,,vkv_1, v_2, \dots, v_k be the "successors" of uu. Clearly, they are all leaves on the tree.

Case 1. Among v1,v2,,vkv_1, v_2, \dots, v_k there are two vertices connected by an edge in GG.
Then removing these two vertices leaves the tree (and therefore GG) connected.

Case 2. Among v1,v2,,vkv_1, v_2, \dots, v_k there are two vertices that are leaves in GG. Then there are indeed at least two leaves in the output graph.

Case 3. Among v1,v2,,vkv_1, v_2, \dots, v_k there is at most one vertex that is a leaf in GG (b.o.o., let it be v1v_1). Then let us "connect" each of v2,,vkv_2, \dots, v_k to an arbitrary vertex in GG other than uu (such vertices exist, and none of these "connecting" edges are part of the covering tree, due to the extreme choice of uu, i.e., each of them is part of a loop, all remaining edges of which are from the covering tree). Now we can remove uu and v1v_1 and we will have a spanning tree again, so GG remains connected.

This proves the lemma. With its help we can easily prove the following

Assertion: Let GG be a connected graph with n2n \ge 2 vertices. Then we can color its vertices in two colors, so that if xx and yy are the number of "multicolored" and "single colored" edges, respectively, then xyn2x - y \ge \lfloor \frac{n}{2} \rfloor.

Proof: For n=2,3n = 2, 3 the statement is immediately verified. Let n4n \ge 4 and GG be a connected graph with nn vertices. Let uu and vv be the two vertices from the Lemma. We "remove" uu and vv and color G{u,v}G \setminus \{u, v\} according to the induction hypothesis. Now, it is not difficult to see that we can color uvu \cup v such that the difference under consideration increases by at least 11. Indeed, this is clear if uu and vv are leaves, and otherwise case, considering the parity of the number of neighbors of uvu \cup v in G{u,v}G \setminus \{u, v\}, we see that there is always such a way. The statement is proved by induction.

Let us now consider an arbitrary connected graph GG with n3n \ge 3 vertices and mm edges. We "color" it according to the Assertion: we have xyn2x - y \ge \lfloor \frac{n}{2} \rfloor; x+y=mx + y = m, therefore
y12(mn2) y \le \frac{1}{2} \cdot \left( m - \left\lfloor \frac{n}{2} \right\rfloor \right)
and deleting yy edges satisfies the condition. Thus, we got k12k \le \frac{1}{2}.

To show that k12k \ge \frac{1}{2} let us consider the complete graph with nn vertices. A necessary and sufficient condition for having the coloring from the condition is that the graph obtained after deleting the edges is bipartite. Indeed, there must be no cycles of odd length in the graph, which is equivalent to the above.

Case 1. n=2n1n = 2n_1, n12n_1 \ge 2. Then m=(n12)m = \binom{n_1}{2}. To reach a bipartite graph, we need to delete all the edges in each of the two groups of vertices, and the number of deleted edges is minimal when the two groups are of equal power and contain n1n_1 vertices. So, we need to delete at least
(n12)+(n12)=n12n1 \binom{n_1}{2} + \binom{n_1}{2} = n_1^2 - n_1
n12n1k(2n1(2n11)2n1)    k12. n_1^2 - n_1 \le k \cdot \left( \frac{2n_1(2n_1-1)}{2} - n_1 \right) \implies k \ge \frac{1}{2}.

Case 2. n=2n1+1n = 2n_1 + 1, n11n_1 \ge 1. Similarly, here we need to delete at least
(n1+12)+(n12)=n12 \binom{n_1+1}{2} + \binom{n_1}{2} = n_1^2
edges and again

n_1^2 k(2n1(2n1+1)2\le k \cdot \left( \frac{2n_1(2n_1+1)}{2} \right. - n_1 )    k12.\left. \right) \implies k \ge \frac{1}{2}. \quad \square

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

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