Skip to content

Chapter 41. Graph Coloring of Planar Graphs

Graph coloring assigns labels, called colors, to the vertices of a graph so that adjacent vertices receive different colors. For planar graphs, coloring has a special geometric interpretation: it models the coloring of regions on a map. Two regions that share a boundary segment must receive different colors. Regions that meet only at a point may receive the same color.

The central fact is that planar graphs require only a small number of colors. Every planar graph is four-colorable, and the easier five-color theorem gives a useful proof technique based on Euler’s formula. The four-color theorem states that every planar graph can be vertex-colored with at most four colors.

41.1 Vertex Coloring

Let G=(V,E)G = (V,E) be a graph. A proper vertex coloring of GG is a function

c:V{1,2,,k} c : V \to \{1,2,\ldots,k\}

such that whenever uvEuv \in E,

c(u)c(v). c(u) \neq c(v).

The least number of colors needed for a proper vertex coloring is called the chromatic number of GG. It is denoted by

χ(G). \chi(G).

Thus

χ(G)k \chi(G) \leq k

means that GG can be properly colored with at most kk colors.

For planar graphs, the basic question is:

How large can χ(G) be when G is planar? \text{How large can } \chi(G) \text{ be when } G \text{ is planar?}

The answer is 44.

41.2 Maps and Planar Graphs

The map-coloring problem can be translated into graph theory. Each region of a map becomes a vertex. Two vertices are joined by an edge when the corresponding regions share a boundary segment. The resulting graph is planar. A proper vertex coloring of this graph is exactly a coloring of the map in which adjacent regions receive different colors.

This translation is important because it removes geometry that is not essential. The shape, size, and position of regions do not matter. Only adjacency matters.

Map languageGraph language
RegionVertex
Shared boundary segmentEdge
Coloring regionsColoring vertices
Adjacent regions differAdjacent vertices differ
Minimum number of map colorsChromatic number

In this way, a problem about maps becomes a problem about planar graphs.

41.3 The Four-Color Theorem

The four-color theorem states:

Every planar graph has a proper vertex coloring using at most four colors.

Equivalently,

G planarχ(G)4. G \text{ planar} \quad \Rightarrow \quad \chi(G) \leq 4.

This theorem is best possible. The complete graph K4K_4 is planar and requires four colors. Since every pair of vertices in K4K_4 is adjacent, no two vertices can share a color. Hence

χ(K4)=4. \chi(K_4) = 4.

Therefore the bound 44 cannot be lowered to 33.

The four-color theorem has a famous history. The first correct proof was completed in 1976 and used computer assistance.

41.4 Why Euler’s Formula Gives Six Colors Easily

Euler’s formula implies that every simple planar graph has a vertex of degree at most 55.

To see this, suppose every vertex had degree at least 66. Then the sum of degrees would satisfy

vVdeg(v)6v. \sum_{v \in V} \deg(v) \geq 6v.

By the handshaking lemma,

vVdeg(v)=2e. \sum_{v \in V} \deg(v) = 2e.

So

2e6v, 2e \geq 6v,

and therefore

e3v. e \geq 3v.

But every simple planar graph with v3v \geq 3 satisfies

e3v6. e \leq 3v - 6.

These two inequalities are incompatible. Hence every simple planar graph has at least one vertex of degree at most 55.

This degree bound is the basic input for coloring planar graphs.

41.5 The Six-Color Theorem

The six-color theorem states that every planar graph can be colored with at most six colors.

The proof is by induction on the number of vertices.

For the base case, a graph with one vertex is clearly colorable with six colors.

Assume every planar graph with fewer than nn vertices is six-colorable. Let GG be a planar graph with nn vertices. By the degree bound above, GG has a vertex vv with

deg(v)5. \deg(v) \leq 5.

Remove vv from GG. The remaining graph GvG-v is still planar, so by induction it has a proper coloring using at most six colors.

Now put vv back. The vertex vv has at most five neighbors. These neighbors use at most five colors. Since six colors are available, at least one color remains unused among the neighbors of vv. Assign that color to vv.

The resulting coloring is proper. Therefore every planar graph is six-colorable.

41.6 The Five-Color Theorem

The five-color theorem improves the previous result:

Every planar graph has a proper vertex coloring using at most five colors.

This theorem is weaker than the four-color theorem, but its proof is much simpler. It was proved by Percy John Heawood in 1890 after he found a flaw in Kempe’s attempted proof of the four-color theorem.

The proof again uses induction and the fact that every simple planar graph has a vertex of degree at most 55. The only difficult case occurs when the removed vertex has exactly five neighbors and those five neighbors use all five colors.

41.7 Kempe Chains

A Kempe chain is a connected component of the subgraph induced by two colors.

