Skip to main content

ProofsPath · 11 min

The Extremal Principle

Important
For:GeneralResearch

The Extremal Principle

Why This Matters

The extremal principle is one of the simplest and most powerful technique-recognition cues in olympiad mathematics:

In any finite (or well-ordered) set, an extremal element exists. Often, its extremality alone forces the conclusion.

The principle has many specific instantiations:

  • The smallest counterexample (when one exists).
  • The longest chain in a partial order.
  • The point closest to (or farthest from) a fixed reference.
  • The smallest enclosing circle.
  • The triangle of maximum area.
  • The configuration with the most / fewest of something.

Recognize the extremal principle when:

  • The problem mentions "for all" or "there exists" but the proof structure is unclear.
  • You need an existence proof but constructive arguments fail.
  • The problem has a natural total or partial order (lengths, areas, sizes, distances).
  • You suspect minimality / maximality forces structure.

The extremal principle pairs naturally with invariants and monovariants, well-ordering, and proof by infinite descent. They are the four corners of the "consider the extremal case" toolkit.

The Sylvester-Gallai Theorem

Theorem

Sylvester-Gallai Theorem (1893 / 1944)

Statement

There is a line passing through exactly two points of PP (an ordinary line).

Intuition

This is the classic olympiad-style application of the extremal principle. The proof is dazzlingly elegant: among all lines through at least two points of PP, choose the line-point pair with the smallest positive distance. Show that this line must contain exactly two points of PP.

Proof Sketch

Consider the set SS of pairs (,p)(\ell, p) where \ell is a line containing 2\ge 2 points of PP and pPp \in P is not on \ell. Since not all points are collinear, SS is non-empty. Let d(,p)d(\ell, p) be the perpendicular distance from pp to \ell. Choose (,p)S(\ell^*, p^*) \in S minimizing d(,p)d(\ell^*, p^*) (extremal step!).

Suppose for contradiction that \ell^* contains 3\ge 3 points of PP. Drop a perpendicular from pp^* to \ell^* at foot ff. Among the points of PP on \ell^*, two of them, call them q1,q2q_1, q_2, lie on the same side of ff (by pigeonhole on at-least-3-points and at-most-2-sides). WLOG q1q_1 is closer to ff than q2q_2.

Now consider the line =q2p\ell' = q_2 p^*. The point q1q_1 is closer to \ell' than pp^* is to \ell^*: a quick geometric calculation. So (,q1)S(\ell', q_1) \in S has smaller distance, contradicting minimality.

Hence \ell^* contains exactly 2 points: an ordinary line.

Why It Matters

Sylvester conjectured this in 1893; Erdős re-discovered it in 1933 unaware of Sylvester's work; Gallai gave the first correct proof in 1944. The proof became a paradigm for the extremal principle: choose an extremal pair, derive a contradiction. Variations of this proof appear in countless olympiad problems involving point configurations.

Failure Mode

The theorem fails in some non-Euclidean geometries (e.g., projective planes over finite fields where every line has the same number of points). The Euclidean structure is essential: the perpendicular-distance minimization uses Euclidean metric properties.

Also: over the complex projective plane, the Sylvester-Gallai theorem fails: the Hesse configuration of 9 inflection points of a cubic curve has every line through 3 points. This is why "in R2\mathbb{R}^2" is essential.

Worked Example: Triangulating a Convex Polygon

Example

Triangulations of a convex polygon

Problem. Show that every triangulation of a convex nn-gon (using only diagonals between vertices) has exactly n2n - 2 triangles.

Solution. Use the extremal principle on diagonals.

Suppose we have any triangulation TT. Consider the shortest diagonal in TT (extremal step). Removing it combines two triangles into a quadrilateral, leaving TT' with #triangles(T)=#triangles(T)1\#\text{triangles}(T') = \#\text{triangles}(T) - 1 and #diagonals(T)=#diagonals(T)1\#\text{diagonals}(T') = \#\text{diagonals}(T) - 1.

