Combinatorics • Topic 37
Matchings
Matchings deal with pairing elements in a graph without overlaps. They are central to assignment problems and network flows.
Definitions
Definition (Matching)
A matching in a graph is a set of edges without common vertices.
- Maximal Matching: A matching that cannot be extended by adding another edge.
- Maximum Matching: A matching with the largest possible number of edges.
- Perfect Matching: A matching that covers every vertex in the graph. (Requires to be even).
Bipartite Matching
In a bipartite graph , we often want to match every vertex in to a distinct vertex in .Augmenting Paths
An augmenting path is a path that starts and ends at unmatched vertices and alternates between edges not in and edges in .- Berge's Lemma: A matching is maximum if and only if there is no augmenting path.
Practice Problems
Exercise (Problem 1)
Does the complete graph have a perfect matching? What about ?
Exercise (Problem 2)
Find a maximum matching in the cycle graph . Is it perfect?
Exercise (Problem 3)
In a group of people, some shake hands. Prove that the number of people involved in an odd number of handshakes is even. (Handshaking Lemma relation).