Question

Let GG be any connected, weighted, undirected graph.

I. GG has a unique minimum spanning tree, if no two edges of GG have the same weight.
II. GG has a unique minimum spanning tree, if, for every cut of GG, there is a unique minimum-weight edge crossing the cut.

Which of the above two statements is/are TRUE?

Choose one option
Official answer and solution
Official answer
C
From
Official GATE 2019 answer key

Solution

Recall the fundamental cut property and uniqueness theorems for Minimum Spanning Trees (MST).

Evaluating Statement I:
If all edge weights in a connected, undirected graph GG are distinct, then GG has a unique minimum spanning tree. This is a classic theorem: by Kruskal's algorithm, at each step there is a uniquely determined minimum-weight edge that connects two components, leaving no choices that could produce alternate spanning trees of identical weight. Statement I is TRUE.

Evaluating Statement II:
By the Cut Property, for any cut (S,V∖S)(S, V \setminus S) in GG, the minimum-weight edge crossing the cut must be part of every MST of GG.
If for every cut there is a unique minimum-weight crossing edge, assume for contradiction that there exist two distinct MSTs, T1T_1 and T2T_2 with weight W(T1)=W(T2)W(T_1) = W(T_2).
Let e∈T1∖T2e \in T_1 \setminus T_2. Removing ee splits T1T_1 into two connected components, defining a cut (S,V∖S)(S, V \setminus S).
Because T2T_2 is a spanning tree, there must be at least one edge e′∈T2e' \in T_2 crossing this cut.
By hypothesis, the cut has a unique minimum-weight crossing edge. If ee is this edge, then w(e)<w(e′)w(e) < w(e'), so (T2∖{e′})∪{e}(T_2 \setminus \{e'\}) \cup \{e\} is a spanning tree with weight strictly less than W(T2)W(T_2), contradicting the minimality of T2T_2.
Hence, no two distinct MSTs can exist, and GG has a unique MST. Statement II is TRUE.

Both statements I and II are TRUE.

Final answer

C

The answer is the one in the official GATE answer key. The solution is this site's own explanation.

Source

Paper
GATE 2019 Computer Science and Information Technology (CS)
Question
48 of 65, printed as CS Q.38
Section
Computer Science and Information Technology

Report an error in this question

GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.