Random graphs: The Erdös-Rényi model
When we talk about random graphs, we refer to graphs generated as an outcome of the following experiment. Let be the number of vertices. For each , we toss an unbiased coin and if the coin turns up head, there is an edge connecting . This is how we define the probability space based on a random experiment.
Another way to define this probability space is based on a direct definition. Let be the set of all possible graphs on vertices (note that some of them are isomorphic). As we discussed in the counting chapter, we have . We can define a probability space where the sample space is , and each atomic event has probability .
Consider the previous probability space . Let denote the event that and are adjacent (for ). Notice that there are such events. Prove that . (Do not use the coin-tossing definition. Only use the definition based on .)
Almost all graphs are not bipartite.
For each , we consider the event containing all graphs that are bipartite and the smaller side of the partition is . Therefore, is the event that the graph is bipartite. Note that a particular bipartite graph might belong to several different events as it can have many different possible bipartitions. However, here we will only see an upper bound of the probability (not its exact value).
We count the size of . Since the edges are only between and , we know that there are at most edges (where ). Each graph must be a spanning subgraph of , and there are only such subgraphs. By using AM-GM, we have that (do you see why?). Therefore,
Now, using the union bound, we have that
The final remark is that this probability converges to . (do you see why this shows that most graphs are not bipartite?)