Machine-translated by Google. Questions are authored in English.
Top

Discussion

\(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?

I. If \(e\) is the lightest edge of some cycle in \(G\), then every MST of \(G\) includes \(e\)
II. If \(e\) is the heaviest edge of some cycle in \(G\), then every MST of \(G\) excludes \(e\)

  • A.I only
  • B.II only
  • C.both I and II
  • D.neither I nor II

Answer: B

Only statement II is true, so the answer is II only.

II is true (the cycle property): if \(e\) is the heaviest edge on some cycle, then in any spanning tree containing \(e\), removing \(e\) and adding another edge of that cycle reconnects the tree with smaller total weight. So no MST contains \(e\).

I is false. Being the lightest edge of some cycle does not force an edge into the MST. Take vertices A, B, C, D with edges AC = 1, BC = 2, AB = 3, AD = 4 and BD = 5. AB is the lightest edge of the cycle A-B-D (3, 4, 5), yet it is the heaviest edge of the triangle A-B-C, so by the cycle property no MST contains it; the MST is AC, BC, AD. So only II holds.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.