Let G = (V, E) be any connected undirected edge-weighted graph. The weights of the edges in E are positive and distinct. Consider the following statements: I) Minimum Spanning Tree of G is always unique. II) Shortest path between any two vertices of G is always unique. Which of the above statements is/are necessarily true?

Let G = (V, E) be any connected undirected edge-weighted graph. The weights of the edges in E are positive and distinct. Consider the following statements: I) Minimum Spanning Tree of G is always unique. II) Shortest path between any two vertices of G is always unique. Which of the above statements is/are necessarily true? Correct Answer I only

Concept:

A minimum spanning tree (MST) or minimum weight spanning tree is a subset of the edges(V – 1 ) of a connected, edge-weighted undirected graph G(V, E) that connects all the vertices together, without any cycles and with the minimum possible total edge weight.

Example:

Graph G(V, E)

[ alt="Assignment 3 Neetu GATE 2017 Set 1 21 - 30 10 Qs 1&2Marks Solution Modified images Raju D 2" src="//storage.googleapis.com/tb-img/production/19/12/Assignment%203_Neetu_GATE%202017%20Set%201_21%20-%2030_10%20Qs_1%262Marks_Solution_Modified_images_Raju_D%202.PNG" style="width: 148px; height: 114px;">

G(V, V – 1) → minimum spanning tree

[ alt="Assignment 3 Neetu GATE 2017 Set 1 21 - 30 10 Qs 1&2Marks Solution Modified images Raju D 3" src="//storage.googleapis.com/tb-img/production/19/12/Assignment%203_Neetu_GATE%202017%20Set%201_21%20-%2030_10%20Qs_1%262Marks_Solution_Modified_images_Raju_D%203.PNG">

If edge weights are distinct then there exist unique MST.

Hence Statement I is correct.

When edge weights are distinct and positive in that case shortest path between any two vertices of the graph is not always unique. Shortest path can be different even if the edge weights are unique.

Example:

[ alt="F1 R.S Madhu 4.12.19 D 7" src="//storage.googleapis.com/tb-img/production/19/12/F1_R.S_Madhu_4.12.19_D%207.png" style="width: 154px; height: 115px;">

Distance between A → C (3) and A → B → C (1 + 2 = 3), both paths has same distance.

Hence statement II is incorrect.

Related Questions

Consider the undirected graph below: Using Prim's algorithm to construct a minimum spanning tree starting with node a, which one of the following sequences of edges represents a possible order in which the edges would be added to construct the minimum spanning tree?
Consider a simple undirected weighted graph G, all of whose edge weights are distinct. Which of the following statements about the minimum spanning trees of G is/are TRUE ?