For fixed , the missing common-neighbour count in a binomial random graph has expectation tending to zero. The Markov inequality therefore shows that every pair has a common neighbour with probability tending to one. On that event every graph distance is at most two, so the graph is connected and its graph diameter is at most two.
Past exam of the mathematics course of the University of Cambridge 2006 iii Paper 36 2 b ii Solution Created 2026-10-03 Updated 2026-10-14
Let be the indicator random variable that the unordered vertex pair has no common neighbour. For each of the other vertices, the two required edges are both present with probability . The edge pairs for different candidate neighbours are disjoint sets of independent random choices. Thus . Linearity of expectation yieldsthe missing common-neighbour count in a binomial random graph.