Physics Forums Insights
  • Physics
    • Physics Articles
    • Physics Tutorials
    • Physics Guides
    • Physics FAQs
  • Math
    • Math Articles
    • Math Tutorials
    • Math Guides
    • Math FAQs
  • Bio/Chem/Tech
    • Bio/Chem Articles
    • Computer Science Tutorials
    • Technology Guides
  • Education
    • Education Articles
    • Education Guides
  • Interviews
  • Quizzes
  • Forums
  • Click to open the search input field Click to open the search input field Search
  • Menu Menu
computers

Ramsey Theory: Foundations, Generalizations, Key Results

June 22, 2016/5 Comments/in Mathematics Articles/by Micromass
📖Read Time: 5 minutes
📊Readability: Advanced 📐 (Technical knowledge needed)
🔖Core Topics: peoplefriendspartymutualramsey

Table of Contents

  • Ramsey theory has its origins in a very nice riddle
  • Try to prove this riddle yourself
    • Proof of the basic recurrence
  • Three labels and the multicolor formulation
  • Known values and computational results
  • Infinite Ramsey theory
  • From Ramsey to the Boolean Pythagorean triples problem
    • More Related Articles

Ramsey theory has its origins in a very nice riddle

Consider a party of 6 people. Any two of these six will either be meeting each other for the first time (in which case they are strangers) or they will know each other (in which case they are friends). Show that in this party of 6 people there are either 3 who are mutual strangers or 3 who are mutual friends. Show that the same does not hold in a party of 5 people.

Try to prove this riddle yourself

Then we can do what mathematicians do best: generalize. This generalization was done by Ramsey. We say that ##R(m,n) = v## if, in a party of ##v## people, there are at least ##m## people who are mutual friends or at least ##n## people who are mutual strangers, while the same does not hold in a party with ##v-1## people. Our riddle at the start states that ##R(3,3)=6##.

But why should there be a number ##v## such that ##R(m,n) = v##? Why should this have a solution at all? Why should there exist a party size where 100 people are mutual friends or 1000 people are mutual strangers? These existence statements are proved in Ramsey’s theorem. Ramsey also gives an upper bound on ##v##.

Proof of the basic recurrence

The key inequality is

##R(m,n)\leq R(m-1,n) + R(m,n-1)##.

Using this recurrence and a simple induction yields Ramsey’s theorem. To prove the recurrence, take a party with ##R(m-1,n) + R(m,n-1)## guests and pick an arbitrary guest, whom we call Mister T. For every other guest, either Mister T knows that person or Mister T does not know that person. Thus the remaining guests split into two groups: those who know Mister T and those who do not know Mister T.

Write

[tex]R(m-1,n) + R(m,n-1) = \text{number of people knowing Mister T} + \text{number of people not knowing Mister T} + 1[/tex]

Therefore either the number of people knowing Mister T is at least ##R(m-1,n)## or the number of people not knowing Mister T is at least ##R(m,n-1)##.

If the first group has at least ##R(m-1,n)## people, then among them there are either ##m-1## mutual friends or ##n## mutual strangers. In the latter case we have ##n## mutual strangers in the whole party. In the former case those ##m-1## friends together with Mister T form ##m## mutual friends.

Analogously, if the second group has at least ##R(m,n-1)## people, then among them there are either ##m## mutual friends or ##n-1## mutual strangers. In the first case we have ##m## friends in the party. In the second case those ##n-1## strangers together with Mister T form ##n## mutual strangers. This completes the proof of the recurrence.

Three labels and the multicolor formulation

Ramsey proved a more general result when there are more than two relations. For example, people can be friends, strangers, or enemies. If in a party with ##v## people there are at least ##m## friends, or at least ##n## strangers, or at least ##k## enemies, and this does not hold in a party with ##v-1## people, then we write ##R(m,n,k) = v##. The crucial inequality is

[tex]R(m,n,k) \leq R(m,R(n,k)).[/tex]

Indeed, in a party with ##R(m,R(n,k))## people there are either ##m## friends or ##R(n,k)## non-friends. In the latter case the non-friends among themselves give either ##n## strangers or ##k## enemies. In either case one of the desired monochromatic groups exists.

More generally, consider the standard graph formulation: every unordered pair of ##v## vertices is colored with one of ##c## colors. We write ##v = R(n_1,\dots,n_c)## if any coloring of the edges of the complete graph on ##v## vertices with ##c## colors yields, for some color ##i##, a monochromatic complete subgraph on ##n_i## vertices, while this property fails for ##v-1##. One can show that for any finite list of positive integers ##n_1,\dots,n_c## there exists such a finite ##v##.

Known values and computational results

