ArticleslgStudy

mathematics

Goodman's theorem

Goodman's theorem is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Goodman's theorem rather than just read about it. In short: In graph theory, Goodman's theorem gives the exact minimum number of monochromatic triangles in a two-coloring of the edges of a complete graph. If the edges of Kn are colored red or blue, the minimum depends on n modulo four.

Key takeaways

  • Goodman's theorem belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Goodman's theorem to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Goodman's theorem from memory before moving on to harder problems.

Reference excerpt

In graph theory, Goodman's theorem gives the exact minimum number of monochromatic triangles in a two-coloring of the edges of a complete graph. If the edges of Kn are colored red or blue, the minimum depends on n modulo four. A. W. Goodman published the result in 1959, phrasing the two colors as pairs of acquaintances and strangers at a party. Forms of the result are also known as Goodman's formula. The proof counts pairs of differently colored edges incident with each vertex and reduces the lower bound to a degree calculation. Dividing the exact minimum by the total number of triangles gives a limiting proportion of 1/4, the same as the expected monochromatic proportion in a uniformly random red–blue coloring. In Ramsey theory this says that K3 is a common graph. Goodman also proved a related inequality between edge and triangle homomorphism densities. Later work determined the three-color minimum for all sufficiently large complete graphs and the four-color asymptotic minimum.

Statement Let M(K3,n) be the minimum number of unlabeled monochromatic copies of K3 among all red–blue edge-colorings of Kn. Goodman's theorem states that M(K3,n)={n(n−2)(n−4)24,n even,n(n−1)(n−5)24,n≡1(mod4),(n+1)(n−3)(n−4)24,n≡3(mod4). Each of the three bounds is attainable. A. J. Schwenk later gave the equivalent single expression M(K3,n)=(n3)−⌊n2⌊(n−1)24⌋⌋. The first nonzero value is M(K3,6)=2. Thus the theorem on friends and strangers, which guarantees a monochromatic triangle in every red–blue coloring of K6, can in this case be strengthened to two monochromatic triangles. As n tends to infinity, M(K3,n)(n3)⟶14. A fixed triangle in a uniformly random red–blue edge-coloring is monochromatic with probability 2(1/2)3=1/4. The deterministic minimum therefore has the same limiting density as the random-coloring expectation.

Proof For a vertex v, let rv and bv be its red and blue degrees. Then rv+bv=n−1. The product rvbv counts unordered pairs of differently colored edges incident with v. Every nonmonochromatic triangle contributes such a pair at exactly two of its vertices, while a monochromatic triangle contributes none. If N is the number of nonmonochromatic triangles, double counting gives 2N=∑vrvbv. Consequently, if T is the number of monochromatic triangles, then T=(n3)−12∑vrvbv=(n3)−12∑vrv(n−1−rv). The product is largest when the two degrees are as close as the integer and parity constraints permit. If n=2m, then rvbv≤m(m−1) for every vertex, and hence T≥(n3)−n2m(m−1)=n(n−2)(n−4)24. Now suppose n is odd and put q=(n−1)/2. For each vertex, rv(n−1−rv)=q2−(rv−q)2. If n≡1(mod4), the pointwise bound rvbv≤q2 gives T≥(n3)−nq22=n(n−1)(n−5)24. If n≡3(mod4), then q and n are both odd. The red graph cannot have degree q at every vertex, because its degree sum would be odd, contrary to the handshaking lemma. Thus ∑v(rv−q)2≥1, so T≥(n3)−nq2−12=(n+1)(n−3)(n−4)24. These arguments establish the three lower bounds. Colorings attaining them exist in every case, so the bounds give the exact minimum. The floor functions in Schwenk's expression encode the same two integer restrictions: the largest value of a single product rvbv and, when n≡3(mod4), the parity obstruction on the degree sum.

Graph and density formulations A red–blue coloring of Kn can be represented by a simple graph G, with the red edges taken as E(G) and the blue edges as the edges of the complement graph G‾. If τ(G) denotes the number of unlabeled triangles in G, the counting identity becomes τ(G)+τ(G‾)=(n3)−12∑v∈V(G)dG(v)(n−1−dG(v)). Thus the combined number of triangles in a graph and its complement is determined by the degree sequence. The lower-bound part of Goodman's theorem is therefore a degree optimization; the separate attainability statement ensures that the optimum degree patterns needed for the three congruence cases can be realized by colorings. In graph-limit notation, the asymptotic two-color consequence is the graphon inequality t(K3,W)+t(K3,1−W)≥14. Here W and 1−W represent the two color classes, and t(K3,W) is the triangle homomorphism density. The constant graphon W=1/2 attains equality. A different inequality attributed to Goodman, and also discussed under his name in the homomorphism-density setting, relates the triangle and edge densities of a single graphon: t(K3,W)≥t(K2,W)(2t(K2,W)−1). The first inequality is the asymptotic form of the monochromatic-triangle problem; the second fixes one graphon and bounds its triangle density from its edge density.

Ramsey multiplicity and multicolor extensions For a graph H and a positive integer k, let Mk(H,n) be the minimum number of monochromatic unlabeled copies of H among all k-edge-colorings of Kn. Goodman's theorem gives M2(K3,n) exactly. Its limiting value of 1/4 agrees with the random two-color benchmark, which is the statement that the triangle is a common graph. Goodman considered the three-color analogue in 1985. He did not determine the minimum total number of monochromatic triangles, but obtained sharp bounds for related combinations of triangle types. In 2013, James Cummings, Daniel Král', Florian Pfender, Konrad Sperfeld, Andrew Treglown, and Michael Young determined the three-color minimum for all sufficiently large n. If n=5m+r with 0≤r≤4, their result gives M3(K3,n)=r(m+13)+(5−r)(m3) for all sufficiently large n, and hence an asymptotic monochromatic-triangle density of 1/25. Their proof combines a flag-algebra calculation with a probabilistic argument. For four colors, Aldo Kiem, Sebastian Pokutta, and Christoph Spiegel proved in 2026 that the asymptotic minimum is 1/256 of all triangles. They also showed that every sufficiently large extremal coloring is based on a blow-up of one of the two triangle-free three-colorings of K16; their proof uses a flag-algebra formulation and stability arguments.

Citations

Bibliography

Worked examples

Example 1 — a first encounter with Goodman's theorem

Start with the simplest possible case. Write down what Goodman's theorem claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Goodman's theorem before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Goodman's theorem ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Goodman's theorem

In research
Goodman's theorem appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Goodman's theorem in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Goodman's theorem is common in secondary-school and first-year university syllabi. It links to neighbouring topics Ramsey theory, Theorems in graph theory, so understanding it makes those chapters shorter.
In everyday life
Look for Goodman's theorem outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Goodman's theorem” →

How to study Goodman's theorem in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Goodman's theorem means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Goodman's theorem out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Goodman's theorem in simple terms?

In graph theory, Goodman's theorem gives the exact minimum number of monochromatic triangles in a two-coloring of the edges of a complete graph. If the edges of Kn are colored red or blue, the minimum depends on n modulo four.

Why does Goodman's theorem matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Goodman's theorem?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Goodman's theorem.

Tags

  • Ramsey theory
  • Theorems in graph theory

Keep exploring