Resistance matrices of balanced directed graphs
Balaji R., Bapat R. B., Shivani Goel

TL;DR
This paper explores the properties of resistance matrices in strongly connected balanced directed graphs, extending concepts from undirected graph theory to directed graphs with applications in network analysis.
Contribution
It introduces the resistance matrix for balanced directed graphs and derives new properties, expanding the understanding of graph resistance beyond undirected cases.
Findings
Resistance matrix properties are characterized for balanced directed graphs.
New relationships between resistance and graph structure are established.
The resistance matrix provides insights into network connectivity and robustness.
Abstract
Let be a strongly connected and balanced directed graph. The Laplacian matrix of is then the matrix (not necessarily symmetric) , where is the adjacency matrix of and is the diagonal matrix such that the row sums and the column sums of are equal to zero. Let be the Moore-Penrose inverse of . We define the resistance between any two vertices and of by . In this paper, we derive some interesting properties of the resistance and the corresponding resistance matrix .
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Resistance matrices of balanced directed graphs
R. Balaji, R.B. Bapat and Shivani Goel
Abstract
Let be a strongly connected and balanced directed graph. The Laplacian matrix of is then the matrix (not necessarily symmetric) , where is the adjacency matrix of and is the diagonal matrix such that the row sums and the column sums of are equal to zero. Let be the Moore-Penrose inverse of . We define the resistance between any two vertices and of by . In this paper, we derive some interesting properties of the resistance and the corresponding resistance matrix .
**Keywords.**Balanced directed graph, Laplacian matrix, Moore-Penrose inverse, cofactor sums
AMS CLASSIFICATION. 05C50
1 Introduction
Let be a simple connected graph with finite set of vertices and edge set , the set of undirected edges. To each edge assign a weight which is a positive number. If , define where
[TABLE]
Define , where is the column vector of all ones in . The Laplacian matrix of is then the symmetric matrix . If , then it can be verified that
[TABLE]
and hence is positive semidefinite with null-space . The algebraic connectivity of is the second smallest eigenvalue of the Laplacian matrix and the associated eigenvector is called the Fiedler vector which is used to bisect the graph into two connected partitions based on the sign of its components, see Fiedler [1]. We shall denote the Moore-Penrose inverse of by and its entries by . To define the distance between any two vertices and in , it is natural to consider the length of the shortest path connecting them. This is the classical distance and we shall denote it by . The function defined by is a metric on the vertex set . There are several reasons why the shortest distance is important. In chemistry, the classical distance is used to represent the structure of a molecule as a metric space: see [2] and references therein. Here is another application in a data communication problem [3]. If is a vertex of , and is a natural number, define
[TABLE]
Let
[TABLE]
It is known that for some large , there exists a function such that
[TABLE]
Now the question is to determine the minimum for which equation holds. A known result states that
[TABLE]
where and are the number of positive and negative eigenvalues of the symmetric matrix : see [4]. Suppose there are multiple paths connecting and in . In a network, this may indicate that the nodes and are better communicated. Thus, it makes more sense to define a distance between and which is shorter than the classical distance . There are several other possible metrics that can be defined on the vertex set of . In a seminal paper, Klein and Rándic [5] introduced the resistance distance between any two vertices and of . This is defined via , the Moore-Penrose inverse of the Laplacian matrix of :
[TABLE]
In resistive electrical networks, is interpreted as the effective electrical resistance between the nodes and of a network corresponding to , with resistor of magnitude taken over the edge of . It can be proved that the resistance distance is at most the classical distance and if is acyclic, then for all and . Resistance distance have several interesting properties. These are discussed in chapter of [6]. In this paper, we generalize the concept of resistance distance to directed graphs.
Let be a simple directed graph with vertex set and edge set containing directed edges. We write if there is a directed edge from vertex to vertex . If and are any two vertices, we define
[TABLE]
The matrix will be called the adjacency matrix of . The indegree and the outdegree of a vertex is the sum of all the entries in the column and the row of the adjacency matrix . A vertex in is said to be balanced if its indegree and the outdegree are equal. Now the graph is said to be balanced if all the vertices are balanced. Recall that a directed graph is strongly connected, if each pair of vertices is connected by a directed path. In the sequel, we assume that is a strongly connected and balanced directed graph. The Laplacian of is now defined by . The algebraic connectivity concept is generalized to directed graphs via this definition of the Laplacian matrix and have many other applications like in networks of chaotic systems: see [7]. We now propose a semi-distance in directed graphs using the Moore-Penrose inverse of the Laplacian matrix .
Definition 1**.**
The resistance between any two vertices and in is defined by
[TABLE]
where is the entry in the Moore-Penrose inverse of .
The matrix will be called the resistance matrix of . The of is the directed graph obtained by reversing the orientation of all the edges. The adjacency matrix of the reversal is then the transpose of the matrix , and thus the resistance matrix of the reversal of is the transpose of . Because and are not equal in general, is not necessarily a metric on and therefore, the resistance matrices we consider here are not symmetric in general. The symmetric part of the Laplacian matrix of defined by has a combinatorial interpretation. Define a simple undirected graph from as follows. Let the vertex set of be . If , then we shall say that and are adjacent in , if or . Because is strongly connected, is connected. Let be the set of all edges of . Now to each edge , define as follows:
[TABLE]
Now, is the Laplacian of the weighted graph . Hence for any ,
[TABLE]
Thus, the null-space of and null-space of are equal to and is positive semidefinite. To illustrate, we give an example.
Example 1**.**
Consider the directed graph with six vertices given in Figure 1(a). is strongly connected and balanced.
The adjacency and the Laplacian matrices of are:
[TABLE]
The Moore-Penrose inverse of is
[TABLE]
The resistance matrix is given by
[TABLE]
The undirected graph obtained from is given in Figure 1(b). The Laplacian matrix of is given by
[TABLE]
It can be verified that .
Suppose is a simple undirected and connected graph. Let be the resistance matrix of , where is defined in . Now is the resistance matrix of a strongly connected and balanced directed graph. To see this, we proceed as follows. Let be the Laplacian matrix of . From the edge set , we shall define a set of directed edges. For each edge , define two directed edges, viz, and and let be the set of all such directed edges. Then the directed graph is strongly connected and balanced. It can be easily seen that the adjacency matrices of and are equal and hence their Laplacian matrices are equal. This means that between any two vertices and , the resistance distance in and the resistance in defined by and , respectively are same. To illustrate, we give an example.
Example 2**.**
Let be the graph with five vertices given in Figure 2(a).
The directed graph constructed from is shown in Figure 2(b). The adjacency and the Laplacian matrices of and are given by
[TABLE]
1.1 Results obtained in the paper
- •
In our first result, we show that the resistance defined in has the following properties.
- (i)
If and are any two distinct vertices of , then . 2. (ii)
If are any three vertices, then
[TABLE]
- •
In our next result, we compute an identity for the inverse of the resistance matrix . The motivation for obtaining this identity starts from a classical result of Graham and Lovász [4]. This states the following.
Theorem 1**.**
Let be a tree with . Let be the length of the shortest path between vertices and , and be the Laplacian of . Set . Then,
[TABLE]
where and is the degree of the vertex .
Theorem 1 is extended to connected graphs in [8] for resistance matrices.
Theorem 2**.**
Let be a simple connected graph with vertex set and edge set . Let be the Laplacian of and be the resistance distance defined in . Define . Then,
[TABLE]
where .
Motivated by the above two results, we find the following inverse formula for the resistance matrix .
Theorem 3**.**
Let be a strongly connected and balanced directed graph. Let be the resistance between the vertices and defined in and . Then,
[TABLE]
where , and .
Since the resistance matrix of a connected graph can be written as a resistance matrix of a strongly connected and balanced directed graph, Theorem 1 and 2 are special cases of Theorem 3. Using Theorem 3, we find a formula for computing .
- •
In our final result, we investigate the sum of all the cofactors in an submatrix of . The motivation for this consideration comes from an alternate method to compute the resistance distance defined in (2). This method gives an elegant formula to compute :
[TABLE]
where is the principal submatrix of obtained by deleting rows and columns indexed by and is the number of spanning trees in . A far reaching generalization of (4) is obtained in [9]. This is stated below.
Theorem 4**.**
Let be a connected graph with vertex set . Let be the Laplacian matrix of and its resistance matrix. Let be non-empty, and let . Put . Suppose and are the sum of all the elements in and , respectively. Let denote the submatrix of with rows and columns indexed by and , respectively, and be the submatrix of with rows and columns indexed by and , respectively. Then,
[TABLE]
where is the number of spanning trees in .
Equation is a special case of . This follows by setting and observing that , , and . In this paper, we generalize Theorem 4 to resistance matrices of directed graphs.
1.2 Outline of the paper
In section , we mention the preliminaries that are needed for further discussion. In section , we discuss the properties of the resistance. In section , we present the inverse formula stated in Theorem 3 and illustrate it by an example. In the final section, we deduce a formula for finding the cofactor sums of the resistance matrix.
2 Preliminaries
We now list a few notation used in this paper and gather some tools to prove our results.
- (P1)
Let and be non-empty subsets of . If is an matrix, then will be the submatrix of with rows and columns indexed by and , respectively. If is non-empty, then will denote the sum of all elements in . 2. (P2)
The complement of a set is written . The transpose and the Moore-Penrose inverse of a matrix are denoted by and , respectively. All vectors are regarded as column vectors. 3. (P3)
If is a square matrix, then is the diagonal matrix with diagonal entries equal to . If , then will be the diagonal matrix with diagonal entries equal to . 4. (P4)
The sum of all the cofactors of an matrix is represented by . The determinant and the classical adjoint of are written and , respectively. 5. (P5)
The notation will stand for the vector in and . The orthogonal projection onto the hyperplane is denoted by . It is easy to observe that , where is the identity matrix. If , then the vector of all ones in and the identity matrix will be denoted by and , respectively. 6. (P6)
The Jacobi’s identity on non-singular matrices is the following:
Theorem 5**.**
Let be an non-singular matrix. Let , be non-empty such that . Then,
[TABLE]
See Brualdi and Schneider [10]. 7. (P7)
An matrix is called a -matrix, if every off-diagonal entry of is non-positive. If is the Laplacian matrix of a strongly connected and balanced directed graph, then is a -matrix. As already noted, is positive semidefinite, and . 8. (P8)
Suppose is an matrix such that and . Then , and all the cofactors of are equal. If is a -matrix such that and , then we shall write . If , then it can be verified that is positive semidefinite and . 9. (P9)
Let be an matrix. If and belong to , then . For a proof, see Lemma in [11]. 10. (P10)
Let be an matrix. Then,
- (a)
is row diagonally dominant if for each
[TABLE] 2. (b)
is diagonally dominant of its row entries if
[TABLE]
for each and . 3. (c)
is diagonally dominant of its column entries if is diagonally dominant of its row entries.
By Theorem in [12], if is non-singular and row diagonally dominant, then is diagonally dominant of its column entries. 11. (P11)
Let be a directed graph with vertex set . An oriented spanning tree of rooted at vertex is a spanning subgraph such that
- (i)
Every vertex of such that has outdegree . 2. (ii)
The vertex has outdegree [math]. 3. (iii)
has no oriented cycles.
The matrix-tree theorem for directed graphs (Theorem in [13]) is the following.
Theorem 6**.**
Let be a directed graph with vertex set . Let denote the number of oriented spanning trees of rooted at . If is the Laplacian matrix of , then
[TABLE]
Suppose is also strongly connected and balanced. Then all the cofactors of are equal and therefore is independent of . We denote by in the rest of the paper.
3 Properties of the resistance
To establish the desired properties of the resistance defined in , we need the following identity. The proof is omitted as it is a direct verification.
Lemma 1**.**
Let . Then can be partitioned as
[TABLE]
where is a square matrix of order and and
[TABLE]
The following theorem is an application of Lemma 1.
Theorem 7**.**
Let , and . Define . Then,
- (i)
. 2. (ii)
**
Proof.
Define , and . To prove (i), we shall assume without loss of generality that and show that for any . Put By Lemma 1,
[TABLE]
By a well-known result on -matrices, is a non-negative matrix. Therefore, is a positive vector. Let and . For any , by we have
[TABLE]
It can be seen that is row diagonally dominant. In view of (P10), is diagonally dominant of its column entries and therefore,
[TABLE]
Thus,
[TABLE]
Hence,
[TABLE]
Since , it follows from that . This completes the proof of (i).
We now prove (ii). We shall show that if , then
[TABLE]
and the proof can be completed by using a similar argument applied to any other . Since
[TABLE]
it suffices to show that . In view of , it follows that
[TABLE]
Since is row diagonally dominant, by (P10), is diagonally dominant of its row entries, and hence . The proof is complete. ∎
The main result of this section is now immediate from the above result.
Theorem 8**.**
Let be a strongly connected and balanced directed graph and be the resistance matrix of . Then, every off-diagonal entry of is positive and thus is a non-negative matrix. Furthermore, the resistance satisfies the triangle inequality.
4 Inverse of the resistance matrix
For a resistance matrix , we now obtain the inverse formula stated in Theorem 3. Since and , we have
[TABLE]
Define and . By an easy computation, we find that and hence
[TABLE]
For , let
[TABLE]
Set . The inverse formula will be proved by using the following lemma.
Lemma 2**.**
The following are true.
- (i)
. 2. (ii)
. 3. (iii)
. 4. (iv)
** 5. (v)
. 6. (vi)
** 7. (vii)
.
Proof.
Fix . Define . From \big{(}L+\frac{1}{n}J)X=I, we have
[TABLE]
As ,
[TABLE]
Hence from ,
[TABLE]
and so,
[TABLE]
Also, we see that
[TABLE]
Since
[TABLE]
and
[TABLE]
from , and , we now have
[TABLE]
In view of ,
[TABLE]
Since
[TABLE]
and
[TABLE]
equations , and imply
[TABLE]
Thus,
[TABLE]
The proof of (i) is complete.
We have
[TABLE]
The proof of (ii) is complete.
To prove (iii), recall that
[TABLE]
As , we have
[TABLE]
In view of (P8), . Since , by ,
[TABLE]
By (i),
[TABLE]
Hence by , . This completes the proof of (iii).
To prove (iv), first we observe that
[TABLE]
Using and , we have . Hence by ,
[TABLE]
By (i),
[TABLE]
From and , we get
[TABLE]
and hence
[TABLE]
The proof of (iv) is done. Using part (i),
[TABLE]
This proves (v).
By using (i), (ii) and , we have
[TABLE]
As , and ,
[TABLE]
As , by ,
[TABLE]
By ,
[TABLE]
Since and ,
[TABLE]
From and , we have
[TABLE]
Substituting , , and in , we get
[TABLE]
Since is positive semidefinite, . As trace of is also positive, we get (vii). The proof is complete. ∎
Theorem 9**.**
[TABLE]
where .
Proof.
By item (iii) of Lemma 2,
[TABLE]
In view of item (v) of the previous Lemma, . So,
[TABLE]
This implies and since , there exists such that . As , we get . Therefore,
[TABLE]
Since , from item (iv) of Lemma 2, we deduce that
[TABLE]
After simplification the above equation leads to
[TABLE]
We now claim that . If not, then . By , is a multiple of . So, and hence . This contradicts the previous Lemma. Hence, . As , it follows that
[TABLE]
for some . Since , . Thus,
[TABLE]
Now, item (iii) of Lemma 2 and (30) imply
[TABLE]
Since , . The proof is complete. ∎
To illustrate the inverse formula in Theorem 9, we consider the resistance matrix of Example 1.
Example 3**.**
Consider the resistance matrix in Example 1.
[TABLE]
Then we have the following:
[TABLE]
[TABLE]
and
[TABLE]
We now have
[TABLE]
4.1 Determinant of the resistance matrix
By using Theorem 9, we compute an expression for the determinant of the resistance matrix.
Corollary 1**.**
[TABLE]
Proof.
By using Theorem 9 and (P9), we have
[TABLE]
Since , it follows that
[TABLE]
∎
Example 4**.**
Consider the directed graph on six vertices given in Figure 1(a). has two oriented spanning trees and (see Figure 3(a) and 3(b), respectively) rooted at vertex .
Thus, . From Example 3, . By Corollary 1, we have
[TABLE]
5 Cofactor sums of the resistance matrix
Let be non-empty and . Define . We now derive an identity for computing the sum of all the entries in the cofactor matrix of . We shall use the following elementary lemma repeatedly. The proof is immediate.
Lemma 3**.**
Let B be an matrix, and
[TABLE]
Then,
[TABLE]
We now obtain the following identity.
Lemma 4**.**
Let be a matrix. Suppose rank, and . Then,
[TABLE]
where is the common cofactor value of .
Proof.
Let
[TABLE]
Then is non-singular and in fact,
[TABLE]
Define . By Lemma 3,
[TABLE]
Define
[TABLE]
Then,
[TABLE]
By rewriting equation , we have
[TABLE]
By Jacobi’s formula (P6)
[TABLE]
From and , we get
[TABLE]
Using equation ,
[TABLE]
Again applying Lemma 3,
[TABLE]
where is the common cofactor value of . So,
[TABLE]
By , and ,
[TABLE]
The proof is complete. ∎
Lemma 5**.**
Let A be a matrix and let . Define . Then,
[TABLE]
Proof.
We begin by noting that
[TABLE]
Let . By ,
[TABLE]
for some vectors , in and for some real scalar . We now claim that if , and if is an matrix, then
[TABLE]
Using (P9), we get
[TABLE]
Similarly, we see that
[TABLE]
Repeatedly using and in and , we obtain
[TABLE]
This completes the proof. ∎
By Lemma 4 and 5, we now obtain the following result.
Theorem 10**.**
Let be an matrix such that , and . Define by
[TABLE]
Then,
[TABLE]
where is the common cofactor value of .
Proof.
Pre and post multiplying by in the equation
[TABLE]
we have
[TABLE]
Thus, by Lemma 5,
[TABLE]
Using Lemma 4 in , we get
[TABLE]
The proof is complete. ∎
It can be noted that Theorem 4 follows from Theorem 10 immediately. Applying Theorem 4 to resistance matrices of strongly connected balanced directed graphs, we get the following.
Theorem 11**.**
Let be a strongly connected balanced directed graph with vertex set , Laplacian matrix and resistance matrix . Then the following items hold.
- (i)
** 2. (ii)
For every distinct ,
[TABLE]
Proof.
- (i)
Since
[TABLE]
by Theorem 10 it follows that
[TABLE]
where is the common cofactor value of . Let
[TABLE]
Then is non-singular and,
[TABLE]
By Lemma 3, we have and . Thus,
[TABLE]
and hence
[TABLE]
By and , we have
[TABLE]
The proof of (i) is complete. 2. (ii)
Let be such that . Substituting in (i), we get
[TABLE]
As , by ,
[TABLE]
This completes the proof of (ii).
∎
To illustrate the above theorem, we present the following example.
Example 5**.**
Consider the directed graph on four vertices given in Figure 4(a).
has two oriented spanning trees and rooted at vertex (see Figure 4(b) and 4(c)). Thus, . The Laplacian and resistance matrices of are
[TABLE]
Let and . Now,
[TABLE]
[TABLE]
Hence,
[TABLE]
Acknowledgements
The first author is supported by Department of science and Technology -India under the project MATRICS (MTR/2017/000342).
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Fiedler M. Algebraic connectivity of graphs. Czech Math J. 1973;23(98):298–305.
- 2[2] Gutman I, Polansky OE. Mathematical concepts in organic chemistry. Berlin: Springer-Verlag; 1986.
- 3[3] Graham RL, Pollak HO. On the addressing problem for loop switching. Bell Syst Tech J. 1971;50:2495–2519.
- 4[4] Graham RL, Lovász L. Distance matrix polynomials of trees. Adv Math. 1978;29:60–88.
- 5[5] Klein DJ, Rándic M. Resistance distance. J Math Chem. 1993;12:81–95.
- 6[6] Bapat RB. Graphs and Matrices. Hindustan Book Agency: TRIM 58; 2012.
- 7[7] Chai Wah Wu. Algebraic connectivity of directed graphs. Linear and Multilinear Algebra. 2005;53:203–223.
- 8[8] Bapat RB. Resistance distance in graphs. Math Student. 1999;68:87–98.