Not many exact Ramsey numbers are known. We have ##R(1,n)=R(n,1)=1## for every ##n## and ##R(2,n)=R(n,2)=n## for every ##n##; these are straightforward to verify. Aside from these trivial cases, only a few values are known exactly. For example, ##R(3,3)=6## (the party riddle) and ##R(4,4)=18##. The value ##R(5,5)## is not known exactly, but it is known to lie between ##43## and ##49##.

Heuristically illustrating the difficulty, a widely quoted anecdote attributed to a contemporary of Erdős states:

“Erdős asks us to imagine an alien force, vastly more powerful than us, landing on Earth and demanding the value of ##R(5,5)## or they will destroy our planet. In that case, he claims, we should marshal all our computers and all our mathematicians and attempt to find the value. But suppose, instead, that they ask for ##R(6,6)##. In that case, he believes, we should attempt to destroy the aliens.”

For three or more colors the situation is even harder; apart from trivial cases, only very few exact multicolor Ramsey numbers are known. For example, ##R(3,3,3)=17##.

Infinite Ramsey theory

There is also infinite Ramsey theory. For instance, consider a countably infinite set of vertices and color each unordered pair with one of ##c## colors. Then there exists an infinite subset of vertices all of whose pairs receive the same color. More generally, if every ##n##-tuple of vertices is colored with one of finitely many colors, then there is an infinite subset on which all ##n##-tuples have the same color. These infinite versions admit natural extensions to larger cardinalities.

From Ramsey to the Boolean Pythagorean triples problem

Ramsey-type questions ask: given a structure partitioned into finitely many pieces, how large must the whole structure be to guarantee that one piece contains a specified substructure? A striking modern example is the Boolean Pythagorean triples problem, resolved in May 2016.

Three integers form a Pythagorean triple if they are the side lengths of a right triangle. Consider coloring each natural number either red (Trump) or blue (Clinton). Is it possible to color the naturals so that no Pythagorean triple ##(a,b,c)## is monochromatic? Heule, Kullman, and Marek showed that it is not possible: any 2-coloring of the naturals yields a monochromatic Pythagorean triple. They also showed that a 2-coloring of {1,…,7824} avoiding monochromatic triples exists, while every 2-coloring of {1,…,7825} contains a monochromatic triple.

The proof was obtained by reducing the problem to about one trillion cases and then checking these cases with a supercomputer for roughly two days. If written out in full, this would be one of the largest explicit proofs known.

Computer-assisted proofs remain philosophically controversial. Such proofs settle truth values definitively, but they often provide little human-understandable insight into why a statement holds. Thus one can say the Boolean Pythagorean triples problem is solved in the sense that its truth value is settled, while the conceptual explanation for the threshold at 7825 remains elusive.

Micromass

Advanced education and experience with mathematics

More Related Articles

  • Évariste Galois and His Theory
  • Mathematical Irrationality for Dummies
  • How to Write a Math Proof and Their Structure
  • P vs. NP and what is a Turing Machine (TM)?
  • The History and Importance of the Riemann Hypothesis
  • What Proofs are in Mathematics and Why Bother?
Tags: mathematics
Share this entry
  • Share on Facebook
  • Share on X
  • Share on WhatsApp
  • Share on LinkedIn
  • Share on Reddit
  • Share by Mail
