A spanning tree of a graph is a way to keep every vertex connected using the fewest possible edges and no cycles. Think of a network of cities: a spanning tree is a minimal set of roads that still lets you drive between any two of them.
A single graph usually has many spanning trees. A humble 4Ă4 grid already has 100,352 of them; a complete graph on just 10 vertices has 100,000,000 (that's ). Listing them one by one quickly becomes hopeless â the count grows faster than any computer could ever enumerate.
So here is the puzzle: how many spanning trees does a graph have, without drawing a single one? It sounds like it should require enumeration. It doesn't. There is an exact, fast formula â and it comes from an unexpected place: a determinant.
Comments
Loading comments...