Chapter

Extremal Principle

The module teaches how to choose a maximal or minimal object: a longest path, a minimal counterexample, a maximal configuration, or an extreme interval. The method is used in graphs, tournaments, set problems, and finite processes.
Log in to track solved progress and bookmarks.

Theory

Key Idea

The extremal principle starts by choosing an object for which some quantity is maximal or minimal: a longest chain, the smallest right endpoint, a configuration with the largest number of elements, or a minimal counterexample.

After such a choice, we prove that the extremal object cannot be improved. If the assumptions still force an improvement, we get a contradiction.

Basic Facts

  • In every finite set, a chosen quantity has a maximum and a minimum.
  • A maximal object often has a strong property: if the property failed, the object could be extended or improved.
  • A minimal counterexample is useful when it produces a smaller counterexample.
  • A configuration maximal by inclusion does not have to have maximum size, but no new object can be added without breaking the condition.

When to Use This Method

  • The problem contains words such as largest, smallest, longest, cannot add, there exists a cycle/path/point.
  • You need to prove existence, but a direct construction is not visible.
  • There is a finite process, and you need to show that it cannot continue forever.
  • In graphs, tournaments, families of sets, and configurations on a line, one can often choose an extreme object.

How to Recognise the Method

Ask: which quantity can be made extremal? It may be path length, number of selected elements, a sum, a right endpoint of an interval, number of neighbours, or the position of the first failure.

If, after choosing the “most” object, the condition allows you to add a vertex, replace part of the construction, or obtain a smaller example, then the extremal principle is probably the right tool.

Typical Mistakes

  • Choosing the wrong extremal quantity: the object exists but gives no useful property.
  • Confusing maximum size with maximal by inclusion.
  • Forgetting finiteness: without finiteness, an extremum may not exist.
  • Saying “otherwise we improve it” without explicitly constructing the improvement.

Mini-Checklist

  • Define the finite set of objects from which you choose.
  • Name the quantity by which the maximum or minimum is chosen.
  • Prove the key property of the extremal object by showing that improvement is impossible.
  • Check that the contradiction really violates extremality, not some unrelated condition.

Examples

Example 1. The Largest Element

This short example shows that an extremal choice alone can already create a contradiction.

Problem. In a finite nonempty set of positive numbers, every number except possibly one has a strictly larger number in the same set. Prove that the number with no larger number exists and is unique.

Solution.

Choose a largest number \(M\) in the set. There cannot be a strictly larger number of the same set for \(M\). Thus at least one such number exists.

If there were two different numbers with no larger number, then the larger of them would be strictly larger than the smaller one, so the smaller one would have a larger number. Contradiction. Hence the number is unique.

Comment. The extremal object here is the maximum of the set.

Example 2. The Longest Path

This is a standard template for graph problems.

Problem. In a finite graph, a path of maximum length is chosen. Prove that all neighbours of its endpoint lie on this path.

Solution.

Let the path be \(v_1v_2\ldots v_k\), and consider its endpoint \(v_k\). If \(v_k\) had a neighbour \(u\) outside the path, then \(v_1v_2\ldots v_k u\) would be a longer path.

This is impossible because the original path was chosen as a longest path. Therefore every neighbour of \(v_k\) already lies on the path.

Example 3. Intervals on a Line

Sometimes the extremal quantity is not size, but a coordinate.

Problem. Several intervals on a line intersect pairwise. Prove that there is a point belonging to all of them.

Solution.

