Vera Logo
Math

At any party of six people, a math theorem guarantees a trio

Invite six people to a party, any six, total strangers if you like, and something is guaranteed: either three of them all know each other, or three of them are complete strangers to one another. There's no way to avoid it. Mathematicians can prove it.

This is the "theorem on friends and strangers," a famous case of Ramsey theory, named after Frank Ramsey, a Cambridge mathematician, economist and philosopher who proved the underlying idea in 1928 and died the next year at just 26. Picture each person as a dot, with a line joining every pair, colored blue if they're friends and red if they're strangers. With six people there are 15 lines total. The claim is that no matter how you color those 15 lines red or blue, you can never avoid a triangle, three dots joined by lines of a single color.

The proof is short enough to fit on a napkin. Pick any one person, call them P. The other five lines from P are each red or blue. By simple counting (the pigeonhole principle: five items split two ways means one color gets at least three), at least three of those lines share a color, say blue, connecting P to three others, call them A, B and C. Now look at the three lines between A, B and C. If even one of them is blue, that line plus the two blue lines back to P makes a blue triangle. If none of them is blue, all three are red, so A, B and C themselves form a red triangle. Either way, a monochromatic triangle is unavoidable.

Five people isn't enough. Mathematicians have found an arrangement of five people and their friendships where no three form an all-friends or all-strangers trio, proving six is the smallest number where the rule always holds.

That smallest guaranteed number is called a Ramsey number, written R(3,3) = 6. Ask for four mutual friends or four mutual strangers instead of three, and the minimum party size jumps to nine. Ask for five of each, and mathematicians only know the answer is somewhere between 43 and 46 people, a gap nobody has closed despite decades of computer searches. Ramsey theory's core idea, that total disorder is actually impossible once a system gets big enough, keeps showing up in logic, computer science and number theory, all traced back to a math problem about awkward party small talk.

Sources

#ramsey theory#math#combinatorics#graph theory#party problem

Comments

No comments yet. Start the conversation.