Oriented spanning trees and stationary distribution of digraphs
Abstract
By using biclique partitions of digraphs, this paper gives reduction formulas for the number of oriented spanning trees, stationary distribution vector and Kemeny’s constant of digraphs. As applications, we give a method for enumerating spanning trees of undirected graphs by vertex degrees and biclique partitions. The biclique partition formula also extends the results of Knuth and Levine from line digraphs to general digraphs.
keywords:
Oriented spanning tree, Matrix-tree theorem, Random walk, Stationary distributionAMS classification (2020): 05C30, 05C50, 05C05, 05C81, 05C20
1 Introduction
Let be a weighted digraph with vertex set and edge set , and each edge is weighted by an indeterminate . The notation means there exists a directed edge from tail vertex to head vertex , and the tail and head of are denoted by and , respectively. The outdegree and the indegree of a vertex in are denoted by and , respectively. The word “weighted” is omitted when for each . The line digraph of a digraph has vertex set , and there exits directed edge from to in if and only if .
An oriented spanning tree [8, 14] of weighted digraph is a subtree containing all vertices of , in which one vertex, the root, has outdegree , and every other vertex has outdegree . Let denote the set of oriented spanning trees of with root , and let . A spanning tree enumerator of is defined as
If for each , then is the number of oriented spanning trees of with root . Some algebraic formulas for and were given in [7, 8, 16].
In the study of random walks on digraphs, one basic problem is to determine the stationary distribution vector, which represents the long-term behaviour of the Markov chain associated with the digraph [2]. The stationary distribution has applications in PageRank algorithms [4].
There exists a closed relation between the stationary distribution vector and spanning tree enumerators of digraphs. For a strongly connected digraph with vertices, its stationary distribution vector satisfies [3, 12] , where is the weighted digraph obtained from by taking for each . Let be the mean first passage time from to , then the value (does not depend on ) is called the Kemeny’s constant [12] of .
Some formulas for counting spanning trees in undirected line graphs can be found in [9, 10, 18, 19]. For line digraphs, Knuth [13] proved the following formula for counting oriented spanning trees. Combinatorial and bijective proofs of the Knuth formula are given in [15] and [6], respectively.
Theorem 1.1.
[13, Formulas (5) and (7)] Let be a digraph such that for each . For any edge of , we have
If for each , then
Let denote the number of Eulerian circuits of a digraph . By Lemma 2.6, we can derive the following formula for counting Eulerian circuits of a line digraph from Theorem 1.1.
Theorem 1.2.
[13, page 313] Let be a digraph with vertices such that for each . For any and , we have
Let be indeterminates on . If each edge in has weight , then we say that the weights of are induced by .
Levine [14] proved the following formula for spanning tree enumerators of a line digraph, which is a generalization of Theorem 1.1.
Theorem 1.3.
[14, Theorem 2.3] Let be a weighted digraph such that for each . For any edge of satisfying , we have
where the weights of are induced by indeterminates , .
A biclique [11] is a bipartite digraph whose vertices can be partitioned into two parts and , and . A biclique partition of a digraph is a set of bicliques in such that each edge of belongs to exactly one biclique of . For a biclique partition of , its biclique digraph has vertex set and edge set .
Observation 1.4.
For a vertex of a digraph , the edge sets and form a biclique in the line digraph , and all such bicliques form a natural biclique partition of . Notice that if and only if . So the biclique digraph of is isomorphic to when for each .
It is known that every digraph has a biclique partition satisfying ( is much smaller than for many digraphs). So we can get reduction formulas for spanning tree enumerators, stationary distribution vector and Kemeny’s constant of by counting oriented spanning trees in the biclique digraph of . Moreover, based on Observation 1.4, it is natural to use biclique partitions to extend the results of Knuth [13] and Levine [14] from line digraphs to general digraphs.
In Section 2, we give some basic definitions, notations and auxiliary lemmas. In Section 3, we give biclique partition formulas for counting oriented spanning trees and Eulerian circuits of digraphs, which generalize Theorems 1.1-1.3 to general digraphs. In Section 4, we give biclique partition formulas for stationary distribution vector and Kemeny’s constant of digraphs. In Section 5, we give some concluding remarks, including more general spanning tree identity in digraphs, and the method for enumerating spanning trees of undirected graphs by vertex degrees and biclique partitions.
2 Preliminaries
Let be a weighted digraph on vertices, and each edge is weighted by an indeterminate . The weighted degree of a vertex is . The Laplacian matrix is the matrix with entries
Let denote the submatrix of a matrix obtained by deleting the -th row and the -th column, and let denote the determinant of a square matrix . The following lemma follows from the all minors matrix tree theorem [7].
Lemma 2.5.
[7] Let be a weighted digraph with vertices. For any , we have
The following is a fomula for counting Eulerian circuits of digraphs.
Let be a strongly connected weighted digraph with vertices, and all weights of are positive. The transition probability matrix of is the matrix with entries
A random walk on is defined by , that is, denotes the probability of moving from vertex to vertex . Notice that is an irreducible nonnegative matrix with spectral radius , and the all-ones vector is a right eigenvector for the eigenvalue . By the Perron-Frobenius theorem, there exists a unique positive vector such that and . Such vector is called the stationary distribution vector [5] of .
Lemma 2.7.
[12, page 81] Let be a strongly connected weighted digraph with vertices, and all weights of are positive. Then
Let be the mean first passage time from vertex to vertex , then the value (does not depend on ) is called the Kemeny’s constant of .
Lemma 2.8.
[12, page 82] Let be a strongly connected weighted digraph with positve weights, and are eigenvalues of . Then
For a matrix , let denote an submatrix of whose row indices and column indices are and , respectively. The following is a determinant identity involving the Schur complement.
Lemma 2.9.
[19, Lemma 2.6] Let be a block matrix of order , where is nonsingular. If and , then
where is the Schur complement of in .
3 Oriented spanning trees of digraphs
A biclique is a bipartite digraph whose vertices can be partitioned into two parts and , and . Let be a biclique partition of a weighted digraph whose weights are induced by indeterminates . Let denote the weighted biclique digraph with vertex set and edge set , and the weight of in is
(3.1) |
where . By Observation 1.4, we know that the part (1) of the following theorem extends Theorem 1.3 to general digraphs.
Theorem 3.10.
Let be a biclique partition of a weighted digraph whose weights are induced by indeterminates , and for each . Set .
(1) For any , we have
(2) For any , we have
Proof.
For a biclique partition in , let and be two corresponding incidence matrices with entries
where . Let be the bipartite weighted digraph with Laplacian matrix
where is a diagonal matrix satisfying , is a diagonal matrix satisfying . By computation, we have
For any and , by Lemmas 2.5 and 2.9, we have
(3.2) |
(3.3) |
Let be the adjoint matrix of . Then
(3.4) |
By Lemma 2.5, we get
(3.5) |
Hence
By (3.2) and (3.3) we get
Hence
So part (1) holds.
By (3.4) and (3.5) we have
By (3.2) and (3.3) we get
Hence
So part (2) holds. ∎
Corollary 3.11.
[14, Theorem 1.1] Let be a weighted digraph such that for each . Then
(3.6) |
where is a weighted digraph whose weights are induced by indeterminates .
Proof.
If for some vertex of , then by , there exist two edges whose outdegrees are zeros in . In this case, for each , the left and right sides of (3.6) are both zeros.
For a biclique partition of digraph , let denote the weighted biclique digraph with vertex set and edge set , and the weight of in is
Clearly, is obtained from by taking for each in equation (3.1). We can deduce the following result from Theorem 3.10.
Theorem 3.12.
Let be a biclique partition of a digraph , and for each .
(1) For any , we have
(2) For any , we have
By Observation 1.4, we know that the following formulas extend Theorem 1.2 to general Eulerian digraphs.
Corollary 3.13.
Let be a Eulerian digraph. For any biclique partition of , we have
4 Stationary distribution and Kemeny’s constant of digraphs
Let denote the stationary distribution vector of a digraph . By using biclique partitions of digraphs, we give the following reduction formulas for stationary distribution vector and Kemeny’s constant of digraphs.
Theorem 4.14.
Let be a strongly connected digraph with vertices. For any and biclique partition of , we have
Proof.
For a biclique partition in , let and be two corresponding incidence matrices with entries
By computation, we have
Suppose that has eigenvalues , then has eigenvalues . By Lemma 2.8, we have
The products of all nonzero eigenvalues of and are both
(4.1) |
Example 4.15.
By Observation 1.4 and Theorem 4.14, we get the following formulas for stationary distribution vector and Kemeny’s constant of line digraphs.
Corollary 4.16.
Let be a strongly connected digraph with vertices and edges. For any , we have
Take , and the iterated line digraph (). We can get the following formula involving iterated line digraph from Corollary 4.16.
Corollary 4.17.
Let be a strongly connected digraph with vertices. Then
5 Concluding remarks
Let be a weighted digraph with a partition , and let , where and are principal submatrices of corresponding to and , respectively. If and are nonsingular, then and are Laplacian matrices of some weighted digraphs and , respectively (because and are square matrices whose all row sums are zeros). Similar with the proof of Theorem 3.10, we can derive the following more general spanning tree identity
We can also obtain new reduction formula for counting spanning trees in undirected graphs from our results. For a connected undirected graph , let denote the digraph obtained from by replacing every edge with two directed edges and . Then the number of spanning trees in is equal to for each . For any biclique partition of , by Corollary 3.13, we have
where is the degree of vertex in .
Acknowledgements
This work is supported by the National Natural Science Foundation of China (No. 12071097), and the Natural Science Foundation of the Heilongjiang Province (No. YQ2022A002).
References
- [1] T. van Aardenne-Ehrenfest, N.G. de Bruijn, Circuits and trees in oriented linear graphs, Simon Stevin 28 (1951) 203-217.
- [2] S. Aksoy, F. Chung, X. Peng, Extreme values of the stationary distribution of random walks on directed graphs, Adv. Appl. Math. 81 (2016) 128-155.
- [3] D. Aldous, J. Fill. Reversible Markov Chains and Random Walks on Graphs, 2002, Unfinished monograph, recompiled 2014, available at http://www.stat.berkeley.edu/aldous/RWG/book.html.
- [4] R. Andersen, F. Chung, K. Lang, Local partitioning for directed graphs using PageRank, Internet Math. 5 (2008) 3-22.
- [5] A. Beveridge, A hitting time formula for the discrete Green’s function, Combin. Probab. Comput. 25 (2016) 362-379.
- [6] H. Bidkhori, S. Kishore, A bijective proof of a theorem of Knuth, Combin. Probab. Comput. 20 (2011) 11-25.
- [7] S. Chaiken, A combinatorial proof of the all minors matrix tree theorem, SIAM J. Algebraic Discrete Methods 3 (1982) 319-329.
- [8] F.R.K. Chung, R.P. Langlands, A combinatorial Laplacian with vertex weights, J. Combin. Theory Ser. A 75 (1996) 316-327.
- [9] F. Dong, W. Yan, Expression for the number of spanning trees of line graphs of arbitrary connected graphs, J. Graph Theory 85 (2017) 74-93.
- [10] H. Gong, X. Jin, A simple formula for the number of spanning trees of line graphs, J. Graph Theory 88 (2018) 294-301.
- [11] D.A. Gregory, N.J. Pullman, K.F. Jones, J.R. Lundgren, Biclique coverings of regular bigraphs and minimum semiring ranks of regular matrices, J. Combin. Theory Ser. B 51 (1991) 73-89.
- [12] S. Kirkland, Directed forests and the constancy of Kemeny’s constant, J. Algebraic Combin. 53 (2021) 81-84.
- [13] D.E. Knuth, Oriented subtrees of an arc digraph, J. Combinatorial Theory 3 (1967) 309-314.
- [14] L. Levine, Sandpile groups and spanning trees of directed line graphs, J. Combin. Theory Ser. A 118 (2011) 350-364.
- [15] J.B. Orlin, Line-digraphs, arborescences, and theorems of Tutte and Knuth, J. Combin. Theory Ser. B 25 (1978) 187-198.
- [16] W.T. Tutte, The dissection of equilateral triangles into equilateral triangles, Proc. Cambridge Philos. Soc. 44 (1948) 463-482.
- [17] W.T. Tutte, C.A.B. Smith, On unicursal paths in a network of degree 4, Am. Math. Mon. 48 (1941) 233-237.
- [18] W.G. Yan, On the number of spanning trees of some irregular line graphs, J. Combin. Theory Ser. A 120 (2013) 1642-1648.
- [19] J. Zhou, C. Bu, The enumeration of spanning tree of weighted graphs, J. Algebraic Combin. 54 (2021) 75-108.