Tutorials › Graph Theory (Undergraduate) › Infinite Monochromatic Cliques in Colored Countable Graphs

Ramsey Theory · Tutorial 579 of 799

Infinite Monochromatic Cliques in Colored Countable Graphs

Learn to apply the infinite theorem for pairs to produce an infinite complete subgraph whose edges all have one color.

Advanced 10 min read

What You'll Learn

  • Translate a finite edge-coloring of a countably infinite complete graph into a coloring of pairs of natural numbers.
  • Apply the infinite Ramsey theorem for pairs to obtain an infinite monochromatic clique.
  • Transfer the conclusion from the natural numbers to any countably infinite vertex set.
  • Verify infinite monochromatic cliques in three explicit edge-colorings.
  • Distinguish what the theorem guarantees from what it does not specify.

From Colored Pairs to a Monochromatic Clique

A finite coloring of the edges of an infinite complete graph may look complicated: the colors can be assigned without any repeating pattern or apparent structure. The infinite Ramsey theorem for pairs says that this complexity cannot continue on every infinite set of vertices. Some infinite set has all its pairs assigned the same color. In graph language, that set is an infinite monochromatic complete subgraph.

Throughout, a graph is simple: it has no loops or multiple edges. For a vertex set \(X\), the complete graph on \(X\) has every unordered pair of distinct vertices as an edge. We write its edge set as \(\binom{X}{2}\). A finite edge-coloring with \(r\) colors is a function \(c:E(G)\to [r]\), where \([r]=\{1,\ldots,r\}\) and \(r\) is a positive integer. The coloring need not be proper: adjacent edges are allowed to have the same color.

Definition: A set \(Y\subseteq V(G)\) is an infinite monochromatic clique if \(Y\) is infinite, every pair of distinct vertices in \(Y\) is an edge, and there is a single color \(a\) such that every edge with both endpoints in \(Y\) has color \(a\). Equivalently, the subgraph induced by \(Y\) is complete and all its edges have color \(a\).

The word “clique” concerns adjacency: every two distinct vertices in the set must be joined. “Monochromatic” adds a condition on those edges. The conclusion is stronger than finding infinitely many edges of one color, since those edges must fit together as all pairs within one infinite vertex set.

The Pair-Theorem Application

We use the infinite Ramsey theorem for pairs, established earlier in the course. In the form needed here, it states that for every positive integer \(r\), every function \(f:\binom{\mathbb{N}}{2}\to [r]\), where \(\mathbb{N}=\{1,2,3,\ldots\}\), has an infinite subset \(I\subseteq\mathbb{N}\) and a color \(a\in[r]\) such that \(f(\{i,j\})=a\) for every pair of distinct \(i,j\in I\).

Theorem: If the edges of a countably infinite complete graph are colored with finitely many colors, then it contains an infinite monochromatic complete subgraph.

Proof. Let \(G\) be a countably infinite complete graph, let \(V(G)=\{x_1,x_2,\ldots\}\) be an enumeration without repetitions, and let \(c:E(G)\to[r]\) be its edge-coloring, for some positive integer \(r\). Define a coloring \(f\) of pairs of positive integers by \(f(\{i,j\})=c(x_ix_j)\) whenever \(i\ne j\). This is defined for every pair because \(G\) is complete. By the infinite Ramsey theorem for pairs, there are an infinite set \(I\subseteq\mathbb{N}\) and a color \(a\in[r]\) such that \(f(\{i,j\})=a\) for all distinct \(i,j\in I\). Set \(Y=\{x_i:i\in I\}\). Since the enumeration has no repetitions and \(I\) is infinite, \(Y\) is infinite. Every pair of distinct vertices in \(Y\) is an edge of \(G\), and for \(i,j\in I\) its color is \(c(x_ix_j)=f(\{i,j\})=a\). Thus \(Y\) induces an infinite complete subgraph all of whose edges have color \(a\). \(\square\)

The countability assumption is used to index the vertices by the positive integers. No particular order is required: any enumeration without repetitions gives the pair-coloring to which the theorem applies. Completeness matters because it ensures that every pair in the selected set is an edge and therefore has a color.

Worked Example: Color by the Parity of the Gap

Let \(G\) be the complete graph on \(\mathbb{N}\), with two edge colors, red and blue. For \(i<j\), color \(ij\) red if \(j-i\) is even and blue if \(j-i\) is odd. Consider \(Y=\{2n:n\in\mathbb{N}\}=\{2,4,6,\ldots\}\).

Take any two vertices \(2a<2b\) in \(Y\), where \(a,b\) are positive integers. Their difference is \(2b-2a=2(b-a)\). Since \(b-a\) is an integer, this difference is divisible by \(2\), so the edge is red. For example, the edge \(2\,6\) has difference \(6-2=4\), and \(4\) is even; the edge \(4\,10\) has difference \(10-4=6\), and \(6\) is even. The set \(Y\) is infinite, and the argument applies to every pair in it, so \(Y\) is an infinite red clique.

Check: For the two displayed edges, \(6-2=4\) and \(10-4=6\), both even, so both are red by the coloring rule. The general calculation \(2b-2a=2(b-a)\) verifies every pair, not only these examples.

Worked Example: Three Colors Determined by a Sum

Again let \(G\) be the complete graph on \(\mathbb{N}\). For \(i<j\), assign one of three colors, labeled \(0,1,2\), according to the remainder of \(i+j\) upon division by \(3\). Let \(Y=\{3n:n\in\mathbb{N}\}=\{3,6,9,\ldots\}\).

