Let
$(u, v)$ be a minimum-weight edge in a connected graph$G$ . Show that$(u, v)$ belongs to some minimum spanning tree of$G$ .
(Removed)
Professor Sabatier conjectures the following converse of Theorem 23.1. Let
$G = (V, E)$ be a connected, undirected graph with a real-valued weight function$w$ defined on$E$ . Let$A$ be a subset of$E$ that is included in some minimum spanning tree for$G$ , let$(S, V - S)$ be any cut of$G$ that respects$A$ , and let$(u, v)$ be a safe edge for$A$ crossing$(S, V - S)$ . Then,$(u, v)$ is a light edge for the cut. Show that the professor's conjecture is incorrect by giving a counterexample.
Let
Suppose
Moreover, every edge is safe. In particular,
Show that if an edge
$(u, v)$ is contained in some minimum spanning tree, then it is a light edge crossing some cut of the graph.
Let
Consider the cut which separates
Give a simple example of a connected graph such that the set of edges
$\{(u, v):$ there exists a cut$(S, V - S)$ such that$(u, v)$ is a light edge crossing$(S, V - S)\}$ does not form a minimum spanning tree.
(Removed)
Let
$e$ be a maximum-weight edge on some cycle of connected graph$G = (V, E)$ . Prove that there is a minimum spanning tree of$G' = (V, E - \{e\})$ that is also a minimum spanning tree of$G$ . That is, there is a minimum spanning tree of$G$ that does not include$e$ .
Let
Show that a graph has a unique minimum spanning tree if, for every cut of the graph, there is a unique light edge crossing the cut. Show that the converse is not true by giving a counterexample.
(Removed)
Argue that if all edge weights of a graph are positive, then any subset of edges that connects all vertices and has minimum total weight must be a tree. Give an example to show that the same conclusion does not follow if we allow some weights to be nonpositive.
First, we show that the subset of edges of minimum total weight that connects all the vertices is a tree. To see this, suppose not, that it had a cycle. This would mean that removing any of the edges in this cycle would mean that the remaining edges would still connect all the vertices, but would have a total weight that's less by the weight of the edge that was removed. This would contradict the minimality of the total weight of the subset of vertices. Since the subset of edges forms a tree, and has minimal total weight, it must also be a minimum spanning tree.
To see that this conclusion is not true if we allow negative edge weights, we provide a construction. Consider the graph
Let
$T$ be a minimum spanning tree of a graph$G$ , and let$L$ be the sorted list of the edge weights of$T$ . Show that for any other minimum spanning tree$T'$ of$G$ , the list$L$ is also the sorted list of edge weights of$T'$ .
Suppose that
Let
Thus, every edge on the cycle must be of lesser or equal weight than
If we continue in this way, eventually they must have every edge in common, contradicting the fact that their edge weights differ somewhere. Therefore all minimum spanning trees have the same sorted list of edge weights.
Let
$T$ be a minimum spanning tree of a graph$G = (V, E)$ , and let$V'$ be a subset of$V$ . Let$T'$ be the subgraph of$T$ induced by$V'$ , and let$G'$ be the subgraph of$G$ induced by$V'$ . Show that if$T'$ is connected, then$T'$ is a minimum spanning tree of$G'$ .
Suppose that there was some cheaper spanning tree than
However, we have that
This means that we just found a spanning tree that has a lower total weight than a minimum spanning tree. This is a contradiction, and so our assumption that there was a spanning tree of
Given a graph
$G$ and a minimum spanning tree$T$ , suppose that we decrease the weight of one of the edges in$T$ . Show that$T$ is still a minimum spanning tree for$G$ . More formally, let$T$ be a minimum spanning tree for$G$ with edge weights given by weight function$w$ . Choose one edge$(x, y) \in T$ and a positive number$k$ , and define the weight function$w'$ by
$$ w'(u, v) = \begin{cases} w(u, v) & \text{ if }(u, v) \ne (x, y), \\\ w(x, y) - k & \text{ if }(u, v) = (x, y). \end{cases} $$ Show that
$T$ is a minimum spanning tree for$G$ with edge weights given by$w'$ .
(Removed)
Given a graph
$G$ and a minimum spanning tree$T$ , suppose that we decrease the weight of one of the edges not in$T$ . Give an algorithm for finding the minimum spanning tree in the modified graph.
If we were to add in this newly decreased edge to the given tree, we would be creating a cycle. Then, if we were to remove any one of the edges along this cycle, we would still have a spanning tree. This means that we look at all the weights along this cycle formed by adding in the decreased edge, and remove the edge in the cycle of maximum weight. This does exactly what we want since we could only possibly want to add in the single decreased edge, and then, from there we change the graph back to a tree in the way that makes its total weight minimized.