Browse · MathNet
PrintIranian Mathematical Olympiad
Iran counting and probability
Problem
The city of Bridge Village has some highways. Highways are closed curves that have intersections with each other or themselves in 4-way crossroads. Mr. Bridge Lover, mayor of the city, wants to build a bridge on each crossroad in order to decrease the number of accidents. He wants to build the bridges in such a way that in each highway, cars pass above and under a bridge alternatively. By knowing the number of highways determine whether this action is possible or not.
Solution
We show that bridges satisfying the problem's conditions can be built no matter what the configuration of the highways is. Throughout the solution we denote the highways by and and by the graph determined by those highways (crossroads are vertices of the graph and highways between two crossroads are edges of the graph).
Lemma. Faces of can be colored by two colors in a way that the colors of every two adjacent faces is different (Two faces are adjacent if they have an edge in common).
Proof of lemma. We proceed by induction on number of edges of graph . We call a coloring of faces of satisfying the mentioned property, a good coloring. Suppose that is the shortest path in that lies in just one highway and assume . Note that because of minimality, cannot cross itself, so is a simple curve, therefore dividing the plane into two regions. Now, is a closed or maybe an empty curve. Suppose that is the graph consisting of and . Since the number of edges of is less than , has a good coloring according to the induction hypothesis. Now, we add curve to and change the color of faces inside . It is very easy to check that this is a good coloring of . The base case is when is empty. In this case we have only one region which obviously has a good coloring!
Finally consider a good coloring (by colors black and white) for the graph and an arbitrary orientation for each highway. We have two types of edges. For some edges when we are moving through one (in its specified direction) our right face is white. We call such edges, edges of type 1 and others, edges of type 2. Build a bridge in the way of each edge of type 1. Note that in each crossroad exactly two of the edges are directed into the crossroad and only one of those two is of type 1. Hence our construction do not cause any contradictions.
Lemma. Faces of can be colored by two colors in a way that the colors of every two adjacent faces is different (Two faces are adjacent if they have an edge in common).
Proof of lemma. We proceed by induction on number of edges of graph . We call a coloring of faces of satisfying the mentioned property, a good coloring. Suppose that is the shortest path in that lies in just one highway and assume . Note that because of minimality, cannot cross itself, so is a simple curve, therefore dividing the plane into two regions. Now, is a closed or maybe an empty curve. Suppose that is the graph consisting of and . Since the number of edges of is less than , has a good coloring according to the induction hypothesis. Now, we add curve to and change the color of faces inside . It is very easy to check that this is a good coloring of . The base case is when is empty. In this case we have only one region which obviously has a good coloring!
Finally consider a good coloring (by colors black and white) for the graph and an arbitrary orientation for each highway. We have two types of edges. For some edges when we are moving through one (in its specified direction) our right face is white. We call such edges, edges of type 1 and others, edges of type 2. Build a bridge in the way of each edge of type 1. Note that in each crossroad exactly two of the edges are directed into the crossroad and only one of those two is of type 1. Hence our construction do not cause any contradictions.
Final answer
Possible for any number of highways (always possible).
Techniques
Euler characteristic: V-E+FColoring schemes, extremal argumentsInduction / smoothing