For vertices \(3a<3b\) in \(Y\), their sum is \(3a+3b=3(a+b)\), which has remainder \(0\) on division by \(3\). Thus every edge within \(Y\) has color \(0\). For concrete pairs, \(3+6=9=3\cdot3\) has remainder \(0\), and \(6+15=21=3\cdot7\) also has remainder \(0\).

This coloring does use all three colors: the edge \(1\,2\) has sum \(1+2=3\), remainder \(0\); \(1\,3\) has sum \(1+3=4=3\cdot1+1\), remainder \(1\); and \(2\,3\) has sum \(2+3=5=3\cdot1+2\), remainder \(2\). Nevertheless, the multiples of \(3\) form an infinite clique in color \(0\).

Check: In general, \(3a+3b=3(a+b)\), so the sum is divisible by \(3\) for every pair selected. The example uses three available colors, and the computation on \(1,2,3\) verifies that each color occurs somewhere.

Worked Example: Color by the Parity of a Power of Two

For a positive integer \(m\), let \(v_2(m)\) be the largest nonnegative integer \(k\) such that \(2^k\) divides \(m\). Color the edge \(ij\), for \(i<j\), red if \(v_2(j-i)\) is even and blue if it is odd. Consider \(Y=\{4^n:n=0,1,2,\ldots\}=\{1,4,16,64,\ldots\}\).

Choose exponents \(a<b\). The difference between the corresponding vertices factors as \(4^b-4^a=4^a(4^{b-a}-1)=2^{2a}(4^{b-a}-1)\). Because \(b-a\ge1\), \(4^{b-a}\) is even, so \(4^{b-a}-1\) is odd. Therefore the largest power of \(2\) dividing the difference is exactly \(2^{2a}\), and \(v_2(4^b-4^a)=2a\), an even number. Every edge within \(Y\) is red.

For example, the difference \(4-1=3\) has \(v_2(3)=0\), so that edge is red. The difference \(16-4=12=4\cdot3=2^2\cdot3\) has \(v_2(12)=2\), also even, so that edge is red. The set \(Y\) is infinite because its listed powers are strictly increasing.

Check: The factor \(4^{b-a}-1\) is odd, so it contributes no factor of \(2\); hence the exponent in the exact power of \(2\) is \(2a\). As a check that the coloring can also produce blue edges elsewhere, \(v_2(3-1)=v_2(2)=1\), which is odd, so the edge \(1\,3\) is blue.

What the Conclusion Does—and Does Not—Specify

The theorem guarantees that some color has an infinite clique. It does not allow us to prescribe the color in advance. For instance, in the parity-of-the-gap coloring, the even positive integers give a red infinite clique, while the odd positive integers also give a red infinite clique: the difference between \(2a+1\) and \(2b+1\), for \(a<b\), is \(2(b-a)\), which is even. This example has an explicit red clique, but a general coloring need not make a particular named color the one selected by the theorem.

Nor does the theorem promise that an infinite clique appears among the first \(N\) vertices for some fixed \(N\) that works for every coloring. Its conclusion concerns an infinite vertex set. The earlier finite Ramsey existence result is about finding finite monochromatic complete subgraphs in sufficiently large finite complete graphs; the present application instead uses the infinite theorem for pairs to select a single infinite set on which every pair has the same color.

Corollary: If \(Y\) is an infinite monochromatic clique and \(F\) is any finite set of vertices, then \(Y\setminus F\) is still an infinite monochromatic clique.

Proof. Removing the finite set \(F\) from the infinite set \(Y\) leaves an infinite set: if \(Y\setminus F\) were finite, then \(Y=(Y\setminus F)\cup(Y\cap F)\) would be a union of two finite sets and therefore finite, a contradiction. Every two distinct vertices in \(Y\setminus F\) were already in \(Y\), so they are adjacent and their edge has the same color as before. Thus \(Y\setminus F\) is an infinite monochromatic clique. \(\square\)

This corollary is useful when a finite number of vertices are excluded by an additional condition. The color remains fixed because the selected set is only being reduced; no edges among its remaining vertices change color.

Common Pitfall

A frequent error is to mistake one small arithmetic calculation for the general pair calculation. In the parity-of-the-gap example, someone might claim that the edge \(2\,6\) is blue because “\(6-2=3\), which is odd.” The subtraction is wrong: \(6-2=4\), and \(4\) is even, so the edge is red. More importantly, a proof of a monochromatic clique must check an arbitrary pair from the proposed infinite set. For the even vertices, that check is \(2b-2a=2(b-a)\), which is even for every pair of positive integers \(a<b\).

A second distinction is between a color class of edges and a monochromatic clique. Infinitely many edges of one color alone do not show that their endpoints form a clique of that color: the necessary condition is that every pair in one infinite vertex set has that color. The pair theorem supplies exactly this stronger, coordinated conclusion.

Check Your Understanding

Use the pair-coloring formulation and check each assertion against its hypotheses.

  1. Explain how an enumeration of the vertices of a countably infinite complete graph defines a coloring of pairs of positive integers.
  2. In the coloring that uses the remainder of \(i+j\) modulo \(3\), verify directly that the multiples of \(3\) form an infinite monochromatic clique.
  3. For the parity-of-the-gap coloring, determine the color of the edge \(5\,12\), and state the arithmetic used.
  4. Why does the theorem guarantee some monochromatic color but not a color specified in advance?
  5. Prove that removing finitely many vertices from an infinite monochromatic clique leaves an infinite monochromatic clique.