Browse · MathNet
PrintSELECTION TESTS OF THE BELARUSIAN TEAM TO THE IMO
Belarus counting and probability
Problem
Let and be positive integers. An international company has connected cities of Armenia with cities of Belarus by direct two-way airlines. From each of these Belarusian cities there is a direct flight to exactly Armenian ones. It turned out that for any two Armenian cities there are exactly two Belarusian cities that are connected by airlines to both of them.
a) Prove that each of the Armenian cities is connected by airlines to exactly Belarusian cities.
b) Prove that it is possible to travel on planes of a given airline without repeating cities, while visiting at least cities in each of the countries.
a) Prove that each of the Armenian cities is connected by airlines to exactly Belarusian cities.
b) Prove that it is possible to travel on planes of a given airline without repeating cities, while visiting at least cities in each of the countries.
Solution
Let's translate the problem into the language of graphs.
Given a bipartite graph with parts and having the same number of vertices: . The degree of each vertex in is . For any two vertices of the part , there are exactly two vertices in that are adjacent to both vertices and .
a) Prove that the degree of any vertex in is also equal to .
b) Prove that there is a simple path in the graph that contains at least vertices in each part.
First, let's prove that and that the degree of each vertex in is equal to .
Let's count the number of pairs () where , , and is adjacent to and . On the one hand, we have ways to select and each such vertex gives pairs to which it is adjacent. On the other hand, there are ways to select distinct and , and further, for each pair, there are exactly two ways to select , according to the second property of our graph. Thus, , which implies that .
Let's take an arbitrary vertex from and let it have degree . Let us count in two ways the number of pairs where , , and vertex is adjacent to both vertices and . On the one hand, we have options to choose a vertex and for each such vertex we have exactly two choices of a vertex . On the other hand, each of the neighbors of a vertex has degree exactly , which gives pairs in question (the neighbors of a given vertex from must be different from , so there are of them). Thus , which means that .
Now let's move on to finding a path. Since the graph is regular, then by Hall's theorem there is a perfect matching in it – a set of pairwise non-adjacent edges. Let be such a matching. Let us take the longest such path , where and , with the following property:
if a vertex is in , then the vertex adjacent to in the matching is also in .
(Note that this condition does not require that edges from also be in our simple path.) Then all neighbors of the ends of lie in . In fact, if one of the ends of has a neighbor outside , then the neighbor of this vertex in is also not in our path and then we can extend our path by two vertices so that it starts and ends at different shares.
Let now () be one of the neighbors of a vertex in path . Then the path also has the above property. In particular, all neighbors of the vertex also lie in . Since has neighbors, we have a minimum of vertices from each of which has neighbors only in the path . Since vertices and have exactly two neighbors in common, they have a total of neighbors in . Next, consider the vertex – it has two common neighbors with each of the previous vertices, that is, a maximum of 4 common neighbors have already been counted. This gives new neighbors different from the previous ones. Reasoning in this way, we get which is what was required.
Given a bipartite graph with parts and having the same number of vertices: . The degree of each vertex in is . For any two vertices of the part , there are exactly two vertices in that are adjacent to both vertices and .
a) Prove that the degree of any vertex in is also equal to .
b) Prove that there is a simple path in the graph that contains at least vertices in each part.
First, let's prove that and that the degree of each vertex in is equal to .
Let's count the number of pairs () where , , and is adjacent to and . On the one hand, we have ways to select and each such vertex gives pairs to which it is adjacent. On the other hand, there are ways to select distinct and , and further, for each pair, there are exactly two ways to select , according to the second property of our graph. Thus, , which implies that .
Let's take an arbitrary vertex from and let it have degree . Let us count in two ways the number of pairs where , , and vertex is adjacent to both vertices and . On the one hand, we have options to choose a vertex and for each such vertex we have exactly two choices of a vertex . On the other hand, each of the neighbors of a vertex has degree exactly , which gives pairs in question (the neighbors of a given vertex from must be different from , so there are of them). Thus , which means that .
Now let's move on to finding a path. Since the graph is regular, then by Hall's theorem there is a perfect matching in it – a set of pairwise non-adjacent edges. Let be such a matching. Let us take the longest such path , where and , with the following property:
if a vertex is in , then the vertex adjacent to in the matching is also in .
(Note that this condition does not require that edges from also be in our simple path.) Then all neighbors of the ends of lie in . In fact, if one of the ends of has a neighbor outside , then the neighbor of this vertex in is also not in our path and then we can extend our path by two vertices so that it starts and ends at different shares.
Let now () be one of the neighbors of a vertex in path . Then the path also has the above property. In particular, all neighbors of the vertex also lie in . Since has neighbors, we have a minimum of vertices from each of which has neighbors only in the path . Since vertices and have exactly two neighbors in common, they have a total of neighbors in . Next, consider the vertex – it has two common neighbors with each of the previous vertices, that is, a maximum of 4 common neighbors have already been counted. This gives new neighbors different from the previous ones. Reasoning in this way, we get which is what was required.
Techniques
Matchings, Marriage Lemma, Tutte's theoremCounting two ways