Graph Theory37 sections · 1633 units
Open in Course

Perfect Matching

(Everyone gets paired)

A perfect matching pairs every vertex in the smaller set. If ∣L∣=5|L| = 5 and ∣R∣=10|R| = 10, a perfect matching would pair all 55 left vertices.

Perfect matching exists if and only if max matching size equals min⁡(∣L∣,∣R∣)\min(|L|, |R|). If matching size is smaller, some vertices remain unmatched.

Hall's theorem gives a condition: perfect matching exists iff for every subset SS of LL, the neighborhood N(S)N(S) has at least ∣S∣|S| vertices. This is useful for proving existence without computing the matching.