Skip to content
Official PYQ · 2022

GATE CS 2022 Q39 — Minimum Spanning Trees

Explain with AI

Consider a simple undirected weighted graph G,\textit{G}, all of whose edge weights are distinct. Which of the following statements about the minimum spanning trees of G\textit{G} is/are TRUE?\text{TRUE}?

Select all correct options
View worked solution

Answer: A;B;C

Since the graph GG is simple, undirected, and has distinct edge weights, it has a unique minimum spanning tree (MST).

Let us analyze each statement:

  • Statement A: True
    Let the edges sorted in increasing order of weight be e1,e2,e3,…e_1, e_2, e_3, \dots. Using Kruskal's algorithm, we first select e1e_1. The second edge e2e_2 cannot form a cycle with e1e_1 because a cycle in a simple graph requires at least 3 edges. Thus, the edge with the second smallest weight (e2e_2) is always included in the MST.
  • Statement B: True
    Let the sorted edges be e1,e2,e3,e4,…e_1, e_2, e_3, e_4, \dots. We know e1e_1 and e2e_2 are always selected.
    The third edge e3e_3 can only be rejected if it forms a cycle with the already selected edges, which means e1,e2,e3e_1, e_2, e_3 must form a triangle.
    If e3e_3 is rejected, the set of selected edges remains {e1,e2}\{e_1, e_2\}. Now, the fourth edge e4e_4 cannot form a cycle with {e1,e2}\{e_1, e_2\} because a cycle requires at least 3 edges. Thus, if e3e_3 is rejected, e4e_4 must be accepted. Therefore, at least one of e3e_3 or e4e_4 (or both) must be part of the MST.
  • Statement C: True
    This is the standard Cut Property of MSTs. For any cut (S,V∖S)(S, V \setminus S) of a graph, the minimum-weight edge crossing the cut (the light edge) must belong to the MST. Since all edge weights are distinct, this light edge is unique and is always part of the unique MST.
  • Statement D: False
    A graph with distinct edge weights always has a unique minimum spanning tree.

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

Published
Report a correction
Keep exploringMore Minimum Spanning Trees questions