Chapter

Ramsey-Type Ideas

The module introduces forced-structure ideas: edge colourings, monochromatic triangles, friend-stranger problems, the fact \(R(3,3)=6\), Ramsey recursion, and first multicolour bounds.
Log in to track solved progress and bookmarks.

Theory

Key Idea

Ramsey-type ideas say that if an object is large enough, an ordered structure is forced to appear. In the simplest form: every two-colouring of the edges of a complete graph large enough contains a monochromatic triangle.

The method often combines the pigeonhole principle, choosing a vertex, splitting neighbours by edge colours, and induction on the size of the desired structure.

Basic Facts

  • Every two-colouring of the edges of \(K_6\) contains a monochromatic triangle: this is \(R(3,3)=6\).
  • The edges of \(K_5\) can be two-coloured without a monochromatic triangle: this proves that \(5\) is not enough.
  • The general recursion is \(R(s,t)\le R(s-1,t)+R(s,t-1)\).
  • Proofs usually begin with one vertex and an analysis of the colours of the edges from it.

When to Use This Method

  • You need to prove that among many objects there is a group with the same relation.
  • There are friendships and stranger relations, red and blue edges, or several types of pairwise relations.
  • The problem asks to guarantee a triangle, a clique, an independent set, or a monochromatic chain.
  • You need to find the minimum number of objects after which a structure is unavoidable.

How to Recognise the Method

If every pair of objects has one of several possible relations, think of a complete graph with coloured edges.

After choosing a vertex, split the remaining vertices by the colour of the edge to that vertex. If one group is large enough, apply a smaller known result inside that group.

Typical Mistakes

  • Proving only an upper bound and forgetting the construction for the lower bound.
  • Confusing a monochromatic triangle with a triangle that merely has two edges of the same colour.
  • Choosing wrong group sizes in the Ramsey recursion.
  • Forgetting in people problems that the relation must be symmetric.

Mini-Checklist

  • Translate the statement into a complete graph with coloured edges.
  • Choose a vertex and count incident edges of each colour.
  • If a neighbour group is large enough, search for the structure inside that group.
  • For an exact answer, also check a construction showing that a smaller number is insufficient.

Examples

Example 1. Three Edges of One Colour from a Vertex

The first step of almost every Ramsey proof is the ordinary pigeonhole principle.

Problem. From a vertex \(v\), \(5\) edges leave, each red or blue. Prove that at least \(3\) of them have the same colour.

Solution.

Five edges are distributed between two colours. If each colour appeared at most \(2\) times, there would be at most \(4\) edges. Contradiction.

Hence at least \(3\) edges have the same colour.

Example 2. Proving \(R(3,3)\le6\)

This is the main basic result of the module.

Problem. Prove that every red-blue colouring of the edges of the complete graph on \(6\) vertices contains a monochromatic triangle.

Solution.

Choose a vertex \(v\). From it, \(5\) edges leave, so at least \(3\) have the same colour, say red, to vertices \(a,b,c\).

If among the edges \(ab,bc,ca\) there is a red edge, it forms a red triangle together with \(v\). If none of them is red, then all three are blue, and \(a,b,c\) form a blue triangle.

Example 3. Why Five Vertices Are Not Enough

For an exact result, one needs not only a guarantee, but also a smaller counterexample.

Problem. Colour the edges of \(K_5\) in two colours so that there is no monochromatic triangle.

Solution.

Place the \(5\) vertices on a circle. Colour the sides of the pentagon red and the diagonals blue.

The red edges form a cycle of length \(5\), so they contain no triangle. The blue edges also form a cycle of length \(5\), so there is no blue triangle either.

Example 4. The Language of Friendships

Problems about people translate into edge colourings.

Problem. Among any \(6\) people, there are either \(3\) pairwise acquainted people or \(3\) pairwise unacquainted people.

Solution.

Build a complete graph: vertices are people, a red edge means acquaintance, and a blue edge means non-acquaintance. By Example 2, this graph contains a monochromatic triangle.

A red triangle is \(3\) pairwise acquainted people, and a blue triangle is \(3\) pairwise unacquainted people.

Example 5. Ramsey Recursion

Large bounds are built from smaller ones.

Problem. Explain why \(R(s,t)\le R(s-1,t)+R(s,t-1)\).

Solution.

Let there be \(R(s-1,t)+R(s,t-1)\) vertices. Choose a vertex \(v\). Among the remaining vertices, either \(v\) has at least \(R(s-1,t)\) red neighbours, or at least \(R(s,t-1)\) blue neighbours.

In the first case, inside the red neighbours there is either a red \(K_{s-1}\), which together with \(v\) gives a red \(K_s\), or a blue \(K_t\). The second case is analogous.

Example 6. The Bound \(R(3,4)\le10\)

This is the first application of the recursion.

