Maths WorkshopMaths problems with full solutions
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 GG (nonempty since GG connected). Pick one TT with minimum number of edges.

Acyclic. If TT had a cycle, remove an edge of the cycle: the graph stays connected with fewer edges, contradicting minimality.

Conclusion. TT is a spanning tree of GG.