Homepage › Solution manuals › Gilbert Strang › Linear Algebra and Learning from Data › Exercise 4.8.4
Exercise 4.8.4
Answers
If a graph is connected with nodes and edges, then we know that is a spanning tree. We can use similar argument from problem IV.8.3, or as below.
We can show this like below. We first start with any two ‘one-line-cluster’s, where we start with any node, e.g. , since there always is a path between and all other nodes, there must be a node that’s directly connected with , label this , do this continuously until , where none of the rest points directly connects with . This will be a ’one-line=cluster’, with edges. For a connected graph, the minimum number of nodes in a ‘one-line-cluster’ is 2.
Suppose we have another ‘one-line-cluster’ with nodes, so its number of edges is .
Now we claim that if these two clusters compose a connected graph, there has to be edges, i.e. only 1 edge connected from cluster to . If there are more than 1 intra-cluster edge, then we can easily see that a cycle is formed.
So for any ‘one-line-cluster’ of size , we have edges.
So for a connected graph, we start with any two ‘one-line-cluster’ and form a larger cluster, gradually adding ‘one-line-cluster’ one-by-one, we see that the final number of edges should be .