Extremal Graph Theory

⚡ Key Takeaways

Extremal graph theory studies the maximum or minimum value of a graph parameter (typically the number of edges) over all graphs satisfying a prescribed structural constraint — usually the absence of a fixed subgraph. The flagship result, the Erdős–Stone–Simonovits theorem, says that the maximum edge density of an nn-vertex graph with no copy of HH is asymptotically (1−1χ(H)−1)(n2)\left(1-\tfrac{1}{\chi(H)-1}\right)\binom{n}{2}, determined entirely by the chromatic number of HH. It applies across combinatorics, theoretical computer science, number theory, and discrete geometry. Founded by Turán (1941) building on Mantel (1907), with the asymptotic theory completed by Erdős, Stone, and Simonovits.

💡 The Core Insight

Forbidding a subgraph HH forces global sparsity, and the amount of sparsity is dictated by the local obstruction of chromatic number. To avoid an HH with χ(H)=r\chi(H)=r, the cheapest way to use many edges is to partition vertices into r−1r-1 classes and join all pairs across classes: this contains no KrK_r (hence no HH) yet maximizes edges. The depth of the theory lies in (a) proving this multipartite construction is optimal, not merely good, and (b) understanding what happens when χ(H)=2\chi(H)=2, where the construction is empty and the true count hides in lower-order, problem-specific algebraic and probabilistic structure.

Formal Statement

DefinitionTurán Number and the Turán Graph

Let HH be a fixed graph. The Turán number (or extremal number) is

1
ex(n,H)  =  max⁡{ e(G)  :  ∣V(G)∣=n,  H⊈G },\quad \mathrm{ex}(n,H) \;=\; \max\Big\{\, e(G) \;:\; |V(G)|=n,\; H \not\subseteq G \,\Big\},

Derivation hint: maximize the edge count e(G)e(G) over the finite set of all HH-free labeled graphs on nn vertices; the max exists by finiteness. where e(G)e(G) is the number of edges of GG and H⊈GH \not\subseteq G means GG contains no (not necessarily induced) subgraph isomorphic to HH. A graph attaining the maximum is an extremal graph for (n,H)(n,H). The Turán graph T(n,r)T(n,r) is the complete rr-partite graph on nn vertices with part sizes as equal as possible (each of size ⌊n/r⌋\lfloor n/r\rfloor or ⌈n/r⌉\lceil n/r\rceil). Its edge count is denoted t(n,r)=e(T(n,r))t(n,r) = e(T(n,r)). The symbols: nn = number of vertices, rr = number of parts, χ(H)\chi(H) = chromatic number of HH, KrK_r = complete graph on rr vertices, Ks,tK_{s,t} = complete bipartite graph.

TheoremTurán's Theorem (1941)

For every n≥1n\ge 1 and r≥2r\ge 2,

2
ex(n,Kr)  =  t(n,r−1)  =  (1−1r−1)n22  −  O(1),\quad \mathrm{ex}(n,K_r) \;=\; t(n,r-1) \;=\; \Big(1-\tfrac{1}{r-1}\Big)\frac{n^2}{2}\;-\;O(1),

Derivation hint: count edges of a complete (r−1)(r-1)-partite graph with balanced parts; with n=(r−1)qn=(r-1)q, each of (r−12)\binom{r-1}{2} part-pairs contributes q2q^2 edges, giving (r−12)q2=r−22(r−1)n2\binom{r-1}{2}q^2 = \tfrac{r-2}{2(r-1)}n^2. and the unique extremal graph is the Turán graph T(n,r−1)T(n,r-1).

TheoremErdős–Stone–Simonovits Theorem

For any fixed graph HH with χ(H)=r≥2\chi(H)=r\ge 2,

3
ex(n,H)  =  (1−1r−1)(n2)  +  o(n2)(n→∞).\quad \mathrm{ex}(n,H) \;=\; \Big(1-\frac{1}{r-1}\Big)\binom{n}{2}\;+\;o(n^2)\qquad (n\to\infty).

