5.2 Existence of complete subgraphs

Lemma 5.4.

Every graph has a self-avoiding walk of length δ⁢(G).

Proof.

WLOG assume δ⁢(G)≥1. Let v0 be a vertex in G. Given vi,i<δ⁢(G), we can choose a neighbour vi+1 of vi such that vi+1≠v0,…,vi−1 as vi has at least δ⁢(G) neighbours. Hence we get a self-avoiding walk v0⁢v1⁢…⁢vδ⁢(G) as needed. ∎

Define girth of a graph g⁢(G):=min⁡{l⁢(C):C,a cycle}. Set g⁢(G)=∞ if there exists no cycle. The diameter of a graph if diam⁡(G)≔max⁡{d⁢(u,v):u,v∈V} and

Lemma 5.5.

If G has a cycle, g⁢(G)≤2⁢diam⁡(G)+1.

Proof.

Assume otherwise. Let C=v0⁢…⁢vk⁢v0 be the cycle of minimal length. Suppose k is even i.e., ℓ⁢(C)=k+1 is odd. Then d⁢(v0,vk/2)=k/2. But by definition of diameter, k/2≤diam⁡(G) and so ℓ⁢(C)=k+1≤2⁢diam⁡(G)+1. If k is odd then d⁢(v0,v(k+1)/2)=k+1/2 and again we have that ℓ⁢(C)=k+1≤2⁢diam⁡(G). ∎

Lemma 5.6 (Mantel’s theorem, 1907).

If G is a graph on n vertices with no triangle then |E|≤⌊n2/4⌋. Equivalently, if |E|>n2/4, then g⁢(G)=3.

We shall give a proof via a weight-shifting argument. Three other proofs can be found in [Jukna 2011, Section 4.3]. We will next prove Turan’s theorem using induction and the same will also work for Mantel’s theorem. Other applications of weight-shifting argument are in [Jukna 2011, Section 4.7].

Proof.

(Motzkin-Straus, 1965) Let G have [n] has a vertex set and no triangles. Let zi≥0 be weight of i such that ∑izi=1 and we shall try to maximize S=∑i∼jzi⁢zj. Let k≁l. Assume that ∑j∼kzj=x and ∑j∼lzj=y. WLOG assume x≥y. Observe that S=x⁢zk+y⁢zl+R where R is the sum over edges not incident on k or l. Note that zk⁢x+zl⁢y≤(zk+ϵ)⁢x+(zl−ϵ)⁢y. Thus if z=(z1,…,zn) is a configuration of weights, then for the configuration z′=(z1,…,zk+zl,…,0,…,zn), we obtain S′=x⁢(zk+zl)+R>S. Thus, by transferring weight from zl to zk, we increase S. If we repeat the procedure again, we see that it stops when the weights are concentrated on two adjacent vertices. This is because whenever the weights are concentrated on at least three vertices, there are two vertices which are not neighbours as the induced subgraph is not complete. If the two adjacent vertices are i,j then S=zi⁢zj≤1/4.

Let zi=n−1 for all i∈[n]. Then the corresponding S=n−2⁢|E| and this is at most 1/4 by the above argument. Hence the theorem is proved. ∎

Theorem 5.7 (Turan, 1941).

If a simple graph on n vertices has no complete subgraph Kp, then |E|≤M⁢(n,p):=(p−2)⁢n2−r⁢(p−1−r)2⁢(p−1) where r≡n(modp−1).

Note that for p=3 the above bound gives Mantel’s theorem bound when r=0 and improves it to (n2−1)/4 if r=1.

The above bound can be achieved as follows : Let S1,…,Sp−1 be an almost equal partition of V i.e., S1,…,Sr are subsets of size t+1 and the remaining p−1−r subsets are of size t where n=t⁢(p−1)+r with 0≤r<p−1. Construct the complete multi-partite graph on S1,…,Sp−1 such that all the edges between Si and Sj are present for i≠j and these are the only edges. This does not have a complete subgraph Kp and twice number of edges is

r⁢(t+1)⁢(n−t−1)+(p−1−r)⁢t⁢(n−t)=r⁢(n−t)−r⁢(t+1)+(p−1)⁢t⁢(n−t)=n⁢(n−t)−r⁢(t+1).

Now substituting t=n−rp−1 gives M⁢(n,p). This also shows that the bound in Mantel theorem is tight. The uniqueness of the above example as well as other extensions of Turan’s theorem can be found in [Sudakov 2019, Section 13.1].

We will give a proof by induction on t. The original proof by induction on n can be found in [Jukna 2011, Section 4.4]. Also a probabilistic proof can be found in [Jukna 2011, Section 18.4]. See also [Aigner et al. 2010, Chapter 36] for more proofs of Turan’s theorem.

Proof.

Let t be such that n=t⁢(p−1)+r. We will prove by induction on t. If t=0, then n=r,M⁢(n,p)=n⁢(n−1)/2 and the theorem trivially holds as n≤p−1. Now, consider a graph G on n vertices with no Kp subgraph (i.e., a subgraph isomorphic to Kp) and let G have the maximum number of edges subject to these constraints. Hence, G contains a subgraph H isomorphic to Kp−1. If not, one can add an edge to G without creating a Kp subgraph and so contradicting its maximality. The vertices V−H are joined to at most p−2 vertices in H. Since |V−H|=n−p+1=(t−1)⁢(p−1)+r and the induced subgraph ⟨V−H⟩ also does not contain a Kp subgraph, by induction hypothesis, |E⁢(⟨V−H⟩)|≤M⁢(n−p+1,p). Thus, we have that

|E⁢(G)|≤M⁢(n−p+1,p)+(n−p+1)⁢(p−2)+(p−12)

and one can easily verify that the RHS is equal to M⁢(n,p). ∎

Exercise* 5.8.

If you generalize the argument for Mantel’s theorem given in the class, what is the bound you get in Turan’s theorem ?

Theorem 5.9.

If a graph G on n vertices has more than 12⁢n⁢n−1 edges, then G has girth ≤4. That is G contains a triangle or quadrilateral.

Proof.

Suppose g⁢(G)≥5. Let v1,…,vd be the neighbours of a vertex v. Since there are no triangles, vj∉Nvi for i≠j and since there are no quadrilaterals, Nvi∩Nvj={v} for i≠j. Thus, we have that ∪i=1dNvi∖{v}⊔Nv⊔{v}⊂[n] and so ∑i=1d(dvi−1)+d+1≤n and hence ∑w∼vdw≤n−1. Thus, we get

n⁢(n−1)≥∑v∑w∼vdw=∑wdw2≥n−1⁢(∑vdv)2=n−1⁢4⁢|E|2,

where the second equality is because each dw is summed dw many times i.e., for every v∼w. ∎