Sperner’s Lemma - Statement

discrete math
combinatorics
triangles
coloring
Author

Apurva Nakade

Published

May 14, 2025

Consider a triangulation of a triangle. (Below, we show a regular triangulation of an equilateral triangle, but the theorem applies to any triangulation of a triangle.) We color the vertices of the triangle with three colors—say, red, green, and blue—with the following conditions:

  1. The vertices of the triangle are colored with the three colors: red, green, and blue.
  2. The vertices that lie on the edges of the triangle are colored with one of the colors of the endpoints of that edge—this is crucial.
  3. The vertices that lie in the interior of the triangle may be colored with any of the three colors.

Conditions 1 and 2 are often referred to as the Sperner condition.

NoteTheorem: Sperner’s lemma

Any triangulation of a triangle satisfying Sperner’s condition has at least one “rainbow” triangle whose vertices are colored with all three colors: red, green, and blue.

In fact, you always have an odd number of such triangles.

Questions

  • What is the expected number of such triangles? What about the other colored triangles? Click Regenerate colors a few times at a fixed subdivision count and watch the count above — does it move around a lot, or does it seem to settle near a typical value?

  • How to generate a truly random triangulation of a triangle? What is the space of all triangulations of a triangle? How to sample uniformly from this space? How does the number of RGB triangles vary with different triangulations?