Tutorials › Graph Theory (Undergraduate) › Common Errors in Extremal Graph Proofs

Turan's Theorem and Extremal Problems · Tutorial 559 of 799

Common Errors in Extremal Graph Proofs

Learn to separate valid upper bounds from extremal conclusions and to check constructions, equality cases, and forbidden-subgraph implications.

Advanced 10 min read

What You'll Learn

  • Define an extremal number only when the class of eligible graphs is nonempty.
  • Distinguish a useful construction from a construction that attains the extremal number.
  • Identify what an equality case requires beyond a proof of an upper bound.
  • Check the direction of implications between forbidden-subgraph conditions.
  • Combine an upper bound and a matching construction to establish sharpness.
  • Use a degree bound without mistaking it for an exact extremal result.

What an Extremal Proof Must Establish

Extremal graph arguments have two distinct tasks. One is to show that every graph satisfying a restriction has at most a certain number of edges. The other is to show that this bound can actually be attained. Describing an interesting graph does not do both tasks, and obtaining equality in a numerical estimate does not by itself classify all the graphs that attain it. Careful proofs keep the restriction, the bound, the construction, and any equality claim separate.

Definition: Let \(F\) be a fixed finite simple graph with at least one edge, and let \(n\) be a nonnegative integer. A graph is \(F\)-free if it contains no subgraph isomorphic to \(F\); the subgraph need not be induced. The extremal number \(\operatorname{ex}(n,F)\) is the maximum number of edges in an \(F\)-free simple graph on \(n\) vertices. An \(F\)-free graph on \(n\) vertices with exactly \(\operatorname{ex}(n,F)\) edges is an extremal graph.

The assumption that \(F\) has an edge ensures this maximum exists: the edgeless graph on \(n\) vertices is \(F\)-free, so the eligible class is nonempty, and there are only finitely many simple graphs on a fixed \(n\)-vertex set. Without a nonemptiness condition, finiteness alone is not enough. For example, if \(F=K_1\) and \(n\ge1\), every \(n\)-vertex graph contains a copy of \(K_1\), so there is no eligible graph over which to take a maximum.

For a proposed exact value \(M\), a complete extremal proof needs both a universal upper bound and an example attaining it. A classification of equality cases requires an additional argument that identifies every graph for which the upper bound is attained.

Proposition: Suppose \(H\) and \(F\) are finite simple graphs, each with at least one edge, and \(H\) is isomorphic to a subgraph of \(F\). For every \(n\ge0\), \(\operatorname{ex}(n,H)\le\operatorname{ex}(n,F)\).

Proof. If an \(n\)-vertex graph contains a copy of \(F\), then it contains a copy of \(H\), because \(H\) is a subgraph of \(F\). Taking the contrapositive, every \(H\)-free graph is \(F\)-free. Thus the set of \(H\)-free \(n\)-vertex graphs is contained in the set of \(F\)-free \(n\)-vertex graphs. The maximum number of edges over the first set cannot exceed the maximum over the second, which gives \(\operatorname{ex}(n,H)\le\operatorname{ex}(n,F)\). \(\square\)

Construction Is Not the Same as Extremality

A construction proves a lower bound: it shows that at least one graph satisfying the restriction has a specified number of edges. It does not prove that no other admissible graph has more. To establish an exact extremal number, match the construction with a valid upper bound.

Worked Example: A Triangle-Free Graph That Is Not Extremal

Let \(C\) have vertex set \(V(C)=\{1,2,3,4,5\}\) and edge set \(E(C)=\{12,23,34,45,51\}\). It is a 5-cycle, so it contains no triangle and has \(5\) edges. This makes it a triangle-free construction with \(5\) edges, but not an extremal one.

For comparison, let \(B\) have vertex set \(V(B)=\{1,2,3,4,5\}\), with parts \(X=\{1,2\}\) and \(Y=\{3,4,5\}\), and edge set \(E(B)=\{13,14,15,23,24,25\}\). Every listed edge joins \(X\) to \(Y\). A triangle would have to alternate between the two parts at each step and return to its starting part after three edges, which is impossible. So \(B\) is triangle-free, and its edge count is \(|E(B)|=6\).

