1

How do you prove that that the maximum spanning tree of an undirected graph will contain the path that is the widest path between any two vertices A and B in the graph?

I have tried thinking about the proof for Kruskal's algorithm with an edit so it produces the maximum spanning tree but I do not see why the maximal spanning tree must contain the edges in the widest path especially if there are multiple widest paths.

1 Answers1

1

Proofs about optimality are often by contradiction. Here you'd set yourself up to find one by saying

Suppose there are vertices A and B with a widest path between them containing at least one edge not in any maximum spanning tree of the graph.

Now you must show that the existence such an edge leads to the desired contradiction. One clear path would be to show that this edge can be used to construct a new spanning tree of weight greater than any of the graph's maximum spanning trees. Therefore they weren't maximum after all.

The existence of a contradiction shows that the hypothetical widest path from A to B doesn't exist. Therefore the proof is at hand.

Gene
  • 46,253
  • 4
  • 58
  • 96