An independent set is a set of vertices no two of which are adjacent. Independent sets are among the most fundamental objects in graph theory. They arise naturally in scheduling, coding theory, optimization, network design, resource allocation, and computational complexity. (en.wikipedia.org)
Independent sets represent collections of mutually compatible objects. If edges represent conflicts or incompatibilities, then an independent set selects objects without conflict.
The theory of independent sets is closely related to vertex covers, graph coloring, cliques, and optimization.
63.1 Definition
Let
be a graph.
A subset
is called an independent set if no two vertices in are adjacent.
Equivalently,
Thus the subgraph induced by contains no edges.
For example, in the path
the set
is independent.
The set
is not independent because
63.2 Maximum Independent Sets
An independent set is maximum if it has largest possible size.
The size of a maximum independent set is called the independence number and is denoted by
Thus,
The maximum independent set problem asks for an independent set of largest possible size.
This is one of the classical NP-complete optimization problems.
63.3 Maximal and Maximum Independent Sets
The words maximal and maximum have different meanings.
| Term | Meaning |
|---|---|
| Maximal independent set | Cannot be enlarged |
| Maximum independent set | Largest possible size |
Every maximum independent set is maximal.
The converse is false.
Example
Consider the path
The set
is maximal.
No additional vertex can be inserted.
However,
has the same size, while larger examples exist in other graphs where maximal sets are not maximum.
63.4 Independent Sets in Standard Graphs
Complete Graphs
In the complete graph
every pair of distinct vertices is adjacent.
Thus:
Empty Graphs
If a graph contains no edges, then every subset is independent.
Hence:
Paths
For the path graph ,
One may choose alternating vertices.
Cycles
For the cycle graph ,
Odd cycles force one conflict.
Complete Bipartite Graphs
For
all vertices on either side form an independent set.
Thus:
63.5 Relationship with Vertex Covers
Independent sets and vertex covers are complementary notions.
Theorem 63.1
A set
is independent if and only if
is a vertex cover.
Proof
Suppose is independent.
No edge has both endpoints in . Therefore every edge has at least one endpoint outside , meaning:
covers every edge.
Conversely, suppose
is a vertex cover.
If two vertices of were adjacent, the edge joining them would not be covered.
Thus is independent.
This establishes the equivalence.
63.6 Independence Number and Vertex Cover Number
Because independent sets and vertex covers are complements:
\alpha(G)+\tau(G)=|V|
This identity is fundamental in graph optimization.
It converts maximum independent set problems into minimum vertex cover problems.
63.7 Independent Sets and Cliques
A clique is a set of pairwise adjacent vertices.
Independent sets and cliques are dual under graph complementation.
Let
denote the complement graph.
Then:
if and only if
Therefore:
where
is the clique number.
This duality is central in extremal graph theory.
63.8 Independent Set Algorithms
Brute Force
Testing all subsets requires:
possibilities.
This quickly becomes infeasible.
Branch-and-Bound
More advanced exact algorithms prune large parts of the search space.
Dynamic Programming
Special graph classes admit efficient methods:
| Graph Class | Complexity |
|---|---|
| Trees | Polynomial |
| Bipartite graphs | Polynomial via vertex cover |
| Interval graphs | Polynomial |
| General graphs | NP-complete |
63.9 Independent Sets in Trees
Trees allow especially simple recursive methods.
For a vertex , either:
| Choice | Consequence |
|---|---|
| Include | Exclude all neighbors |
| Exclude | Children remain unrestricted |
Dynamic programming combines subtree solutions efficiently.
This yields linear-time algorithms on trees.
63.10 Greedy Independent Sets
A maximal independent set can be found greedily.
Algorithm
- Choose a vertex.
- Add it to the independent set.
- Remove the vertex and all its neighbors.
- Repeat.
The result is always maximal.
However, it may not be maximum.
Example
In some graphs, poor early choices lead to significantly smaller solutions.
63.11 Independent Sets and Coloring
Graph coloring partitions vertices into independent sets.
A proper coloring assigns colors so that adjacent vertices receive different colors.
Each color class is therefore independent.
If:
is the chromatic number, then:
Thus:
Independent sets therefore provide lower bounds for coloring problems.
63.12 Weighted Independent Sets
Suppose each vertex has weight:
The goal becomes maximizing:
Weighted independent set problems appear in scheduling, resource allocation, and communications.
Example
If vertices represent tasks and weights represent profit, then a weighted independent set chooses mutually compatible tasks of maximum total profit.
63.13 Independent Set Polytope
Introduce variables:
The optimization becomes:
subject to:
for every edge
x_u+x_v \le 1
These inequalities define the independent set polytope.
63.14 Complexity
The maximum independent set problem is NP-complete. (en.wikipedia.org)
Moreover, it is difficult to approximate well in general graphs.
This computational difficulty makes independent sets one of the central hard problems in combinatorial optimization.
63.15 Independent Sets in Bipartite Graphs
For bipartite graphs:
Using König’s theorem:
so:
Thus maximum independent sets in bipartite graphs can be computed efficiently through matching algorithms.
63.16 Ramsey-Theoretic Perspective
Ramsey theory studies unavoidable structure.
Large graphs must contain either:
| Structure | Meaning |
|---|---|
| Large clique | Dense organization |
| Large independent set | Sparse organization |
Ramsey numbers quantify this phenomenon.
Independent sets therefore play a central role in extremal combinatorics.
63.17 Random Graphs
In random graphs, the independence number grows slowly relative to the number of vertices.
For the Erdős-Rényi random graph:
the independence number is typically logarithmic in when is fixed.
Random graph theory studies the probabilistic behavior of independent sets.
63.18 Applications
Independent sets model mutually compatible choices.
| Application | Interpretation |
|---|---|
| Scheduling | Nonconflicting tasks |
| Wireless networks | Noninterfering transmitters |
| Register allocation | Simultaneously usable registers |
| Coding theory | Error-resistant codewords |
| Social networks | Mutually unrelated groups |
| Resource allocation | Compatible requests |
The abstraction is extremely broad.
63.19 Special Graph Classes
Some graph families admit efficient independent set algorithms.
| Graph Class | Status |
|---|---|
| Trees | Polynomial |
| Chordal graphs | Polynomial |
| Interval graphs | Polynomial |
| Perfect graphs | Polynomial |
| General graphs | NP-complete |
Structural graph theory often studies graph classes where independent sets become tractable.
63.20 Turán-Type Questions
Extremal graph theory asks:
How many edges force small independent sets?
Turán’s theorem and related results connect graph density with clique and independence structure.
Dense graphs tend to have small independent sets.
Sparse graphs tend to have larger ones.
63.21 Independent Dominating Sets
An independent dominating set is both:
| Property | Meaning |
|---|---|
| Independent | No adjacent selected vertices |
| Dominating | Every vertex touched or selected |
These sets combine sparsity with coverage.
They appear in facility placement and communication systems.
63.22 Common Relationships
| Parameters | Relation |
|---|---|
| Independent set and vertex cover | (\alpha(G)+\tau(G)= |
| Independent set and clique | |
| Coloring bound | (\chi(G)\ge |
These identities connect independence with multiple central graph invariants.
63.23 Exercises
Compute .
Compute .
Prove that every independent set complement is a vertex cover.
Show that:
Find a maximum independent set in .
Explain why every color class is independent.
Construct a maximal independent set that is not maximum.
Compute the independence number of .
Write the linear programming formulation for maximum independent set.
Explain why independent set is computationally difficult in general graphs.