Iterate: at each step, remove the shortest diagonal. The process terminates when no diagonals remain: the polygon itself, with 0 triangles. So if TT has DD diagonals and Δ\Delta triangles, after DD removals we get to 00 triangles and 00 diagonals, so ΔD=0\Delta - D = 0, i.e., Δ=D\Delta = D.

Plus the polygon's nn sides, the total edge count is Δ+D+nn=2D+n\Delta + D + n - n = 2D + n (since each diagonal is shared by 2 triangles, each side by 1). On the other hand, each triangle has 3 edges, so 3Δ=3\Delta = (total edge-incidences) =2D+n= 2D + n. Combining Δ=D\Delta = D and 3Δ=2D+n3\Delta = 2D + n gives Δ=n2\Delta = n - 2.

This is the extremal-removal technique: take the extreme element, see how the structure simplifies, and induct.

The Recognition Process

When facing a problem, ask:

  1. Is there a natural order? (Length, area, size, distance, sum, max, min, etc.)
  2. Is the conclusion existential or structural? ("There exists a configuration with..." or "Every configuration satisfies...")
  3. Try the extremal element. Often the extremal element has properties forced by its extremality.
  4. What does the contradiction look like? If you assume not, can you find an even more extremal element?
  5. Bonus: chains. The "longest chain" or "largest antichain" in a partial order often exists by finiteness and gives strong structural conclusions (Dilworth's theorem).

The extremal principle is most powerful when combined with contradiction: assume not, find the extremal counterexample, derive a smaller counterexample.

Worked Example: A Combinatorial Game

Example

Coin coloring on a grid

Problem. Each cell of an infinite grid is colored either white or black. Suppose that every 1×1001 \times 100 horizontal strip and every 100×1100 \times 1 vertical strip contains exactly 50 white cells and 50 black cells. Show that the entire grid is determined by the coloring of any single 100×100100 \times 100 block.

Solution sketch. This is more of an existence-of-pattern problem; the extremal principle helps when you study the smallest such grid that exhibits any periodic structure.

Consider the smallest period in the horizontal direction that the coloring exhibits: the smallest pp such that shifting the pattern right by pp leaves it unchanged. The constraint forces p100p \le 100; the extremality forces pp to divide 100; and so on.

This pattern of "smallest period" is a recurring extremal argument; the answer simplifies because of the period structure.

Common Mistakes

Watch Out

Forgetting the extremal element exists

The extremal principle requires the extremal element exists. For finite sets, this is automatic. For infinite or unbounded sets, you need well-ordering, completeness, or boundedness arguments. Just saying "consider the smallest" without verifying existence is a common flaw.

Watch Out

Choosing the wrong quantity to extremize

Many problems have multiple natural quantities (lengths, areas, distances). The right choice usually corresponds to the relation that makes the contradiction work. Try several in succession.

Watch Out

Confusing 'extremal' with 'random'

The extremal element has specific properties forced by extremality. A random element has none of those guarantees. Beginners sometimes pick "any" element and try to derive contradictions; the extremal hypothesis is often essential.

Watch Out

Multiple extremal elements

If there are ties in the extremal value, you may need to use a secondary extremal criterion to pick uniquely. In Sylvester-Gallai, the secondary criterion is implicit (any of the tied minimizers works); in others, you may need "smallest by lex order" or "leftmost smallest" etc.

Exercises

ExerciseCore

Problem

Show that any 5 points in the plane in general position (no 3 collinear) determine at least one convex quadrilateral among 4 of them.

ExerciseAdvanced

Problem

Prove that in any finite tournament (complete directed graph), there is a Hamiltonian path (a directed path through all vertices).

Cross-Network Links

References

See structured references block. Primary entry points: Engel Ch 3 for the technique treatment; Aigner-Ziegler "Proofs from THE BOOK" for the Sylvester-Gallai proof and many other extremal arguments; Sriram "Olympiad Combinatorics" for olympiad-flavored worked examples.