Ramsey numbers and recursive bounds
Prove finite two-color clique guarantees, construct a sharp small example, and derive a probabilistic lower-bound criterion.
On this page
The question for today
What you’ll understand
- Derive the classical two-color Ramsey recurrence from one vertex's neighborhoods.
- Verify the exact small value R(3,3) with separate upper and lower arguments.
- Apply a first-moment criterion without confusing existence with typical behavior.
Extremal theory forbids a pattern in one graph; Ramsey theory asks what happens when every possible edge receives one of two colors. If one color avoids a clique, the other eventually cannot. The least unavoidable order is a Ramsey number. Our discussion concerns red–blue edge colorings of finite complete simple graphs, not vertex colorings. We use classical proved bounds and a small exact value, rather than claims about changing numerical records.
A recurrence built from a single vertex
Define as the smallest N such that every red–blue coloring of the edges of contains a red or a blue . For s and t at least two, inspect one vertex v in a graph whose order is the sum of the two smaller Ramsey numbers. Among the other vertices, either sufficiently many are joined to v in red or sufficiently many are joined in blue. Otherwise their two neighborhood sizes would sum to at most N minus two.
In the red neighborhood, a red clique of size s minus one extends with v to the desired red clique, while a blue clique of size t already wins without v. The blue-neighborhood case is symmetric. This proves the recurrence. The boundary values R(1,t)=R(s,1)=1 permit induction, and Pascal's identity gives the familiar binomial upper bound. These bounds establish finiteness but need not be sharp; a recurrence upper bound should never be reported as an exact value without a matching coloring construction.
A matching lower example makes six exact
For six vertices, choose one vertex and three incident edges of the same color, which exist by the pigeonhole principle. Assume these are red. If any edge among their three other endpoints is red, it completes a red triangle through the chosen vertex. If no such edge is red, all three are blue and give a blue triangle. Interchanging the color names covers the other case. Thus six always suffices for a monochromatic triangle.
To show five does not suffice, color the edges of a five-cycle red and all its remaining pairs blue. The red graph has no triangle. Its complement is another five-cycle, so the blue graph also has no triangle. This supplies a concrete avoidance coloring and proves R(3,3)=6. The two directions have different logical jobs: a universal argument gives the upper bound, and a single counterexample below it supplies the lower bound.
Random coloring can prove existence without constructing it
Fix an integer k at least two, and color each edge independently red or blue with equal probability. For a fixed set of k vertices, the probability that all its edges have one color is twice two raised to minus the number of its pairs. Summing indicators over all k-subsets gives the expected number X of monochromatic k-cliques. Independence between different k-subsets is unnecessary for this expectation calculation; linearity of expectation handles their overlapping edges. Only independence of the individual edge colors was used for a fixed set.
If the expectation is below one, some coloring has X=0 because X is a nonnegative integer. Therefore that N is strictly below R(k,k). This is an existence argument, not a promise that a typical coloring works with high probability or an efficient algorithm for finding one. For small k the criterion can be weak: failure to push the expectation below one merely means this particular proof fails. It does not establish that every coloring contains the pattern.
Work it through
Use the recurrence without overstating it
Derive the classical bound R(3,4)≤10 from the known R(3,3)=6.
R(2,4)=4: if a coloring has any red edge it already contains a red K₂; otherwise its four vertices form a blue K₄. Three all-blue vertices show the lower direction.
Apply the recurrence with s=3 and t=4 to obtain R(3,4) ≤ R(2,4)+R(3,3).
Substitute the values 4 and 6 to get the upper bound 10. This calculation contains no nine-vertex avoidance coloring and therefore does not by itself determine the exact value.
The proved conclusion is R(3,4)≤10. The recurrence is a guarantee, and matching lower bounds require a separate construction.
The living notebook
Explore the model
Interactive lab · probability
Calibrate a fixed clique's color event
Pause, reset, then set p=0.5 and trials n=6. A fixed four-vertex set has six independently colored edges. Predict that either zero or six red edges occurs with total probability 2/64=1/32, and compare the two endpoint bars. The lab does not enumerate all subsets or their dependent overlap in a larger coloring.
- Mean · np
- 5
- Variance · np(1−p)
- 2.5
- Total probability
- 1
These are exact binomial probabilities for independent trials with one fixed success probability. Playback tours the distribution; it does not resample outcomes. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.
Look forThe fixed-subset probability feeds a first-moment sum; the sum itself does not require independent clique events.
Pause & reason
Check your understanding
Your turn
Try it yourself
Apply the first-moment criterion to N=4 and k=4. What lower bound follows, and why does it not imply a matching exact value?
Take a moment to make a prediction or work it out on paper. Open a hint when you need one.
Give me a hint
There is only one four-vertex subset; calculate the probability that its six edges all share a color.
Compare with the solution
The expectation is C(4,4)·2^(1−6)=1/32<1. Hence there exists a coloring of K₄ with no monochromatic K₄, and R(4,4)>4. This lower bound makes no assertion about all colorings on five or more vertices. An exact value would require both an avoidance construction at one less than the candidate and a universal upper argument at the candidate.
Keep the idea
Take it with you
- The two-color recurrence is proved by splitting one vertex's incident edges.
- An exact Ramsey value requires both a forcing proof and an avoidance example.
- First moments prove existence without requiring independence between overlapping clique events.
Read further
Original sources and deeper explanations to follow at your own pace.
Optional progress, saved in this browser when available. Revisit any lesson at any time.
Lesson not marked complete.