An undirected graph has nodes. its adjacency matrix is given by an square matrix whose (i) diagonal elements are 0’s and (ii) non-diagonal elements are 1’s. Which one of the following is TRUE?
View worked solution
Answer: C
Based on the given adjacency matrix, the graph is a complete graph on vertices where:
- The diagonal elements are , meaning there are no self-loops.
- All non-diagonal elements are , meaning there is an edge of weight between every pair of distinct vertices.
Let's analyze the properties of the spanning trees of this graph:
- Number of edges: Any spanning tree of a connected graph with vertices must contain exactly edges.
- Cost of any spanning tree: Since every edge in has a weight of , the cost of any spanning tree is: Since all spanning trees have the same minimum possible cost, every spanning tree is a Minimum Spanning Tree (MST).
- Number of distinct spanning trees: By Cayley's formula, the number of distinct spanning trees in a complete graph is . For , this value is greater than , meaning there are multiple distinct spanning trees.
Thus, the graph has multiple distinct MSTs, and each has a cost of .
Free practice · Your answers on this page are not saved.
