1 Vertex Coloring
A proper vertex coloring of a graph G=(V,E) is a map c:V→{1,2,…,k} such that c(u)=c(v) whenever {u,v}∈E. If such a coloring exists, we say G is k-colorable.
The smallest k for which G is k-colorable is called the chromatic number of G and is denoted χ(G).
χ(Kn)=n (in a complete graph, every pair of vertices is adjacent, so n colors are required). χ(C2k)=2 (even cycles are bipartite). χ(C2k+1)=3 (odd cycles require three colors).
The odd cycle C5 cannot be properly colored with two colors, but three colors suffice:
2 Greedy Coloring
For any graph G, χ(G)≤Δ(G)+1, where Δ(G) is the maximum degree of G.
Fix an arbitrary ordering v1,v2,…,vn of the vertices. Color each vi with the smallest color not already used by its previously colored neighbors. Since vi has at most Δ(G) neighbors, at most Δ(G) colors are excluded. A valid color can therefore always be found within {1,2,…,Δ(G)+1}. By induction, every vertex receives a valid color using at most Δ(G)+1 colors. □
3 Brooks' Theorem
If G is a connected simple graph that is neither a complete graph nor an odd cycle, then χ(G)≤Δ(G).
We sketch the main ideas. Assume Δ=Δ(G)≥3 (the cases Δ≤2 are straightforward). If G is not Δ-regular, there exists a vertex v with deg(v)<Δ. Placing v last in the greedy ordering guarantees that Δ colors suffice.When G is Δ-regular but not complete, there exist two non-adjacent vertices u and w. Assigning u and w the same color and then applying greedy coloring in a suitable BFS order produces a proper coloring using at most Δ colors. □
4 The Chromatic Polynomial
For a graph G, let P(G,k) denote the number of proper k-colorings of G. The function P(G,k) is a polynomial in k, called the chromatic polynomial of G.
For any edge e={u,v} of G, let G−e denote the graph with e deleted and G/e the graph with e contracted. Then P(G,k)=P(G−e,k)−P(G/e,k).
Among the proper k-colorings of G−e, those with c(u)=c(v) are also proper colorings of G, and those with c(u)=c(v) correspond bijectively to proper colorings of G/e. Thus P(G−e,k)=P(G,k)+P(G/e,k). □
The chromatic polynomial of the complete graph is P(Kn,k)=k(k−1)(k−2)⋯(k−n+1). For a tree T on n vertices, P(T,k)=k(k−1)n−1.
5 Edge Coloring and Vizing's Theorem
A proper edge coloring of a graph G assigns colors to edges so that no two edges sharing an endpoint receive the same color. The minimum number of colors required is the chromatic index, denoted χ′(G).
Since all edges incident to any vertex must receive distinct colors, χ′(G)≥Δ(G) is immediate.
For every simple graph G, Δ(G)≤χ′(G)≤Δ(G)+1.
6 The Four Color Theorem
Every planar graph is 4-colorable. That is, χ(G)≤4 for every planar graph G.