Skip to content
Official PYQ · 2007

GATE CS 2007 Q49 — Minimum Spanning Trees

Explain with AI

Let ww be the minimum weight among all edge weights in an undirected connected graph. Let ee be a specific edge of weight ww. Which of the following is FALSE?

Choose one option
View worked solution

Answer: D

Let us analyze each option to determine which statement is false:

  • Option A (TRUE): In Kruskal's algorithm, we sort the edges in non-decreasing order of their weights. Since ee has the minimum weight ww, it can be selected as the very first edge. Since a single edge cannot form a cycle, ee will always be part of some Minimum Spanning Tree (MST).
  • Option B (TRUE): Let TT be an MST that does not contain ee. Adding ee to TT creates a unique cycle CC. For TT to be an MST, any edge e′eqee' eq e in CC must satisfy weight(e′)≤weight(e)weight(e') \le weight(e). Since ee has the absolute minimum weight ww in the entire graph, we also have weight(e′)≥weight(e)=wweight(e') \ge weight(e) = w. Thus, weight(e′)=weight(e)=wweight(e') = weight(e) = w for all edges in the cycle.
  • Option C (TRUE): Suppose there exists an MST TT containing no edge of weight ww. If we add an edge ee of weight ww to TT, it forms a cycle. Since TT contains no edge of weight ww, all other edges in this cycle must have a weight strictly greater than ww. Removing any of these heavier edges from the cycle yields a new spanning tree with a strictly smaller weight than TT, which contradicts the assumption that TT is an MST.
  • Option D (FALSE): Consider a triangle graph with vertices A,B,CA, B, C and three edges of equal weight ww:
    • e1=(A,B)e_1 = (A, B) with weight ww
    • e2=(B,C)e_2 = (B, C) with weight ww
    • e3=(C,A)e_3 = (C, A) with weight ww
    Let e=e1e = e_1. Any two edges form an MST of total weight 2w2w. The tree T={e2,e3}T = \{e_2, e_3\} is a valid MST, but it does not contain ee. Therefore, ee is not necessarily present in every MST.

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

Published
Report a correction
Keep exploringMore Minimum Spanning Trees questions