397 views
0 votes
0 votes

Let G be a connected simple graph with non distinct edge weights. Now, e be the lightest edge in G. So, does this edge e is present in every MST of G?

My take - when all edge weights are same then lightest edge e won't be there.

2 Answers

Best answer
2 votes
2 votes

It may or may not be there depending on the graph.   

In graph A $\rightarrow$ e is forming a cycle so it is not included in at-least one MST.  
but in graph B $\rightarrow$ e is a bridge so it is there in every MST of G

edited by
1 votes
1 votes
  • it is false . if all edge weight are same then it may or may not include  lightest edge.
  • it is true for if all edge weight are distinct.

Related questions

0 votes
0 votes
3 answers
1
iarnav asked Apr 29, 2018
1,595 views
Question 1) The shortest-path tree computed by Dijkstra's algorithm is necessarily an MST?Question2 ) Prim's algorithm works with negative weighted edges?