• edited by
2,698 views
0 0 votes

Why 2nd statement false

Q. 26 Consider the following statements
I. Let $T$ be a minimum spanning tree of a graph G. Then for any two vertices $u$ and $v$ the path from $u$ to $v$ in $T$ is the shortest path from $u$ to $v$ in the graph $G$.
II. Suppose that average edge weight for a graph $G$ is $A_{\text {avg }}$. Then the minimum spanning tree of $G$ will have weight at most $(n-1) A_{\text {avg }}$. Where $n$ is number of vertices in graph $G$.
Which of the above statements are true?

  1. Only I
  2. Only II
  3. both I and II
  4. None of these

2 Answers

0 0 votes

Counter example is

• edited by
0 0 votes

Let,

n1 = MST edges  = V-1 = n-1 and

n2 = Rest of the edges

(MSTedgesSum + RestedgesSum ) = (n1 + n2) Aavg

MSTedgesSum = (n1 + n2)Aavg  -  RestedgesSum

MSTedgesSum = (n1)Aavg  + n2(Aavg - AavgRestEdges)

Thus, Mst edges Sum can atmost be  equal to (n1)Aavg  if ,

                       n2(Aavg - AavgRestEdges ) =0

               Aavg - AavgRestEdges can take zero, positive as well as negative value  and

              n2 =0 is possible only when we have graph G itself being MST and there are no extra edges

Thus, MSTedgesSum  >=  (n1)Aavg. , when  Aavg - AavgRestEdges  takes positive value.

          MSTedgesSum  <=  (n1)Aavg    , when  Aavg - AavgRestEdges  takes negative value.

          Equality will hold when graph G = MST.

But the question demands MSTedgesSum  <=  (n1)Aavg.  is always true. So, the stmt. false.

• edited by
Position:
Show:

Related questions

0 0 votes
1 answers 1 answer
1.2k
1.2k views
Churchill Khangar asked Nov 22, 2018
1,191 views
You are given a large network (graph) consisting of data from Facebook: a million vertices corresponding to users, and undirected edges corresponding to friendships betwe...
1 1 vote
2 answers 2 answers
3.0k
3.0k views
pankaj_vir asked Mar 19, 2018
2,971 views
Which of the following statement is correct?Kruskal algorithm produces the intermediate result is always forest while computing MST of given graph.Kruskal algorithm produ...
3 3 votes
1 1 answer
1.5k
1.5k views
Tuhin Dutta asked Jan 28, 2018
1,502 views
......................................................Consider the following undirected, weighted graph:Number of distinct MSTs for the above graph are $\qquad$
2 2 votes
0 0 answers
1.2k
1.2k views