Derivation hint: lower bound from T(n,r−1)T(n,r-1) being HH-free (it is (r−1)(r-1)-colorable, HH needs rr colors); upper bound from the Erdős–Stone theorem, which forces a large complete rr-partite subgraph hence a copy of HH once density exceeds the Turán threshold. Equivalently, the Turán density is

4
π(H)  :=  lim⁡n→∞ex(n,H)(n2)  =  1−1χ(H)−1.\quad \pi(H) \;:=\; \lim_{n\to\infty}\frac{\mathrm{ex}(n,H)}{\binom{n}{2}} \;=\; 1-\frac{1}{\chi(H)-1}.

Derivation hint: divide [3] by (n2)\binom{n}{2} and take the limit; the o(n2)o(n^2) term vanishes, leaving the chromatic-number-dependent constant.

⚠️ The Degenerate Case

When χ(H)=2\chi(H)=2 (i.e. HH is bipartite), formula [4] gives π(H)=0\pi(H)=0, so the Erdős–Stone–Simonovits theorem reveals only that ex(n,H)=o(n2)\mathrm{ex}(n,H)=o(n^2). The true order of growth — whether n3/2n^{3/2}, n5/3n^{5/3}, or something else — is not determined by χ(H)\chi(H) and constitutes the central open problem of degenerate extremal graph theory. The general theorem is asymptotically silent here.

Why It Holds

ProofTurán's Theorem via Zykov Symmetrization

We show that among KrK_r-free graphs on nn vertices, T(n,r−1)T(n,r-1) maximizes edges.

Step 1 — Reduce to complete multipartite graphs. Let GG be edge-maximal KrK_r-free. Claim: the relation "u∼vu \sim v iff u,vu,v non-adjacent" is an equivalence relation on V(G)V(G), which forces GG to be complete multipartite. It suffices to show non-adjacency is transitive.

Step 2 — Symmetrization. Suppose x≁x \not\sim-relate fails: say u,vu,v non-adjacent, v,wv,w non-adjacent, but u,wu,w adjacent. Compare degrees.

  • If d(u)>d(v)d(u) > d(v): delete vv, replace it by a clone u′u' of uu (same neighborhood as uu). This cannot create a KrK_r (the two copies u,u′u,u' are non-adjacent so no clique uses both), and the new graph has more edges. Contradiction with maximality.
  • Symmetrically if d(w)>d(v)d(w) > d(v), clone ww.
  • If d(v)≥d(u)d(v) \ge d(u) and d(v)≥d(w)d(v) \ge d(w): delete both u,wu,w and replace by two clones of vv. Edge change is 2d(v)−(d(u)+d(w))−1≥−12d(v) - (d(u)+d(w)) - 1 \ge -1...

Step 3 — The clean argument (Motzkin–Straus / direct count). A cleaner route: since GG is complete multipartite with parts V1,…,VkV_1,\dots,V_k and is KrK_r-free, we need k≤r−1k\le r-1. With kk parts fixed, edge count is maximized by balancing part sizes (convexity: moving a vertex from a smaller part to a larger part among non-balanced parts strictly increases edges). Hence k=r−1k=r-1 balanced, i.e. G=T(n,r−1)G=T(n,r-1).

5
e(G)=∑i<j∣Vi∣∣Vj∣=12(n2−∑i∣Vi∣2),\quad e(G)=\sum_{i<j}|V_i||V_j|=\frac{1}{2}\Big(n^2-\sum_i |V_i|^2\Big),

Derivation hint: total ordered adjacent pairs =n2−∑∣Vi∣2=n^2-\sum|V_i|^2 since within-part pairs are non-edges; divide by 2 for unordered edges. Minimizing ∑i∣Vi∣2\sum_i |V_i|^2 subject to ∑i∣Vi∣=n\sum_i|V_i|=n and k≤r−1k\le r-1 parts is achieved at k=r−1k=r-1 balanced parts by Jensen/convexity. □\square

∎
ProofErdős–Stone Upper Bound (sketch)

