Post · 5 min read· pp. 7–9
Welcome to the ‘I’m a bandit’ blog! If you are curious about this title, you can check my newly published book. However, despite its name, this blog will not be about bandits, but rather about more general problems in optimization, probability and statistics. To kick-off the blog I would like to recall one of the most famous result in the theory of random graphs: the largest clique in an Erdös-Rényi random graph is of logarithmic size. This result will form the basis for my second blog post, which should happen next week, where I will discuss more recent results on the clique number of random geometric graphs in high dimension.
In this post (and the next one) we consider graphs G=([n],E) with vertices indexed by [n]. A random graph is defined by the random variable E (the random set of edges). We shall be interested in the clique number ω(G) of a graph G which is the size of the largest clique in G, that is
ω(G)=max{∣S∣:S⊂[n]and∀(i,j)∈S2,i=j,(i,j)∈E}.
We will consider sequences of random graphs Gn=([n],En), and we will study the behavior of the random variables ω(Gn) as n tends to infinity.
The simplest model of random graphs was put forth by Erdös and Rényi in the early Sixties. The random variable En in an Erdös-Rényi random graph of size n is defined by the following two properties:
- (a) For any pair (i,j)∈[n]2,i=j, P((i,j)∈En)=1/2.
- (b) The events {(i,j)∈En} are mutually independent.
The clique number of Erdös-Rényi random graphs is very well understood. In this post I would like to prove the following result that gives the asymptotic order of magnitude of the clique number.
Theorem 1 The normalized clique number ω(Gn)/log2(n) tends to 2 in probability.
Proof: The proof is divided into two parts. First, using an union bound we show that the clique number cannot be too big. Then we show that the clique number cannot be too small with the second moment method.
For the first part one has
P(ω(Gn)≥k)=≤=≤=P(∃S⊂[n],s.t.∣S∣=kandSis a clique inGn)∑S⊂[n],∣S∣=kP(Sis a clique inGn)(kn)(21)(2k)nk2−2k(k−1)2klog2(n)−2k(k−1).
Thus, ∀ϵ>0, P(ω(Gn)≥(2+ϵ)log2(n))→n→+∞0.
For the second part it is useful to introduce a few notation. Let XS=1{Sis a clique inGn}, and Yk=∑S⊂[n],∣S∣=kXS. In particular we have that ω(Gn)<k iff Yk=0. Thus we want to show that for k=(2−ϵ)log2(n) one has P(Yk=0)→n→+∞0. Now using a simple rewriting, and Markov’s inequality one obtains
P(Yk=0)≤≤P((Yk−EYk)2=(EYk)2)(EYk)2Var(Yk).
Note that by linearity of the expectation, EYk=(kn)EXS. Furthermore we can also write
Var(Yk)=S⊂[n],∣S∣=k∑Var(XS)+S,T⊂[n],∣S∣=∣T∣=k,S=T∑EXSXT−(EXS)(EXT).
Since XS are boolean random variables we have Var(XS)≤EXS and thus
((kn)EXS)2∑S⊂[n],∣S∣=kVar(XS)≤((kn)EXS)2∑S⊂[n],∣S∣=kEXS=(kn)EXS1,
and the latter quantity tends to 0 for k=(2−ϵ)log2(n) (see the first part of the proof). Thus it remains to show that the following quantity tends to 0:
((kn)EXS)2∑S,T⊂[n],∣S∣=∣T∣=k,S=TEXSXT−(EXS)(EXT).
First note that, by the independence of the edges, for S,T with ∣S∩T∣≤1 we have that XS and XT are independent, so that in the numerator of the above quantity one can restrict to S,T with ∣S∩T∣≥2. Now by an elementary reasoning we have (with S0 being an arbitrary subset of k vertices)
∑S,T⊂[n],∣S∣=∣T∣=k,S=T,∣S∩T∣≥2EXSXT=∑S,T⊂[n],∣S∣=∣T∣=k,S=T,∣S∩T∣≥2P(XS=1andXT=1)=∑S,T⊂[n],∣S∣=∣T∣=k,S=T,∣S∩T∣≥2P(XS=1)P(XT=1∣XS=1)=(∑T⊂[n],∣T∣=k,T=S0,∣S0∩T∣≥2P(XT=1∣XS0=1))(∑S⊂[n],∣S∣=kP(XS=1))=(∑T⊂[n],∣T∣=k,T=S0,∣S0∩T∣≥2P(XT=1∣XS0=1))((kn)EXS).
Thus we are now left with proving that the following quantity goes to 0:
(kn)(21)−(2k)∑T⊂[n],∣T∣=k,T=S0,∣S0∩T∣≥2P(XT=1∣XS0=1). (1)
Clearly one has
P(XT=1∣XS0=1)=(21)(2k)−(2∣T∩S0∣),
which shows that (1) can be rewritten as
s=2∑k(kn)(sk)(k−sn−k)2(2s).
An unpleasant calculation then shows that this term tends to 0, which finishes the proof. □