edited by
26,293 views
117 votes
117 votes

$G=(V, E)$ is an undirected simple graph in which each edge has a distinct weight, and $e$ is a particular edge of $G$. Which of the following statements about the minimum spanning trees $(MSTs)$ of $G$ is/are TRUE?

  1. If $e$ is the lightest edge of some cycle in $G$, then every MST of $G$ includes $e$.
  2. If $e$ is the heaviest edge of some cycle in $G$, then every MST of $G$ excludes $e$.
  1. I only.
  2. II only.
  3. Both I and II.
  4. Neither I nor II.
edited by

6 Answers

0 votes
0 votes
I think answer is D.

Statement I is wrong.

Statement II is also wrong, consider any graph where between any two nodes there are two paths, first path consists of edges with weights 2 and 8, second path has weight 5 and 7. So, MST would include that heaviest weight in that cycle.
0 votes
0 votes

here it is given that all edges have distinct value. so by any algo prims or kruskal we are going to add e if it is lightest edge.

So first statement is always true

and 2nd statement is also true becouse we will always exclue one with the heaviest wieght

Answer:

Related questions

85 votes
85 votes
18 answers
1
Sandeep Singh asked Feb 12, 2016
35,551 views
Let $G$ be a complete undirected graph on $4$ vertices, having $6$ edges with weights being $1, 2, 3, 4, 5,$ and $6$. The maximum possible weight that a minimum weight s...
61 votes
61 votes
5 answers
3
Sandeep Singh asked Feb 12, 2016
28,624 views
Consider the following directed graph:The number of different topological orderings of the vertices of the graph is _____________.
44 votes
44 votes
5 answers
4
go_editor asked Feb 15, 2015
10,917 views
Let $G$ be a connected undirected graph of $100$ vertices and $300$ edges. The weight of a minimum spanning tree of $G$ is $500$. When the weight of each edge of $G$ is i...