Planar Graphs, Euler's Formula, and the Four-Color Theorem

⚡ Key Takeaways

One-line statement: A planar graph is one that can be drawn in the plane without edge crossings; for any connected such drawing V−E+F=2V - E + F = 2 (Euler's formula), and every planar graph can be properly colored with at most four colors (Four-Color Theorem). Key result in words: Vertices minus edges plus faces always equals two for connected planar graphs, and four colors always suffice to color any map so that adjacent regions differ. Where it applies: map coloring, network/circuit layout, polyhedra combinatorics, scheduling, graph algorithms. Who/when: Euler (1750s) for the polyhedral formula; Kempe (1879) and Heawood (1890) for early coloring attempts; Appel & Haken (1976) for the computer-assisted Four-Color proof.

💡 The Core Insight

Planarity is a topological property, but its consequences are counting facts. Euler's formula converts the geometry of a crossing-free drawing into a rigid arithmetic relationship among VV, EE, and FF. From that one equation flows everything: edge bounds (E≤3V−6E \le 3V-6), the impossibility of embedding K5K_5 and K3,3K_{3,3}, the existence of a vertex of degree ≤5\le 5, and ultimately the chain of reductions that yields the coloring theorems. The lesson: a global invariant constrains local structure.

Formal Statement

DefinitionPlanar Graph and Plane Graph

A graph GG is planar if there exists an injective drawing in R2\mathbb{R}^2 (equivalently the sphere S2S^2) mapping vertices to distinct points and edges to simple arcs that intersect only at shared endpoints. A specific such drawing is a plane graph (an embedding). The drawing divides the plane into open connected regions called faces; exactly one is unbounded, the outer (infinite) face. For a face ff, its degree deg⁡(f)\deg(f) is the number of edges encountered in a walk around its boundary, counting an edge twice if both its sides touch ff (e.g., a bridge).

DefinitionProper Coloring and Chromatic Number

A proper kk-coloring of GG is a map c:V→{1,…,k}c: V \to \{1,\dots,k\} with c(u)≠c(v)c(u) \neq c(v) whenever uv∈Euv \in E. The chromatic number χ(G)\chi(G) is the least kk for which a proper kk-coloring exists.

The central numerical relations:

1
V−E+F=2(connected plane graph)\quad V - E + F = 2 \qquad (\text{connected plane graph})

Derivation hint: Build GG edge by edge from a spanning tree; each new edge either closes a cycle (+1 face) or extends a path, preserving the alternating sum.

2
∑v∈Vdeg⁡(v)=2E,∑f∈Fdeg⁡(f)=2E\quad \sum_{v \in V} \deg(v) = 2E, \qquad \sum_{f \in F} \deg(f) = 2E

Derivation hint: Each edge contributes 2 to the vertex-degree total (one per endpoint) and 2 to the face-degree total (one per side).

3
E≤3V−6(V≥3)\quad E \le 3V - 6 \qquad (V \ge 3)

Derivation hint: Each face has degree ≥3\ge 3, so 2E=∑deg⁡(f)≥3F2E = \sum \deg(f) \ge 3F; substitute F=2−V+EF = 2 - V + E and solve.

4
E≤2V−4(triangle-free,V≥3)\quad E \le 2V - 4 \qquad (\text{triangle-free}, V \ge 3)

Derivation hint: Same as [3] but each face now has degree ≥4\ge 4, giving 2E≥4F2E \ge 4F.

TheoremEuler's Polyhedron Formula

For any connected plane graph with VV vertices, EE edges, and FF faces, equation [1] holds. More generally, a plane graph with cc connected components satisfies V−E+F=1+cV - E + F = 1 + c.

TheoremKuratowski–Wagner

A graph is planar if and only if it contains no subgraph that is a subdivision of K5K_5 or K3,3K_{3,3} (Kuratowski), equivalently no K5K_5 or K3,3K_{3,3} minor (Wagner).

TheoremFour-Color Theorem (Appel–Haken, 1976)

Every planar graph GG satisfies χ(G)≤4\chi(G) \le 4. Equivalently, the regions of any plane map can be colored with four colors so that regions sharing a boundary arc receive distinct colors.

TheoremFive-Color Theorem (Heawood, 1890)

Every planar graph satisfies χ(G)≤5\chi(G) \le 5, with an elementary proof.

Why It Holds / Derivation

ProofEuler's Formula by Induction on Edges

Let GG be a connected plane graph. 1. Base case. If E=V−1E = V - 1, then GG is a tree (connected, acyclic). A tree has no cycles, so its drawing bounds no bounded region: F=1F = 1. Then V−E+F=V−(V−1)+1=2V - E + F = V - (V-1) + 1 = 2. ✓ 2. Inductive step. Suppose [1] holds for all connected plane graphs with fewer than EE edges, and let GG have E≥VE \ge V edges. Then GG contains a cycle; pick an edge ee lying on a cycle. 3. Because ee is on a cycle, it borders two distinct faces. Deleting ee merges those two faces into one, so FF decreases by 1, EE decreases by 1, and G−eG - e is still connected with VV vertices. 4. By induction V−(E−1)+(F−1)=2V - (E-1) + (F-1) = 2, which rearranges to V−E+F=2V - E + F = 2. ∎

∎
ProofFive-Color Theorem

Induct on VV. For V≤5V \le 5 the claim is trivial. 1. By [3], the average degree is 2E/V≤(6V−12)/V<62E/V \le (6V-12)/V < 6, so some vertex vv has deg⁡(v)≤5\deg(v) \le 5. 2. Delete vv; by induction G−vG - v is 5-colorable. Restore vv. If its ≤5\le 5 neighbors use ≤4\le 4 colors, a free color completes the coloring. 3. The only hard case: deg⁡(v)=5\deg(v) = 5 and its neighbors v1,…,v5v_1,\dots,v_5 (in cyclic order) use all five colors, say c(vi)=ic(v_i) = i. 4. Consider the subgraph H13H_{13} induced by colors 11 and 33 (a Kempe chain argument). If v1v_1 and v3v_3 lie in different components of H13H_{13}, swap colors 1↔31\leftrightarrow 3 in v1v_1's component; now color 11 is free for vv. 5. Otherwise a path of alternating colors 1,31,3 joins v1v_1 to v3v_3. Together with vv this path encloses one of v2v_2 or v4v_4. Now consider H24H_{24} (colors 22 and 44): the enclosing 11–33 ring blocks any 22–44 path between v2v_2 and v4v_4. So swapping in v2v_2's component frees color 22 for vv. ∎

∎
⚠️ Common mistake

The same Kempe-chain idea, applied to a degree-5 vertex aiming for four colors, was Kempe's 1879 "proof" of the four-color theorem. It is wrong. When you must perform two Kempe swaps to free a color, the swaps can interfere, recoloring vertices the first swap relied on. Heawood found this gap in 1890. The gap is exactly why four colors needed a computer-assisted proof, while five colors does not.

mathematician · Leonhard Euler | 1707–1783

The Swiss polymath who, in correspondence around 1750 and in published form in 1752–1758, observed that for convex polyhedra V−E+F=2V - E + F = 2. Though Euler did not phrase it graph-theoretically and his proof was incomplete by modern standards (later rigorized by Legendre, Cauchy, and von Staudt), the invariant bears his name and seeds the entire field of combinatorial topology. The same Euler launched graph theory itself with the 1736 Königsberg bridges problem.

Building Intuition

🧠 Intuition

Think of Euler's formula on a sphere instead of a plane (stereographic projection makes them equivalent, and on the sphere there is no special "outer" face). Inflate a polyhedron until it becomes a sphere tiled by curved polygons. Now imagine flooding the sphere: start from one face and progressively "burn" the surface. Each time you cross an edge you either enter a new face or close a loop. The bookkeeping of openings and closings is exactly the alternating sum V−E+FV - E + F, and topology guarantees the surface has "two holes' worth of nothing" — i.e., the sphere's Euler characteristic is 22. Change the surface (a torus) and the constant changes to 00: that is why the formula is a topological fingerprint of the surface, not of the particular graph.

Figure
A plane embedding of a cube graph: V=8, E=12, F=6 satisfies 8−12+6=2. The golden curve highlights the outer face boundary.
F = 6 faces inner outer face boundary (gold) V=8, E=12

Worked Examples

ExampleCounting Faces of a Soccer-Ball Graph

Given: A truncated icosahedron (soccer ball) has 12 pentagonal faces and 20 hexagonal faces meeting 3 at each vertex.

Find: Verify Euler's formula by computing VV and EE.

Steps:

  • Faces: F=12+20=32F = 12 + 20 = 32.
  • Edge count via [2]: each pentagon contributes 5 sides, each hexagon 6, each edge shared by two faces:
E=12⋅5+20⋅62=60+1202=90.E = \frac{12\cdot 5 + 20 \cdot 6}{2} = \frac{60 + 120}{2} = 90.
  • Vertex count: 3 faces meet per vertex, and each face-corner is one (face, vertex) incidence. Total corners =12⋅5+20⋅6=180= 12\cdot5 + 20\cdot6 = 180, each vertex counted 3 times:
V=1803=60.V = \frac{180}{3} = 60.
  • Check [1]: V−E+F=60−90+32=2.V - E + F = 60 - 90 + 32 = 2. ✓

Answer: V=60, E=90, F=32, and V−E+F=2.\boxed{V = 60,\ E = 90,\ F = 32,\ \text{and } V-E+F = 2.}

ExampleProving K5K_5 Is Non-Planar

Given: The complete graph K5K_5 has V=5V = 5 vertices and E=(52)=10E = \binom{5}{2} = 10 edges.

Find: Decide planarity using the edge bound.

Steps:

  • For a simple planar graph with V≥3V \ge 3, inequality [3] requires E≤3V−6E \le 3V - 6.
  • Substitute V=5V = 5: 3(5)−6=93(5) - 6 = 9.
  • But K5K_5 has E=10>9E = 10 > 9.

This violates [3], so no plane embedding can exist.

Answer: K5 is non-planar since 10>3(5)−6=9.\boxed{K_5 \text{ is non-planar since } 10 > 3(5)-6 = 9.} (Note: K3,3K_{3,3} has E=9E=9, V=6V=6, so 9≤3⋅6−6=129 \le 3\cdot6-6 = 12 passes [3]; you must use the triangle-free bound [4]: 9>2⋅6−4=89 > 2\cdot6 - 4 = 8, confirming non-planarity.)

Common Misconceptions

⚠️ Common mistake

"Euler's formula needs V−E+F=2V - E + F = 2 for any graph." No — it requires the graph be connected and drawn planarly without crossings. A disconnected plane graph with cc components gives V−E+F=1+cV - E + F = 1 + c. And a graph drawn with crossings does not partition the plane into the right number of faces; you must count faces of an actual embedding.

⚠️ Common mistake

"The Four-Color Theorem says any map needs exactly four colors." It says at most four suffice. Many maps need fewer. Also, the theorem applies to maps where each country is a single connected region sharing boundary arcs (not isolated points). Two regions touching only at a corner are not "adjacent" — the four-color rule allows them the same color.

Counterexample

Why "five colors are sometimes necessary" is false but "more than three are sometimes necessary" is true. No planar map requires five colors (that is the theorem). However, four can genuinely be required: take K4K_4, the planar graph on four mutually adjacent vertices (a tetrahedron flattened). Every pair is adjacent, so χ(K4)=4\chi(K_4) = 4. This shows the bound 4 is tight and cannot be lowered to 3 in general.

Counterexample

The torus breaks the constant. Embed K5K_5 — non-planar in the plane — on a torus, where it fits with no crossings. There Euler's formula reads V−E+F=0V - E + F = 0, not 22, because the torus has Euler characteristic χ=0\chi = 0. The Heawood formula then permits up to seven colors on the torus, and seven are sometimes needed (e.g., K7K_7 embeds on the torus).

Connections

connection

Planarity sits at the crossroads of several theories. Euler's formula is the genus-0 case of the Euler Characteristic for surfaces, V−E+F=2−2gV - E + F = 2 - 2g, tying combinatorics to topology. The edge bound feeds Graph Coloring and the Chromatic Polynomial. The dual notion of a Planar Dual Graph turns face-coloring into vertex-coloring and links map coloring to flows via Tutte Polynomial theory. Kuratowski's theorem is an early instance of the deep Graph Minors Theorem of Robertson–Seymour. Finally, planar graph algorithms underpin Computational Geometry and efficient solvers for problems NP-hard on general graphs.

Real-World Applications

🔬 Where this appears

Historical Development

⏳ History
- 1736 — Euler solves the Seven Bridges of Königsberg, founding graph theory.
- c. 1750–1758 — Euler states and uses V−E+F=2V - E + F = 2 for convex polyhedra (letters to Goldbach; published in the Novi Commentarii).
- 1813 — Cauchy and (1794/1813) Legendre give more rigorous proofs of the polyhedral formula via projection.
- 1852 — Francis Guthrie poses the four-color conjecture while coloring a map of England; relayed through De Morgan.
- 1879 — Alfred Kempe publishes a "proof" of the four-color theorem using Kempe chains.
- 1890 — Percy Heawood exposes the flaw in Kempe's argument, but salvages it to prove the Five-Color Theorem; introduces the Heawood map-coloring problem for higher-genus surfaces.
- 1930 — Kazimierz Kuratowski characterizes planarity via forbidden subgraphs K5K_5, K3,3K_{3,3}; Klaus Wagner gives the minor version (1937).
- 1976 — Kenneth Appel and Wolfgang Haken prove the Four-Color Theorem with computer verification of 1,936 reducible configurations — the first major theorem proved with essential computer aid.
- 1997 / 2005 — Robertson, Sanders, Seymour, Thomas give a cleaner reproof (633 configurations); Georges Gonthier produces a fully machine-checked proof in the Coq proof assistant.

Subtleties & Limits

open-problem

The four-color theorem is settled, but its texture leaves deep questions. (1) A "human-readable" proof. No fully traditional, surveyable proof avoiding massive case analysis is known; whether one exists is philosophically and mathematically open. (2) Hadwiger's Conjecture, a vast generalization, asserts that every graph with no KtK_{t} minor is (t−1)(t-1)-colorable; the case t=5t=5 is equivalent to the four-color theorem (Wagner), but t≥7t \ge 7 remains unproven and is considered one of the central open problems in graph theory. (3) Higher surfaces. The Heawood bound χ≤⌊(7+24g+1)/2⌋\chi \le \lfloor (7 + \sqrt{24g+1})/2 \rfloor for genus g≥1g \ge 1 was proved tight (Ringel–Youngs, 1968) for all orientable surfaces except the plane — ironically the sphere/plane case (which the formula would give as 4) is precisely the hard one that needed Appel–Haken.

See Also

Graph Coloring · Euler Characteristic · Kuratowski–Wagner Theorem · Planar Dual Graph · Chromatic Polynomial · Graph Minors Theorem · Heawood Conjecture · Tutte Polynomial · Hadwiger's Conjecture