Math 2.0

Combinatorics Proof

Proof of the theorem on friends and strangers

Builds on Complete graphPigeonhole principle

Proof

We look at the edges at one vertex and use the pigeonhole principle.

  1. Colour each edge of the complete graph K6K_6 red or blue. Fix a vertex vv.
  2. The vertex vv is adjacent to the other 55 vertices, so it lies on 55 edges.
  3. Suppose that at most 22 of these edges were red and at most 22 were blue. Then there would be at most 44 edges, a contradiction. This is the pigeonhole principle for 55 edges and 22 colours.
  4. So at least 33 of these edges have one colour. By symmetry of the two colours, we may call this colour blue.
  5. Let a,b,ca, b, c be three distinct vertices such that vava, vbvb and vcvc are blue.
  6. Case 1: one of the edges abab, bcbc, caca is blue, say abab. Then the edges vava, vbvb and abab between v,a,bv, a, b are all blue.
  7. Case 2: none of abab, bcbc, caca is blue. Then all three are red, and the three edges between a,b,ca, b, c are all red.
  8. In both cases there are three vertices such that the three edges between them have the same colour.

Idea

Some vertex sees three others along edges of the same colour, say blue. Among these three, a single blue edge closes a blue triangle with the vertex. If there is no blue edge among them, they form a red triangle.

Reading path

To understand this page from the ground up, read these 43 pages in order. The foundations come first. The path takes the proofs Proof that a composition of injections is injective, Proof that a function is bijective iff it has a two-sided inverse, Proof of the complement principle, Proof of the pigeonhole principle, Proof that a composition of surjections is surjective, Proof of the rule of sum, Proof of the bijection principle.

  1. Cardinality of a finite set definition
  2. Complete graph example
  3. Element definition
  4. Proposition concept
  5. Set definition
  6. Conjunction definition
  7. Implication definition
  8. Predicate definition
  9. Empty set object
  10. Ordered pair definition
  11. Intersection definition
  12. Existential quantifier definition
  13. Universal quantifier definition
  14. Cartesian product definition
  15. Disjoint sets definition
  16. Subset definition
  17. Uniqueness quantifier definition
  18. Binary relation definition
  19. Function definition
  20. Codomain definition
  21. Function composition definition
  22. Identity function definition
  23. Injective function definition
  24. Image of a set definition
  25. Surjective function definition
  26. Left inverse definition
  27. Right inverse definition
  28. Proof that a composition of injections is injective proof
  29. Proof that a composition of surjections is surjective proof
  30. Bijective function definition
  31. Composition of injections is injective statement
  32. Composition of surjections is surjective statement
  33. Proof of the rule of sum proof
  34. Proof that a function is bijective iff it has a two-sided inverse proof
  35. Rule of sum statement
  36. Bijective iff it has a two-sided inverse statement
  37. Proof of the complement principle proof
  38. Proof of the bijection principle proof
  39. Complement principle statement
  40. Bijection principle statement
  41. Proof of the pigeonhole principle proof
  42. Pigeonhole principle statement
  43. Proof of the theorem on friends and strangers proof

Where this leads

1 page builds on this one.

Further reading

  1. Web https://en.wikipedia.org/wiki/Theorem_on_friends_and_strangers, Proof
About this page
TagS567EY6SA2
URIm2://S567EY6SA2
Kindproof
WritingW0 stub
MSC05C55, 05D10
ProvesTheorem on friends and strangers
UsesComplete graph, Pigeonhole principle
MethodsProof by cases
Changed4 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.