Choose an interval \([a,b]\) with the smallest right endpoint \(b\). Take any other interval \([c,d]\). Since the two intervals intersect, we cannot have \(d

If \(b

Example 4. A Minimal Connected Subgraph

Maximizing or minimizing the number of edges often helps remove redundancy.

Problem. Prove that every finite connected graph has a connected subgraph containing all vertices and containing no cycles.

Solution.

Among all connected subgraphs containing all vertices of the original graph, choose one with the smallest number of edges. It exists because the original graph itself qualifies.

If the chosen subgraph had a cycle, one edge of that cycle could be removed: connectivity would remain, since the rest of the cycle gives an alternate route. This would produce a connected subgraph with the same vertices and fewer edges, contradicting minimality.

Thus there are no cycles. The subgraph is a tree.

Example 5. A Maximal Configuration

Here the object is not necessarily of maximum size; it is chosen so that nothing else can be added.

Problem. In a graph, choose a set of pairwise disjoint edges to which no further edge can be added while preserving disjointness. Prove that any two vertices not covered by the chosen edges are not adjacent.

Solution.

Suppose two uncovered vertices \(x\) and \(y\) are joined by an edge. This edge has no common endpoint with any of the already chosen edges.

Therefore it could be added to the chosen set while preserving disjointness. This contradicts maximality by inclusion. Hence no two uncovered adjacent vertices exist.

Example 6. A Tournament and Maximum Outdegree

In tournaments, an extremal player is often one with the largest number of wins.

Problem. In a tournament, choose a player \(v\) with the largest number of wins. Prove that every player either lost to \(v\), or lost to someone whom \(v\) defeated.

Solution.

Consider a player \(u\) who did not lose to \(v\), so \(u\) defeated \(v\). Suppose that \(u\) defeated every player whom \(v\) defeated.

Then \(u\) has all wins against the players defeated by \(v\), and also a win against \(v\) itself. Thus \(u\) has more wins than \(v\), contradicting the choice of \(v\).

Therefore, among the players defeated by \(v\), there is a player who defeated \(u\).

Example 7. A Minimal Counterexample

A minimal counterexample is useful when the problem can be reduced.

Problem. Prove that every integer \(n\ge 8\) can be represented as \(3a+5b\), where \(a,b\) are nonnegative integers.

Solution.

Check \(8=3+5\), \(9=3+3+3\), and \(10=5+5\). Suppose the statement is false, and choose the smallest \(n\ge 8\) that is not representable.

Then \(n\ge 11\), so \(n-3\ge 8\). By the minimality of \(n\), the number \(n-3\) is representable as \(3a+5b\). Hence \(n=3(a+1)+5b\), a contradiction.

Thus no counterexample exists.

Example 8. Local Improvement

The extremal principle is often hidden behind the phrase “choose an arrangement with the minimum number of failures.”

Problem. The numbers \(1,2,\ldots,n\) are arranged in a row. One may swap two neighbouring numbers if the left one is larger than the right one. Prove that the process must end with the increasing order.

Solution.

Call a pair of positions \(i

The number of inversions is a nonnegative integer, so it cannot decrease forever. The process ends. At the end there is no neighbouring inversion, and therefore the row is increasing.

Problems

Problems

#4.1
#4.1

A Chain of Larger Numbers

Extremal Principle Grade 8 Grade 9 ★★☆☆☆

In a finite nonempty set of positive numbers, to each number \(x\) there is assigned a number \(f(x)\) from the same set such that \(f(x)>x\). Prove that this is impossible.

Details
Problem: COM-B2-M04-P001
Difficulty: Level 2 of 5
Tag: Extremal Principle
Grade: Grade 8, Grade 9
#4.2
#4.2

Arrows and a Cycle

Extremal Principle Grade 8 Grade 9 ★★☆☆☆

In a finite set of points, from each point an arrow is drawn to one of the other points. Prove that by following arrows one eventually enters a cycle.

Details
Problem: COM-B2-M04-P002
Difficulty: Level 2 of 5
Tag: Extremal Principle
Grade: Grade 8, Grade 9
#4.3
#4.3

Endpoint of a Longest Path

Extremal Principle Grade 8 Grade 9 ★★☆☆☆

In a finite graph, a path of maximum length \(v_1v_2\ldots v_k\) is chosen. Prove that every neighbour of \(v_k\) already belongs to this path.

Details
Problem: COM-B2-M04-P003
Difficulty: Level 2 of 5
Tag: Extremal Principle
Grade: Grade 8, Grade 9
#4.4
#4.4

A Leaf in a Tree

Extremal Principle Grade 8 Grade 9 ★★☆☆☆

Prove that every finite tree with at least two vertices has a vertex of degree \(1\).

Details
Problem: COM-B2-M04-P004
Difficulty: Level 2 of 5
Tag: Extremal Principle
Grade: Grade 8, Grade 9
#4.5
#4.5

A Common Point of Intervals

Intervals Grade 8 Grade 9 ★★☆☆☆

Several intervals are given on a line. Any two of them have a common point. Prove that there is a point belonging to all intervals.

Details
Problem: COM-B2-M04-P005
Difficulty: Level 2 of 5
Tag: Intervals
Grade: Grade 8, Grade 9
#4.6
#4.6

A Connected Graph and a Tree

Extremal Principle Grade 8 Grade 9 ★★★☆☆

Prove that from every finite connected graph one can remove some edges so that the graph remains connected and contains no cycles.

Details
Problem: COM-B2-M04-P006
Difficulty: Level 3 of 5
Tag: Extremal Principle
Grade: Grade 8, Grade 9
#4.7
#4.7

Minimum Degree and a Cycle

Extremal Principle Grade 8 Grade 9 ★★★☆☆

In a finite graph, every vertex has degree at least \(2\). Prove that the graph contains a cycle.

Details
Problem: COM-B2-M04-P007
Difficulty: Level 3 of 5
Tag: Extremal Principle
Grade: Grade 8, Grade 9
#4.8
#4.8

A Maximal Unextendable Set

Sets Grade 8 Grade 9 Grade 10 ★★★☆☆

In the set \(\{1,2,\ldots,2n\}\), a subset \(A\) is chosen so that no new number can be added while still having no two numbers with sum \(2n+1\). Prove that \(A\) contains exactly one number from each pair \(\{1,2n\},\{2,2n-1\},\ldots,\{n,n+1\}\).

Details
Problem: COM-B2-M04-P008
Difficulty: Level 3 of 5
Tag: Sets
Grade: Grade 8, Grade 9, Grade 10
#4.9
#4.9

A Maximal Matching by Inclusion

Extremal Principle Grade 9 Grade 10 ★★★☆☆

In a graph, a set of pairwise disjoint edges is chosen so that no further edge can be added. Prove that there is no edge between two vertices not covered by the chosen edges.

Details
Problem: COM-B2-M04-P009
Difficulty: Level 3 of 5
Tag: Extremal Principle
Grade: Grade 9, Grade 10
#4.10
#4.10

Sums of Threes and Fives

Casework Grade 9 Grade 10 ★★★☆☆

Prove that every integer \(n\ge 8\) can be represented as \(n=3a+5b\), where \(a,b\) are nonnegative integers.

Details
Problem: COM-B2-M04-P010
Difficulty: Level 3 of 5
Tag: Casework
Grade: Grade 9, Grade 10
#4.11
#4.11

Swapping Neighbours

Invariant Grade 9 Grade 10 ★★★☆☆

The numbers \(1,2,\ldots,n\) are arranged in some order. In one move, one may swap two neighbouring numbers if the left one is larger than the right one. Prove that no matter how the moves are chosen, the process ends with the increasing sequence.

Details
Problem: COM-B2-M04-P011
Difficulty: Level 3 of 5
Tag: Invariant
Grade: Grade 9, Grade 10
#4.12
#4.12

Players Who Know Everyone

Extremal Principle Grade 9 Grade 10 ★★★☆☆

In a group of \(n\ge 3\) people, acquaintance is mutual. It is known that at least one person does not know everyone. What is the largest possible number of people who can still know everyone else? Prove your answer.

Details
Problem: COM-B2-M04-P012
Difficulty: Level 3 of 5
Tag: Extremal Principle
Grade: Grade 9, Grade 10
Source: 102-combinatorial-problems (method inspiration)
#4.13
#4.13

A Path in a Tournament

Tournaments Grade 9 Grade 10 ★★★★☆

In a tournament, between any two vertices exactly one directed edge is drawn. Prove that all vertices can be ordered as \(v_1,v_2,\ldots,v_n\) so that for every \(i\), the edge is directed from \(v_i\) to \(v_{i+1}\).

Details
Problem: COM-B2-M04-P013
Difficulty: Level 4 of 5
Tag: Tournaments
Grade: Grade 9, Grade 10
#4.14
#4.14

Two Colours and a Maximal Chain

Extremal Principle Grade 9 Grade 10 ★★★★☆

In a row of \(n\) cells, each cell is coloured red or blue. One may choose several disjoint neighbouring pairs of different colours. The chosen set of pairs is maximal by inclusion. Prove that among the unchosen cells there are no two neighbouring cells of different colours.

Details
Problem: COM-B2-M04-P014
Difficulty: Level 4 of 5
Tag: Extremal Principle
Grade: Grade 9, Grade 10
#4.15
#4.15

A Long Cycle from Minimum Degree

Extremal Principle Grade 9 Grade 10 ★★★★☆

In a finite graph, every vertex has degree at least \(k\), where \(k\ge 2\). Prove that the graph contains a cycle with at least \(k+1\) vertices.

Details
Problem: COM-B2-M04-P015
Difficulty: Level 4 of 5
Tag: Extremal Principle
Grade: Grade 9, Grade 10
#4.16
#4.16

A Maximum Sum Without Repetition

Pigeonhole principle Grade 9 Grade 10 ★★★★☆

Let \(A\) be a set of distinct positive integers, and suppose no two different nonempty subsets of \(A\) have the same sum. Prove that if \(A\) contains \(k\) numbers, then the sum of all numbers in \(A\) is at least \(2^k-1\).

Details
Problem: COM-B2-M04-P016
Difficulty: Level 4 of 5
Tag: Pigeonhole principle
Grade: Grade 9, Grade 10
#4.17
#4.17

Two Farthest Vertices of a Tree

Extremal Principle Grade 9 Grade 10 ★★★★☆

In a tree, two vertices \(A\) and \(B\) are chosen so that the distance between them is as large as possible. Prove that both vertices are leaves.

Details
Problem: COM-B2-M04-P017
Difficulty: Level 4 of 5
Tag: Extremal Principle
Grade: Grade 9, Grade 10
#4.18
#4.18

A Monotone Subsequence

Pigeonhole principle Grade 10 Grade 11 ★★★★★

A sequence of \(n^2+1\) distinct real numbers is given. Prove that it contains an increasing subsequence of length \(n+1\) or a decreasing subsequence of length \(n+1\).

Details
Problem: COM-B2-M04-P018
Difficulty: Level 5 of 5
Tag: Pigeonhole principle
Grade: Grade 10, Grade 11
#4.19
#4.19

A King in a Tournament

Tournaments Grade 10 Grade 11 ★★★★★

Prove that in every tournament there is a vertex \(v\) from which every other vertex can be reached by a directed path of length at most \(2\).

Details
Problem: COM-B2-M04-P019
Difficulty: Level 5 of 5
Tag: Tournaments
Grade: Grade 10, Grade 11
#4.20
#4.20

Two Longest Paths

Extremal Principle Grade 10 Grade 11 ★★★★★

Prove that in every finite connected graph, any two paths of maximum length have at least one common vertex.

Details
Problem: COM-B2-M04-P020
Difficulty: Level 5 of 5
Tag: Extremal Principle
Grade: Grade 10, Grade 11

Ladders

No published ladders were found.
Previous Chapter
Next Chapter