Let šŗ be any undirected graph with positive edge weights, and š be a minimum spanning tree of šŗ. For any two vertices, š¢ and š£, let š1 (š¢, š£) and š2 (š¢, š£) be the shortest distances between š¢ and š£ in šŗ and š, respectively. Which ONE of the options is CORRECT for all possible šŗ, š, š¢ and š£?
dā(u, v) = dā(u, v)
d1 (u, v) ≤ d2 (u, v)
d1 (u, v) ≥ d2 (u, v)
š1 (š¢, š£) ≠ š2 (š¢, š£)
• In G, the shortest path between u and v might use edges that ae not in T.
• In MST T, the only available path is unique path, so the MST path might be longer than the shortest path in G, but it can never be shorter.
Ex:
MST for the above graph is
The shortest path in G d1 (u, v) = 5 but in MST d2 (u, v) = 6.