Bipartite Matching and Alternating Paths

Explain why a path alternating matched and unmatched edges can increase matching size, and prove the converse through symmetric difference.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. An augmenting path changes one more edge in than out
  2. A larger matching would reveal such a path

An augmenting path changes one more edge in than out

In a bipartite graph with a current matching, start from an unmatched left vertex. Move from left to right along edges outside the matching and from right to left along matched edges. A path reaching an unmatched right vertex begins and ends with unmatched edges. Flipping membership along that path leaves every internal vertex matched once and matches both endpoints. The matching gains one edge.

A larger matching would reveal such a path

Take the symmetric difference of the current matching and a larger one. Every vertex has degree at most two there. Components are alternating paths or cycles, and cycles contain equal numbers from both matchings. Some path must contain one more edge from the larger matching, making it augmenting for the current one. Searching several shortest augmenting paths at once improves running time in Hopcroft–Karp. Residual networks express the same operation as unit augmentation. Stable matching adds preferences and uses a different optimality condition.[1][2]

References

  1. Jeff Erickson, Algorithms ↩
  2. MIT OpenCourseWare, Design and Analysis of Algorithms: Lecture Notes ↩