The Map Coloring Problem

What is the four color conjecture and why does it matter?

The Map Coloring Problem

Can every map be colored with just four colors so that no two neighbors match? A child can ask it, but answering it took 124 years and a computer.

Coloring a Map

Pick a color from the palette and click regions to fill them in. Clashing neighbors light up -- can you finish the map with zero conflicts?

Pick a color:
0 of 12 regions colored0 conflicts
ABCDEFGHIJKL

Click a color above, then click regions on the map. Adjacent regions sharing a border will show a conflict (pulsing red border) if they have the same color.

Go deeper:Coloring a Map

Imagine you are coloring a political map and want to ensure that no two neighboring countries share the same color. How many colors do you need? This deceptively simple question launched one of the most famous problems in all of mathematics -- the four color conjecture -- and its resolution would eventually require an entirely new kind of proof.

The four color theorem states that any map drawn on a plane (or sphere) can be colored with at most four colors so that no two adjacent regions -- regions sharing a common border segment, not merely a single point -- receive the same color. Though easy to state and simple to verify for small maps, proving it for every possible map turned out to be extraordinarily difficult.

Key insight: Adjacent regions sharing a border (not just a point) must get different colors. Four colors always suffice for any map, no matter how complex.

How Many Colors Do You Need?

Color each example, using Previous and Next to move between maps that need exactly 2, 3, and 4 colors. Try one color fewer and see where it fails.

Example 1 of 3

2-Colorable: Checkerboard

Chromatic number: 2

A bipartite arrangement of 4 regions. Like a checkerboard, you can alternate two colors and never have neighbors clash.

Color:
Colored: 0/4Colors used: 0Conflicts: 0
0123

Try to color each example using exactly its chromatic number of colors. Toggle between map and graph views to see the dual representation.

Go deeper:How Many Colors Do You Need?

Not every map requires all four colors. Some maps can be colored with just two or three. The minimum number of colors needed is called the chromatic number.

Key insight: Some maps genuinely require 4 colors -- you can always find configurations where three colors are not enough. The four color theorem says four always suffice.

A Brief History

Click the events on the timeline to follow the problem from an 1852 question to a machine-checked proof in 2005.

1852Francis Guthrie

The Conjecture Is Born

While coloring a map of the counties of England, Francis Guthrie noticed that four colors sufficed and asked whether this was always the case. His brother Frederick passed the question to Augustus De Morgan, who popularized it among mathematicians.

Click any dot on the timeline to learn about that milestone in the history of the four color theorem.

Go deeper:A Brief History

The four color problem has a remarkable history stretching over 150 years. From its origins as a casual observation about map coloring to its controversial computer-assisted proof and eventual formal verification, this timeline traces the key moments in one of mathematics' most celebrated stories.

Key insight: The four color theorem took 124 years from conjecture to proof and was the first major theorem proved with significant computer assistance.

Key Takeaways

  • Four colors always suffice for any map, so that neighbors never match
  • Touching at a single point does not count -- only shared border segments make neighbors
  • Some maps need exactly 4 colors -- three is not always enough
  • Proved in 1976 by Appel and Haken, who checked 1,936 configurations by computer

Spot a mistake or have an idea?

Search