A matching from to is a set of pairwise vertex-disjoint edges that covers every vertex of . Equivalently, it chooses for each a distinct neighbour in .
Hall marriage theorem says that such a matching exists if and only ifNecessity is immediate: the distinct partners of the vertices in all belong to .
For sufficiency, induct on . The claim is clear when . First suppose every nonempty proper satisfies the strict inequality . Choose an edge and delete and . For , deletion removes at most one neighbour, soInduction gives a matching of , and adding completes it.
Otherwise there is a nonempty proper with . Hall's condition holds in the bipartite graph induced by , so induction matches onto . For ,and hence has at least neighbours outside . Induction therefore matches into . The two matchings are disjoint and together cover .
Let the bipartition be . Counting edges from each side givesso . For , the edges leaving all end in , while each vertex of receives at most of them. Thereforeand Hall's condition holds. There is a matching covering , of size . No matching can use more than one edge at each vertex, so this is maximal and
Let be a maximum matching and put . The unmatched vertices form an independent set, since an edge between two of them could be added to . Because is -regular, exactly edges run from unmatched vertices to vertices covered by .
Articles by others on the same topic
There are currently no matching articles.