6.4 Gallai’s and Berge’s theorems

Exercise 6.19.

If a graph G does not contain a path or cycle of length more than 2, show that it’s connected components are all star graphs.

Theorem 6.20 (Gallai, 1959).

If G is a graph without isolated vertices, then α′⁢(G)+β′⁢(G)=n=|V|.

Proof.

Suppose M is a maximum matching. Then S=V−V⁢(M) is also an independent set. If there are edges between vertices of S, then such edges can be added to M and one can obtain a larger matching. Hence there are no edges between vertices of S and hence it is a independent set. Construct a edge cover as follows : Add all edges in M to Q and for each v∈S, add one of its adjacent edges to Q. Since there are no isolated vertices, v has atleast one adjacent edge. Thus |Q|=|M|+|S| and since V⁢(M)⊔S=V, we can derive that

α′⁢(G)+β′⁢(G)≤|M|+|Q|=2⁢|M|+|S|=n.

Let Q be a minimum edge cover. Then Q cannot contain a path of length more than 2. Else, by removing the middle edge in a path of length at least 3, we can obtain a smaller edge cover. By the previous exercise, Q is a graph consisting of star components. If C1,…,Ck are the components of Q, then V⁢(C1)∪…∪V⁢(Ck)=V and E⁢(C1)∪…∪E⁢(Ck)=Q. Now choose a matching M={e1,…,ek} by selecting one edge from every component C1,…,Ck. Since Ci’s are disjoint, M is a matching. Thus, using the fact that each Q is a forest with k components, we can derive that

α′⁢(G)+β′⁢(G)≥|M|+|Q|=k+|E⁢(Q)|=n.

∎

As a corollary, we get König’s result : if G is bi-partite graph without isolated vertices, α⁢(G)=β′⁢(G).

Definition 6.21 (Augmenting path ).

Given a matching M, a M-alternating path P is a path such that its edges alternate between M and Mc. A M-augmenting path is a M-alternating path whose end-vertices do not belong to M.

Exercise(A) 6.22.

If M,M′ are two matchings, every component of M⁢△⁢M′ is a path or an even cycle.

Theorem 6.23 (Berge, 1957).

A matching M in a graph is a maximum matching in G iff G has no M-augmenting path.

Proof.

Suppose there is an M-augmenting path P. Let P=v0⁢v1⁢…⁢vk. Since P is M-augmenting, (v0,v1),(v2,v3),…,(vk−1,vk)∉M and (v1,v2),(v3,v4),…,(vk−2,vk−1)∈M. Now, observe that M′=M−P∪{(v0,v1),(v2,v3),…,(vk−1,vk)} is a larger matching than M. Hence if M is a maximum matching, there is no M-augmenting path.

Figure 6.1: Red is a maximal matching and Blue is a maximum matching

Suppose M′ is a larger matching than M. We shall construct an M-augmenting path and prove the theorem by contraposition. Let F=M⁢△⁢M′. We know by the above exercise that the components of F are paths or even cycles. Since |M′|>|M|, there must be a component of F such that M′ has more edges in that component than M′. If a component in F is an even cycle, it consists of same number of edges from M and M′. Thus, the component for which M′ has more edges must be a path, say P=v0⁢…,vk. Since P⊂F, we have that P has to be an M-alternating path i.e., (v0,v1)∈M′,(v1,v2)∈M,… or (v0,v1)∈M,(v1,v2)∈M′,…. Since m′:=|M′∩P|>|M∩P|=m and that P is an M-alternating path, we derive that m′−m=1 and k=2⁢m+1. Further, this implies that (v0,v1),(v2,v3),…,(vk−1,vk)∈M′ and (v1,v2),(v3,v4),…,(vk−2,vk−1)∈M i.e., P is an M-alternating path. If v0∈V⁢(M) then there exists (w,v0)∈M for some w≠v1. Also (w,v0)∈M∖M′⊂F contradicting the assumption that P is not a component. So v0∉M and similarly vk∉M. Thus, we have that P is an M-augmenting path as needed. ∎