Covers, Independent Sets & Kruskal
We introduce the four fundamental graph parameters: vertex cover , matching number , independence number , and edge cover . Gallai's theorems connect these. We also learn Kruskal's algorithm for minimum spanning trees.
Learning Objectives
Key Concepts
Covers & Independent Sets
A vertex cover is a set such that every edge has at least one endpoint in . An independent set is a set with no edges between its vertices. An edge cover is a set of edges covering all vertices.
These are complementary: is a vertex cover is an independent set.
- -
is a vertex cover is an independent set
- -
(complement relationship)
- -
(every cover must include at least one endpoint of each matching edge)
- -
(each independent vertex needs a distinct covering edge)
- -
For bipartite graphs: (König's theorem — covered in Week 9)
Gallai's Theorems
Gallai proved two fundamental identities connecting these parameters:
- -
First identity: (vertex cover ↔ independent set complement)
- -
Second identity: (requires no isolated vertices)
- -
These relate maximum and minimum parameters in a beautiful way
Kruskal's Algorithm
Kruskal's algorithm finds a minimum spanning tree (MST) of a weighted connected graph. It greedily adds edges in order of increasing weight, skipping any edge that would create a cycle.
- -
Sort edges by weight, add each unless it creates a cycle
- -
Uses Union-Find data structure for efficient cycle detection
- -
Time complexity: (dominated by sorting)
- -
Produces an MST by the greedy property (cut property)