Let be connected, undirected, edge-weighted graph. The weights of the edges in are positive and distinct. Consider the following statements:
- Minimum Spanning Tree of is always unique.
- Shortest path between any two vertices of is always unique.
Which of the above statements is/are necessarily true?
View worked solution
Answer: A
Let's analyze each statement individually:
Statement I: Minimum Spanning Tree of is always unique.
This statement is TRUE.
A fundamental theorem in graph theory states that if all edge weights in a connected, undirected graph are distinct, then the graph has a unique Minimum Spanning Tree (MST).
Proof sketch: Suppose there are two different MSTs, and . Let be the minimum-weight edge that belongs to one of the trees but not both (say and ). Adding to creates a unique cycle. Since all edge weights are distinct, there is a unique maximum-weight edge on this cycle, which must be strictly heavier than . Replacing that heavier edge with would yield a spanning tree with a strictly smaller weight than , which contradicts the assumption that is an MST. Thus, the MST must be unique.
Statement II: Shortest path between any two vertices of is always unique.
This statement is FALSE.
Even if all individual edge weights are positive and distinct, the sum of weights along different paths can still be equal. We can easily construct a simple counterexample:
- Consider a graph with 3 vertices: , , and .
- Let the edges and their weights be:
- All edge weights are positive and distinct.
- Now, consider the shortest path between and :
- Path 1: Direct edge with total weight .
- Path 2: Path with total weight .
Since both paths have the same minimum cost of , the shortest path between and is not unique.
Therefore, only Statement I is necessarily true.
Free practice · Your answers on this page are not saved.
