MathLabs
TheoremProved

Hall's marriage theorem

Statement

Let G=(X∪Y,E)G=(X \cup Y, E) be a finite bipartite graph. There exists a matching that saturates every vertex of XX if and only if for every subset W⊆XW \subseteq X, the neighborhood N(W)⊆YN(W) \subseteq Y satisfies ∣N(W)∣≥∣W∣|N(W)| \ge |W|.

Why is it true?

If any group of applicants WW collectively qualifies for fewer than ∣W∣|W| jobs, then obviously they cannot all be hired into distinct jobs. Hall's theorem says this obvious necessary condition — checked across every subset WW — is actually the only obstacle: if no subgroup is bottlenecked, a full matching always exists.

Proof sketch

Necessity is immediate since a matching saturating XX maps each W⊆XW \subseteq X injectively into N(W)N(W). For sufficiency, use induction on ∣X∣|X|: if ∣N(W)∣≥∣W∣+1|N(W)| \ge |W|+1 for every proper nonempty W⊂XW \subset X, match any x∈Xx \in X to any y∈N({x})y \in N(\{x\}) and apply induction to G−{x,y}G - \{x,y\}, where Hall's condition still holds; otherwise some proper nonempty WW is tight (∣N(W)∣=∣W∣|N(W)| = |W|), so match WW to N(W)N(W) by induction and verify that X∖WX \setminus W satisfies Hall's condition in G−(W∪N(W))G - (W \cup N(W)), allowing the remaining vertices to be matched by induction as well.

Topics that use this theorem

Related theorems

Step-by-step proofs

No step-by-step proof yet for this theorem.

References

  1. Philip Hall (1935). On Representatives of Subsets