Symmetrization for an arbitrary real coefficient. Among graphs maximizing , choose one maximizing
For a vertex , put . This is the contribution of edges and triangles in a graph containing . If are nonadjacent, Zykov symmetrization replacing by a clone of changes by ; the opposite replacement changes it by . Maximality implies , so both changes preserve .
Let and . In the first replacement the vertex degrees in increase by one and those in decrease by one; in the opposite replacement these changes reverse. The changes to cancel when the two replacements are added. Since ,
If the two vertex neighbourhoods differ, one replacement increases , a contradiction. Thus every pair of nonadjacent vertices has the same vertex neighbourhood. Nonadjacency, with equality allowed, is an equivalence relation: if and are nonadjacent and and are nonadjacent, their identical vertex neighbourhoods forbid as well. Its classes are independent sets and every cross-class edge is present. Therefore
This edge-triangle symmetrization works for either sign of .
The exact supporting line. For , write
We prove the triangle support line between bipartite and tripartite Turan graphs by maximizing . First . For , its values are respectively . For , the exact balancing of the Turan graph gives , while and the arithmetic-geometric mean inequality gives . Hence
By edge-triangle symmetrization a maximizing graph can be taken complete multipartite graph; among such maximizers use one with the fewest nonempty parts. If there are at least four parts, let be the two smallest sizes. Then . Merging them loses edges and triangles in a graph, so the objective changes by
This contradicts the choice of the number of parts. Thus at most three parts remain.
For three part sizes , the objective is
If , merging the parts of sizes does not decrease it, again contradicting minimality. If and , transferring one vertex from the largest to the smallest part raises by and strictly increases the objective. Thus a three-part maximizer has all sizes differing by at most one, and is . A maximizer with at most two parts has objective at most , since it has no triangles in a graph and the Mantel theorem bounds its edges. Finally,
Therefore every graph satisfies . At the prescribed edge count this gives
For , the conclusion is simply the nonnegative lower bound zero. All rounding in the Turan graphs has been retained.
One edge above the bipartite threshold. Write . We prove the Triangle lower bound one edge above the Mantel threshold by induction on , allowing at least edges. For , five edges on four vertices give two triangles in a graph, and adding edges preserves this bound.
We will also use the following consequence of an inductive bound: on vertices, at least edges, for an integer , force at least triangles in a graph. Delete surplus edges first to leave exactly . Repeatedly delete an edge in a triangle in a graph until edges remain. The Mantel theorem guarantees such a triangle in a graph at every step; each deletion destroys at least one distinct triangle in a graph. Apply the inductive bound to the remaining graph.
Now take exactly edges. If every edge lies in a triangle in a graph, the edge-triangle incidence bound gives . This is at least for ; the base case was handled separately.
Otherwise choose an edge in no triangle in a graph. Its endpoints have disjoint vertex neighbourhoods, so . Deleting removes exactly edges and leaves at least edges. If , it leaves at least edges, and the strengthened inductive bound gives at least triangles in a graph already.
If , induction gives at least triangles in a graph after deletion. There must be an additional triangle in a graph containing or . Otherwise both and are independent sets; since they are disjoint and cover all vertices, would be bipartite graph, contradicting by the Mantel theorem. Hence
The bound is sharp: add one internal edge to one class of the complete bipartite graph . Its triangles in a graph are precisely that edge together with each of the vertices in the other class.
For , put , , and . Every graph on vertices satisfies
Thus an edge count forces at least triangles in a graph. This is an exact finite bound, with the rounding in the Turan graph retained. To prove it, use edge-triangle symmetrization. The inequality allows merging the two smallest classes when there are at least four classes. With three classes, fixing the middle class makes the objective affine in the product of the other two sizes; either merge them or balance them. Only and need remain.