Ramsey's Theorem
Contents
Ramsey's Theorem
Ramsey's Theorem is a fundamental result in combinatorics and graph theory that formalizes the idea that complete disorder is impossible. It guarantees that sufficiently large structures always contain a well-organized substructure.
Statement
For any positive integers , there exists a least positive integer
such that any simple graph with at least
vertices contains either:
- a clique (complete subgraph) of size
, or
- an independent set (edgeless subgraph) of size
.
This can also be interpreted in terms of edge colorings: In any coloring of the edges of a complete graph on vertices using two colors (say, red and blue), there is either a red clique of size
or a blue clique of size
.
This result is often written as:
Examples
: In any two-coloring of the edges of
, there is a monochromatic triangle. However,
, since there exists a two-coloring of
with no monochromatic triangle.
: Any red/blue coloring of the edges of
must contain a red
or a blue
.
Exact values of Ramsey numbers are known only for small cases, and computing them is notoriously difficult.
Proof
A proof of Ramsey's Theorem proceeds by mathematical induction on the integers and
. The key idea is to show that if the result holds for smaller values of
and
, then it also holds for larger values.
Base cases:
for all
, since any graph with one vertex trivially contains either a clique of size 1 or an independent set of size 1.
Inductive step:
Assume that and
exist. Define:
To prove this, consider any red/blue edge-coloring of the complete graph on
vertices. Fix a vertex
. Partition the remaining
vertices into two sets:
- Let
be the set of vertices joined to
by a red edge.
- Let
be the set of vertices joined to
by a blue edge.
By the pigeonhole principle, either or
.
- If , then the subgraph induced by
contains either:
- A red
, which together with
forms a red
, or
- A blue
, which satisfies the theorem.
- If , then the subgraph induced by
contains either:
- A red
, or
- A blue
, which together with
forms a blue
.
Thus, in all cases, the coloring of contains either a red
or a blue
.
This completes the inductive step and proves that such a number exists for all positive integers
and
.
Generalizations
Ramsey's Theorem has many generalizations:
- For more than two colors
- For hypergraphs instead of graphs
- For infinite sets (Infinite Ramsey Theorem)
The infinite version states: For any coloring of the -element subsets of an infinite set into finitely many colors, there exists an infinite subset all of whose
-element subsets are the same color.
Applications
Ramsey's Theorem has applications in:
- Graph theory
- Logic and theoretical computer science
- Combinatorics and discrete mathematics
- Olympiad problem solving, particularly in coloring and extremal problems