https://www.physicsforums.com/insights/wp-content/uploads/2016/06/aastock2.png 135 240 Micromass https://www.physicsforums.com/insights/wp-content/uploads/2019/02/Physics_Forums_Insights_logo.png Micromass2016-06-22 04:29:422026-01-23 17:15:35Ramsey Theory: Foundations, Generalizations, Key Results
You might also like
What is a linear equation First-Order Linear Equation: Definition & Solutions
lie algebra basics Learn Lie Algebras: A Walkthrough – The Basics
lineartransformations Learn About Matrix Representations of Linear Transformations
Integral Representations of Some Special Functions The Orin Fractional Calculus
Lie Algebra Structure Learn Lie Algebras: A Walkthrough – The Structures
SOHCAHTOA SOHCAHTOA: Seemingly Simple, Conceivably Complex
5 replies
  1. Collin237 says:
    October 7, 2016 at 3:33 pm

    “We don’t know what’s special about 7825 that would ruin everything.Reference https://www.physicsforums.com/insights/friends-strangers-7825-computers/“This isn't like the four-color theorem. This is a computation that doesn't require any second-order logic. Beyond 7825, the induction is trivial for us humans, and we can let the computer halt. With only a finite amount of exact bead-pushing, what would such a question even mean? What could an answer to "why" be, except "I just showed you"?

    Log in to Reply
  2. TheAdmin says:
    July 20, 2016 at 2:44 pm

    Facinating @micromass!

    Log in to Reply
  3. mfb says:
    June 22, 2016 at 2:51 pm

    Great article!R(5,5) is between 43 and 49. So we have an example of a group of 42 where no subgroup of 5 exists, and we have a proof that groups of 50 people have to have such a subgroup?Constructing it with the given recursive rule leads to a higher upper bound:R(4,3) <= R(3,3) + R(4,2) = 6+4 = 10R(5,3) <= R(4,3) + R(3,3) = 16R(4,4) <= R(4,3) + R(3,4) = 20R(5,4) <= R(4,4) + R(5,3) = 36R(5,5) <= R(5,4) + R(4,5) = 72

    Log in to Reply
  4. fresh_42 says:
    June 22, 2016 at 2:22 pm

    To start with: It's been a great pleasure to read your Insight. I wonder if Ramsey's theory will share a similar fortune as many other problems that could be formulated so easily. I'm always surprised again how some numbers or their properties fascinates us. When I think of Pythagoras I usually think of him as an ancient esoteric, a charlatan. On the other hand when it comes to Ramanujan I think of him as one of the greatest, possibly the greatest virtuoso who ever played on the gamut of numbers. Does this discrepancy exist because Ramanujan contributed so much more to number theory than taxicab numbers or am I simply unfair to Pythagoras.It's also worth reading Simon Singh's book on Fermat's Last Theorem. It brought literally thousands of hobby mathematicians to try a solution because it could be stated so easily. Today it's believed that Fermat never had a real proof of it, or at best only for the case ##n=3.## One must know that at the time, some scholars made fun of it to write their colleagues letters, in which they stated to have proven something without actually given a proof, just to see whether the other one can find out. Nevertheless it was a real booster for number theory. The proof itself, however, is only understood by a handful of mathematicians (meanwhile maybe some more) and requires deep insights into the theory of elliptic curves and (as far as I know) the theory of modular forms. It is agreed to be proven, although only a few could verify this. What makes such a situation different from a computer based handling of cases? I remember I once had a computer proven some cases as well to verify a theorem. Long after it has been accepted, I found some loopholes in the program. It didn't change the result, for I could close them but nobody (except me) ever really noticed. Another prominent example is the Four-Color-Theorem.As in chess, I think we will have to develop a common ground on which we will judge computer based proofs. Personally I think it will require to say goodbye to some selfish human attitudes.Back to ##7825 = 5^2 cdot P_{5cdot P_{5+1}}##. What fascinates us on numbers? One can probably take any number and construct obscure relations around it. I like the hypothesis that it comes from our evolutionary based need to recognize patterns. It is kind of fascinating by itself that this pattern-recognition led to so many theorems and knowledge in number theory. And that it has such an enormous history from Pythagoras, over Ramanujan to Wiles.

    Log in to Reply
  5. Drakkith says:
    June 22, 2016 at 9:35 am

    Nice article Micro!

    Log in to Reply

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply Cancel reply

You must be logged in to post a comment.

Trending Articles

  • Quantum Mechanics and the Famous Double-slit Experiment
  • Explosion-Generated Collapsing Vacuum Bubbles Reach 20,000 Kelvin
  • Can We See an Atom?
  • Why Entangled Photon-Polarization Qubits Violate Bell’s Inequality per Quantum Information Theory
  • Why the Quantum | A Response to Wheeler’s 1986 Paper
  • Inventions and Inventors Quiz and Trivia
  • Have Scientists Seen an Electron? How We Detect Them
  • How to Apply Newton’s Second Law to Variable Mass Systems
  • John Baez Interview — Mathematical Physicist & Networks
  • The Fundamental Difference in Interpretations of Quantum Mechanics

Physics Forums

  • Classical Physics
  • Atomic and Condensed Matter
  • Quantum Physics
  • Special and General Relativity
  • Beyond the Standard Model
  • High Energy, Nuclear, Particle Physics
  • Astronomy and Astrophysics
  • Cosmology
  • Other Physics Topics

Receive Insights Articles to Your Inbox

Enter your email address:

Blog Information

  • Become a Member!
  • Write for Us!
  • Table of Contents
  • Blog Author List

Popular Topics

astronomy (17) black holes (17) classical physics (35) cosmology (16) education (23) electromagnetism (19) general relativity (19) gravity (24) interview (21) mathematics (39) mathematics self-study (21) Physicist (26) programming (18) Quantum Field Theory (31) quantum mechanics (36) quantum physics (24) relativity (40) Special Relativity (16) technology (19) universe (21)
2026 © Physics Forums, ALL RIGHTS RESERVED - Contact Us - Privacy Policy - About PF Insights
  • Link to X
  • Link to Facebook
  • Link to LinkedIn
  • Link to Youtube
Link to: Learn About Spacetime Diagrams of Light Clocks Link to: Learn About Spacetime Diagrams of Light Clocks Learn About Spacetime Diagrams of Light ClocksLink to: Self-Study Roadmap: Abstract Algebra, Groups to Galois Link to: Self-Study Roadmap: Abstract Algebra, Groups to Galois selfstudySelf-Study Roadmap: Abstract Algebra, Groups to Galois
Scroll to top Scroll to top Scroll to top