Chapter 58. Hall’s Marriage Theorem
Hall’s marriage theorem is one of the central results of combinatorics and graph theory. It gives a complete characterization of when a bipartite graph contains a matching that saturates one side of the graph. The theorem connects local neighborhood structure with global pairing possibilities. (en.wikipedia.org)
The theorem is often described through the marriage problem. Suppose a collection of people each has a set of acceptable partners. The question is whether every person can be matched with a distinct acceptable partner. Hall’s theorem gives an exact answer.
Although the theorem is stated for bipartite graphs, its influence extends into combinatorics, optimization, matrix theory, scheduling, network flows, and design theory.
58.1 Bipartite Graphs
Let
be a bipartite graph.
The vertex set is divided into two disjoint parts:
and every edge joins a vertex in to a vertex in .
A matching is called an -saturating matching if every vertex in is matched by .
Thus,
such that
Different vertices of must be matched to different vertices of .
The central question is:
When does a bipartite graph contain an -saturating matching?
Hall’s theorem answers this exactly.
58.2 Neighborhoods
For a vertex
the neighborhood of is the set
More generally, for a subset
the neighborhood of is
Thus contains all vertices in adjacent to at least one vertex in .
For example, suppose
and
Then
The neighborhood set measures how many possible partners are available for vertices in .
58.3 Hall’s Condition
Hall’s condition states that for every subset
the neighborhood satisfies
This condition says that every group of vertices in collectively has at least as many available neighbors in .
|N(A)| \ge |A|
The intuition is straightforward.
If some subset contains more vertices than its neighborhood, then there are not enough distinct vertices in to match all vertices of . At least two vertices in would be forced to share a partner, which is forbidden in a matching.
Thus Hall’s condition is clearly necessary.
The remarkable fact is that it is also sufficient.
58.4 Hall’s Marriage Theorem
Theorem 58.1. Hall’s Marriage Theorem.
Let
be a bipartite graph. Then contains an -saturating matching if and only if for every subset
This theorem completely solves the bipartite matching problem for one side of the graph.
58.5 Necessity of Hall’s Condition
Suppose contains an -saturating matching .
Let
Every vertex in is matched to a distinct vertex in . Since matching edges are disjoint, distinct vertices in must be matched to distinct vertices in .
Therefore,
Thus Hall’s condition is necessary.
The proof is immediate once the meaning of a matching is understood.
58.6 Proof of Sufficiency
The converse direction is deeper.
We prove Hall’s theorem by induction on
Assume Hall’s condition holds.
Case 1
Suppose
for every nonempty proper subset
Choose any edge
Remove and from the graph. Let the remaining bipartite graph be
We claim Hall’s condition still holds in .
Suppose not. Then some subset
satisfies
In the original graph,
can differ from
by at most the vertex . Therefore,
Since strict inequality is impossible by Hall’s condition, we obtain
But this contradicts the assumption that every proper nonempty subset has strictly larger neighborhood.
Thus Hall’s condition holds in . By induction, has a matching saturating all remaining vertices. Adding the edge gives an -saturating matching in .
Case 2
Suppose there exists a nonempty proper subset
such that
Consider the induced bipartite subgraph on
Hall’s condition holds inside this subgraph, so by induction it contains a matching saturating .
Now remove
from the graph.
Let the remaining graph have parts
We claim Hall’s condition holds in the remaining graph.
Let
Suppose
Then in the original graph,
But
contradicting Hall’s condition.
Thus the remaining graph satisfies Hall’s condition. By induction it has a matching saturating .
Combining the two matchings gives a matching saturating all of .
This completes the proof.
58.7 Marriage Interpretation
Hall’s theorem is traditionally described as the marriage problem.
Suppose:
| Set | Interpretation |
|---|---|
| Women | |
| Men | |
| Edge | Woman is willing to marry man |
The question asks whether every woman can marry a distinct acceptable man.
Hall’s condition says:
Every group of women must collectively know at least as many acceptable men as the size of the group.
If a set of women collectively knows only men, then distinct marriages are impossible.
Hall’s theorem states that this obvious obstruction is the only obstruction.
Although the terminology is historical, the theorem applies to arbitrary pairing problems.
58.8 Perfect Matchings in Bipartite Graphs
Suppose
Then Hall’s theorem implies:
A bipartite graph has a perfect matching if and only if Hall’s condition holds.
Indeed, an -saturating matching uses exactly vertices of . Since the two parts have equal size, every vertex in is also matched.
Thus the matching is perfect.
58.9 Systems of Distinct Representatives
Hall’s theorem is equivalent to the existence of systems of distinct representatives.
Suppose
are finite sets.
A system of distinct representatives consists of elements
such that all chosen elements are distinct.
Hall’s condition becomes:
For every index subset
Hall’s theorem states that this condition is necessary and sufficient for a system of distinct representatives to exist.
This formulation is common in combinatorics.
58.10 Examples
Example 1
Let
with edges
Check Hall’s condition.
Single vertices have neighborhoods of size at least .
For two-vertex subsets:
so
Similarly,
and
Finally,
Hall’s condition holds, so a perfect matching exists.
One example is
Example 2
Let
with every edge present.
Then
and
Hall’s condition fails, so no matching can saturate .
58.11 Regular Bipartite Graphs
Hall’s theorem immediately implies a major structural result.
Theorem 58.2.
Every -regular bipartite graph with has a perfect matching.
Proof
Let
be -regular.
For any subset
there are exactly
edges leaving .
All these edges end in . Since each vertex in has degree ,
Thus,
Hall’s condition holds.
Since regular bipartite graphs satisfy
a perfect matching exists.
This theorem is fundamental in edge-coloring theory and combinatorial design.
58.12 Hall’s Theorem and Flows
Hall’s theorem can be reformulated as a network flow problem.
Construct a directed network:
| Edge | Capacity |
|---|---|
| Source to each | |
| Each bipartite edge | |
| Each to sink |
An -saturating matching corresponds exactly to a flow of value
Hall’s condition becomes equivalent to the max-flow min-cut condition.
This interpretation connects matching theory with optimization and algorithm design.
58.13 Hall’s Theorem and Latin Squares
Hall’s theorem plays a major role in combinatorial designs.
In Latin square completion problems, one often needs to assign symbols to rows or columns without repetition. These assignments become matching problems in bipartite graphs.
The theorem also appears in scheduling tournaments, allocating resources, and constructing transversal structures.
58.14 Deficiency
The deficiency of a bipartite graph measures how far Hall’s condition fails.
Define
Hall’s theorem says:
if and only if an -saturating matching exists.
Larger deficiencies correspond to larger unavoidable shortages.
58.15 Infinite Hall Theorem
Hall’s theorem extends to infinite bipartite graphs under suitable finiteness assumptions.
For countably infinite locally finite bipartite graphs, Hall-type conditions still characterize saturating matchings.
These infinite versions require more advanced set-theoretic arguments.
58.16 Common Consequences
| Statement | Consequence |
|---|---|
| Hall’s condition holds | -saturating matching exists |
| ( | X |
| Some subset satisfies ( | N(A) |
| -regular bipartite graph | Perfect matching exists |
Hall’s theorem converts matching existence into a neighborhood-counting condition.
58.17 Historical Notes
Hall published the theorem in 1935. It became one of the foundations of modern combinatorics. The theorem later influenced matching algorithms, polyhedral theory, optimization, and network flows.
The marriage interpretation made the theorem widely known, but its importance lies in its structural power. It transforms a difficult global existence problem into a family of local counting inequalities.
58.18 Exercises
- Let
with edges
Determine whether Hall’s condition holds.
Prove that every perfect matching in a bipartite graph satisfies Hall’s condition.
Show that the complete bipartite graph has a perfect matching.
Let
Find a system of distinct representatives.
Give an example of a bipartite graph where Hall’s condition fails.
Prove that every -regular bipartite graph has a perfect matching.
Let be bipartite. Show that if some subset satisfies
then no matching can saturate .
Prove Hall’s theorem for the case .
Show that every cycle has a perfect matching by using Hall’s theorem.
Explain why Hall’s theorem implies that every regular bipartite graph has a perfect matching.