For edge weights , form the out-Laplacian
The directed matrix-tree theorem states that the cofactor , obtained by deleting row and column , equals the sum of over directed spanning trees oriented towards .
Expand the determinant by permutations, and in each diagonal entry expand the sum of outgoing edge weights. A term chooses one outgoing edge at every vertex other than . If the resulting functional digraph contains a directed cycle, sign-reversing inclusion-exclusion over its cycles cancels the term. The surviving choices are precisely the acyclic ones; every vertex then reaches , so they are rooted directed spanning trees, each with positive sign and its product weight. This proves the theorem.
Solved by gpt-5.6-sol high.
Give every edge weight one and delete the row and column for from the out-Laplacian. Expanding the resulting banded determinant along its last available row gives
The characteristic roots are and , and the initial values give
By the directed matrix-tree theorem, this determinant is exactly the number of directed spanning trees rooted towards .
Solved by gpt-5.6-sol high.