Tutorials › Graph Theory (Undergraduate) › Erdős’s Exponential Lower Bound for R(k,k)

The Probabilistic Method · Tutorial 591 of 799

Erdős's Exponential Lower Bound for R(k,k)

Learn how a balanced random graph and an exact expectation estimate yield an exponential lower bound for the diagonal Ramsey number.

Advanced 10 min read

What You'll Learn

  • Define the diagonal Ramsey number through cliques and independent sets.
  • Count the expected number of each obstruction in a random graph.
  • Choose the edge probability and vertex count for the first-moment argument.
  • Prove the resulting exponential lower bound, including its integer threshold.
  • Distinguish an existence conclusion from a claim about typical random graphs.

From Random Graphs to a Ramsey Lower Bound

The diagonal Ramsey number \(R(k,k)\) is the least number of vertices that forces every simple graph to contain either a clique of size \(k\) or an independent set of size \(k\). A clique is a set whose pairs are all edges; an independent set is a set whose pairs are all nonedges. To prove a lower bound for \(R(k,k)\), it is enough to construct, or prove the existence of, a graph on \(n\) vertices containing neither kind of set. The first-moment method gives such a construction without having to identify its edges explicitly.

We use the random graph \(G(n,p)\): its vertex set is \(\{1,\ldots,n\}\), and each of the \(\binom{n}{2}\) possible edges is included independently with probability \(p\), where \(0\le p\le1\). Thus each outcome is a finite simple graph on this fixed vertex set. For the diagonal problem, taking \(p=1/2\) gives the same probability to every possible edge choice and treats cliques and independent sets symmetrically.

Definition: For an integer \(k\ge2\), let \(X\) be the total number of \(k\)-vertex subsets that induce either a clique or an independent set in \(G(n,p)\). Such a subset is an obstruction to the desired graph. If some outcome has \(X=0\), then it has neither a \(k\)-clique nor a \(k\)-vertex independent set.

We will bound the expectation of \(X\), the average value of this nonnegative integer over the random graph. If that expectation is below one, at least one outcome must have \(X=0\): if every outcome had \(X\ge1\), their average would be at least one. The useful work is therefore to count the obstructions correctly and choose \(n\) so that their expected total is below one.

Counting the Expected Obstructions

Fix a particular \(k\)-vertex subset \(S\). It is a clique exactly when all \(\binom{k}{2}\) possible edges within \(S\) are present. Independence of the edge choices gives probability \(p^{\binom{k}{2}}\). It is an independent set exactly when all those edges are absent, which has probability \((1-p)^{\binom{k}{2}}\). There are \(\binom{n}{k}\) possible subsets. Adding their indicator variables and using linearity of expectation gives the count below; independence between the different subset indicators is not required.

$$ \mathbb{E}[X] =\binom{n}{k}\left(p^{\binom{k}{2}}+(1-p)^{\binom{k}{2}}\right). $$

When \(n<k\), there are no \(k\)-vertex subsets, so \(X=0\) for every outcome and the displayed expectation is zero. For \(n\ge k\) and \(p=1/2\), the two probabilities are equal, and the expression becomes

$$ \mathbb{E}[X] =2\binom{n}{k}2^{-\binom{k}{2}}. $$

The factor of two matters: we are counting both types of obstruction. To make the expression small, use the elementary estimate \(\binom{n}{k}\le n^k/k!\). The resulting bound suggests taking \(n\) on the scale of \(2^{(k-1)/2}\), because \(n^k\) then cancels the exponential factor \(2^{-\binom{k}{2}}\), leaving a factorial denominator.

Lemma (first-moment existence lemma): If \(X\) is a nonnegative integer-valued random variable and \(\mathbb{E}[X]<1\), then there is an outcome with \(X=0\).

Proof. Suppose instead that every outcome has \(X\ge1\). Then the average value of \(X\), taken over the outcomes with their probabilities, is at least the average value of the constant \(1\), which is \(1\). This contradicts \(\mathbb{E}[X]<1\). Therefore some outcome has \(X=0\). \(\square\)

Erdős's Exponential Lower Bound

Theorem: For every integer \(k\ge3\), $$ R(k,k)>\left\lfloor 2^{(k-1)/2}\right\rfloor. $$

Proof. Fix \(k\ge3\) and set \(n=\left\lfloor 2^{(k-1)/2}\right\rfloor\). If \(n<k\), then \(G(n,1/2)\) has no \(k\)-vertex subset at all, so it already has neither obstruction. Suppose \(n\ge k\). The expectation formula and \(\binom{n}{k}\le n^k/k!\) give

$$ \mathbb{E}[X] =2\binom{n}{k}2^{-k(k-1)/2} \le \frac{2n^k}{k!}2^{-k(k-1)/2} \le \frac{2\left(2^{(k-1)/2}\right)^k}{k!}2^{-k(k-1)/2} =\frac{2}{k!}. $$

The last equality follows because \(\left(2^{(k-1)/2}\right)^k=2^{k(k-1)/2}\). Since \(k\ge3\), \(k!\ge3!=6\), so \(2/k!\le1/3<1\). The lemma therefore supplies an outcome on \(n\) vertices with \(X=0\). This graph has neither a \(k\)-clique nor a \(k\)-vertex independent set.

By definition, \(R(k,k)\) is the least order for which every graph has one of these two sets. A graph on \(n\) vertices without either set shows that this forcing property does not hold at order \(n\). It cannot hold at any smaller order either: if it held at some order \(r\le n\), every \(n\)-vertex graph would contain an induced \(r\)-vertex subgraph, and that subgraph would contain the required set. Hence \(R(k,k)>n\), as claimed. \(\square\)

