A spanning tree of a connected undirected graph with ∣V∣=100 vertices always contains exactly ∣V∣−1=99 edges [1].
When the weight of every edge in the graph is increased by a constant c=5, the weight of every spanning tree increases by the exact same amount:
ΔW=(∣V∣−1)×5=99×5=495 Because the weight of every spanning tree is shifted by the same constant, the tree that was minimum before remains a minimum spanning tree in the modified graph.
Therefore, the new weight of the minimum spanning tree is:
Wnew=500+495=995