Graph Theory37 sections · 1633 units
Open in Course

What is a Spanning Tree?

(Definition and properties)

A spanning tree of a graph is a subgraph that connects all nodes using exactly n1n-1 edges, where nn is the number of nodes. No cycles allowed. If you have 55 nodes, the spanning tree has exactly 44 edges. Add one more edge and you create a cycle.

Remove an edge and the graph becomes disconnected. Think of it as the skeleton of the graph: minimum edges, maximum connectivity. The question becomes: which n1n-1 edges give you the lowest total weight?