Check: The five displayed edges of \(C\) give \(|E(C)|=5\), while the six displayed edges of \(B\) give \(|E(B)|=6\). Thus \(C\) cannot attain \(\operatorname{ex}(5,K_3)\), since \(B\) is an admissible graph with more edges. Mantel’s theorem gives the upper bound \(\operatorname{ex}(5,K_3)\le\lfloor 5^2/4\rfloor=6\). The construction \(B\) attains that bound, so \(\operatorname{ex}(5,K_3)=6\).

The common error is to find one graph with many edges and silently treat it as a maximizer. The correction is to state exactly what the construction proves, then find an upper bound that applies to every graph satisfying the restriction. In this example, \(C\) proves only \(\operatorname{ex}(5,K_3)\ge5\); \(B\) improves that lower bound, and Mantel’s theorem supplies the matching upper bound.

An Upper Bound Does Not Automatically Prove an Equality Classification

There is a further distinction between proving the value of an extremal number and proving which graphs attain it. The argument for an upper bound may use inequalities. If equality is claimed, the proof must track when those inequalities are equalities and show what that forces about the graph.

Theorem: If \(n\) is a positive even integer, a triangle-free simple graph on \(n\) vertices has at most \(n^2/4\) edges. It has exactly \(n^2/4\) edges if and only if it is the complete bipartite graph \(K_{n/2,n/2}\).

Proof. Let \(G\) be triangle-free, with \(n\) vertices and \(m\) edges. For each edge \(uv\), the neighborhoods \(N(u)\) and \(N(v)\) are disjoint: a common neighbor would form a triangle with \(u\) and \(v\). Therefore \(\deg(u)+\deg(v)\le n\). Summing over all edges, each vertex \(v\) contributes \(\deg(v)\) once for each incident edge, so \(\sum_{v\in V(G)}\deg(v)^2=\sum_{uv\in E(G)}(\deg(u)+\deg(v))\le nm\). Also, \(\sum_v\deg(v)=2m\) by the handshake lemma, and Cauchy–Schwarz gives \((2m)^2\le n\sum_v\deg(v)^2\). Combining the inequalities yields \(4m^2\le n^2m\). If \(m=0\), the claimed upper bound holds; if \(m>0\), divide by \(4m\) to obtain \(m\le n^2/4\).

Now suppose \(m=n^2/4\). Both inequalities in the chain must be equalities. Equality in Cauchy–Schwarz implies that all \(n\) degrees are equal; their sum is \(2m=n^2/2\), so every degree is \(n/2\). Choose any edge \(uv\), which exists because \(m>0\). Its endpoint neighborhoods are disjoint and each has size \(n/2\), so together they contain all \(n\) vertices. Each neighborhood is independent: an edge between two neighbors of \(u\), for instance, would form a triangle with \(u\). Thus \(N(u)\) and \(N(v)\) are two independent parts. Each vertex has degree \(n/2\), the size of the opposite part, so every possible edge between the parts is present. Hence \(G\cong K_{n/2,n/2}\).

Conversely, \(K_{n/2,n/2}\) is triangle-free and has \((n/2)(n/2)=n^2/4\) edges. It attains the bound and is an equality case. This proves both directions of the classification. \(\square\)

Worked Example: Completing an Equality Argument

Let \(G\) have vertex set \(V(G)=\{1,2,3,4\}\) and edge set \(E(G)=\{13,14,23,24\}\). The parts \(\{1,2\}\) and \(\{3,4\}\) show that \(G=K_{2,2}\). It is triangle-free, and \(|E(G)|=4\).

For \(n=4\), the bound in the theorem is \(n^2/4=4^2/4=4\). Thus \(G\) attains the bound. The equality argument above additionally proves that every triangle-free graph on four vertices with four edges must be \(K_{2,2}\); merely writing \(m\le4\) would not establish that classification.

Check: The four listed edges are all the pairs with one endpoint in \(\{1,2\}\) and one in \(\{3,4\}\), so the graph has exactly \(2\cdot2=4\) edges. Each vertex has degree \(2\), giving degree sum \(2+2+2+2=8=2|E(G)|\), as required by the handshake lemma.

Keep Forbidden-Subgraph Implications in the Right Direction

Words such as “contains” and “forbids” can reverse an implication if the graphs are not compared carefully. If \(H\) is a subgraph of \(F\), then forbidding \(H\) is at least as restrictive as forbidding \(F\): every \(H\)-free graph is \(F\)-free. But an \(F\)-free graph need not be \(H\)-free. This is why the proposition gives \(\operatorname{ex}(n,H)\le\operatorname{ex}(n,F)\), not the reverse inequality.

