Guided Lesson Notes
Understanding Spanning Tree
A spanning tree starts with a connected, undirected graph and keeps just enough edges to connect every vertex. If the original graph has V vertices, any spanning tree for that graph has exactly V - 1 edges.
The tree part matters: once a chosen edge creates a cycle, the edge is extra for connectivity. Removing one edge from that cycle still leaves the vertices connected, so a spanning tree should stay cycle-free.
A minimum spanning tree adds weights to the story. When edges represent costs such as cable length, road cost, or network latency, the minimum spanning tree is the spanning tree with the smallest total edge weight.
