Diese Seite auf Deutsch lesen.

Mathematics, plainly explained

The Map Coloring Theorem, Explained

Four colors are enough for any map in the world - that's the map coloring theorem, more formally known as the Four Color Theorem. A claim short enough to fit in one sentence, yet it took 124 years and, in the end, a computer to prove. Here's the full story: what the theorem actually says, why it resisted proof for so long, how the proof finally succeeded - and where it breaks down.

Cartographer turns this exact theorem into a game - 120 hand-drawn islands, the first 10 free.

Download on the App Store Get it on Google Play

What Does the Map Coloring Theorem Say?

The map coloring theorem is one of the most compact statements in mathematics: any map can be colored with at most four colors so that no two neighboring regions ever share the same color. It doesn't matter how many countries the map has or how tangled its borders are - four colors are always enough.

Two words in that sentence carry more weight than they first appear to. Two regions count as neighboring only if they share an actual border line - a single touching point doesn't count. And every region has to be connected: a country made of two separate pieces doesn't count as one region. Both restrictions look like fine print, but they're the reason the theorem is provable at all - and, as described further down, the reason it doesn't cleanly apply to some real-world maps.

Mathematically, the map coloring theorem is really a statement about graphs, not maps: any map can be translated into what's called a planar graph, turning each region into a point and each shared border into a connecting line. The theorem then says: any planar graph can be colored with at most four colors so that two points joined by a line never share a color. Maps are just the most intuitive version of this more abstract, more general statement.

Two colors are enough when regions simply alternate.

Three mutually touching regions force three colors.

Sometimes a map genuinely needs all four colors.

Why Isn't the Map Coloring Theorem Obvious?

That three colors sometimes aren't enough is easy to show in seconds: three regions that all touch each other need three different colors. It would be natural to guess that this trick keeps going forever - five mutually touching regions for five colors, six for six, with no upper limit at all. But that's not what happens. Past a certain point, the plain geometry of a flat surface makes it impossible for arbitrarily many regions to all touch each other - and that point turns out to be four. The map coloring theorem is the claim that this limit doesn't just hold for small, simple maps, but for every map that could ever be drawn, no matter how complicated. That jump from "true in every case examined so far" to "true in every conceivable case, forever" is what turns an observation into a theorem - and what turned this particular theorem into a 124-year-old open problem.

The History of the Map Coloring Theorem

The conjecture came from a student: in 1852, Francis Guthrie, a Londoner, was coloring a map of the English counties and noticed he never needed more than four colors, no matter how he drew the borders. His brother Frederick brought the question to the mathematician Augustus De Morgan, who passed it along the very same day - October 23, 1852 - in a letter to William Rowan Hamilton. Hamilton wasn't interested, but De Morgan kept raising the question and carried it through London's mathematical circles.

In 1878, Arthur Cayley brought the still-unsolved question before the London Mathematical Society. A year later, the lawyer and amateur mathematician Alfred Kempe published a proof that stood unchallenged for eleven years. Kempe's method - known today as Kempe chains - is itself elegant mathematics: take two of the four colors and trace the connected chain of regions that alternate between only those two colors. If that chain can be cut at some point, the two colors on part of the chain can simply be swapped without creating a conflict anywhere - freeing up the fourth color exactly where it was needed. Peter Guthrie Tait attempted his own proof in parallel, in 1880.

In 1890, Percy Heawood found the gap in Kempe's argument: for certain configurations, two chains can't be swapped independently of each other without opening up a new conflict somewhere else. Kempe's proof was refuted - the map coloring theorem was open again. Out of the wreckage, Heawood salvaged the Five Color Theorem: using Kempe's chain technique, it's possible to prove by hand, completely, that five colors are always enough for any map. Only the final, decisive step from five down to four remained unproven. In 1891, Julius Petersen also refuted Tait's 1880 attempt. For nearly another century, the map coloring theorem remained an open conjecture.

1,476 map patterns are better left to a computer. A single island, on the other hand, is easy to solve by hand - Cartographer has 120 of them waiting.

The 1976 Proof: Computer versus Pen and Paper

The breakthrough finally came in 1976, from Kenneth Appel and Wolfgang Haken at the University of Illinois - but not on paper. Their strategy follows a pattern Kempe had already been reaching for: assume there's a map that violates the theorem, and pick the smallest possible such counterexample among all of them. Then show that this minimal counterexample is impossible - and therefore every larger one is impossible too, since a larger one could always be reduced to a smaller one.

The trick is finding an unavoidable set of reducible configurations: a list of map patterns, at least one of which must appear in every minimal counterexample (unavoidable), and each of which can individually be shown to be impossible (reducible). To find that list at all, Appel and Haken used what's called the discharging method: every region is assigned a starting charge based on how many neighbors it has, and that charge gets redistributed between neighboring regions according to a fixed set of rules - not unlike an electrical network. What's left at the end reveals which regions must necessarily belong to one of the reducible configurations.

In the end, 1,936 configurations remained, later trimmed to 1,476 - far too many to check by hand. Appel and Haken had a computer run for roughly 1,200 hours. The result: the map coloring theorem holds. But no mathematician could trace the proof from start to finish by hand anymore - it wasn't too hard for a person, just too long.

“Four colors suffice.”Postmark used by the University of Illinois mathematics department for years after 1976

That sparked real controversy in the mathematical community. Was a proof that could no longer be read, only run, still a proof at all? In 1989, Appel and Haken published a complete, roughly 400-page write-up. In 1997, Neil Robertson, Daniel Sanders, Paul Seymour, and Robin Thomas trimmed the necessary case count down to 633 - the proof got simpler, but stayed computer-assisted. The final reassurance came only in 2005: Georges Gonthier and Benjamin Werner had the entire proof checked once more by a so-called proof assistant named Coq - software that formally verifies every single logical step, leaving no room for doubt at all.

