Second Moment Method
The second moment method uses variance to prove that a non-negative random variable is positive with high probability. While the first moment method shows from does not follow, the second moment method bridges this gap.
Statement
Let be a non-negative random variable with . Then: Equivalently, using :
By the Cauchy-Schwarz inequality applied to : Rearranging gives the result.
Applications
For fixed , the threshold for to contain a copy of is . Let count copies of . Then . For , , and the second moment method shows by bounding .
The key challenge in the second moment method is bounding , where is a sum of indicator variables. The "diagonal" terms () contribute , while the off-diagonal terms require careful analysis of pairwise correlations.
The sharp threshold for connectivity of is . Let be the number of isolated vertices. Then . For , . The second moment method confirms is approximately Poisson, so .
For any random variable with finite variance and : This is the simplest tool derived from the second moment and suffices when variance is small relative to the square of the expectation.