Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2026/iii/paper-145/1/a/solution

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.

New to topics? Read the docs here!