Problem. Prove that among \(10\) people, there are either \(3\) pairwise acquainted people or \(4\) pairwise unacquainted people.

Solution.

This corresponds to the bound \(R(3,4)\le R(2,4)+R(3,3)\). We have \(R(2,4)=4\), because a red edge already gives a red \(K_2\), while with no red edges, \(4\) vertices form a blue \(K_4\). Also \(R(3,3)=6\).

Therefore \(R(3,4)\le 4+6=10\). Translating back to people gives the required statement.

Example 7. Three Colours and \(17\) Vertices

Ramsey ideas also work for more colours.

Problem. Prove that every three-colouring of the edges of \(K_{17}\) contains a monochromatic triangle.

Solution.

Choose a vertex \(v\). From it, \(16\) edges leave in three colours, so at least \(6\) edges have the same colour, say red, going to a set \(A\) of \(6\) vertices.

If there is a red edge inside \(A\), it forms a red triangle with \(v\). If there are no red edges inside \(A\), then all edges inside \(A\) are coloured with the other two colours. By \(R(3,3)=6\), inside \(A\) there is a monochromatic triangle in one of those two colours.

Example 8. A Monochromatic Connected Tree

Not every forced structure is a clique; sometimes connectivity is forced.

Problem. The edges of a complete graph are coloured red and blue. Prove that one of the two colour graphs is connected.

Solution.

If the red graph is connected, we are done. If not, take two different red components. Any edge between them cannot be red, otherwise the components would merge. Hence all edges between different red components are blue.

Then the blue graph is connected: vertices in different red components are joined by a blue edge, and two vertices in the same red component can be connected through any vertex of another component by two blue edges.

Problems

Problems

#6.1
#6.1

Five Edges from One Vertex

Pigeonhole principle Grade 8 Grade 9 ★★☆☆☆

From a vertex of the complete graph on \(6\) vertices, \(5\) edges leave, each red or blue. Prove that among them there are \(3\) edges of the same colour.

Details
Problem: COM-B2-M06-P001
Difficulty: Level 2 of 5
Tag: Pigeonhole principle
Grade: Grade 8, Grade 9
#6.2
#6.2

Two Sides of One Colour

Graph Theory Grade 8 Grade 9 ★★☆☆☆

The edges of a triangle are coloured red and blue. Prove that two of its sides have the same colour.

Details
Problem: COM-B2-M06-P002
Difficulty: Level 2 of 5
Tag: Graph Theory
Grade: Grade 8, Grade 9
#6.3
#6.3

A Monochromatic Path of Length Two

Ramsey Grade 8 Grade 9 ★★☆☆☆

Prove that in every red-blue colouring of the edges of \(K_4\), there is a path consisting of two edges of the same colour.

Details
Problem: COM-B2-M06-P003
Difficulty: Level 2 of 5
Tag: Ramsey
Grade: Grade 8, Grade 9
#6.4
#6.4

A Pentagon Without a Monochromatic Triangle

Construction Grade 8 Grade 9 ★★☆☆☆

Construct a red-blue colouring of the edges of \(K_5\) with no monochromatic triangle.

Details
Problem: COM-B2-M06-P004
Difficulty: Level 2 of 5
Tag: Construction
Grade: Grade 8, Grade 9
#6.5
#6.5

A Monochromatic Star

Pigeonhole principle Grade 8 Grade 9 ★★☆☆☆

Edges from one vertex to \(2m-1\) other vertices are coloured red and blue. Prove that there are \(m\) edges of the same colour.

Details
Problem: COM-B2-M06-P005
Difficulty: Level 2 of 5
Tag: Pigeonhole principle
Grade: Grade 8, Grade 9
#6.6
#6.6

A Monochromatic Triangle in \(K_6\)

Graph Theory Grade 9 Grade 10 ★★★☆☆

Prove that every red-blue colouring of the edges of the complete graph \(K_6\) contains a monochromatic triangle.

Details
Problem: COM-B2-M06-P006
Difficulty: Level 3 of 5
Tag: Graph Theory
Grade: Grade 9, Grade 10
#6.7
#6.7

Six People

Graph Theory Grade 9 Grade 10 ★★★☆☆

Prove that among any \(6\) people there are either \(3\) pairwise acquainted people or \(3\) pairwise unacquainted people. Assume acquaintance is mutual.

Details
Problem: COM-B2-M06-P007
Difficulty: Level 3 of 5
Tag: Graph Theory
Grade: Grade 9, Grade 10
#6.8
#6.8

The Exact Value of \(R(3,3)\)

Construction Grade 9 Grade 10 ★★★☆☆

Using the upper bound for \(K_6\) and a colouring of \(K_5\), prove that \(R(3,3)=6\).

