Loading AI tools
Result in combinatorics and graph theory From Wikipedia, the free encyclopedia
In mathematics, Hall's marriage theorem, proved by Philip Hall (1935), is a theorem with two equivalent formulations. In each case, the theorem gives a necessary and sufficient condition for an object to exist:
Let be a finite family of sets (note that although is not itself allowed to be infinite, the sets in it may be so, and may contain the same set multiple times).[1] Let be the union of all the sets in , the set of elements that belong to at least one of its sets. A transversal for is a subset of that can be obtained by choosing a distinct element from each set in . This concept can be formalized by defining a transversal to be the image of an injective function such that for each . An alternative term for transversal is system of distinct representatives.
The collection satisfies the marriage condition when each subfamily of contains at least as many distinct members as its number of sets. That is, for all , If a transversal exists then the marriage condition must be true: the function used to define the transversal maps to a subset of its union, of size equal to , so the whole union must be at least as large. Hall's theorem states that the converse is also true:
Hall's Marriage Theorem — A family of finite sets has a transversal if and only if satisfies the marriage condition.
A lower bound on the different number of transversals that a given finite family of size may have is obtained as follows: If each of the sets in has cardinality , then the number of different transversals for is either if , or if .[2]
Recall that a transversal for a family is an ordered sequence, so two different transversals could have exactly the same elements. For instance, the collection , has and as distinct transversals.
Let be a finite bipartite graph with bipartite sets and and edge set . An -perfect matching (also called an -saturating matching) is a matching, a set of disjoint edges, which covers every vertex in .
For a subset of , let denote the neighborhood of in , the set of all vertices in that are adjacent to at least one element of . The marriage theorem in this formulation states that there is an -perfect matching if and only if for every subset of : In other words, every subset of must have sufficiently many neighbors in .
In an -perfect matching , every edge incident to connects to a distinct neighbor of in , so the number of these matched neighbors is at least . The number of all neighbors of is at least as large.
Consider the contrapositive: if there is no -perfect matching then Hall's condition must be violated for at least one . Let be a maximum matching, and let be any unmatched vertex in . Consider all alternating paths (paths in that alternately use edges outside and inside ) starting from . Let be the set of vertices in these paths that belong to (including itself) and let be the set of vertices in these paths that belong to . Then every vertex in is matched by to a vertex in , because an alternating path to an unmatched vertex could be used to increase the size of the matching by toggling whether each of its edges belongs to or not. Therefore, the size of is at least the number of these matched neighbors of , plus one for the unmatched vertex . That is, . However, for every vertex , every neighbor of belongs to : an alternating path to can be found either by removing the matched edge from the alternating path to , or by adding the unmatched edge to the alternating path to . Therefore, and , showing that Hall's condition is violated.
A problem in the combinatorial formulation, defined by a finite family of finite sets with union can be translated into a bipartite graph where each edge connects a set in to an element of that set. An -perfect matching in this graph defines a system of unique representatives for . In the other direction, from any bipartite graph one can define a finite family of sets, the family of neighborhoods of the vertices in , such that any system of unique representatives for this family corresponds to an -perfect matching in . In this way, the combinatorial formulation for finite families of finite sets and the graph-theoretic formulation for finite graphs are equivalent.
The same equivalence extends to infinite families of finite sets and to certain infinite graphs. In this case, the condition that each set be finite corresponds to a condition that in the bipartite graph , every vertex in should have finite degree. The degrees of the vertices in are not constrained.
Hall's theorem can be proved (non-constructively) based on Sperner's lemma.[3]: Thm.4.1, 4.2
The theorem has many applications. For example, for a standard deck of cards, dealt into 13 piles of 4 cards each, the marriage theorem implies that it is possible to select one card from each pile so that the selected cards contain exactly one card of each rank (Ace, 2, 3, ..., Queen, King). This can be done by constructing a bipartite graph with one partition containing the 13 piles and the other partition containing the 13 ranks. The remaining proof follows from the marriage condition. More generally, any regular bipartite graph has a perfect matching.[4]: 2
More abstractly, let be a group, and be a finite index subgroup of . Then the marriage theorem can be used to show that there is a set such that is a transversal for both the set of left cosets and right cosets of in .[5]
The marriage theorem is used in the usual proofs of the fact that an Latin rectangle can always be extended to an Latin rectangle when , and so, ultimately to a Latin square.[6]
This theorem is part of a collection of remarkably powerful theorems in combinatorics, all of which are related to each other in an informal sense in that it is more straightforward to prove one of these theorems from another of them than from first principles. These include:
In particular,[8][9] there are simple proofs of the implications Dilworth's theorem ⇔ Hall's theorem ⇔ König–Egerváry theorem ⇔ König's theorem.
By examining Philip Hall's original proof carefully, Marshall Hall Jr. (no relation to Philip Hall) was able to tweak the result in a way that permitted the proof to work for infinite .[10] This variant extends Philip Hall's Marriage theorem.
Suppose that , is a (possibly infinite) family of finite sets that need not be distinct, then has a transversal if and only if satisfies the marriage condition.
The following example, due to Marshall Hall Jr., shows that the marriage condition will not guarantee the existence of a transversal in an infinite family in which infinite sets are allowed.
Let be the family, , for . The marriage condition holds for this infinite family, but no transversal can be constructed.[11]
The graph theoretic formulation of Marshal Hall's extension of the marriage theorem can be stated as follows: Given a bipartite graph with sides A and B, we say that a subset C of B is smaller than or equal in size to a subset D of A in the graph if there exists an injection in the graph (namely, using only edges of the graph) from C to D, and that it is strictly smaller in the graph if in addition there is no injection in the graph in the other direction. Note that omitting in the graph yields the ordinary notion of comparing cardinalities. The infinite marriage theorem states that there exists an injection from A to B in the graph, if and only if there is no subset C of A such that N(C) is strictly smaller than C in the graph.[12]
The more general problem of selecting a (not necessarily distinct) element from each of a collection of non-empty sets (without restriction as to the number of sets or the size of the sets) is permitted in general only if the axiom of choice is accepted.
A fractional matching in a graph is an assignment of non-negative weights to each edge, such that the sum of weights adjacent to each vertex is at most 1. A fractional matching is X-perfect if the sum of weights adjacent to each vertex is exactly 1. The following are equivalent for a bipartite graph G = (X+Y, E):[13]
When Hall's condition does not hold, the original theorem tells us only that a perfect matching does not exist, but does not tell what is the largest matching that does exist. To learn this information, we need the notion of deficiency of a graph. Given a bipartite graph G = (X+Y, E), the deficiency of G w.r.t. X is the maximum, over all subsets W of X, of the difference |W| - |NG(W)|. The larger is the deficiency, the farther is the graph from satisfying Hall's condition.
Using Hall's marriage theorem, it can be proved that, if the deficiency of a bipartite graph G is d, then G admits a matching of size at least |X|-d.
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.