Suppose a graph has been colored with colors

1,2,3,4,5. 1,2,3,4,5.

Choose two colors, say 11 and 33. Look only at vertices colored 11 or 33. The connected components of this induced subgraph are called (1,3)(1,3)-Kempe chains.

Inside one such component, switching color 11 to color 33 and color 33 to color 11 preserves proper coloring. Adjacent vertices still have different colors, because the switch only exchanges the two colors within the component.

Kempe chains are the key recoloring tool in the five-color theorem.

41.8 Proof Idea of the Five-Color Theorem

Let GG be a planar graph. Use induction on the number of vertices.

Choose a vertex vv of degree at most 55, and remove it. By induction, GvG-v has a proper coloring using five colors.

If the neighbors of vv use at most four colors, then one of the five colors is unused among them. Assign that color to vv.

The only hard case is when vv has exactly five neighbors and they use all five colors. In a planar embedding, list the neighbors of vv in cyclic order:

v1,v2,v3,v4,v5. v_1, v_2, v_3, v_4, v_5.

Suppose their colors are

1,2,3,4,5 1,2,3,4,5

in that order.

Consider the subgraph using only colors 11 and 33. If v1v_1 and v3v_3 are in different (1,3)(1,3)-Kempe chains, switch colors 11 and 33 on the chain containing v1v_1. Then color 11 disappears from the neighborhood of vv, so vv can be colored 11.

If v1v_1 and v3v_3 are in the same (1,3)(1,3)-Kempe chain, then there is a path from v1v_1 to v3v_3 using only colors 11 and 33. Together with the edges vv1vv_1 and vv3vv_3, this path forms a closed curve. By planarity, it separates v2v_2 from v4v_4. Therefore v2v_2 and v4v_4 cannot be connected by a Kempe chain using colors 22 and 44.

So switch colors 22 and 44 on the chain containing v2v_2. Then color 22 disappears from the neighborhood of vv, and vv can be colored 22.

Thus in every case the coloring extends to vv. This proves the five-color theorem.

41.9 Why the Same Argument Does Not Prove Four Colors

The Kempe-chain method was originally proposed as a proof of the four-color theorem. The flaw is that the recoloring choices can interfere with one another when only four colors are available. Heawood identified the error and salvaged the argument to prove the five-color theorem.

The difference is structural. With five colors, the degree-at-most-five vertex gives enough room to use pairs of nonadjacent neighbors in the cyclic order. With four colors, a vertex of degree 55 may still appear, and the same simple induction no longer works.

The four-color theorem requires deeper structural analysis.

41.10 Coloring and Cliques

A clique is a set of vertices that are pairwise adjacent. If GG contains a clique of size rr, then

χ(G)r. \chi(G) \geq r.

Planar graphs cannot contain K5K_5, because K5K_5 is nonplanar. Therefore a planar graph has no clique of size 55.

This fact alone does not prove four-colorability. In general, a graph can require many colors even when it has small cliques. However, for planar graphs, topology imposes stronger restrictions than clique size alone.

The graph K4K_4 shows that four colors are sometimes necessary. Since K4K_4 is planar and complete,

χ(K4)=4. \chi(K_4)=4.

41.11 Outerplanar and Bipartite Cases

Special classes of planar graphs have stronger coloring bounds.

A bipartite planar graph has chromatic number at most 22. Its vertices can be divided into two parts, and every edge joins one part to the other.

An outerplanar graph is a planar graph that can be embedded so that all vertices lie on the outer face. Every outerplanar graph is 33-colorable. Some require three colors, such as a triangle.

Trees are even simpler. Every tree with at least one edge is bipartite, so it is 22-colorable. A single isolated vertex is 11-colorable.

Graph classColoring bound
General graphNo fixed bound in terms of planarity
Planar graphAt most 44 colors
Planar graph by elementary proofAt most 55 colors
Bipartite planar graphAt most 22 colors
Outerplanar graphAt most 33 colors
TreeAt most 22 colors

41.12 Summary

Graph coloring of planar graphs grew from the problem of coloring maps. The translation is direct: regions become vertices, shared boundaries become edges, and map coloring becomes proper vertex coloring.

The main results are:

TheoremStatement
Six-color theoremEvery planar graph is 66-colorable
Five-color theoremEvery planar graph is 55-colorable
Four-color theoremEvery planar graph is 44-colorable

The six-color theorem follows quickly from Euler’s formula. The five-color theorem adds Kempe-chain recoloring. The four-color theorem gives the sharp bound, since K4K_4 is planar and requires four colors.

Planar graph coloring is a central meeting point of topology, combinatorics, and algorithms. It shows how constraints from planar embeddings force strong restrictions on purely combinatorial behavior.