Two distinct triangles in a graph with at most one common vertex use disjoint edges, so their indicator random variables are independent and have zero covariance. A pair sharing an edge has covariance . The count from part (i) gives
With , the triangle variance in a binomial random graph therefore satisfies
Both terms tend to zero when , because . Applying part (ii) proves
completing the triangle-existence threshold in a binomial random graph.
Count each unordered triple once. For a three-element vertex set , let indicate that its three edges are present. Then and
If , their edge sets have edges in common, so their union contains distinct edges. Independence gives . There are such ordered pairs: choose , its shared vertices, and the remaining vertices of . Thus
This overlap count is the basis of triangle variance in a binomial random graph.
If , the triangle count in a binomial random graph has expectation at most , so the Markov inequality shows there are no triangles in a graph with probability tending to one. If , the triangle variance in a binomial random graph divided by the squared mean is . The second moment method then gives at least one triangle in a graph with probability tending to one. At the intermediate scale , a nontrivial Poisson limit for triangles in a binomial random graph describes the count.