If a graph does not contain a path or cycle of length more than , show that it’s connected components are all star graphs.
If is a graph without isolated vertices, then
Suppose is a maximum matching. Then is also an independent set. If there are edges between vertices of , then such edges can be added to and one can obtain a larger matching. Hence there are no edges between vertices of and hence it is a independent set. Construct a edge cover as follows : Add all edges in to and for each , add one of its adjacent edges to . Since there are no isolated vertices, has atleast one adjacent edge. Thus and since , we can derive that
Let be a minimum edge cover. Then cannot contain a path of length more than . 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, is a graph consisting of star components. If are the components of , then and . Now choose a matching by selecting one edge from every component . Since ’s are disjoint, is a matching. Thus, using the fact that each is a forest with components, we can derive that
∎
As a corollary, we get König’s result : if is bi-partite graph without isolated vertices, .
Given a matching , a -alternating path is a path such that its edges alternate between and . A -augmenting path is a -alternating path whose end-vertices do not belong to .
If are two matchings, every component of is a path or an even cycle.
A matching in a graph is a maximum matching in iff has no -augmenting path.
Suppose there is an -augmenting path . Let . Since is -augmenting, and . Now, observe that is a larger matching than . Hence if is a maximum matching, there is no -augmenting path.
Suppose is a larger matching than . We shall construct an -augmenting path and prove the theorem by contraposition. Let . We know by the above exercise that the components of are paths or even cycles. Since , there must be a component of such that has more edges in that component than . If a component in is an even cycle, it consists of same number of edges from and . Thus, the component for which has more edges must be a path, say . Since , we have that has to be an -alternating path i.e., or . Since and that is an -alternating path, we derive that and . Further, this implies that and i.e., is an -alternating path. If then there exists for some . Also contradicting the assumption that is not a component. So and similarly . Thus, we have that is an -augmenting path as needed. ∎