Why No One Can Check the Proof by Hand

The difference between the map coloring theorem and the Five Color Theorem shows what's really going on here. The Five Color Theorem - the weaker claim that five colors always suffice - can be proven by hand in full, using Kempe's chain technique, in a few pages, followable by any math student. The map coloring theorem, by contrast, leaves the discharging method with a number of remaining cases that's simply too large for a human mind - not too complicated, just too much. That was something entirely new in 1976: the first major mathematical proof to depend essentially on a computer. Today that's routine in many corners of mathematics, but the map coloring theorem was the case that first forced the field to seriously ask what a proof even is, once no human can fully check it anymore.

Where the Map Coloring Theorem Breaks Down

The map coloring theorem describes pure geometry - and once real countries and real borders enter the picture, it shows its limits too.

A Point Isn't a Border

Neighboring only counts when two regions share an actual border line. At the Four Corners in the United States, Arizona, Colorado, New Mexico, and Utah all meet at a single point - under the theorem, all four could even share the same color. Real maps still usually color them differently anyway, so the border stays visible at all.

Exclaves Don't Count as One Region

Every region has to be connected. Russia's Kaliningrad Oblast sits separated from the rest of the country's territory, sandwiched between Poland and Lithuania. If a map requires both pieces to carry the same color, it can end up needing more than four - the theorem only knows geometry, not politics. Enclaves like San Marino, which sit entirely inside a single neighbor, aren't a problem in the same way: they're connected on their own and just need a color different from what surrounds them.

Other Surfaces Need More Colors

The map coloring theorem holds for the flat plane and for the surface of a sphere - flat maps and globes, in other words. On a torus, a donut-shaped surface, four colors are no longer enough: up to seven can be needed, as Gerhard Ringel and J. W. T. Youngs showed in 1968 for every surface of that kind. There's a single exception to that exception, too: the Klein bottle, where six colors already suffice instead of seven.

The Map Coloring Theorem in Practice: Graph Coloring

The map coloring theorem itself is a statement about maps and planar graphs - but the underlying idea, coloring a graph so that connected points never share a color, is its own, much broader tool in computer science known as graph coloring. In scheduling, for instance, events become points, and two events get connected whenever they can't overlap - say, because the same instructor teaches both. A valid coloring then corresponds to a schedule with no conflicts, with each color standing for a time slot. Register allocation in compilers, where a program's variables have to be distributed across a limited number of processor registers, is fundamentally the same problem. Unlike maps, though, these graphs are usually not planar - so the four-color limit doesn't apply there, and noticeably more colors are often required. What survives is the idea that the map coloring theorem made famous.

Try the Map Coloring Theorem Yourself

Cartographer turns the map coloring theorem into a game: 120 hand-drawn island maps, all governed by exactly this one rule - neighbors can never share a color. The first 10 maps are free, and there's a playable demo right in your browser.

Frequently Asked Questions About the Map Coloring Theorem

What is the map coloring theorem in one sentence?

The map coloring theorem, formally the Four Color Theorem, states that any map can be colored with at most four colors so that no two regions sharing a border ever get the same color.

How is the map coloring theorem proved?

The only known proof checks a computer-generated unavoidable set of reducible map patterns - 1,476 of them in the 1976 version. No hand proof is known.

Can a map get by with just three colors?

Many maps can, but some genuinely need all four. The theorem guarantees the worst case: more than four is never necessary, but fewer than four isn't always enough.

Does the map coloring theorem apply to every real map?

Only under two conditions: neighboring counts solely for a shared border line, not a single touching point, and every region has to be a single connected piece. Countries with exclaves, like Russia's Kaliningrad, don't meet the second condition.

Who proved the map coloring theorem?

Kenneth Appel and Wolfgang Haken, in 1976 at the University of Illinois. Their proof was simplified in 1997 and fully formally verified in 2005 by Georges Gonthier and Benjamin Werner using the Coq proof assistant.

Why is the proof of the map coloring theorem controversial?

Because no human has ever checked it from start to finish by hand - a computer worked through thousands of map patterns in 1976. It was the first major mathematical proof to rely on a computer, and that raised a real question: does that still count as a proof?

Sources & Further Reading

  1. Robin Wilson: Four Colours Suffice: How the Map Problem Was Solved. Allen Lane, 2002. Available at the Internet Archive.
  2. MacTutor History of Mathematics, University of St Andrews: The Four Colour Theorem - the history from Guthrie to Heawood.
  3. Kenneth Appel, Wolfgang Haken: Every Planar Map is Four Colorable. Contemporary Mathematics 98, American Mathematical Society, 1989. AMS Bookstore.
  4. Neil Robertson, Daniel Sanders, Paul Seymour, Robin Thomas: "The Four-Colour Theorem". Journal of Combinatorial Theory, Series B, 70(1), 1997, pp. 2-44. DOI 10.1006/jctb.1997.1750.
  5. Georges Gonthier: "Formal Proof - The Four-Color Theorem". Notices of the AMS, 55(11), 2008, pp. 1382-1393. PDF.
  6. Four color theorem, Wikipedia - for a quick overview.
  7. What Makes a Relaxing Puzzle Game Actually Relaxing? - the design and research behind Cartographer's other side: not just a proof, but a calm way to play with one.
  8. Map Puzzle: A Field Guide to Every Type - where map-coloring puzzles fit among jigsaw dissected maps and geography quiz games.
  9. Free Online Puzzle Game: No Download, No Catch - play this same theorem as a free browser demo, no account required.