This is a great question about Ramsey theory. Let me tackle this systematically.
R(3,3) = 6 means that in any 2-coloring of the edges of K₆ (complete graph on 6 vertices), there must exist either a monochromatic red triangle or a monochromatic blue triangle.
The proof typically involves two parts:
- Show that K₅ can be 2-colored without a monochromatic triangle (showing R(3,3) > 5)
- Show that K₆ cannot be 2-colored without a monochromatic triangle (showing R(3,3) ≤ 6)
Combined, these prove R(3,3) = 6.
Let me write this out carefully.
Part 1: R(3,3) > 5 (show K₅ can be 2-colored without monochromatic triangle)
The standard approach is to use the 5-cycle. Color the edges of K₅ = {1,2,3,4,5} as follows:
- Color an edge RED if the vertices are consecutive (cyclically) around the pentagon: 1-2, 2-3, 3-4, 4-5, 5-1
- Color all other edges BLUE: 1-3, 2-4, 3-5, 4-1, 1-5... wait, let me be more careful.
Actually, in K₅, if I arrange vertices as 1,2,3,4,5 around a pentagon:
- RED edges (distance 1): 1-2, 2-3, 3-4, 4-5, 5-1 (forms the 5-cycle)
- BLUE edges (distance 2): 1-3, 2-4, 3-5, 4-1, 5-2
Wait, that's only 10 edges total, which is correct for K₅.
Since K₅ has 5 vertices each with degree 4, that gives 5×4/2 = 10 edges total. Now I need to verify there are no monochromatic triangles. The red edges form a 5-cycle, so any triangle would need three vertices all connected by red edges. But in a 5-cycle, you can't find three mutually adjacent vertices—any three vertices will have at least one pair separated by distance 2, which is colored blue instead.
For the blue edges connecting vertices at distance 2 around the cycle, the same issue occurs: any three vertices will include at least one pair at distance 1, which is red. So this coloring avoids monochromatic triangles entirely. ✓), 4-5 (red ✗). Checking {3,5,2}: 3-5 (blue ✓), 3-2 (red ✗).
No blue triangles exist in this configuration either. This 5-cycle coloring is remarkable because the graph and its complement are both 5-cycles, creating an edge coloring of K₅ where neither color contains a triangle.
For K₆, I'll pick an arbitrary vertex v connected to 5 others. Since these 5 edges must split between two colors, the pigeonhole principle guarantees at least 3 share the same color—say red edges to vertices a, b, c.
Looking at the edges connecting a, b, c: if any edge among them is red, that edge forms a red triangle with v. If all three edges are blue instead, then a-b-c itself is a blue triangle. Either way, a monochromatic triangle must exist.
This confirms R(3,3) = 6.
To verify K₅ avoids monochromatic triangles, I'll check the cyclic coloring where vertices 0-4 form a pentagon, with edges colored red when the distance between vertices is 1 (mod 5), and blue otherwise. The pentagon edges 0-1, 1-2, 2-3, 3-4 are all red, while the remaining edges form blue connections, creating a balanced structure with no monochromatic triangles. The minimum distance in a 5-cycle is calculated as min(d, 5-d) where d is the forward distance. So from 3 to 0, that's min(3, 2) = 2.
The RED edges are the cycle itself: 0-1, 1-2, 2-3, 3-4, 4-0. The BLUE edges connect vertices at distance 2: each vertex connects to exactly two others at that distance, giving us 0-2, 0-3, 1-3, 1-4, 2-4.
Now I need to check if there's a monochromatic triangle. Looking at potential triangles in the 5-cycle, any three consecutive or nearby vertices either form a path (like 0-1-2 where 0-2 is blue) or have mixed colors. For instance, {0,1,4} has edges 0-1 (red), 0-4 (red), and 1-4 (blue), so that's not monochromatic either.
Checking other combinations like {0,2,4} and {1,2,4}, I find they all contain both red and blue edges—no triangle is entirely one color.
For blue triangles specifically, I need all three edges from the blue set {0-2, 0-3, 1-3, 1-4, 2-4}. Testing {0,2,3}, {0,2,4}, {0,1,3}, {1,3,4}, and {2,3,4}, each one includes at least one red edge, so none form a monochromatic blue triangle either.
I notice the blue edges themselves trace a 5-cycle: 0→2→4→1→3→0, which is the complement of the red cycle. Since both the red and blue edge sets form 5-cycles in K₅, neither contains a triangle.
This means the specific coloring using complementary 5-cycles avoids monochromatic triangles entirely. Now I need to verify the main argument for K₆ works correctly.
For any vertex v in K₆, the 5 edges incident to it must split between red and blue. By pigeonhole principle, at least 3 must share the same color—assume v-a, v-b, v-c are all red. Examining the triangle formed by {a, b, c}, if any edge among them is also red, I'd have a red triangle. So all three edges a-b, a-c, b-c must be blue.
But then a-b-c forms a blue triangle. Either way, K₆ contains a monochromatic triangle, establishing R(3,3) ≤ 6. Since the 5-cycle coloring shows R(3,3) > 5, this pins down R(3,3) = 6.
Proof that R(3,3) = 6
I'll prove this in two parts: showing that K₅ can be 2-colored without a monochromatic triangle (so R(3,3) > 5), and then that K₆ cannot (so R(3,3) ≤ 6).
Part 1: K₅ Can Be 2-Colored Without a Monochromatic Triangle
The Cyclic Coloring
Arrange 5 vertices in a pentagon labeled 0, 1, 2, 3, 4. Color edges as follows:
- RED: Edges between adjacent vertices: {0-1, 1-2, 2-3, 3-4, 4-0} (the 5-cycle)
- BLUE: All other edges: {0-2, 0-3, 1-3, 1-4, 2-4}
(Note: The blue edges also form a 5-cycle—the complement!)
Verification of No Red Triangles
A red triangle would require three vertices all connected by red edges. But the red edges form a 5-cycle, and any three vertices in a 5-cycle include at least one pair that's distance ≥ 2 apart (not adjacent).
For example:
- {0, 1, 2}: Has edges 0-1 (red), 1-2 (red), but 0-2 is blue ✗
- {0, 2, 4}: Has edges 0-2 (blue), not all red ✗
This works for all triples—no three consecutive or non-consecutive vertices form a red triangle.
Verification of No Blue Triangles
Similarly, since the blue edges also form a 5-cycle, no three vertices are all connected by blue edges:
- {0, 2, 4}: Has edges 0-2 (blue), 2-4 (blue), but 0-4 is red ✗
- {0, 2, 3}: Has edges 0-2 (blue), 0-3 (blue), but 2-3 is red ✗
Therefore: K₅ permits a proper 2-coloring with no monochromatic triangle, so R(3,3) > 5 ✓
Part 2: K₆ Must Contain a Monochromatic Triangle
The Pigeonhole Argument
Consider any vertex v in K₆. The vertex v is connected by edges to the other 5 vertices. Each edge is colored either red or blue.
By the pigeonhole principle:
⌈25⌉=3
At least 3 of the 5 edges from v must be the same color. Without loss of generality, assume edges v-a, v-b, and v-c are all RED.
Now examine the triangle's interior: the edges {a-b, b-c, a-c}.
Case 1: At least one interior edge is RED
Suppose edge a-b is red. Then we have:
- v-a: RED
- v-b: RED
- a-b: RED
This forms a RED triangle ✓
Case 2: All interior edges are BLUE
Then we have:
- a-b: BLUE
- b-c: BLUE
- a-c: BLUE
This forms a BLUE triangle ✓
Both cases are exhaustive. Therefore, K₆ must contain a monochromatic triangle, so R(3,3) ≤ 6 ✓
Conclusion
R(3,3)=6
Social Interpretation: In any group of 6 people, there must exist either (1) three mutual friends, or (2) three mutual strangers. The group must have one complete monochromatic triad, but a group of 5 people could avoid this.