Goal: if e(G)≥(1−1r−1+ε)(n2)e(G) \ge \big(1-\tfrac1{r-1}+\varepsilon\big)\binom n2 then G⊇Kr(t)G \supseteq K_{r}(t), the complete rr-partite graph with tt vertices per part, for t=t(ε,r)t=t(\varepsilon,r).

Step 1. By repeated deletion of low-degree vertices, pass to a subgraph G′G' of minimum degree ≥(1−1r−1+ε2)∣V(G′)∣\ge \big(1-\tfrac1{r-1}+\tfrac\varepsilon2\big)|V(G')| on still-linear vertex count.

Step 2. Induct on rr. By induction G′G' contains Kr−1(s)K_{r-1}(s) with ss large. Its (r−1)s(r-1)s vertices each have huge degree; a counting/pigeonhole argument finds a set of tt common neighbors avoiding the existing blob, building the rr-th part.

Step 3. Since any fixed HH with χ(H)=r\chi(H)=r embeds into Kr(t)K_r(t) for t≥∣V(H)∣t \ge |V(H)|, the appearance of Kr(t)K_r(t) forces HH. Hence above the Turán threshold HH is unavoidable, proving [3]. □\square

∎
mathematician · Pál Turán | 1910–1976

Hungarian mathematician whose 1941 paper, written while interned in a forced-labor camp during World War II, founded extremal graph theory. Turán reportedly worked out the theorem mentally, lacking paper, and was motivated by a question of his friend... his result generalized Mantel's 1907 triangle bound and crystallized the idea that forbidding cliques imposes precise quantitative density limits. Turán was a number theorist by training (the Turán sieve, power-sum method) and viewed his graph theorem as a curiosity until Erdős championed extremal combinatorics into a major discipline. The collaboration of Turán with Erdős and the later students (Simonovits, Szemerédi) made Hungary the heartland of the subject.

Building Intuition

🧠 Intuition

Think of edges as a budget and the forbidden graph HH as a tripwire. To spend the most edges without tripping a KrK_r, you cluster vertices into r−1r-1 "color classes," forbid edges inside a class (those are wasted, since they could complete a clique), and lavish all spending on edges between classes. Balancing class sizes is just the AM–QM inequality: equal parts minimize ∑∣Vi∣2\sum |V_i|^2, which by [5] maximizes edges. The chromatic number χ(H)\chi(H) enters because HH is rr-chromatic exactly when it cannot be drawn inside an (r−1)(r-1)-partite graph — so the (r−1)(r-1)-partite Turán graph is precisely "as dense as possible while remaining a place HH can never live." Erdős–Stone is the surprising converse: any graph even slightly denser than the Turán graph must contain a blown-up clique Kr(t)K_r(t), a structure so rich it harbors every rr-chromatic HH. This is why two forbidden graphs as different as K5K_5 and the icosahedron (χ=4\chi=4) have the same asymptotic Turán number — the extremal theory cannot tell them apart at the n2n^2 scale.

Figure
Turán density π(H)=1−1/(χ(H)−1)\pi(H)=1-1/(\chi(H)-1) as a function of chromatic number
chromatic number χ(H) Turán density π(H) 1 1/2 0 2 3 4 5 6 bipartite: π=0 (degenerate) π → 1 as χ → ∞

Worked Examples

ExampleMaximum triangle-free graph on 100 vertices

Given: n=100n=100, forbidden graph H=K3H=K_3 (triangle), so χ(K3)=3\chi(K_3)=3, r=3r=3.

Steps: 1. By Turán's theorem [2], ex(100,K3)=t(100,2)\mathrm{ex}(100,K_3)=t(100,2), edges of the balanced complete bipartite graph K50,50K_{50,50}. 2. Compute: e(K50,50)=50×50=2500e(K_{50,50}) = 50\times 50 = 2500. 3. Check via [5]: 12(1002−(502+502))=12(10000−5000)=2500\tfrac12(100^2 - (50^2+50^2)) = \tfrac12(10000-5000)=2500. ✓ 4. Compare to total possible edges (1002)=4950\binom{100}{2}=4950; the density ratio is 2500/4950≈0.5052500/4950 \approx 0.505, matching π(K3)=1−12=12\pi(K_3)=1-\tfrac{1}{2}=\tfrac12.

