Proof of Kőnig's theorem by alternating paths
Builds on Bipartite graphMatchingVertex coverPathSymmetric difference
Proof
We show that every vertex cover is at least as large as every matching. Then, from a maximum matching, we build a vertex cover of the same size.
Covers are at least as large as matchings.
- Let be a finite bipartite graph with parts and . Let be a matching and a vertex cover.
- Each edge of has an end in . A vertex is an end of at most one edge of . So choosing such an end for each edge of gives an injective map from to , and .
A cover from a maximum matching.
- Fix a matching with the largest number of edges. A vertex is matched if it is an end of an edge of . Let be the set of unmatched vertices of .
- An alternating path is a path with , such that for odd and for even . As is bipartite and , exactly when is even.
- Let be the set of vertices that lie on some alternating path. Let .
- No alternating path ends at an unmatched vertex of . Suppose is one, with unmatched. Then is odd.
- Let be its set of edges, and let be the symmetric difference. It drops the edges with even and adds the edges with odd.
- The vertices and are unmatched, and the edge of at an inner vertex lies on the path. So no edge of touches the path. Each is an end of exactly one added edge.
- Hence is a matching with edges. This contradicts the choice of .
- is a vertex cover. Let be an edge with and . If , then .
- Let , on an alternating path , with even. If lies on this path, then .
- Otherwise, if , then , so . If , then the edge of at is , and , so .
- In both cases is an alternating path, since its last edge has odd index and is not in . So , and .
- Every vertex of is matched. Vertices of are matched, because . A vertex of lies on an alternating path. Cut the path at this vertex to get an alternating path ending there. By Step 6, the vertex is matched.
- Each edge of has at most one end in . Let with and , on an alternating path with odd.
- If lies on this path, then . Otherwise the path ends with an edge not in , and is an alternating path. So in both cases.
- Thus implies . Since is a vertex cover, each edge of has exactly one end in .
- Map each vertex of to the edge of at it, which exists by Step 14. By Step 17, this map is a bijection from to . So .
Conclusion.
- Let be the largest size of a matching and the smallest size of a vertex cover. By Step 2, .
- By Steps 10 to 18, there is a vertex cover with . So , and .
Idea
Starting from the unmatched vertices on one side, follow paths that alternate between non-matching and matching edges. A maximum matching admits no such path to an unmatched vertex, because flipping it would give a bigger matching. Taking the unreached vertices on one side and the reached ones on the other gives a cover with one vertex per matching edge.
Reading path
To understand this page from the ground up, read these 15 pages in order. The foundations come first.
Show the path as a graph
- no evidence level
- Bipartite graph definition
- Element definition
- Graph definition
- Matching definition
- Proposition concept
- Vertex cover definition
- Set definition
- Walk definition
- Disjunction definition
- Negation definition
- Path definition
- Union definition
- Set difference definition
- Symmetric difference definition
- Proof of Kőnig's theorem by alternating paths proof
Where this leads
6 pages build on this one.
Further reading
- Web https://en.wikipedia.org/wiki/Kőnig's_theorem_(graph_theory), Constructive proof without flow concepts
About this page
| Tag | H5463B2XND |
|---|---|
| URI | m2://H5463B2XND |
| Kind | proof |
| Writing | W0 stub |
| MSC | 05C70 |
| Proves | Kőnig's theorem |
| Uses | Bipartite graph, Matching, Vertex cover, Path, Symmetric difference |
| Methods | Proof by contradiction |
| Changed | 4 November 2026 |
Markdown · JSON · Edit on GitHub
What this page needs for W1
- an inventory row: the row of the inventory that the node accounts for (0 of 1)
The writing levels say how complete the text of a page is. They do not measure its truth.
What links here
No page links to this page yet.