Consider a complete undirected graph with vertex set . Entry in the matrix below is the weight of the edge
What is the minimum possible weight of a spanning tree in this graph such that vertex is a leaf node in the tree ?
View worked solution
Answer: D
Since vertex must be a leaf in the spanning tree , its degree in is exactly . Removing vertex and its single incident edge must leave a spanning tree on the remaining vertices .
To minimize the total weight of , we can decompose the problem into two independent steps:
- Find the Minimum Spanning Tree (MST) of the subgraph induced by the vertices .
- Connect vertex to this MST using the edge of minimum weight incident on .
Step 1: MST of the subgraph on
Using Kruskal's algorithm, we sort the edges of the subgraph by weight:
- Edge with weight (Selected)
- Edge with weight (Selected)
- Edge with weight (Selected)
Step 2: Connect vertex
The weights of the edges incident on vertex are , , , and .
The minimum weight edge incident on has weight (using either or ).
Thus, the minimum possible weight of the spanning tree is:
Free practice · Your answers on this page are not saved.
