Skip to content
Official PYQ · 2016

GATE CS 2016 Set 1 Q40 — Minimum Spanning Trees

Explain with AI

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

  1. If ee is the lightest edge of some cycle in GG, then every MST of GG includes ee.
  2. If ee is the heaviest edge of some cycle in GG, then every MST of GG excludes ee.
Choose one option
View worked solution

Answer: B

We analyze the two statements for an undirected simple graph GG with distinct edge weights:

Statement I is FALSE:

Consider a graph with vertices A,B,C,DA, B, C, D and the following edges and weights:

  • (A,B)=1(A, B) = 1
  • (B,C)=2(B, C) = 2
  • (A,C)=3(A, C) = 3
  • (C,D)=4(C, D) = 4
  • (A,D)=5(A, D) = 5

Consider the cycle A−C−D−AA-C-D-A with edge weights 3,4,53, 4, 5. The lightest edge of this cycle is e=(A,C)e = (A, C) with weight 33.

Using Kruskal's algorithm, the unique MST consists of edges (A,B)(A, B), (B,C)(B, C), and (C,D)(C, D) with total weight 1+2+4=71 + 2 + 4 = 7. This MST does not include e=(A,C)e = (A, C). Thus, Statement I does not hold.

Statement II is TRUE:

This is the standard Cycle Property of Minimum Spanning Trees. It states that for any cycle in a graph with distinct edge weights, the heaviest edge of that cycle can never belong to any MST. If we were to include this heaviest edge ee in an MST, removing it and adding any other lighter edge from the cycle would yield a spanning tree of strictly smaller weight, contradicting the minimality of the MST.

Therefore, only Statement II is TRUE.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Minimum Spanning Trees questions