Consider the following undirected graph with edge weights as shown:

The number of minimum-weight spanning trees of the graph is ___________.
View worked solution
Answer: 3 : 3
To find the number of Minimum Spanning Trees (MSTs), we can analyze the graph using Kruskal's algorithm by considering edges in increasing order of their weights:
- Edges of weight 1: There are two edges of weight 1, which are and . Since they do not form a cycle, both must be included in any MST. This leaves us with two connected components:
- Edges of weight 2: There are three edges of weight 2, which are , , and . To connect the two components into a single spanning tree, we must select exactly one of these weight-2 edges.
Choosing any one of the three weight-2 edges connects the graph without creating any cycles, resulting in a spanning tree of total weight .
Thus, the number of minimum-weight spanning trees is exactly 3.
Free practice · Your answers on this page are not saved.
