Browse · MathNet
PrintEstonian Mathematical Olympiad
Estonia counting and probability
Problem
a. Every side and diagonal of a regular -gon is coloured either red or blue. Can it happen that the same number of red and blue line segments meet at each vertex?
b. The same question if only the diagonals are coloured.
b. The same question if only the diagonals are coloured.
Solution
a. Each side and diagonal connects vertices that are to side lengths apart as you move along the polygon. Exactly sides or diagonals of a given length meet at each vertex. We color the sides and diagonals that have an odd number of sides between their endpoints red and all other diagonals blue. Since there are an equal number of odd and even lengths, there are also an equal number of red and blue segments meeting at each vertex.
b. Suppose we can color the diagonals as required. Then each vertex has red (and blue) diagonals. Adding up the numbers of red diagonals that meet at each vertex, we get , which is an odd number. On the other hand, each diagonal has been counted exactly times (once at each of its endpoints), so the sum should be even. The contradiction shows that the situation is not possible.
---
Alternative solution.
Consider a graph whose vertices are the vertices of a given polygon and whose edges are its colored sides and diagonals.
a. We note that each vertex has adjacent edges, which is an even number. Hence there is an Euler cycle in this graph. In total, there are edges in this graph, which is also an even number. We can color the edges in the resulting Euler cycle alternately red and blue. Then there will be one red and one blue edge at each vertex when we pass through that vertex. Since we eventually pass through all the edges and return to the starting vertex, the numbers of blue and red edges at each vertex will be equal.
b. Now there are edges in total, which is odd. If the same number of red and blue line segments meet at each vertex then the total numbers of red and blue segments must be the same. So the total number of edges should be even, a contradiction.
b. Suppose we can color the diagonals as required. Then each vertex has red (and blue) diagonals. Adding up the numbers of red diagonals that meet at each vertex, we get , which is an odd number. On the other hand, each diagonal has been counted exactly times (once at each of its endpoints), so the sum should be even. The contradiction shows that the situation is not possible.
---
Alternative solution.
Consider a graph whose vertices are the vertices of a given polygon and whose edges are its colored sides and diagonals.
a. We note that each vertex has adjacent edges, which is an even number. Hence there is an Euler cycle in this graph. In total, there are edges in this graph, which is also an even number. We can color the edges in the resulting Euler cycle alternately red and blue. Then there will be one red and one blue edge at each vertex when we pass through that vertex. Since we eventually pass through all the edges and return to the starting vertex, the numbers of blue and red edges at each vertex will be equal.
b. Now there are edges in total, which is odd. If the same number of red and blue line segments meet at each vertex then the total numbers of red and blue segments must be the same. So the total number of edges should be even, a contradiction.
Final answer
a: Yes. b: No.
Techniques
Graph TheoryCounting two waysColoring schemes, extremal argumentsInvariants / monovariants