This is an exponential lower bound: the threshold grows as a constant multiple of \(2^{k/2}\). More explicitly, for \(x=2^{(k-1)/2}\ge1\), \(\lfloor x\rfloor\ge x/2\). Thus the theorem gives a lower bound of exponential order, not merely a polynomial one. The floor is useful because the number of vertices must be an integer; the theorem asserts a strict inequality above that integer.

Worked Parameter Choices

Worked Example: The Bound for \(k=7\)

Take \(k=7\). The chosen order is \(n=\lfloor2^{(7-1)/2}\rfloor=\lfloor2^3\rfloor=8\). The number of possible 7-vertex subsets is \(\binom{8}{7}=8\), and the number of possible internal edges on any such subset is \(\binom{7}{2}=21\). With edge probability \(1/2\), the expected number of 7-cliques is \(8\cdot2^{-21}=8/2{,}097{,}152=1/262{,}144\). The expected number of independent 7-sets is also \(8\cdot2^{-21}=1/262{,}144\). Therefore

$$ \mathbb{E}[X]=\frac{1}{262{,}144}+\frac{1}{262{,}144} =\frac{1}{131{,}072}<1. $$

Some graph on the specified vertex set \(\{1,\ldots,8\}\), with each possible edge selected independently with probability \(1/2\), has neither obstruction. Consequently \(R(7,7)>8\). As a check on the arithmetic, the general estimate gives \(\mathbb{E}[X]\le2/7!=2/5040=1/2520\), which is larger than the exact expectation and still below one.

Worked Example: The Bound for \(k=8\)

Here \(n=\lfloor2^{7/2}\rfloor=\lfloor8\sqrt{2}\rfloor=\lfloor11.313\ldots\rfloor=11\). There are \(\binom{11}{8}=165\) candidate subsets, since \(\binom{11}{8}=\binom{11}{3}=11\cdot10\cdot9/(3\cdot2\cdot1)=165\). Each has \(\binom{8}{2}=28\) possible internal edges. Thus the expected number of cliques is \(165/2^{28}\), and the expected number of independent sets is \(165/2^{28}\). Their total is

$$ \mathbb{E}[X]=\frac{330}{268{,}435{,}456} =\frac{165}{134{,}217{,}728}<1. $$

The first-moment lemma gives a graph on the explicit vertex set \(\{1,\ldots,11\}\) with neither an 8-clique nor an independent 8-set, so \(R(8,8)>11\). The numerator \(330\) counts both obstruction types; omitting either type would not answer the diagonal Ramsey question.

Worked Example: The Bound for \(k=9\)

For \(k=9\), the exponent \((k-1)/2\) is \(4\), so \(n=\lfloor2^4\rfloor=16\). There are \(\binom{16}{9}=\binom{16}{7}=11{,}440\) candidate subsets. For verification, \(\binom{16}{7}=16\cdot15\cdot14\cdot13\cdot12\cdot11\cdot10/(7\cdot6\cdot5\cdot4\cdot3\cdot2\cdot1)=11{,}440\). Each subset has \(\binom{9}{2}=36\) possible internal edges, so the two expected counts are each \(11{,}440/2^{36}\). Therefore

$$ \mathbb{E}[X]=\frac{22{,}880}{68{,}719{,}476{,}736} =\frac{715}{2{,}147{,}483{,}648}<1. $$

There is consequently a graph on \(\{1,\ldots,16\}\) with no 9-clique and no independent 9-set, and \(R(9,9)>16\). The count can also be checked directly from the general upper estimate: \(2/9!=2/362{,}880<1\), as required by the proof.

What the Argument Does—and Does Not—Say

The key choice \(p=1/2\) balances the two obstruction types: a fixed \(k\)-set is a clique with probability \(2^{-\binom{k}{2}}\), and it is an independent set with the same probability. The choice of \(n\) then makes the sum of their expected counts less than one. This is an existence proof: the argument guarantees at least one successful graph among the possible outcomes, but it does not specify its edge set.

A common mistake is to count only one obstruction type. For \(k=7,n=8\), the expected number of cliques alone is \(1/262{,}144\). Treating that as the expected total is incorrect: the independent sets contribute another \(1/262{,}144\), so the total is \(1/131{,}072\). The corrected total is still below one, but both terms must be included to justify the conclusion about graphs with neither type of set.

A second pitfall is to interpret an expectation below one as saying that a typical random graph has no obstruction, or that the probability of an obstruction equals the expectation. Neither claim follows. The argument uses only the integer-valued nature of \(X\): if every outcome had at least one obstruction, the expectation could not be below one. That distinction is central to using the first-moment method correctly.

Check Your Understanding

For each question, distinguish the expected count from the existence conclusion.

  1. For a fixed \(k\)-vertex subset in \(G(n,p)\), why are the probabilities of being a clique and an independent set \(p^{\binom{k}{2}}\) and \((1-p)^{\binom{k}{2}}\), respectively?
  2. In the proof, where does the factor of two in the expectation for \(G(n,1/2)\) come from?
  3. For \(k=6\), compute \(n=\lfloor2^{(k-1)/2}\rfloor\). Does the case \(n<k\) apply?
  4. Why does \(\mathbb{E}[X]<1\), together with \(X\) being a nonnegative integer, imply the existence of an outcome with \(X=0\)?
  5. Does the first-moment argument identify the edges of the graph it guarantees? Explain what it establishes instead.