Expected number of Edges required to make a graph connected if the vertices are joined randomly?
问题 We select two vertices randomly and connect them. So what is the expected number of edges in the graph when it becomes connected ? I tried solving it using induction but couldn't reach to an answer. What will be the right approach to this problem ? 回答1: For given number of vertices n and chosen count of edges, you get the probability of the graphs connectedness as the proportion of connected graphs to all graphs. Number of all graphs is the combination number of m over n * ( n - 1).