Let G be a weighted, undirected graph G = (V,E), let S and T be an arbitrary partition of V into two sets, and suppose e = (x,y) is the smallest-weight edge with one endpoint in S and one in T. We wish to show that any MST of G must contain e.
We will prove the contrapositive. Suppose M is a spanning tree of G which does not contain the edge e; we will show that M is not a minimum spanning tree. Since M is a tree, it contains a unique path between any two vertices. So consider the unique path in M between x and y. It must cross the cut at least once since it starts in S and ends in T; suppose it crosses at e' = (x',y'),with x' \in S and y' \in T. We know that the weight of e is smaller than the weight of e', since e was defined to be the smallest-weight edge crossing the (S,T) cut. Now take M and replace e' with e; the result is still connected (because any path using e' can be rerouted through e), but it has a smaller total weight because the weight of e is less than e'.
So, we have shown that any spanning tree M which does not
contain the edge e can be made into a smaller one, which means that
M is not a minimum spanning tree.