Let s and t be two vertices in a undirected graph G + (V, E) having distinct…

2005

Let s and t be two vertices in a undirected graph G + (V, E) having distinct positive edge weights. Let [X, Y] be a partition of V such that s ∈ X and t ∈ Y. Consider the edge e having the minimum weight amongst all those edges that have one vertex in X and one vertex in Y The edge e must definitely belong to:

  1. A.

    the minimum weighted spanning tree of G

  2. B.

    the weighted shortest path from s to t

  3. C.

    each path from s to t

  4. D.

    the weighted longest path from s to t

Attempted by 77 students.

Show answer & explanation

Correct answer: A

Key idea: the cut property of minimum spanning trees. The minimum-weight edge crossing any partition of the vertices must belong to every minimum spanning tree when all edge weights are distinct.

Proof sketch:

  • Let the partition be (X,Y) with s in X and t in Y, and let e be the minimum-weight edge with one endpoint in X and the other in Y.

  • Suppose, for contradiction, there exists a minimum spanning tree T that does not contain e.

  • Adding e to T creates a unique cycle. That cycle must contain at least one other edge f that also crosses the partition (because e connects X to Y).

  • Since e is the minimum-weight crossing edge, weight(e) < weight(f) (strict inequality follows from distinct edge weights).

  • Removing f from the cycle yields a new spanning tree with strictly smaller total weight than T, contradicting the minimality of T.

Therefore, every minimum spanning tree must contain e.

Note: This conclusion does not imply the edge must lie on the weighted shortest path between s and t, on every s→t path, or on a weighted longest path; those are different objectives and can fail as shown by simple counterexamples.

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Gate Guidance By Sanchit Sir