Kvant Math Problem 1061
Interpret the cities and roads as a graph.
Verified: no
Verdicts: SKIP + SKIP
Solve time: 1m19s
Source on kvant.digital
Problem
In a country with more than two cities, some pairs of cities are connected by nonintersecting roads. It is known that for any three cities $A$, $B$, $C$, one can travel through this road network from $A$ to $B$ without passing through $C$. Prove that it is possible to assign a direction to every road so that one can travel from any city to any other city following the assigned directions.
V. E. Kolosov
Exploration
Interpret the cities and roads as a graph. The condition says that for any three cities $A,B,C$, there exists a path from $A$ to $B$ avoiding $C$. In graph-theoretic language, no vertex separates two other vertices. Thus deleting any vertex leaves the graph connected.
The roads are nonintersecting, so the graph is planar. A classical theorem of Robbins states that a connected graph admits a strongly connected orientation if and only if it has no bridges. The hypothesis looks stronger than the absence of bridges, because if a bridge existed, deleting one of its endpoints would disconnect the graph. Thus one route is to prove that the graph has no bridges and then invoke Robbins' theorem.
However, the statement explicitly mentions nonintersecting roads. That suggests a planar argument may be intended. In a planar graph, if deleting any vertex leaves the graph connected, the graph is 2-connected. A standard property of 2-connected planar graphs is that every edge belongs to the boundary of some face. If we orient every facial boundary cyclically in the same direction, then each edge receives a well-defined orientation. One then has to prove that the resulting orientation is strongly connected.
Small examples support this. For a cycle, orienting the cycle cyclically is strongly connected. For a graph consisting of two cycles sharing an edge, orienting all face boundaries clockwise gives a strongly connected digraph. The crucial point is to prove reachability between arbitrary vertices.
A useful fact about 2-connected planar graphs is that the boundary of the outer face is a cycle containing every vertex. If that is true, then after orienting all faces clockwise, the outer boundary becomes a directed cycle through all vertices. Any vertex can travel along this directed outer cycle to any other vertex. That immediately yields strong connectivity.
The step most likely to hide an error is the assertion that in a 2-connected planar graph every vertex lies on the boundary of the outer face. This must be proved carefully.
Problem Understanding
We are given a planar graph whose vertices are the cities and whose edges are the roads. The graph has more than two vertices. The condition states that for any distinct cities $A,B,C$, there exists a path from $A$ to $B$ that does not pass through $C$. Equivalently, after deleting any vertex, the remaining graph is connected.
We must prove the existence of an orientation of all edges such that for any ordered pair of cities $(X,Y)$ there is a directed path from $X$ to $Y$.
This is a Type B problem. The core difficulty is to convert the vertex-connectivity condition into a global orientation producing strong connectivity.
Proof Architecture
First, prove that the graph is $2$-connected, namely that deleting any vertex leaves a connected graph.
Second, prove that in a planar $2$-connected graph every face boundary is a cycle, and every edge belongs to the boundaries of exactly two faces.
Third, orient the boundary of every face clockwise and show that this gives a consistent orientation of each edge, because the two incident faces traverse the edge in opposite directions.
Fourth, prove that every vertex lies on the boundary of the outer face; otherwise a cut vertex would arise.
Fifth, show that the outer face boundary becomes a directed cycle containing all vertices.
Finally, deduce that any vertex can reach any other vertex along this directed outer cycle.
The most delicate lemma is the fourth one, because an incorrect argument about the outer face could invalidate the entire construction.
Solution
Let $G$ be the graph whose vertices are the cities and whose edges are the roads.
The hypothesis says that for every vertex $C$ and every two distinct vertices $A,B\neq C$, there exists an $A$-$B$ path avoiding $C$. Hence the graph obtained from $G$ by deleting $C$ is connected. Thus deleting any vertex leaves a connected graph.
Suppose that some vertex $v$ were a cut vertex of $G$. Then $G-v$ would be disconnected, contradicting the preceding paragraph. Hence $G$ has no cut vertices. Since $G$ has more than two vertices, $G$ is a $2$-connected planar graph.
Consider a planar embedding of $G$ given by the nonintersecting roads. Since $G$ is $2$-connected, the boundary of every face is a cycle. Moreover, every edge lies on the boundaries of exactly two faces.
Orient the boundary of every face clockwise.
We claim that this determines a unique orientation of each edge. Let $e$ be an edge. The two faces incident with $e$ lie on opposite sides of $e$. When the boundaries of these two faces are traversed clockwise, the edge $e$ is traversed in opposite directions. Hence both faces prescribe the same orientation of $e$. Therefore every edge receives a well-defined direction.
It remains to prove that the resulting directed graph is strongly connected.
Let $F$ be the outer face. We first show that every vertex of $G$ lies on the boundary of $F$.
Assume the contrary. Let $v$ be a vertex not lying on the boundary of $F$. Since $v$ is in the interior of the drawing, some face boundary cycle $C$ contains $v$. The cycle $C$ separates the plane into an interior region and an exterior region. Because $v$ does not lie on the outer face boundary, there exists a vertex $x$ strictly inside $C$. There also exists a vertex $y$ outside $C$.
Every path from $x$ to $y$ must meet the cycle $C$. Since $C$ is a simple cycle, the two neighbors of $v$ on $C$ separate $C-v$ into two disjoint arcs. Any $x$-$y$ path avoiding $v$ must cross from the interior of $C$ to the exterior of $C$ through a vertex of $C-v$. Consequently the vertices of $C-v$ separate $x$ from $y$ in $G-v$.
Now $G-v$ is connected. Hence there is an $x$-$y$ path in $G-v$. Such a path must meet $C-v$. Traversing all possible $x$-$y$ paths in $G-v$ shows that $C-v$ acts as a separator between the interior and exterior of $C$. Therefore one of the vertices of $C-v$ is a cut vertex of $G$, contradicting the fact that $G$ has no cut vertices.
The contradiction shows that every vertex lies on the boundary of the outer face.
Since the boundary of the outer face is a cycle containing all vertices, our orientation makes that boundary into a directed cycle passing through every vertex of $G$.
Let $A$ and $B$ be arbitrary vertices. Starting from $A$, follow the directed outer-face cycle in its orientation. Since this cycle contains every vertex exactly once before returning to $A$, it eventually reaches $B$. Thus there is a directed path from $A$ to $B$.
Since $A$ and $B$ were arbitrary, the oriented graph is strongly connected.
This completes the proof.
∎
Verification of Key Steps
The first delicate step is the deduction that the graph is $2$-connected. The hypothesis gives, for every vertex $C$, a path between any two remaining vertices avoiding $C$. This is exactly the statement that $G-C$ is connected. If a cut vertex existed, deleting it would disconnect the graph. Hence no cut vertex exists.
The second delicate step is the consistency of the facial orientation. An edge belongs to two faces. When both face boundaries are traversed clockwise, the face on one side sees the edge in one direction, while the face on the other side sees it in the reverse direction. Thus the two clockwise traversals induce the same actual direction on the edge. Without checking the two-sided nature of an edge, one might mistakenly think the two faces give conflicting orientations.
The third delicate step is proving that every vertex lies on the outer face boundary. A careless argument could assume this is automatic for a $2$-connected planar graph. It is not automatic from the definition and requires justification. If a vertex were absent from the outer boundary, there would be vertices both inside and outside a cycle through that vertex, creating a separation incompatible with the absence of cut vertices. This is the point where the planar topology enters the proof.
Alternative Approaches
A shorter proof uses Robbins' theorem. The hypothesis implies that deleting any vertex leaves the graph connected. If an edge $e=uv$ were a bridge, then after deleting $u$, the component containing the far side of the bridge would be disconnected from the rest of the graph. Hence no bridge exists. Robbins' theorem states that a connected graph has a strongly connected orientation if and only if it contains no bridges. Applying the theorem immediately yields the desired orientation.
The planar approach above is preferable in the context of this problem because the assumption that the roads do not intersect is used directly. The orientation is constructed explicitly by orienting all face boundaries in the same rotational direction, and strong connectivity follows from the structure of a $2$-connected planar embedding.