edited by
719 views
0 votes
0 votes

Let us say Simple graph has V vertices and E edges.

Now i am trying to find relation between E and V.

If it is a complete graph ,then E=V(V-1)/2,

=>   E=$c.V^2$

=>   E=$O(V^2)$   

=> taking log of both sides.

=>   $\log E$=$O(\log V)$------------------ (1)

Now in case we are fining spanning tree from graph ,we now the number of edges will be minimum V-1 in graph.So i can say

V-1<=E

V=O(E)

=> taking log of both sides.

=>$\log V$=$O(\log E)$------------------ (2)

So ,both the equations are coming valid. So is can if i say,combing both the equation i can say.

$\log E$ =theta$(\log V)$.------------------(3)

Can someone confirm if the 1 ,2  and the result of them i.e the 3rd equation is valid ?

edited by

1 Answer

Best answer
3 votes
3 votes

The loophole in this analysis is a graph may or may not have spanning trees..

In this regard (if a graph is devoid of spanning trees) , the number of edges may be less than (v-1) [ approximately close to null graph].In this case equation (2) will become false..

Hence equation (3) will not hold as well..

But E <= V(V-1)/2 is a sure thing for a simple graph..

Hence equation (1) is correct.

selected by

Related questions

1 votes
1 votes
1 answer
1
Çșȇ ʛấẗẻ asked Mar 10, 2023
415 views
Determine the number of the spanning treess in the following graph ???
1 votes
1 votes
1 answer
2
Ram Swaroop asked Jan 30, 2019
1,585 views
Consider a simple undirected weighted graph G(V, E) with 10 vertices and 45 edge, assume (u, v) are two vertices weight of a edge is =4lu- vl then the minimum cost of the...
7 votes
7 votes
2 answers
3
Lakshman Bhaiya asked Jan 15, 2018
6,067 views
Consider a complete bipartite graph with ‘m’ and ‘n’ vertices. If m = 4, n = 4, then the number of spanning trees of graph are ________.
3 votes
3 votes
0 answers
4
smsubham asked Jan 6, 2018
541 views
Am getting 7. The answer given is 10.A - B , A - D , D - E , E - C are the edges i have included.