First moment method Created 2026-09-24 Updated 2026-09-24
For a nonnegative integer-valued random variable , Markov inequality gives
Consequently, proves that some outcome has , while shows that with probability tending to one.
For the number of -cliques in a binomial random graph , with and ,
Two -sets overlapping in vertices share edges. Overlaps of zero or one vertex give independent indicators; includes the diagonal terms. The identity is useful for the second moment method.
Assume , as required for this nontrivial subcritical binomial random graph. Put . A breadth-first exploration of a binomial random graph is dominated by a Galton-Watson process whose offspring counts are independent random variables with law . If its total progeny is at least , the first offspring counts sum to at least . Their moment-generating function is bounded by that of a Poisson distribution of mean . The exponential Markov inequality, optimized at , yields
Taking for any fixed , a union bound over all starting vertices gives .
For the matching lower bound, let count tree components of order . The tree-component expectation in the Erdős-Rényi model is exactly
For , the Stirling formula gives
Choose , with . Then . Distinct overlapping vertex sets cannot both be graph components. For disjoint sets, the joint probability differs from the product only because the between-set edges were counted twice as absent. Thus
It follows that . The second moment method gives with high probability. Combining both bounds, and then taking arbitrarily small fixed , proves the sharp subcritical largest-component scale
Finally the Taylor expansion of gives . The endpoint has no edges and is excluded from this logarithmic asymptotic.
The Chebyshev inequality states that for a random variable with finite variance and ,
Write . The ratio in the hypothesis presupposes for all sufficiently large . On the event , the deviation from the mean equals . Thus the Chebyshev inequality with gives
This is the second moment method. It uses only the stipulated relative variance bound; no assumption that triangle indicators are independent is needed.
Let count the copies of the complete graph in the binomial random graph . By linearity of the expected value and independence of distinct edges,
Throughout, is sufficiently large that . We have , and .
First, since ,
The first moment method proves .
For the existence of a -clique, put and . Since ,
This alone is insufficient: we must control the variance via the overlap formula for the variance of a clique count. Let indicate that a given -set spans a clique. If , the two copies share edges, so
For their edge sets are disjoint and the covariance vanishes, even when they share one vertex. Counting ordered pairs of -sets gives the exact formula
This includes the diagonal case .
To bound the overlap factor, regard it as the probability that a uniformly chosen -set intersects a fixed in exactly vertices. A union bound over the possible specified -subsets of yields
Here is a falling factorial, and the last bound holds for . Therefore
For , the concave quadratic is minimized at an endpoint. Its endpoint values are and , both at least . Thus every power of in the last sum is at most , and
because the logarithm of its numerator is . The second moment method, or Chebyshev's inequality directly, gives . Finally, every larger clique contains a -clique, so the absence of excludes all larger sizes. The clique number is exactly with high probability:
Because is a nonnegative integer, its indicator function satisfies . Taking expected values proves the upper bound. The finite second moment also gives a finite expected value, by the Cauchy-Schwarz inequality. Applying that inequality to and gives
The assumed positive second moment permits division, yielding
The lower bound is the basic second moment method; the upper bound also follows from Markov's inequality at threshold one. Integer-valuedness is essential for that upper bound, but not for the lower bound. For example, a constant would violate the upper bound.
For events , the probabilistic inclusion-exclusion principle is
To prove it, fix an outcome lying in exactly events. Its total coefficient on the right is
by the binomial theorem; outcomes in no event contribute zero. Taking expectations of this pointwise indicator identity proves the formula. Truncating after the pair terms gives the Bonferroni inequalities
For the final bound, let and . The intersection assumption gives
The Cauchy-Schwarz inequality applied to yields . Therefore
so the required universal constant may be taken as . This is a second moment method estimate.
Let count copies of the complete graph in . Its expected value is
Write as a sum of indicator random variable. Indicators for two distinct copies are independent when the copies share at most one vertex, since their edge sets are then disjoint. Pairs sharing two vertices have eleven edges in their union, while pairs sharing three have nine. It follows that
Thus . By the second moment method, in probability, so . This is the sparse clique-count concentration estimate.
If , then . Hence the Chebyshev inequality gives
The assumed limit therefore proves
This is the second moment method in its simplest form.
For fixed in , the largest component of a graph has the displayed order with high probability. A dominating Galton-Watson process gives the tail bound by the exponential Markov inequality. For the lower bound, the tree-component expectation in the Erdős-Rényi model diverges at . The disjoint-set covariance factor and the exclusion of overlaps give relative variance tending to zero, so the second moment method supplies a tree component of that order.
Triangle count in a binomial random graph Created 2026-09-24 Updated 2026-09-24
If counts triangles in , then
and
Thus implies , and the second moment method gives .