Maths WorkshopMaths problems with full solutions
Exercise 1978Combinatorics › Graph theoryOlympiadAdded 5 Nov 2026

Turán's theorem

#graph theory#extremal#induction#Turán

Statement

Let r≥1r\ge1 and let GG be a graph on nn vertices that contains no complete subgraph on r+1r+1 vertices. Prove that the number of edges satisfies
e(G)≤(1−1r)n22.e(G)\le\left(1-\frac1r\right)\frac{n^2}2.

Hint

Induct on rr. Take a vertex vv of maximum degree Δ\Delta and split the vertices into the neighbourhood AA of vv and the rest BB. What do you know about the graph induced on AA?

Show solutionHide solution

Solution

Idea. The neighbours of a vertex of largest degree form a graph with no KrK_r; the outside vertices have degree at most Δ\Delta.

Base case r=1r=1. No K2K_2 means no edge, and the bound is 00 ✓.

Induction step. Let r≥2r\ge2 and assume the statement for r−1r-1. Let vv have maximum degree Δ\Delta, let A=N(v)A=N(v) (∣A∣=Δ|A|=\Delta) and B=V∖AB=V\setminus A (∣B∣=n−Δ|B|=n-\Delta).
- The graph induced on AA contains no KrK_r. By induction, e(A)≤(1−1r−1)Δ22e(A)\le\left(1-\frac1{r-1}\right)\frac{\Delta^2}2.
- Every edge not inside AA has at least one endpoint in BB. Therefore the number of such edges is at most ∑u∈Bdeg⁡u≤(n−Δ)Δ\sum_{u\in B}\deg u\le(n-\Delta)\Delta.

Adding,
e(G)≤r−2r−1⋅Δ22+(n−Δ)Δ=nΔ−r2(r−1)Δ2.e(G)\le\frac{r-2}{r-1}\cdot\frac{\Delta^2}2+(n-\Delta)\Delta=n\Delta-\frac r{2(r-1)}\Delta^2.

Maximising over Δ\Delta. The right side is a concave quadratic in Δ\Delta, maximal at Δ=(r−1)nr\Delta=\frac{(r-1)n}r, where its value is
(r−1)n22r=(1−1r)n22.\frac{(r-1)n^2}{2r}=\left(1-\frac1r\right)\frac{n^2}2.
So e(G)≤(1−1r)n22e(G)\le\left(1-\frac1r\right)\frac{n^2}2 ∎.

Sharpness. Splitting the vertices into rr equal groups and joining vertices of different groups gives a Kr+1K_{r+1}-free graph with this many edges when r∣nr\mid n. For r=2r=2 this is Mantel's theorem.

Lesson. Take a vertex of maximum degree, bound what happens inside and outside its neighbourhood, and let induction on the clique size do the rest.