Consider a weighted complete graph \(๐บ\) on the vertex setโฆ
2016
Consider a weighted complete graphย \(๐บ\)ย on the vertex setย \(\{๐_1,๐_2,....๐_๐\}\)ย such that the weight of the edgeย \((๐_๐,๐_๐)\)ย isย \(4|๐โ๐|.\) The weight of minimum cost spanning tree ofย \(๐บ\) is :
- A.
\(4n^2\) - B.
\(n\) - C.
\(4n - 4\) - D.
\(2n - 2\)
Attempted by 139 students.
Show answer & explanation
Correct answer: C
Answer: 4n - 4
Reasoning:
Edge weights are given by 4|i - j|, so any edge joining consecutive vertices vi and vi+1 has weight 4.
A spanning tree on n vertices uses exactly n-1 edges, so using the n-1 consecutive edges (v1โv2, v2โv3, โฆ, v_{n-1}โv_n) gives total weight 4 + 4 + โฆ + 4 = 4(n-1).
To see this is minimal, consider any cut that separates the first k vertices {v1,โฆ,vk} from the rest. The smallest edge crossing that cut is between vk and vk+1 and has weight 4, so any spanning tree must include at least one crossing edge of weight at least 4 for each such cut. There are n-1 such cuts, giving a lower bound of 4(n-1).
Since the chain of consecutive vertices attains this lower bound, the minimum possible spanning tree weight is 4(n-1) = 4n - 4.
A video solution is available for this question โ log in and enroll to watch it.