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.)
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 and sharing a common vertex. Then edge is coloured in red, too. If there exists a vertex such that the edges are not of the same colour, then wlog we can assume that is red and is blue, but then we have a triangle with exactly two red edges, a contradiction.

If some vertex is connected to and with blue edges, then perform the operation on the triangles , , and the number of blue edges increases, a contradiction.

Otherwise all the vertices are connected to and with red edges. Due to parity we have at least one blue edge. If and are connected by a blue edge, then perform the operation on , and the number of blue edges increases, a contradiction.
Case 2. Every two red edges have no common vertex. Let and be red edges. Perform the operation in the triangles . The number of blue edges increases.

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
All team scores
| Team | Score |
|---|---|
| St. Petersburg | 5 / 5 |
| Germany | 5 / 5 |
| Poland | 5 / 5 |
| Denmark | 5 / 5 |
| Estonia | 5 / 5 |
| Lithuania | 5 / 5 |
| Sweden | 5 / 5 |
| Norway | 5 / 5 |
| Finland | 3 / 5 |
| Iceland | 0 / 5 |
| Latvia | 0 / 5 |