The Probabilistic Method Introduction
Can you prove that an object with a certain property exists, without ever constructing one? This question sounds paradoxical. But it is the heart of the probabilistic method, one of the most productive ideas in twentieth-century combinatorics. Instead of building a graph, coloring, or set by hand, we build a random one. Then we compute the probability, or expected number, that it has the property we want. If that probability is positive, an object with the property must exist somewhere in the sample space. This holds even though we may never see it explicitly. The method matters because many combinatorial structures are far too complicated to construct directly. Yet a clever random model tames them instantly. Nowhere is this more dramatic than in Ramsey Theory Introduction. There, the probabilistic method gives exponential lower bounds on Ramsey numbers. No known explicit construction matches these bounds even today. The same expectation and deletion techniques reappear across discrete mathematics. They appear in bounding chromatic numbers (recall Bounds on the Chromatic Number), in random graph theory, coding theory, and derandomization in theoretical computer science. The big picture is a shift in perspective: existence proofs need not be constructive. A statement "there exists an object with property " can be established differently. We exhibit any probability distribution over a space of candidate objects. Then we show , or equivalently that crosses a threshold. This forces some outcome to satisfy . This is often far easier than direct construction. Linearity of expectation and simple inequalities let us compute averages over enormous, structured spaces. This works with almost no case analysis. This article develops the method from first principles. It covers the expectation argument and the deletion method. The classical lower bound on the diagonal Ramsey number is the centerpiece application. We prove every step rigorously. We work through two asymmetric numerical examples. We show exactly why each hypothesis in the main theorem is needed. The techniques here are a natural bridge toward Introduction to Spectral Graph Theory. There, randomness and eigenvalues jointly control graph structure.
- The probabilistic method proves existence by showing a random construction has positive probability of success.
- The core engine is the expectation argument: if for a nonnegative integer random variable, some outcome has .
- Linearity of expectation requires no independence, making it astonishingly flexible for counting bad events.
- The deletion method strengthens raw expectation bounds by removing a small number of flaws from a nearly-good random object.
- Applied to random 2-colorings of , these tools give whenever , yielding .
- Key idea: a positive-probability (or positive-expectation) event must contain at least one actual outcome, so randomness certifies existence without construction.
Where this lives today
The probabilistic method is now a working tool far outside Ramsey theory. In extremal graph theory, it produces lower bounds on the size of graphs avoiding fixed substructures, and gives non-constructive existence proofs for graphs with high girth and high chromatic number simultaneously, a result that no known explicit construction achieved for decades. In coding theory, the Gilbert–Varshamov bound on error-correcting codes is proved by a nearly identical expectation/deletion argument over random codes. In theoretical computer science, probabilistic existence proofs directly inspired randomized algorithms; a randomized algorithm can often be seen as "sampling" from the same distribution used in an existence proof, and derandomization techniques (conditional expectations, pairwise independence) aim to convert such proofs into efficient constructions. In statistics and machine learning theory, concentration inequalities (Chernoff/Hoeffding bounds) that refine the crude expectation argument underlie generalization bounds and random projection methods (e.g. the Johnson–Lindenstrauss lemma, itself proved probabilistically). In spectral graph theory, the tension between random constructions and explicit algebraic ones (Ramanujan graphs, expander families) echoes the same theme explored here: randomness is easy to analyze in expectation, while explicit constructions matching probabilistic bounds are often much harder to find, a story that continues directly into Introduction to Spectral Graph Theory.
:::quiz[If is a nonnegative integer-valued random variable with , which conclusion is justified?]
- for every outcome
- for every outcome
- There exists at least one outcome with ✓
- exactly
:::quiz[In the Ramsey coloring model on , what is for a fixed -subset , where is " is monochromatic"?]
- ✓
:::quiz[In the deletion method example with , , why could we find a coloring with at most monochromatic cliques?]
- Because at
- Because the average of an integer-valued random variable is always attained exactly by some outcome
- Because if every outcome exceeded the average would exceed , a contradiction ✓
- Because deletion always removes exactly one vertex regardless of
Ask the tutor: How does the second moment method (Chebyshev's inequality) sharpen the expectation argument when is large but the variance of is small?
Let be a finite set of combinatorial objects (for instance, all -colorings of the edges of , or all graphs on labeled vertices), and let be a property that each object either has or lacks. Equip with a probability distribution, most often the uniform distribution, and let be a random object drawn from . The probabilistic method consists of showing
and concluding that at least one object in has property , since a strictly positive probability cannot be realized by an empty event. Two standard routes to this conclusion are used throughout the theory: 1. Expectation argument. If is a nonnegative integer-valued random variable counting "bad" substructures (e.g. monochromatic cliques) and , then , so some outcome has zero bad substructures. 2. Deletion method. If is small relative to the size of the object, delete one vertex (or element) from each bad substructure to produce, from a typical outcome, a smaller object with no bad substructures at all. In both cases, no bad object is ever exhibited explicitly; only its improbability, or its expected scarcity, is computed.
Intuition
Think of flipping a fair coin independently for every edge of the complete graph : heads colors the edge red, tails colors it blue. This produces a uniformly random -coloring of . Now ask: what is the chance that some specific set of vertices forms a monochromatic clique, all-red or all-blue? Each of the edges among those vertices must independently match in color, an event of probability (the factor accounts for "all red" or "all blue"). There are possible -subsets, so by summing over subsets (linearity of expectation, no independence needed between different subsets), the expected number of monochromatic -cliques is
If this quantity is less than , then it is impossible for every outcome to have ; some coloring must achieve . That coloring has no monochromatic at all, and its mere existence forces the Ramsey number to exceed . Nobody ever produces this coloring explicitly, we only prove it cannot fail to exist. The picture below shows the tension between (growing polynomially once is fixed, but here grows with ) and (decaying doubly-exponentially in ), and where their product first dips below .
The main theorem
Let be an integer. If is a positive integer satisfying
then the Ramsey number satisfies . Consequently,
for all sufficiently large ; more precisely, for all .
We use the expectation argument, a direct application of the probabilistic method.
Step 1: Random model. Recall from Ramsey Theory Introduction that is defined as the least such that every red/blue edge-coloring of contains a monochromatic . Equivalently, if and only if there exists a red/blue coloring of with no monochromatic . Fix and consider the probability space of all colorings , each edge colored independently and uniformly at random. This is well-defined: it is the uniform distribution on a finite set of size , equivalently the product measure of independent fair coin flips, one per edge.
Step 2: Define the bad-event counter. For each -element subset , let be the event that all edges within receive the same color (all red or all blue), i.e. spans a monochromatic . Let
the total number of monochromatic -cliques in the random coloring. Since is a sum of indicator random variables, it is nonnegative and integer-valued.
Step 3: Compute . Fix a -subset . The event splits into two disjoint sub-events: "all edges of are red" or "all edges of are blue." Since the edges within are colored independently (each edge's color is one coordinate of the product measure, and distinct edges correspond to distinct coordinates), we have
These two sub-events are mutually exclusive (an edge cannot be both all-red and all-blue simultaneously unless , irrelevant since ), so
Step 4: Linearity of expectation. By linearity of expectation, which holds for any random variables regardless of independence (a foundational and non-circular fact of probability, provable directly from the definition of expectation as a sum over the sample space),
Here we used only that expectation of a sum is the sum of expectations; no claim about joint distribution of the across different is needed, and indeed these events are not independent when subsets overlap in edges.
Step 5: Expectation argument. By hypothesis, . Suppose, for contradiction, that on every outcome in , that is, . Since is a nonnegative integer-valued random variable, pointwise implies
contradicting . Hence , so .
Step 6: Existence. A strictly positive probability event over a finite sample space must contain at least one outcome (an event with probability cannot be the empty set, since the empty set has probability ). Thus there exists at least one coloring of with , meaning contains no monochromatic of either color. By the equivalence noted in Step 1, the existence of such shows . This proves the first claim of the theorem.
Step 7: Asymptotic bound. We now find explicit for which the hypothesis holds. Using the standard bound , it suffices that
Take . We verify the hypothesis directly for this choice. Since ,
We bound and use (a standard consequence of Stirling's inequality, itself an elementary and independently established fact not relying on Ramsey theory), so
With , we get , so . Substituting,
For , while grows much more slowly relative to ; concretely one checks by induction on that : at , ; and increasing by multiplies the right side by at least a factor once (since ) while the left side is multiplied by only . Hence the ratio stays below for all , confirming at . By Step 6 applied at this , we conclude , i.e. , establishing the stated bound. Since and dominates any fixed multiple for large , in particular fails only for small constant factors, but the standard qualitative statement follows immediately, and one can adjust constants (e.g. using ) to recover outright for all large enough.
∎Worked examples
Example 1: A concrete threshold, . We compute exactly when the expectation argument certifies . Here , so the exponent is , and the condition is
We tabulate for small :
At : . At : . So the expectation argument, using the union-bound-style count of all -subsets, certifies existence of a -coloring of with no monochromatic , hence
(The true value is known only to lie between and as of current knowledge; our bound is far from tight but was obtained with zero combinatorial construction, only arithmetic.) This illustrates that the expectation argument is a lower bound technique: it never claims tightness, only existence past a computed threshold.
Example 2: The deletion method with , sharpening the raw bound. Sometimes is not below , yet is still small compared to , and we can improve the bound by deleting vertices. Take , so and . Try : , so . This exceeds , so the raw expectation argument alone gives no conclusion at (indeed, one checks separately that the raw threshold for is , since , as well — so actually already at the plain expectation argument fails; the true threshold is lower). Let us instead demonstrate the deletion method precisely at , to see how far it can push things when raw expectation exceeds . We know at for . By definition of expectation as an average, there exists some coloring of with
(since if every coloring had , the average would be at least ; more precisely there exists with , and since is integer-valued, ). Fix such a with monochromatic 's. From each of these monochromatic -cliques, delete one vertex (choosing, say, the lowest-indexed vertex in each clique; if cliques share vertices, one deletion may destroy several at once, only helping us). This removes at most vertices, destroying every monochromatic (since a -clique with a vertex removed becomes a -clique, no longer a ). The resulting coloring lives on at least vertices and has no monochromatic . Hence , i.e. . This is weaker than the true value , and in fact weaker than what the raw expectation argument gives at a smaller directly (one should check : , , still just above ; at : , , so the raw argument alone already gives directly). This comparison is itself instructive: the deletion method is most valuable exactly when the raw expectation is a little too large for the plain argument to apply outright but still small relative to , letting us trade a few deleted vertices for a clean bound; for very small, explicit the raw bound can already be optimal among these elementary techniques, and deletion earns its keep at larger or in denser settings (e.g. hypergraph Ramsey numbers, or extremal set systems) where recomputing the raw threshold by hand is not as immediate.
The proof of the main theorem never assumes the events (monochromatic-clique events for different -subsets ) are independent, and indeed they are not: two subsets sharing an edge have positively correlated colorings on that shared edge. Linearity of expectation is what rescues us, and it holds unconditionally. But suppose we drop the hypothesis that is drawn from an actual probability distribution, and instead try to "average" over an object that is not a legitimate random variable. For instance, suppose someone claims: "since the fraction of colorings with is at most intuitively, we may as well just pick the coloring = all-red." Here trivially has monochromatic -cliques (every -subset is monochromatic red), wildly violating any bound derived from . The point of this counterexample is to show what breaks if we discard the requirement that the argument work over the entire, correctly weighted sample space: a single arbitrarily chosen candidate object need not, and generally does not, satisfy the property just because the average over all objects is small. The all-red coloring is a legitimate member of the sample space , yet it is a spectacularly bad outlier (, the maximum possible value), which is exactly why the argument insists on computing over the uniform distribution and invoking the pigeonhole-style fact "" rather than reasoning about any one specific coloring. Dropping the probabilistic averaging step, and replacing it with a guess at a "typical-looking" object, is precisely the error that the method is designed to avoid.
Scope, edge cases & common traps
| Situation | What holds | What can fail |
|---|---|---|
| , nonnegative integer-valued | , so a zero-outcome exists | Nothing; this direction is airtight |
| No conclusion from expectation alone | Deletion method may still salvage a smaller good object | |
| Events overlapping / dependent | Linearity of expectation still applies | Variance-based refinements (second moment method) need more care |
| Uniform vs. biased random coloring | Method generalizes: use | Threshold computations change; must recompute under new measure |
| Small (e.g. ) | Method gives valid but very weak bounds compared to known exact values | Do not expect probabilistic lower bounds to be tight for small, explicitly known cases |
| Asymptotic claim | Rigorously proven via the threshold computation in the proof | The upper bound requires a separate argument (e.g. via Bounds on the Chromatic Number-style recursive counting), not covered by this theorem |
The mathematician behind it
Origins · 1 minPaul Erdős and how this was discovered
Paul Erdős was one of the most prolific mathematicians in history, publishing roughly 1,500 papers with over 500 collaborators, and famously living without a permanent home, traveling between colleagues' houses with a suitcase to do mathematics. His 1947 paper "Some remarks on the theory of graphs," a mere two pages long, introduced the expectation argument used above to give the first exponential lower bound on Ramsey numbers, decades before anyone found a comparably strong explicit construction. Erdős's approach reframed existence proofs across combinatorics, number theory, and graph theory, and the Erdős number, measuring collaborative distance to him, became a lighthearted institution in the mathematical community.
Why does a positive probability guarantee an actual object exists?
In a finite probability space, every event is literally a subset of the (finite) sample space, and the probability of an event is a nonnegative-weighted count of outcomes in that subset. The empty set, containing no outcomes, always has probability exactly . So if an event has probability strictly greater than , it cannot be the empty set; it must contain at least one outcome. This is a basic and non-circular fact about how probability measures are defined on finite sets, it does not depend on any special structure of Ramsey theory or graph coloring, and it is the logical hinge on which the entire probabilistic method turns.
Does the expectation argument tell us how many good objects exist, or just that one exists?
The expectation argument as stated only guarantees , hence at least one outcome with ; it does not by itself compute how many such outcomes there are. In many applications, one can strengthen the argument, for example by using tail bounds like Markov's or Chernoff's inequality, to show that in fact a large fraction, even almost all, of colorings avoid monochromatic cliques when is well below the threshold. But the basic expectation argument used to prove the Ramsey lower bound only needs the weaker existential conclusion, which is exactly what makes it so easy to apply.
Why is the deletion method needed if the expectation argument already works?
The plain expectation argument requires outright. Sometimes the natural random model gives slightly above at the we care about, so the plain argument yields no direct conclusion there. The deletion method rescues the situation: it shows there is a coloring with only a few bad substructures (roughly many), and then physically removes one vertex from each bad substructure to kill all of them, at the cost of shrinking slightly. This trades a marginal loss in for a strictly bad-substructure-free object, extending the reach of the method beyond the raw threshold, and is essential in denser settings such as hypergraph Ramsey numbers or extremal set systems.
Is the probabilistic method constructive? Can we ever recover an explicit coloring?
No, the method as presented is fundamentally nonconstructive: it proves existence via an averaging argument without exhibiting the object. This is in fact its main appeal, since it succeeds where direct construction is hopelessly difficult; to this day, no known explicit construction of a -coloring of avoiding monochromatic matches the Erdős probabilistic bound for general . However, theoretical computer science has developed derandomization techniques, such as the method of conditional expectations, which can sometimes convert a probabilistic existence proof into an explicit, efficiently computable construction, at the cost of extra algorithmic machinery beyond the scope of the basic method.
How does this connect to bounds on the chromatic number?
The same expectation-and-deletion toolkit proves, for example, that graphs exist with arbitrarily large girth and arbitrarily large chromatic number simultaneously, a fact with no easy explicit witness, using random graphs and deleting one vertex from each short cycle. This directly parallels the technique in Bounds on the Chromatic Number, where counting arguments (there often deterministic, via greedy or degeneracy bounds) are replaced here by expected counts over a random graph model. Both approaches ultimately bound a combinatorial parameter (chromatic number, or Ramsey number) by controlling the expected number of "obstructions" and showing that obstruction-free objects must exist.
Does the probabilistic method give upper bounds on Ramsey numbers too?
Not directly through the expectation argument described here; that argument only produces lower bounds, since it shows large colorings without monochromatic cliques exist, forcing to be large. Upper bounds on , such as the classical bound , come from a separate, deterministic double-counting or recursive argument tracing back to Erdős and Szekeres, building on ideas connected to Ramsey Theory Introduction. The probabilistic method and the Erdős–Szekeres recursive bound are complementary: together they sandwich between an exponential lower bound and an exponential upper bound , though the gap between these exponents remains open.
What role does linearity of expectation play, precisely, and why is it "free"?
Linearity of expectation states that for any random variables on a common probability space, , regardless of whether the are independent or correlated. This follows directly from the definition of expectation as a weighted sum over the sample space and the distributive law of arithmetic, requiring no probabilistic assumption beyond finiteness (or, more generally, absolute summability). In the Ramsey argument, the indicator variables for overlapping subsets are highly dependent, yet we sum their expectations with total confidence, which is exactly why the method is so widely applicable: computing a sum of individual probabilities is vastly easier than analyzing a complicated joint distribution.