GATE / CS ARCHIVE

GATE CSE 2021 SET 2 / QUESTION 1

GATE CSE 2021 Set 2 Q1

Algorithms · Graph Algorithms · Full GATE CSE 2021 Set 2 paper

GATE 2021 Set 2, Q1 1 mark · MCQ
Report issue

Graph Algorithms

Question 1, GATE 2021: For connected undirected weighted G: S1 some minimum-weight edge belongs to every MST; S2 distinct edge weights imply a unique MST. A both true; B only S1; C only S2; D neither.
Tap to enlarge
Your answer
Answer & solution

Official answer: C

An equal-weight triangle has three MSTs, each omitting a different minimum-weight edge, so no edge belongs to every MST. This refutes S1. Distinct edge weights ensure a unique MST by the cut/exchange property, so S2 is true. Thus C.

For S1 the quantifier “every MST” is crucial: a minimum edge is safe for some MST, but ties can let another edge replace it. For S2 suppose two MSTs differ and choose the lightest edge in their symmetric difference. Adding it to the other tree creates a cycle containing a heavier edge from that difference; exchanging them lowers the weight, a contradiction.

Original paper, page 55 · Answer key