Answer: ex(100,K3)=2500 edges\boxed{\mathrm{ex}(100,K_3)=2500 \text{ edges}}, uniquely realized by K50,50K_{50,50} (Mantel's theorem).

ExampleForbidding K4K_4 on 90 vertices

Given: n=90n=90, H=K4H=K_4, so r=4r=4, extremal graph is T(90,3)T(90,3) — complete tripartite with three equal parts of 3030.

Steps: 1. Part sizes: 90/3=3090/3 = 30 each, perfectly balanced. 2. Edges between each pair of parts: 30×30=90030 \times 30 = 900; there are (32)=3\binom{3}{2}=3 pairs. 3. Total: 3×900=27003 \times 900 = 2700. 4. Verify the asymptotic formula [2]: (1−13)9022=23⋅81002=23⋅4050=2700\big(1-\tfrac13\big)\tfrac{90^2}{2} = \tfrac23 \cdot \tfrac{8100}{2}=\tfrac23 \cdot 4050 = 2700. Exact because nn is divisible by r−1=3r-1=3.

Answer: ex(90,K4)=2700 edges\boxed{\mathrm{ex}(90,K_4)=2700 \text{ edges}}, uniquely realized by T(90,3)=K30,30,30T(90,3)=K_{30,30,30}.

Common Misconceptions

⚠️ Chromatic number ≠ everything

A persistent error is concluding that because π(H)\pi(H) depends only on χ(H)\chi(H), the entire extremal problem is settled by chromatic number. This is false at the second-order term: among graphs HH with the same χ\chi, the precise value of ex(n,H)\mathrm{ex}(n,H) (including the o(n2)o(n^2) correction and the exact extremal graph) varies, and is governed by finer invariants such as the decomposition family and the structure of the color-critical edges (Simonovits's stability theory). Moreover, for bipartite HH the chromatic number gives zero information about the growth rate.

CounterexampleEven cycles defeat the naive guess

One might guess that since the Petersen graph and K3,3K_{3,3} are both forbidden structures, "forbidding any fixed bipartite graph gives Θ(n3/2)\Theta(n^{3/2}) edges." This is wrong. Forbidding C4=K2,2C_4=K_{2,2} gives ex(n,C4)∼12n3/2\mathrm{ex}(n,C_4) \sim \tfrac12 n^{3/2} (Kővári–Sós–Turán, tight via Erdős–Rényi polarity graphs). But forbidding C6C_6 gives ex(n,C6)=Θ(n4/3)\mathrm{ex}(n,C_6)=\Theta(n^{4/3}) and C10C_{10} gives Θ(n6/5)\Theta(n^{6/5}) — different exponents entirely. In general ex(n,C2k)=O(n1+1/k)\mathrm{ex}(n,C_{2k})=O(n^{1+1/k}), with matching lower bounds known only for k=2,3,5k=2,3,5. The growth exponent is sensitive to the precise bipartite graph, not a universal 3/23/2.

Connections

connection

Extremal graph theory connects deeply to its neighbors. The upper bound machinery of Erdős–Stone is most naturally proved via the Szemerédi Regularity Lemma, which partitions any dense graph into quasi-random pieces; the removal lemma derived from it underlies modern proofs of Roth's Theorem on Arithmetic Progressions. The degenerate (bipartite) case is intimately tied to the Zarankovic Problem and incidence geometry — the Kővári–Sós–Turán bound for Ks,tK_{s,t}-free graphs is identical to counting point–line incidences. The probabilistic lower-bound constructions belong to the Probabilistic Method, and the algebraic constructions (norm graphs, projective planes) link to Finite Geometry and Algebraic Combinatorics. The hypergraph generalization opens onto Hypergraph Turán Problem, where even π(K4(3))\pi(K_4^{(3)}) is unknown.

Real-World Applications

🔬 Where this appears

Historical Development

⏳ History
- 1907 — Mantel's theorem. Willem Mantel proves the first extremal result: a triangle-free graph on nn vertices has at most ⌊n2/4⌋\lfloor n^2/4\rfloor edges. This is the r=3r=3 case of Turán.
- 1938 — Erdős, Sidon sequences. Paul Erdős studies B2B_2 sets, implicitly extremal graph problems, and meets the bipartite degenerate phenomenon.
- 1941 — Turán's theorem. Pál Turán determines ex(n,Kr)\mathrm{ex}(n,K_r) exactly and proves uniqueness of the extremal Turán graph, founding the field.
- 1946 — Kővári–Sós–Turán. Tamás Kővári, Vera T. Sós, and Pál Turán bound ex(n,Ks,t)=O(n2−1/s)\mathrm{ex}(n,K_{s,t})=O(n^{2-1/s}), opening the degenerate theory.
- 1946 — Erdős–Stone theorem. Erdős and Arthur Stone prove the asymptotic density for Kr(t)K_r(t), the engine of the general theory.
- 1966 — Erdős–Simonovits. Reformulation making explicit that π(H)=1−1/(χ(H)−1)\pi(H)=1-1/(\chi(H)-1); the modern Erdős–Stone–Simonovits statement and the beginning of stability theory.
- 1974 — Bondy–Simonovits. Even-cycle bound ex(n,C2k)=O(n1+1/k)\mathrm{ex}(n,C_{2k})=O(n^{1+1/k}), sharpening degenerate understanding.
- 1975 — Szemerédi Regularity Lemma. Endre Szemerédi's lemma gives a uniform, structural proof technique that subsumes Erdős–Stone and powers extremal/removal-lemma results.
- 1996 — Kollár–Rónyai–Szabó & Alon–Rónyai–Szabó. Norm-graph constructions show ex(n,Ks,t)=Θ(n2−1/s)\mathrm{ex}(n,K_{s,t})=\Theta(n^{2-1/s}) is tight for t>(s−1)!t > (s-1)!, a major degenerate breakthrough.

Subtleties & Limits

open-problem

The central open problem of the field is the degenerate (bipartite) case. No general formula gives even the order of magnitude of ex(n,H)\mathrm{ex}(n,H) when χ(H)=2\chi(H)=2.

  • Even cycles: Whether ex(n,C2k)=Θ(n1+1/k)\mathrm{ex}(n,C_{2k})=\Theta(n^{1+1/k}) holds for all kk is open; matching lower bounds are known only for k∈{2,3,5}k\in\{2,3,5\}.
  • Complete bipartite Kt,tK_{t,t}: For t≥4t\ge 4 the truth of ex(n,Kt,t)=Θ(n2−1/t)\mathrm{ex}(n,K_{t,t})=\Theta(n^{2-1/t}) is unknown; constructions matching the KST upper bound exist only when one side is large relative to the other.
  • Rational exponents conjecture (Erdős–Simonovits): For every rational α∈[1,2]\alpha\in[1,2] is there a finite family F\mathcal F with ex(n,F)=Θ(nα)\mathrm{ex}(n,\mathcal F)=\Theta(n^\alpha)? Recent work (Bukh–Conlon and others) resolves it for families but the single-graph version remains largely open.
  • Hypergraph Turán density: The value π(K4(3))\pi(K_4^{(3)}) — the simplest unsolved hypergraph Turán problem, conjectured by Turán to be 5/95/9 — has been open since 1941, despite intense effort and flag-algebra bounds.

See Also

Turán's Theorem · Mantel's Theorem · Kővári–Sós–Turán Theorem · Szemerédi Regularity Lemma · Graph Removal Lemma · Chromatic Number · Probabilistic Method · Hypergraph Turán Problem · Zarankovic Problem · Ramsey Theory