121k views
5 votes
If there are n vertices and each pair of them is connected by an edge with probability p, what is the probability that the resulting graph is connected?

User Ponzao
by
8.4k points

1 Answer

5 votes

Answer:

The probability that a graph is connected depends on the value of n and p. For example, when n = 2, the graph is always connected, and when n = 3 and p = 1, the graph is also connected. In general, the probability of a graph being connected can be calculated using the Erdős–Rényi theorem, which states that the probability of a graph being connected is 1 - (1 - p)^(n(n-1)/2).

Explanation:

User Gurisko
by
8.7k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.

9.4m questions

12.2m answers

Categories