Tutorials › Graph Theory (Undergraduate) › The Four Color Theorem and Its Meaning

Dual Graphs and Map Coloring · Tutorial 474 of 799

The Four Color Theorem and Its Meaning

Learn the precise four-color bound, how it translates into coloring map regions, and why disconnected maps and dual loops need careful interpretation.

Advanced 9 min read

What You'll Learn

  • State the Four Color Theorem for finite planar graphs and plane maps.
  • Distinguish a planar graph from a plane graph with a fixed embedding.
  • Translate region adjacency into vertex coloring of a plane dual.
  • Explain why disconnected components can be colored independently.
  • Identify why a dual loop does not require a region to differ from itself.
  • Recognize a planar graph that genuinely needs four colors.

What the Four Color Theorem Says

A map-coloring problem asks how many colors are needed so that neighboring regions receive different colors. The answer is strikingly uniform: four colors suffice, however complicated the planar arrangement. The theorem is an upper bound, not a claim that every map needs four colors. A tetrahedral map does need all four, so the bound cannot be lowered.

All graphs in the graph-theoretic statement are finite and simple. A graph is planar if it can be drawn in the plane with edges meeting only at common endpoints. A plane graph is a planar graph together with a particular such drawing, called an embedding. A planar graph describes whether a crossing-free drawing exists; a plane graph also records which drawing is being used.

Definition: A proper vertex coloring of \(G=(V,E)\) assigns a color to every vertex so that the endpoints of each edge have different colors. The chromatic number \(\chi(G)\) is the least number of colors in a proper coloring. A coloring with at most four colors is a map \(c:V\to\{1,2,3,4\}\) such that \(c(u)\ne c(v)\) whenever \(uv\in E\).
Theorem (Four Color Theorem): Every finite planar graph has a proper vertex coloring with at most four colors; equivalently, \(\chi(G)\le 4\) for every finite planar graph \(G\). In its map formulation, every finite plane map has a coloring of its regions with at most four colors such that any two distinct regions sharing an edge of the map have different colors.

The map statement uses edge-sharing as the rule for adjacency: two regions that meet only at a point are not required to have different colors. A region is a connected component of the complement of the embedded graph. The theorem is a deep result; its substantial proof is not supplied here. This tutorial establishes the precise connection between its graph and map formulations, and explains what the bound does and does not say.

Why Vertex Coloring and Region Coloring Match

For a plane graph, its plane dual has one vertex for each region, and an edge across each edge of the original graph, joining the vertices for the regions on the two sides. If an edge has the same region on both sides, the corresponding dual edge is a loop. If two regions share more than one edge, the dual has parallel edges. Thus the dual need not be simple. For coloring regions, loops impose no condition between distinct regions, and parallel edges repeat the same condition. Deleting loops and replacing parallel edges by a single edge leaves exactly the constraints relevant to a proper coloring.

Proposition: The four-color graph statement and the four-color map statement are equivalent. In the map statement, regions are adjacent precisely when they share an edge with distinct regions on its two sides.

Proof. First assume the graph statement. Given a finite plane map, form its dual and discard loops and duplicate parallel edges. The resulting graph is simple and planar: it is drawn by the dual construction, with the discarded edges removed. Its vertices correspond to the regions of the map, and its edges correspond exactly to pairs of distinct regions sharing an edge. The graph statement colors these vertices with at most four colors. Transferring each vertex's color to its corresponding region gives the required map coloring.

Now assume the map statement. Start with a connected plane graph \(G\), and form its plane dual \(G^*\). The standard plane-duality facts are that the regions of \(G^*\) correspond to the vertices of \(G\), and two such regions share an edge exactly when the corresponding vertices of \(G\) are joined by an edge. Applying the map statement to \(G^*\) therefore gives a proper coloring of \(G\)'s vertices with at most four colors. For a disconnected planar graph, apply this argument to each connected component in a plane embedding and use the same palette of four colors for every component. No edge joins different components, so the combined coloring is proper. The empty graph has no vertices and needs no colors. Thus the graph statement follows. \(\square\)

The proposition is an equivalence of statements, not an assertion that a particular graph and its own regions receive identical color assignments. Duality changes vertices into regions and edges into region adjacencies. The coloring is transferred between these corresponding objects.

Worked Example: A Plane Map That Needs Four Colors

Embed the graph with \(V=\{1,2,3,4\}\) and \(E=\{12,23,31,14,24,34\}\) by drawing the triangle \(123\), placing vertex \(4\) inside it, and joining \(4\) to \(1,2,3\). This is a plane graph. Its regions are the outside region \(R_0\), bounded by \(123\), and the three interior regions \(R_1,R_2,R_3\), bounded respectively by \(124,234,314\).

Every pair of regions shares an edge: \(R_0\) shares \(12,23,31\) with \(R_1,R_2,R_3\), respectively; the interior pairs share \(24,34,14\), respectively. Thus the region-adjacency graph is \(K_4\), just as the original vertex graph is \(K_4\). Assign four different colors to the four vertices, or equivalently to the four regions. This is proper because each pair is adjacent.

Check: Each of the four vertices is adjacent to the other three, so no two can share a color; at least four colors are necessary. The listed edge set has \(6\) edges, and the embedding has \(4\) regions, giving \(4-6+4=2\), consistent with Euler's formula for a connected plane graph. The four-color bound is attained here.

