Homepage › Solution manuals › Gilbert Strang › Linear Algebra and Learning from Data › Exercise 4.8.3
Exercise 4.8.3
Answers
When a graph is connected, it means for any two nodes, we can find a path, that connects the pair of nodes.
To connect nodes, we need at least edges to span all the nodes, so we have .
For any given node, if we count the unique edges of all paths from it to all the other nodes. Since in connected graph, the node is connected to all other nodes, the lengths of paths have to range from 1 to . And the maximum length has to be , if it’s larger than you have a cycle.
Let be the maximum length of unique edges from node to , then the maximum of among all has to be , suppose node has the maximum length . We claim that . Otherwise, there must exist an edge , that is not on the path from to , meaning exists nodes not on the path of . Since the length between is , there are already nodes, this contradicts with extra nodes coming from edge . So we have .
We then conclude that .