Exercise 965Combinatorics › Graph theoryL1Added 3 Nov 2026
Spanning trees
#spanning tree#subgraph#connectivity
Statement
Show that every connected graph has a spanning tree.
Hint
Take a minimal connected spanning subgraph and show it is acyclic.
Show solutionHide solution
Solution
Existence. Consider the set of connected spanning subgraphs of (nonempty since connected). Pick one with minimum number of edges.
Acyclic. If had a cycle, remove an edge of the cycle: the graph stays connected with fewer edges, contradicting minimality.
Conclusion. is a spanning tree of .