There are cities on each side of Hung river, with two-way ferry routes between some pairs of cities across the river. A city is “convenient” if and only if the city has ferry routes to all cities on the other side. The river is “clear” if we can find different routes so that the end points of all these routes include all cities.
It is known that Hung river is currently unclear, but if we add any new route, then the river becomes clear. Determine all possible values for the number of convenient cities.
, 2023
Solution
Graph theoretic statement: in a balanced bipartite graph with vertices on both parties, if there is no perfect matching but adding any other edges would lead to one, determine the number of vertices with degree . We will show that this number is .
(1) Since has no perfect matching, by Hall's theorem, we know that there is some subset such that . Let , then since , we have .
(2) In addition, if there is some such that is not a neighbor of but , then we may connect and would still have no perfect matching by Hall's, which is a contradiction. Therefore we may assume that, for all , and are connected.
(3) Now, if , we may connect an arbitrary and an arbitrary , then , which means that the new graph still has no perfect matching (due to Hall's). This means that .
(4) Combining (2) and (3), we know that if and only if , so the number of vertices with degree is .