Let
Let
with weights
For any Weighted Graph
Consider spanning trees of
The sum of weights of all such trees is:
Proof
Note that
The weight of trees with leaf node
Counting another way, we find
Proceed by induction.
For
Now assume that
We conclude that
Consider
This is a symmetric, homogeneous polynomial of degree at most
Also
By symmetry, it is divisible by all of
but this can only happen if
Corollary
Consider all undirected trees spanning
Then the following holds:
Equivalently, if we define undirected weights
then the sum of weights of all spanning trees of
Proof
Take an undirected spanning tree
By rooting it at node
Note that
Now the LHS is all the directed spanning trees so we conclude
For the second part, note that the weight of an undirected spanning tree is:
from where the result follows.
Corollary
Fix some numbers
The number of spanning trees
is the Multinomial Coefficient:
Proof
Follows immediately from Multinomial Theorem, and previous corollary.