Maths Olympiad Prep

Library / /346 of 397

, 2023

Combinatorics Difficulty 6.9 National Olympiad Prove it Taiwan

There are nn 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 nn different routes so that the end points of all these routes include all 2n2n 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.

Solution

Graph theoretic statement: in a balanced bipartite graph G(V1,V2,E)G(V_1, V_2, E) with nn 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 nn. We will show that this number is n1n-1.

(1) Since G(V1,V2,E)G(V_1, V_2, E) has no perfect matching, by Hall's theorem, we know that there is some subset UV1U \subseteq V_1 such that N(U)<U|N(U)| < |U|. Let U=V2N(U)U' = V_2 - N(U), then since nU=N(U)<Un - |U'| = |N(U)| < |U|, we have U+Un+1|U| + |U'| \ge n + 1.

(2) In addition, if there is some (a,b)(V1×V2)(a, b) \in (V_1 \times V_2) such that aa is not a neighbor of bb but (a,b)(U×U)(a, b) \notin (U \times U'), then we may connect abab and GG would still have no perfect matching by Hall's, which is a contradiction. Therefore we may assume that, for all (a,b)(U×U)(a, b) \notin (U \times U'), aa and bb are connected.

(3) Now, if U+Un+2|U| + |U'| \ge n + 2, we may connect an arbitrary uUu \in U and an arbitrary uUu' \in U', then N{new}(U)=N{old}(U)+1=n+1U<U|N_{\{new\}}(U)| = |N_{\{old\}}(U)| + 1 = n + 1 - |U'| < U, which means that the new graph still has no perfect matching (due to Hall's). This means that U+U=n+1|U| + |U'| = n + 1.

(4) Combining (2) and (3), we know that deg(v)=n\text{deg}(v) = n if and only if vUUv \notin U \cup U', so the number of vertices with degree nn is 2n(U+U)=n12n - (|U| + |U'|) = n - 1.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement translated into English from zh; metadata (topic, difficulty) added by this project.