Question
Let be a connected undirected weighted graph. Consider the following two statements.
: There exists a minimum weight edge in which is present in every minimum spanning tree of .
: If every edge in has distinct weight, then has a unique minimum spanning tree.
Which one of the following options is correct?
Official answer and solution
- Official answer
- C
- From
- Official GATE 2021 answer key
Solution
Evaluate standard minimum spanning tree properties regarding non-unique edge weights and distinct edge weights.
Consider statement : 'There exists a minimum weight edge in which is present in every minimum spanning tree of '.
Consider a counterexample: a cycle graph (triangle) with all three edge weights equal to 1. The minimum weight in the graph is 1. Any MST consists of any 2 edges. For each individual edge, there exists an MST that excludes it. Thus, no single minimum-weight edge is present in every MST. Therefore, is false.
Consider statement : 'If every edge in has distinct weight, then has a unique minimum spanning tree'.
By the cut property of minimum spanning trees, for every cut, the unique minimum-weight crossing edge must belong to the MST. Because edge weights are distinct, every cut has a unique minimum crossing edge. By Kruskal's or Prim's algorithm, deterministic choices produce a single unique tree. Therefore, is true.
C
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2021 Computer Science and Information Technology - Session 2 (CS2)
- Question
- 11 of 65, printed as CS Q.1
- 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.