An n-vertex graph that does not contain any (r + 1)-vertex clique may be formed by partitioning the set of vertices into r parts of equal or nearly equal size, and connecting two vertices by an edge whenever they belong to two different parts. We call the resulting graph the Turán graph T(n,r). Turán's theorem states that the Turán graph has the largest number of edges among all Kr+1-free n-vertex graphs.
Formally, Turán's theorem may be stated as follows.
Let G be any graph with n vertices, such that G is Kr+1 -free. Then the number of edges in G is at most
An equivalent formulation is the following:
Among the n-vertex simple graphs with no (r + 1)-cliques, T(n,r) has the maximum number of edges.
Let be an n-vertex simple graph with no (r + 1)-clique and with the maximum number of edges.
- Overview: The proof consists of two claims about , which we outline, before proving.
The first claim is that must be a complete r-partite graph (although it's stated more technically below). In other words, we can partition the vertex set into subsets such that if two vertices are in different sets, and , then they have an edge between them, but if they are in the same set, then they have no edge between them. The second claim is that the sizes of these sets differ from each other by at most 1. For example, if we want the graph on 23 vertices with the most edges that does not contain a triangle, then we partition the vertices into sets and , with and . We add all the edges between the two sets, so the graph will have 11*12 = 132 edges. This matches with the theorem, which says that G will have at most edges.
- Claim 1: Graph does not contain any three vertices such that contains edge , but contains neither edge nor .
(This claim is equivalent to the relation x~y iff x not connected to y being an equivalence relation. ~ is always reflexive and symmetric, but only in special cases is it transitive. ~ is not transitive precisely when we have u, v and w with u ~ w and w ~ v without u ~ v.)
Assume the claim is false. Construct a new n-vertex simple graph that contains no (r + 1)-clique but has more edges than , as follows:
Assume that . Delete vertex and create a copy of vertex (with all of the same neighbors as ); call it . Any clique in the new graph contains at most one vertex among . So this new graph does not contain any (r + 1)-clique. However, it contains more edges:
Case 2: and
Delete vertices and and create two new copies of vertex . Again, the new graph does not contain any (r + 1)-clique. However it contains more edges: .
This proves Claim 1.
The claim proves that one can partition the vertices of into equivalence classes based on their nonneighbors; i.e. two vertices are in the same equivalence class if they are nonadjacent. This implies that is a complete multipartite graph (where the parts are the equivalence classes).
- Claim 2: The number of edges in a complete k-partite graph is maximized when the size of the parts differs by at most one.
If G is a complete k-partite graph with parts A and B and , then we can increase the number of edges in G by moving a vertex from part A to part B. By moving a vertex from part A to part B, the graph loses edges, but gains edges. Thus, it gains at least edge. This proves Claim 2.
This proof shows that the Turan graph has the maximum number of edges. Additionally, the proof shows that the Turan graph is the only graph that has the maximum number of edges.
As a special case of Turán's theorem, for r = 2, one obtains Mantel's theorem:
The maximum number of edges in an n-vertex triangle-free graph is
In other words, one must delete nearly half of the edges in Kn to obtain a triangle-free graph.
A strengthened form of Mantel's theorem states that any hamiltonian graph with at least n2/4 edges must either be the complete bipartite graph Kn/2,n/2 or it must be pancyclic: not only does it contain a triangle, it must also contain cycles of all other possible lengths up to the number of vertices in the graph (Bondy 1971).
- Extremal graph theory
- Erdős–Stone theorem
- A probabilistic proof of Turán's theorem
- Turán's method in analytic number theory
- Aigner, Martin; Ziegler, Günter M. (1998), Proofs from THE BOOK, Berlin, New York: Springer-Verlag.
- Bondy, J. A. (1971), "Pancyclic graphs I", Journal of Combinatorial Theory, Series B 11 (1): 80–84, doi:10.1016/0095-8956(71)90016-5.
- Erdős, Paul; Goodman, A. W.; Pósa, Louis (1966), "The representation of a graph by set intersections", Canadian Journal of Mathematics 18 (1): 106–112, doi:10.4153/CJM-1966-014-3, MR 0186575.
- Turán, Paul (1941), "On an extremal problem in graph theory", Matematikai és Fizikai Lapok (in Hungarian) 48: 436–452.
- West, Douglas Brent (1999) , Introduction to Graph Theory (2nd ed.), Prentice Hall, ISBN 978-0-13-014400-3.