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+1v0,,vi1 as vi has at least δ(G) neighbours. Hence we get a self-avoiding walk v0v1vδ(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,vV} and

Lemma 5.5.

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

Proof.

Assume otherwise. Let C=v0vkv0 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/2diam(G) and so (C)=k+12diam(G)+1. If k is odd then d(v0,v(k+1)/2)=k+1/2 and again we have that (C)=k+12diam(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 zi0 be weight of i such that izi=1 and we shall try to maximize S=ijzizj. Let kl. Assume that jkzj=x and jlzj=y. WLOG assume xy. Observe that S=xzk+yzl+R where R is the sum over edges not incident on k or l. Note that zkx+zly(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=zizj1/4.

Let zi=n1 for all i[n]. Then the corresponding S=n2|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):=(p2)n2r(p1r)2(p1) where rn(modp1).

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

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

r(t+1)(nt1)+(p1r)t(nt)=r(nt)r(t+1)+(p1)t(nt)=n(nt)r(t+1).

Now substituting t=nrp1 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(p1)+r. We will prove by induction on t. If t=0, then n=r,M(n,p)=n(n1)/2 and the theorem trivially holds as np1. 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 Kp1. If not, one can add an edge to G without creating a Kp subgraph and so contradicting its maximality. The vertices VH are joined to at most p2 vertices in H. Since |VH|=np+1=(t1)(p1)+r and the induced subgraph VH also does not contain a Kp subgraph, by induction hypothesis, |E(VH)|M(np+1,p). Thus, we have that

|E(G)|M(np+1,p)+(np+1)(p2)+(p12)

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 12nn1 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, vjNvi for ij and since there are no quadrilaterals, NviNvj={v} for ij. Thus, we have that i=1dNvi{v}Nv{v}[n] and so i=1d(dvi1)+d+1n and hence wvdwn1. Thus, we get

n(n1)vwvdw=wdw2n1(vdv)2=n14|E|2,

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