Define the Ramsey number to be the minimum number of vertices required of the complete graph so that for any two-coloring (red, blue) of the edges of one of two things will happen:

There is a red -clique; that is, a complete subgraph of vertices for which all edges are red.

There is a blue -clique.

It is known that these numbers are always finite, but it is very difficult to compute them exactly.

Problem: Prove that the Ramsey number whenever satisfy

Solution: Color the edges of uniformly at random (that is, each edge has probability 1/2 of being colored red). For any complete subgraph , define by event the event that is monochromatic (its edges are either all red or all blue).

Now the probability that occurs (where is fixed ahead of time) is easy to compute:

Since there are possible subgraphs with vertices, The probability that for some the event occurs is at most

Whenever this quantity is strictly less than 1 (by assumption) then there is a positive probability that no event will occur. That is, there is a positive probability that a random coloring will have no monochromatic subgraph . So there must exist such a coloring, and the Ramsey number must be larger than .

Discussion: This proof (originally due to Erdős) is a classic example of the so-called probabilistic method. In particular, we create a probability space from the object we wish to study, and then we make claims about the probability of joint events.

While it seems quite simple in nature, the probabilistic method has been successfully applied to a wide variety of problems in mathematics. For instance, there is an elegant proof in complexity theory that which uses this same method. The probabilistic method has been applied to loads of problems in combinatorics, number theory, and graph theory, and it forms the foundation of the area of random graph theory (which is the setting in which one studies social networks). Perhaps unsurprisingly, there is also a proof of the fundamental theorem of algebra that uses the probabilistic method.

Great presentation! Strictly speaking, isn’t the chance that for some $G$ the event $A_G$ occurs actually less than the number given? It seems that for two graphs $G_1$ and $G_2$ sharing some edges, $A_{G_1}$ and $A_{G_2}$ are not independent, and this bound could be (and I’d guess has been?) improved by accounting for this.

Loading...

Yes there should have been an “at most” before the number I gave, which I’ve just updated. I think part of the elegance of the probabilistic method is in its simple bounds. So yes, there are better bounds achievable by inspecting the dependence of two randomly chosen subgraphs. For this gallery at least, I think it would muddle the point. However, I’d like to keep an eye out for an example where it’s necessary to deal with dependence.

Loading...

Hello,
First, I have to thank you for your great blog, it is fantastic.
Also, I have an inquiry about random graphs programming.
Can you please help me with the following question:
Phase 1: I need to generate a random graph, then calculate its chromatic number.
Phase 2: I need to add a vertex to the mentioned graph and then calculate its chromatic number again to see if the chromatic number increases by adding the new vertex or not.
I will be so delighted if you can help me. I am studying statistics and not perfect in programming.
Sincerely,

Great presentation! Strictly speaking, isn’t the chance that for some $G$ the event $A_G$ occurs actually less than the number given? It seems that for two graphs $G_1$ and $G_2$ sharing some edges, $A_{G_1}$ and $A_{G_2}$ are not independent, and this bound could be (and I’d guess has been?) improved by accounting for this.

Yes there should have been an “at most” before the number I gave, which I’ve just updated. I think part of the elegance of the probabilistic method is in its simple bounds. So yes, there are better bounds achievable by inspecting the dependence of two randomly chosen subgraphs. For this gallery at least, I think it would muddle the point. However, I’d like to keep an eye out for an example where it’s necessary to deal with dependence.

Hello,

First, I have to thank you for your great blog, it is fantastic.

Also, I have an inquiry about random graphs programming.

Can you please help me with the following question:

Phase 1: I need to generate a random graph, then calculate its chromatic number.

Phase 2: I need to add a vertex to the mentioned graph and then calculate its chromatic number again to see if the chromatic number increases by adding the new vertex or not.

I will be so delighted if you can help me. I am studying statistics and not perfect in programming.

Sincerely,