Disconnected Graphs and Maps

Proposition: If a finite graph \(G\) has at least one vertex and connected components \(G_1,\ldots,G_k\), then \(\chi(G)=\max_{1\le i\le k}\chi(G_i)\). With the convention \(\chi(G)=0\) for the empty graph, the empty graph is the separate case.

Proof. Restrict any proper coloring of \(G\) to a component \(G_i\). The restriction remains proper, so a coloring of \(G\) uses at least \(\chi(G_i)\) colors for every \(i\). Hence \(\chi(G)\ge\max_i\chi(G_i)\). Conversely, let \(q=\max_i\chi(G_i)\). Color each component properly using colors from the same set \(\{1,\ldots,q\}\). Every edge belongs to one component, so its endpoints receive different colors. The combined coloring is proper and uses at most \(q\) colors. Therefore \(\chi(G)\le q\), proving equality. \(\square\)

This explains why a disconnected graph does not need separate, non-overlapping palettes for its components. The same colors can be reused because there are no edges between components. In a disconnected plane map, the regions still have to be checked according to their actual shared boundaries; the components of the embedded graph are not themselves the map's regions.

Worked Example: A Five-Cycle and an Isolated Vertex

Let \(G\) have \(V=\{1,2,3,4,5,6\}\) and \(E=\{12,23,34,45,51\}\). Vertices \(1,\ldots,5\) form a cycle and vertex \(6\) is isolated. Give vertices \(1,3\) color red, \(2,4\) color blue, and \(5\) color green. Vertex \(6\) may also be red. Checking the edges in order, \(12\) is red-blue, \(23\) blue-red, \(34\) red-blue, \(45\) blue-green, and \(51\) green-red; each edge has differently colored endpoints.

Two colors cannot color the five-cycle: alternating two colors along \(1,2,3,4,5\) makes \(1\) and \(5\) the same color, but \(51\) is an edge. One color also fails because the graph has edges. Thus \(\chi(G)=3\). The isolated vertex adds no restriction, in agreement with the component proposition: the cycle needs three colors, while the one-vertex component needs one.

Check: There are \(5\) listed edges and each has passed the endpoint-color test. The coloring uses exactly \(3\) colors, and the odd cycle rules out \(1\) or \(2\); hence the computed value is indeed \(3\), not merely an upper bound.

Worked Example: Two Disconnected Map Components

Consider a plane map formed by two disjoint embedded triangles, with neither triangle inside the other. The graph has two components, each a \(C_3\). The complement has three regions: the unbounded exterior \(R_0\), the interior \(R_1\) of the first triangle, and the interior \(R_2\) of the second. Each triangle separates its own interior from the exterior. Therefore \(R_0\) is adjacent to both \(R_1\) and \(R_2\), while \(R_1\) and \(R_2\) do not share an edge.

Color \(R_0\) red, and color \(R_1\) and \(R_2\) blue. Both required adjacencies are red-blue, so this is a valid two-coloring. One color cannot work because each triangle has an edge separating two distinct regions. The region-adjacency graph is the path with vertex set \(\{R_1,R_0,R_2\}\) and edge set \(\{R_1R_0,R_0R_2\}\). Its two edges verify directly that the coloring is proper and that two colors are necessary.

Check: The two interiors do not touch along an edge, so there is no requirement that \(R_1\) and \(R_2\) differ. Treating every pair of regions as adjacent would impose a condition absent from this map.

What the Bound Means—and a Common Pitfall

The theorem guarantees a coloring with at most four colors. It does not say that four colors are always necessary, and it does not say that any arbitrary assignment of four colors is valid: every edge or region adjacency must still be checked. The \(K_4\) example shows sharpness, while a graph with no edges needs at most one color if it has vertices.

A map may also have an edge whose two sides belong to the same region. In the dual this edge becomes a loop. A frequent mistake is to interpret that loop as an instruction that the region must have a different color from itself. For example, embed the path with \(V=\{1,2,3\}\) and \(E=\{12,23\}\) in the plane. Its complement has one region, so the map needs just one color. The dual has one vertex and two loops, one for each path edge. If one applies the usual simple-graph rule to those loops, one would incorrectly declare the coloring impossible. The correction is to apply the map rule: only two distinct regions sharing an edge must differ. A loop records the same region on both sides and creates no such pair. After loops are ignored, the region-adjacency graph has one vertex and no edges, correctly requiring one color.

These distinctions keep the theorem's scope precise: planar concerns the existence of an embedding, plane records a chosen embedding, and map coloring concerns distinct regions that share an edge. Duality translates the last condition into vertex coloring without turning a region's boundary with itself into an extra color constraint.

Check Your Understanding

Use the definitions and arguments above to answer the following.

  1. State the Four Color Theorem in its graph formulation, including the hypothesis on \(G\).
  2. Why are two regions that meet only at a point not required to have different colors under the map formulation used here?
  3. For a graph with components \(G_1,\ldots,G_k\), explain why a proper coloring can reuse the same palette in every component.
  4. What does a loop in the dual of a plane graph represent, and why does it impose no map-coloring condition?
  5. In the two-triangle map example, list the region-adjacency edges and explain why two colors suffice but one does not.