Graph Theory

Reading time ~5 minutes

Theory Part

Maximum Matching

Berge’s Theorem [1957]

Given a matching of a graph , is the maximum matching if and only if there is no -augmenting path in .

: if is the maximum matching, then there would be no -augmenting path, because otherwise we can increase the size of .

: assume there is no -augmenting path in , is not the maximum matching, let be the maximum one. Then, let’s analyze , it is easy to figure out that there are three kinds of subgraphs in :

1. even-length cycle;
2. even-length path;
3. odd-length path;

Obviously, there has to exist at least one subgraph as Case 3, because otherwise, would also become the maximum matching. And Case 3 indicates there is a -augmenting path. Contradiction!! Proof completes!!

Hall’s Condition [1935]

Given a bipartite graph , then there exists a matching saturates if and only if for every subset , .

: if saturates , then for every subset , we have .

: we can prove by induction.

Base case, when , obviously the statement holds.

Assume that statement holds when . When ,

  1. If for every subset , , then we can remove an arbitrary edge from obtaining . We have, for every subset , therefore, has a matching saturates . Hence, adding the removed edge, we can get a matching saturating .
  2. If there exists a subset such that :

    1) if is a real subset of , then we have in the subgraph induced by and , there exists a matching saturating , and in the subgraph induced by , there also exists a matching saturating . Therefore, there exists a matching saturating in . 2) if is the only subset of such that , then by Case 1, we can conclude that there exists a matching saturating .

Here is another proof from Douglas’s Introduction to Graph Theory:

: This proof focuses on the converse-negative proposition, which means it proves that if is a maximum matching which does not saturate , then there exists at least a subset such that .

Let’s define the set of all the -alternating paths which starts from an exposed vertex , and , we denote , and . We have . And for every vertex , there exists a vertex such that and any two vertices in can not share the vertices in , therefore, . Proof completes!

Vertex Cover & Matching (Konig’s Theorem)

Given any graph , the size of the minimum vertex cover the size of the maximum matching, and in bipartite graph, they are equal.

The first part is quite easy. To cover the maximum matching in we need exactly , since no edges in share common vertices. Therefore, the size of the minimum vertex cover is at least the size of the maximum matching.

In bipartite graph , we have is a vertex cover, where is the maximum matching. Let’s prove by contradiction, if is not a vertex cover, then there exists at least an edge whose two end-nodes are both exposed. Therefore, itself forms a -augmenting path, which contradict with the maximality of .

Tutte-Berge Formula [1958]

For any Graph , the size of maximum matching can be expressed as,

where is the number of components in with an odd number of vertices.

[hint: induction]

Lemma

Let be a graph such that for each there is a maximum matching in that misses . Then, . In particular, is odd.

[hint: contradiction]

Maximum Flow

Given a graph , any flow , and any cut , the value of the capacity of the cut .

[hint: definition & substitution]

According to the definition of a flow, we have,

and for any vertex other than and ,

Therefore, where , and , is the capacity of egde .

Lemma: Given a graph

Algorithm Part

Hungarian Algorithm for Maximum Cardinality Matching in Bipartite Graph

Hungarian ALgorithm for Maximum Weight Matching (or Assignment Problem)

Faster Bipartite Graph Matching [Hopcroft-Karp Algorithm]

General Graph Matching Algorithm [Edmonds’ Matching ALgorithm or Blossom ALgorithm]

Lemma [GGM 1]: Given a graph , a matching , and a set of -exposed vertices , there exists a polynomial-time (more specifically )) algorithm that either returns a -alternating walk or reports that there is no such walk.

Lemma [GMM 2]: A shortest -alternating walk is either a -augmenting path or a -flower as a prefix.

Theorem [GMM 1]: Given a graph , a matching , and an -blossom , is a maximum matching in iff is the maximum matching in .

Lemma [GMM 3]: Given a graph , a matching , and an -blossom , if there is a -augmenting path in , then there exists a -augmenting path in . Particularly, we can find such an augmenting path in .

Useful Linux Software

Ubuntu Software Installation Continue reading

Useful user-defined LaTeX commands

Published on November 27, 2016