GATE / CS ARCHIVE

GATE CSE 2005 / QUESTION 82a

Unique light edge of a cut

Algorithms · Graph Algorithms · Full GATE CSE 2005 paper

GATE 2005, Q82a 2 marks · MCQ
Report issue

Graph Algorithms

Question 82a, GATE 2005: Undirected connected graph has distinct positive edge weights. Partition X, Y separates s∈X, t∈Y; e is the minimum-weight edge crossing that cut. Printed 82(a): e must belong to which object: minimum spanning tree, weighted shortest s–t path, every s–t path, or weighted longest s–t path? GFG has a blank A and shifted labels; preserve the concept rather than a universal option letter.
Question 82a, GATE 2005: Undirected connected graph has distinct positive edge weights. Partition X, Y separates s∈X, t∈Y; e is the minimum-weight edge crossing that cut. Printed 82(a): e must belong to which object: minimum spanning tree, weighted shortest s–t path, every s–t path, or weighted longest s–t path? GFG has a blank A and shifted labels; preserve the concept rather than a universal option letter.
Tap to enlarge
Your answer
Answer & solution

Answer: B: MST (no official key was published)

Let T be a minimum spanning tree. If its edges omit the unique lightest crossing edge e, insert e into T, making a cycle. That cycle contains another edge f crossing the same cut. Distinct weights give w(e)<w(f); replacing f by e makes a lighter spanning tree, a contradiction. Hence e belongs to the MST. Connectivity is implicitly required for a spanning tree (otherwise use a minimum spanning forest in relevant components). The answer concept is unambiguous, but the source option letters are not interchangeable.

Use an exchange argument. If an MST omitted the lightest crossing edge, adding it creates a cycle. Because its endpoints are on opposite sides, the rest of that cycle must cross the same cut elsewhere. Replace that heavier crossing edge by e; distinct weights make the improvement strict, contradicting minimality. This proves MST membership but not membership in every s–t path: a path can cross on a more expensive edge. Minimum total distance is a different objective.

Original paper, page 11