Given an Undirected Graph a matching is a subset of edges such that for all vertices , at most one edge of is incident on .

We say that a vertex is matched by the matching if some edge in is incident on otherwise, is unmatched.