Details
Problem: COM-B2-M06-P008
Difficulty: Level 3 of 5
Tag: Construction
Grade: Grade 9, Grade 10
#6.9
#6.9

If There Are No Triangles

Ramsey Grade 9 Grade 10 ★★★☆☆

The edges of \(K_n\) are coloured red and blue, and there are no monochromatic triangles. Prove that \(n\le5\).

Details
Problem: COM-B2-M06-P009
Difficulty: Level 3 of 5
Tag: Ramsey
Grade: Grade 9, Grade 10
#6.10
#6.10

A Large Monochromatic Star

Pigeonhole principle Grade 9 Grade 10 ★★★☆☆

In the complete graph \(K_{2m}\), the edges are coloured red and blue. Prove that there is a vertex from which at least \(m\) edges of one colour leave.

Details
Problem: COM-B2-M06-P010
Difficulty: Level 3 of 5
Tag: Pigeonhole principle
Grade: Grade 9, Grade 10
#6.11
#6.11

The Value of \(R(2,t)\)

Ramsey Grade 9 Grade 10 ★★★☆☆

Prove that \(R(2,t)=t\) for every \(t\ge2\).

Details
Problem: COM-B2-M06-P011
Difficulty: Level 3 of 5
Tag: Ramsey
Grade: Grade 9, Grade 10
#6.12
#6.12

Seven People and an Extra Vertex

Ramsey Grade 9 Grade 10 ★★★☆☆

Prove that among any \(7\) people there are either \(3\) pairwise acquainted people or \(3\) pairwise unacquainted people. Explain why \(7\) is not the exact threshold.

Details
Problem: COM-B2-M06-P012
Difficulty: Level 3 of 5
Tag: Ramsey
Grade: Grade 9, Grade 10
#6.13
#6.13

Ramsey Recursion

Recursion Grade 9 Grade 10 ★★★★☆

Prove the inequality \(R(s,t)\le R(s-1,t)+R(s,t-1)\) for \(s,t\ge3\).

Details
Problem: COM-B2-M06-P013
Difficulty: Level 4 of 5
Tag: Recursion
Grade: Grade 9, Grade 10
#6.14
#6.14

Ten People

Recursion Grade 9 Grade 10 ★★★★☆

Prove that among any \(10\) people there are either \(3\) pairwise acquainted people or \(4\) pairwise unacquainted people.

Details
Problem: COM-B2-M06-P014
Difficulty: Level 4 of 5
Tag: Recursion
Grade: Grade 9, Grade 10
#6.15
#6.15

A Bound for \(R(4,4)\)

Recursion Grade 10 ★★★★☆

Using \(R(3,4)\le10\), prove that \(R(4,4)\le20\).

Details
Problem: COM-B2-M06-P015
Difficulty: Level 4 of 5
Tag: Recursion
Grade: Grade 10
#6.16
#6.16

Twenty People

Recursion Grade 10 ★★★★☆

Prove that among any \(20\) people there are either \(4\) pairwise acquainted people or \(4\) pairwise unacquainted people.

Details
Problem: COM-B2-M06-P016
Difficulty: Level 4 of 5
Tag: Recursion
Grade: Grade 10
#6.17
#6.17

One Colour Is Connected

Graph Theory Grade 10 ★★★★☆

The edges of the complete graph \(K_n\) are coloured red and blue. Prove that either the red graph or the blue graph is connected.

Details
Problem: COM-B2-M06-P017
Difficulty: Level 4 of 5
Tag: Graph Theory
Grade: Grade 10
#6.18
#6.18

The Sharp Bound \(R(3,4)\le9\)

Ramsey Grade 10 Grade 11 ★★★★★

Prove that among any \(9\) people there are either \(3\) pairwise acquainted people or \(4\) pairwise unacquainted people.

Details
Problem: COM-B2-M06-P018
Difficulty: Level 5 of 5
Tag: Ramsey
Grade: Grade 10, Grade 11
#6.19
#6.19

Three Colours on \(17\) Vertices

Pigeonhole principle Grade 10 Grade 11 ★★★★★

The edges of the complete graph \(K_{17}\) are coloured in three colours. Prove that there exists a monochromatic triangle.

Details
Problem: COM-B2-M06-P019
Difficulty: Level 5 of 5
Tag: Pigeonhole principle
Grade: Grade 10, Grade 11
#6.20
#6.20

A Monochromatic Spanning Tree

Graph Theory Grade 10 Grade 11 ★★★★★

The edges of the complete graph \(K_n\) are coloured red and blue. Prove that there exists a monochromatic spanning tree, that is, a tree of one colour passing through all \(n\) vertices.

Details
Problem: COM-B2-M06-P020
Difficulty: Level 5 of 5
Tag: Graph Theory
Grade: Grade 10, Grade 11

Ladders

No published ladders were found.
Previous Chapter
Next Chapter