Combinatorics • Topic 36
Graph Coloring
Graph coloring involves assigning labels (colors) to vertices or edges subject to certain constraints. It models scheduling, register allocation, and map coloring problems.
Vertex Coloring
Definition (Proper Vertex Coloring)
A -coloring of a graph is an assignment of colors to vertices such that no two adjacent vertices share the same color.
Chromatic Number
The chromatic number is the minimum number of colors needed for a proper coloring.- : The graph has no edges.
- : The graph is bipartite.
- : A complete graph needs distinct colors.
The Four Color Theorem
Theorem (Four Color Theorem)
Every planar graph (a graph that can be drawn without edge crossings) is 4-colorable.
Greedy Coloring
A simple algorithm: Order vertices . Assign color 1. For , assign the smallest color not used by its already-colored neighbors.- Brooks' Theorem: For any connected graph that is not a complete graph or an odd cycle, , where is the maximum degree.
Practice Problems
Exercise (Problem 1)
Find the chromatic number of the cycle graph .
Exercise (Problem 2)
Prove that a graph with maximum degree can always be colored with colors.
Exercise (Problem 3)
Construct a "triangle-free" graph with an arbitrarily large chromatic number (Mycielskian construction).