Question
Let be any connected, weighted, undirected graph.
I. has a unique minimum spanning tree, if no two edges of have the same weight.
II. has a unique minimum spanning tree, if, for every cut of , there is a unique minimum-weight edge crossing the cut.
Which of the above two statements is/are TRUE?
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 are distinct, then 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 in , the minimum-weight edge crossing the cut must be part of every MST of .
If for every cut there is a unique minimum-weight crossing edge, assume for contradiction that there exist two distinct MSTs, and with weight .
Let . Removing splits into two connected components, defining a cut .
Because is a spanning tree, there must be at least one edge crossing this cut.
By hypothesis, the cut has a unique minimum-weight crossing edge. If is this edge, then , so is a spanning tree with weight strictly less than , contradicting the minimality of .
Hence, no two distinct MSTs can exist, and has a unique MST. Statement II is TRUE.
Both statements I and II are TRUE.
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.