Worked Example: Why the Reverse Implication Fails

Let \(G\) have vertex set \(V(G)=\{1,2,3\}\) and edge set \(E(G)=\{12\}\). It is \(K_3\)-free because it has only one edge, so it cannot contain a triangle. But it is not \(K_2\)-free: its edge \(12\) is a copy of \(K_2\).

Here \(K_2\) is a subgraph of \(K_3\), so the valid comparison is \(\operatorname{ex}(3,K_2)\le\operatorname{ex}(3,K_3)\). Indeed, a \(K_2\)-free graph has no edges, giving \(\operatorname{ex}(3,K_2)=0\). Mantel’s theorem gives \(\operatorname{ex}(3,K_3)\le\lfloor 3^2/4\rfloor=2\), and a complete bipartite graph with parts of sizes \(1\) and \(2\) has \(1\cdot2=2\) edges and no triangle. Therefore \(\operatorname{ex}(3,K_3)=2\).

Check: The graph \(G\) has one listed edge and contains no three mutually adjacent vertices, so it is \(K_3\)-free but not \(K_2\)-free. The exact values \(0\le2\) agree with the proven direction of the comparison.

A Degree Bound May Be Too Weak to Prove Sharpness

A degree estimate can give a correct upper bound and still fail to identify the extremal number. For instance, the universal bound \(\deg(v)\le n-1\), together with the handshake lemma, gives \(2m\le n(n-1)\). For a forbidden-subgraph problem, a sharper degree estimate may be available, but it must still be strong enough to match a construction if the goal is an exact value.

Worked Example: A Valid Bound That Does Not Settle the Answer

Suppose \(G\) is triangle-free on \(5\) vertices. The bound \(\deg(v)\le4\) holds for each vertex. Summing over all five vertices gives \(\sum_v\deg(v)\le5\cdot4=20\), so the handshake lemma yields \(2m\le20\), or \(m\le10\). This is valid but not sharp enough to prove the exact triangle-free maximum.

The graph \(B\) from the first example has parts of sizes \(2\) and \(3\), has \(2\cdot3=6\) edges, and is triangle-free. This proves \(\operatorname{ex}(5,K_3)\ge6\). The degree estimate \(m\le10\) does not match that lower bound, so it cannot establish the exact value. Mantel’s theorem instead gives \(m\le\lfloor25/4\rfloor=6\), and hence \(\operatorname{ex}(5,K_3)=6\).

Check: The weak bound says \(6\le\operatorname{ex}(5,K_3)\le10\); it leaves several possible values. The sharper upper bound gives \(6\le\operatorname{ex}(5,K_3)\le6\), forcing equality. The six edges of the construction were counted directly, and the upper bound applies to every triangle-free graph on five vertices.

A Reliable Checklist

When reviewing an extremal proof, separate the claims it must support. First confirm that the extremal number is defined for a nonempty class of eligible graphs. Then check that each construction satisfies the forbidden-subgraph condition and count its edges. Treat that count as a lower bound until a universal upper bound matches it. If the proof claims an equality characterization, follow every inequality through its equality conditions and prove that they force the stated structure. Finally, when comparing forbidden graphs, verify the implication on the graph classes before comparing their extremal numbers.

These checks are useful because a proof can contain correct calculations yet reach an unsupported conclusion. A graph may be admissible without being extremal; an upper bound may be correct without being sharp; and an extremal value may be proved without classifying all extremal graphs. Identifying exactly which claim has been established is the first step toward repairing the argument.

Check Your Understanding

For each question, state which part of an extremal argument is needed and justify your answer.

  1. If \(H\) is a subgraph of \(F\), which inequality between \(\operatorname{ex}(n,H)\) and \(\operatorname{ex}(n,F)\) follows, and why?
  2. A triangle-free graph on five vertices has six edges. What does this prove about \(\operatorname{ex}(5,K_3)\), and what additional result is needed to prove equality?
  3. Why does proving \(m\le n^2/4\) not, on its own, classify the triangle-free graphs attaining equality?
  4. Give an example of a graph that is \(K_3\)-free but not \(K_2\)-free, and explain why it rules out one tempting implication.
  5. What two ingredients are required to prove that a proposed value \(M\) is exactly \(\operatorname{ex}(n,F)\)?