Lably
Skip to content

Erdős–Rényi model

Two closely related models for generating random graphs

  • 7 min read
  • 8 chapters

Related on Lably

Through Independence (probability theory), Monotonic function and Degree (graph theory)

Definition

There are two closely related variants of the Erdős–Rényi random graph model.

  • In the G(n,M) model, a graph is chosen uniformly at random from the collection of all graphs which have n nodes and M edges. The nodes are considered to be labeled, meaning that graphs obtained from each other by permuting the vertices are considered to be distinct. For example, in the G(3,2) model, there are three two-edge graphs on three labeled vertices (one for each choice of the middle vertex in a two-edge path), and each of these three graphs is included with probability 13.
  • In the G(n,p) model, a graph is constructed by connecting labeled nodes randomly. Each edge is included in the graph with probability p, independently from every other edge. Equivalently, the probability for generating each graph that has n nodes and M edges is pM(1−p)(n2)−M. The parameter p in this model can be thought of as a weighting function; as p increases from 0 to 1, the model becomes more and more likely to include graphs with more edges and less and less likely to include graphs with fewer edges. In particular, the case p=12 corresponds to the case where all 2(n2) graphs on n vertices are chosen with equal probability.

The behavior of random graphs are often studied in the case where n, the number of vertices, tends to infinity. Although p and M can be fixed in this case, they can also be functions depending on n. For example, the statement that almost every graph in G(n,2ln⁡(n)/n) is connected means that, as n tends to infinity, the probability that a graph on n vertices with edge probability 2ln⁡(n)/n is connected tends to 1.

Sign in to keep reading

7 more chapters are free with a Lably account.

More in Topics in mathematics