For a finite bipartite graph with disjoint left and right vertex sets, Hall's marriage theorem characterizes when distinct allowed partners can be chosen for every left vertex. A matching in a graph with matching saturation of exists if and only if every subset satisfies
The graph neighbourhood counts distinct right vertices, rather than edges or repeated choices. This is the Hall condition. Its failure supplies a concrete Hall obstruction. Necessity follows because the chosen partners of are distinct members of ; sufficiency is the surprising assertion that these collective counts rule out every obstacle.[ref]
The right side may be larger: matching saturation of leaves right vertices unmatched. Only when does a matching in a graph saturating automatically become a perfect matching. For a specified subset , apply the same criterion only to , using the induced subgraph on . The remaining left vertices need not be matched. The empty set gives ; if is empty, the empty matching in a graph suffices.
Consider a scheduling model with three unit-duration jobs and four available slots on one machine. Each job needs exactly one slot, each slot accepts at most one job, and the allowed slots are
The bipartite graph below admits , a matching in a graph saturating all jobs while leaving slot unused. It is not a perfect matching of the seven-vertex graph. A greedy choice initially blocks , but the augmenting path in a matching replaces by ; subsequent assignment of succeeds. A bad partial choice is not an impossibility certificate.
Figure 1.
A matching in a graph saturates all three jobs and leaves one of four slots unused
. Thick blue edges are ; thin grey edges are other allowed assignments. Crossings are not vertices. Details.
There are eight subsets of . Listing each graph neighbourhood makes the all-subset requirement explicit:
00
12
11
13
22
24
24
34
There are exactly two matchings in a graph saturating : and . Job forces slot , then job forces slot , leaving two choices for .
The Hall condition requires enough distinct neighbours for every subset of the specified left vertex set in a finite bipartite graph. Checking the whole left set establishes only one inequality. Checking singleton sets establishes only that each left vertex has positive degree of a vertex. Overlapping lists can pass both tests and still fail to admit matching saturation of the left side.
A Hall obstruction is a left subset with fewer distinct neighbours than vertices. At most members of can be matched, so at least must remain unmatched. The pigeonhole principle proves failure without enumerating every proposed assignment.
For a stronger counterexample than an isolated vertex, take and with
Every vertex has positive degree of a vertex, the sides have equal cardinality, and . Every two-vertex left subset also passes the Hall condition. Nevertheless has only , so rules out matching saturation of .
Figure 1.
A three-vertex Hall obstruction has only two neighbours, despite enough slots in total
. Red boundaries identify and . Thick blue edges give the maximum-size matching in a graph ; and slot are unmatched. Details.
All sixteen left subsets can be checked by writing and if , otherwise . Then
Only violates the Hall condition. Every matching in a graph uses at most two edges incident to and at most one incident to , so the matching number is three. There are exactly twelve size-three matchings in a graph: choose two of in three ways, assign them to in two ways, and choose or for . Thus the obstruction identifies the bottleneck: adding availability only for cannot help; allowing to use slot permits , a perfect matching.
In a unit-capacity assignment problem, left vertices represent demands and right vertices represent individually usable resources; an edge records compatibility. All constraints must be encoded by those allowed pairs and by using each resource at most once. Hall's marriage theorem decides feasibility. Costs belong to an additional mathematical optimization problem; precedence between jobs or requirements for consecutive slots need additional modelling.
The authored Notes on the design of a conference scheduler by David R. MacIver (Implementation, 7 August 2022) illustrates a Hall obstruction with four talks confined to three slots. With one talk per slot, that subset has size four and a graph neighbourhood of size three. An unused slot outside its graph neighbourhood does not remove the bottleneck. In the three-job example above, the same scheduling model instead has two complete assignments.
The allocation exercise in Graph Theory by Reinhard Diestel (Matching, Covering and Packing, printed p. 20, Exercise 9) asks for disjoint subsets of prescribed nonnegative integer sizes . Replace demand by left vertices with allowed resource set . Hall's marriage theorem gives exactly the condition
For a numerical instance, let , , and . The separate demands and their combined demand fit, and works. Raising to two leaves both individual tests valid but demands four distinct resources from a set union of size three. This is the same collective obstruction with repeated demand vertices.
A system of distinct representatives for a finite indexed family of finite sets chooses one element per index, with all choices distinct. Form a bipartite graph with left vertex set , right vertex set , and edges whenever . Matching saturation of is precisely a system of distinct representatives. Hence Hall's marriage theorem says that such choices exist exactly when for every subset . Repeated equal sets still have separate indices and separate demands.
For sufficiency, take a matching in a graph of maximum size and suppose a left vertex is unmatched. Follow unused edges from left to right and matching edges back to the left. An unmatched reachable right vertex yields an augmenting path in a matching, contradicting maximal size. Otherwise let be the reachable left and right sets. Every member of is matched to a distinct member of , and every member of is reached this way. Since , we obtain , contradicting the Hall condition. Finiteness ensures that a maximum-size matching in a graph exists.
The alternative Hall induction through a tight set uses mathematical induction: a proper nonempty subset with splits off a balanced induced subgraph; without such a tight set, deleting one chosen edge's endpoints preserves the Hall condition on the smaller left side.
In the equal-part random bipartite graph with fixed edge probability , rule out empty rectangles of side and vertices with at least nonneighbors. A union bound gives the displayed asymptotic estimate. Small vertex sets satisfy Hall's condition by the degree bound; intermediate sets do so because their omitted-neighbor rectangle would contain a forbidden square; large sets meet every vertex in the other part. Thus Hall's marriage theorem gives a perfect matching asymptotically almost surely. This does not mean probability one at any finite size.
Two maximum-cardinality -separated subsets of a compact metric space have a bijection that moves each point by less than . Join to when their distance is below . If had fewer than neighbours, replacing these neighbours in by would create a larger separated set. The Hall marriage theorem therefore supplies a perfect matching. This allows empirical averages on a compact isometry group to be made approximately invariant without assuming a prior Haar measure construction.
In a finite bipartite graph, suppose every left vertex has positive degree and each edge joins vertices with from left to right. Then , so a matching covers the left side.
For finitely many Lebesgue measurable sets and nonnegative demands , pairwise disjoint measurable subsets with exist exactly when for every index subset . Necessity is additivity and monotonicity of Lebesgue measure. For sufficiency, partition the set union into membership cells , send flow from a source through demand vertices to cells with , then to a sink. Source capacities are , cell capacities are , and intermediate capacities are . Every cut of a flow network has capacity at least by the assumed inequalities. The max-flow min-cut theorem provides the allocations, and divisibility of Lebesgue measure turns each cell allocation into disjoint pieces. If , all can simply be empty.
For Hall's theorem, either every proper nonempty set has one excess neighbour and one deletes an arbitrary edge's endpoints, or a tight set with splits the problem into the induced graph on and its complement.
In a -regular bipartite graph, edge counting gives equal vertex-class sizes and . Hall's theorem therefore supplies a perfect matching.

Ancestors (6)

  1. Matching (graph theory)
  2. Graph theory
  3. Foundations of mathematics
  4. Area of mathematics
  5. Mathematics
  6. Home

Synonyms (1)

Discussion (0) New discussion

There are no discussions about this article yet.

Articles by others on the same topic (1)

Hall's Marriage Theorem is a result in combinatorial mathematics, specifically in the area of graph theory and bipartite matching. It provides a necessary and sufficient condition for the existence of a perfect matching in a bipartite graph.