Daily

Random

Practice set

Baltic Way 2017 · Problem 7

Combinatorics

Each edge of a complete graph on 30 vertices is coloured either red or blue. It is allowed to choose a nonmonochromatic triangle and change the colour of the two edges of the same colour to make the triangle monochromatic. Prove that by using this operation repeatedly it is possible to make the entire graph monochromatic.

(A complete graph is a graph where any two vertices are connected by an edge.)

Change pool

When you’re ready

Review material becomes available with the next Daily.

Review

Topics

Graph theory · Colorings and configurations · Invariants and monovariants

Solutions

Solution

The total number of edges is odd. Assume without loss of generality that the number of blue edges is odd, and the number of red edges is even. It is clear that the parity of the number of edges of each colour does not change by the operations.

Consider a graph with maximal number of blue edges that can be obtained by these operations. Suppose that not all of its edges are blue. Then it contains at least two red edges. Because of maximality, it is not possible to have a triangle with exactæy two red edges.

Case 1. It contains two red edges ABA B and BCB C sharing a common vertex. Then edge ACA C is coloured in red, too. If there exists a vertex DD such that the edges DA,DB,DCD A, D B, D C are not of the same colour, then wlog we can assume that DAD A is red and DBD B is blue, but then we have a triangle ABDA B D with exactly two red edges, a contradiction.

Official solution diagram for Baltic Way 2017 Problem 7.

If some vertex DD is connected to A,BA, B and CC with blue edges, then perform the operation on the triangles BCD,ABDB C D, A B D, ACDA C D, and the number of blue edges increases, a contradiction. Official solution diagram for Baltic Way 2017 Problem 7.

Otherwise all the vertices are connected to A,BA, B and CC with red edges. Due to parity we have at least one blue edge. If XX and YY are connected by a blue edge, then perform the operation on AXYA X Y, and the number of blue edges increases, a contradiction.

Case 2. Every two red edges have no common vertex. Let ABA B and CDC D be red edges. Perform the operation in the triangles ABD,BCD,ABDA B D, B C D, A B D. The number of blue edges increases. Official solution diagram for Baltic Way 2017 Problem 7.

Contest context

Results from Baltic Way 2017

11 teams

Mean score
3.9 / 5
Scores of 4 or 5
8 / 11
Estonia
5 / 5

Score distribution

02
10
20
31
40
58
All team scores
TeamScore
St. Petersburg5 / 5
Germany5 / 5
Poland5 / 5
Denmark5 / 5
Estonia5 / 5
Lithuania5 / 5
Sweden5 / 5
Norway5 / 5
Finland3 / 5
Iceland0 / 5
Latvia0 / 5