![MathJax Logo](/templates/jsp/_style2/_tandf/pb2/images/math-jax.gif)
Abstract
The aim of this paper is to study the determinant and inverse of the adjacency matrices of weighted and directed versions of Boolean graphs. Our approach is recursive. We describe the adjacency matrix of a weighted Boolean graph in terms of the adjacency matrix of a smaller-sized weighted Boolean graph. This allows us to compute the determinant and inverse of the adjacency matrix of a weighted Boolean graph recursively. In particular, we show that the determinant of a directed Boolean graph is 1. Further, using a classical theorem of Cayley which expresses the determinant of any skew-symmetric matrix as a square of its Pfaffian, we show that for any directed Boolean graph, the characteristic polynomial has all its even degree coefficients strictly positive with the odd ones being zero.
2020 MATHEMATICS SUBJECT CLASSIFICATION:
1 Introduction
For a commutative ring R with the zero-divisor graph of R is denoted by
It is a graph with vertex set the set of all nonzero zero-divisors of R. Two vertices
and y are adjacent in
if xy = 0 in R. For the field
and an integer n > 1, let
denote the Boolean ring
(n terms). The zero-divisor graph
of the ring
is known as Boolean graph. This graph can also be alternatively defined as the simple graph with vertices as the non-empty proper subsets of a fixed set with n elements where two vertices are adjacent if the corresponding subsets have the empty intersection. The aim of this paper is to study the determinant and inverse of weighted and directed versions of Boolean graphs and to prove the positivity of the even degree coefficients of the characteristic polynomial of the directed Boolean graph.
There has been an extensive study of the zero-divisor graphs associated to commutative rings (see [Citation1, Citation2]). However, one finds a very few papers devoted to the understanding of the determinantal and spectral properties of the zero-divisor graphs and the rich interplay that this theory has to offer. A systematic study of such properties of the Boolean graph is carried out by LaGrange in a series of papers [Citation4–7]. For instance, he proved that the Boolean graphs, among the zero-divisor graphs, can be characterized as those having their adjacency matrices with determinant equal to –1 (see [Citation5, Theorem 2.5]). Further, he proved that the characteristic polynomial of a Boolean graph is absolutely palindromic and possesses the reciprocal eigenvalue property. For the case of finite commutative rings and principal ideal rings, we mention [Citation8, Citation9]. However, the graphs dealt with within these two papers, have loops (non-simple graphs) and this brings about some simplification in the matrix theoretic considerations. From this standpoint, the case of graphs without loops (simple graphs) appears to be more involved and interesting.
One of our approaches to the study the Boolean graph is to describe its adjacency matrix An recursively in terms of
To do this, we come up with a specific ordering of the vertices of this graph and write down the corresponding adjacency matrix An in terms of
Using this recursive description, we easily find the determinant and inverse of
Further, we introduce the notion of the weight matrix which generalizes the notion of the adjacency matrix of weighted and directed graphs. We show in Theorem 3.4 that the determinant of the weight matrix
of the adjacency matrix An of the graph
is a signed product of the weights received by the edges corresponding to the complementary pairs of vertices. As a consequence, in the case of a Boolean graph, we show that the determinant is
and that in the case of a directed Boolean graph, it is 1. We mention here that the determinant of a directed Boolean graph is independent of the choice of orientatations of edges. We further compute the inverse of the matrix
As a consequence, the inverses of the undirected Boolean and directed Boolean graphs can be obtained.
It is easy to see that the characteristic polynomial of the adjacency matrix of a directed Boolean graph is a skew-symmetric matrix. In Theorem 4.2, we show that for any directed Boolean graph the characteristic polynomial has all its even degree coefficients strictly positive with all its odd degree coefficients being zero. This is one of our main results and to prove this result, we use a classical theorem of Cayley which states that the determinant of a skew-symmetric matrix of even order is a square of its Pfaffian. We have observed that for values of n up to 8, the even degree coefficients of the characteristic polynomial form a unimodal sequence. We strongly suspect this to be true for any n and state it as an open question.
2 Boolean graphs
In this section, we give a vertex ordering of the Boolean graph and describe its adjacency matrix recursively. Algorithmic expressions of the adjacency matrix of the Boolean graph and its inverse matrix are obtained.
Let n be an integer greater than 1. Recall that (n terms), where
is a field. Thus,
is a ring with respect to pointwise addition and multiplication modulo 2. The Boolean graph
has vertex set Vn as the set of non-zero zero-divisors of the ring
Two vertices x and y are adjacent in
if
Note that
where 0 and 1 are zero element and unity in the ring
Hence,
. For n = 2, the graph
is isomorphic to the complete graph K2. Every element
is of the form,
with
Denote by
, the complement of x. Note that, every vertex in Vn has a unique complement in Vn and such complementary pair of vertices are always adjacent in
. Denote by
the element
of
An element x of
can be obtained from an element
of
by adjoining 0 or 1 as the nth coordinate. For
and
we get
and we write
Define
and
Note that the vertex set Vn of the graph has a partition into four parts as follows.
Let be a vertex ordering of
in which the element
comes first, then comes the element
and then come the elements of the parts X0 and
respectively. The following lemma gives a recursive description of adjacency relations among vertices of
.
Lemma 2.1.
Let be the Boolean graph with vertex set
Then the following recursive properties hold.
The vertex
is adjacent to only its complement
.
The vertex
is adjacent to all vertices in
and no vertex of
The subgraph of
induced by X0 is isomorphic to
.
The set of vertices X1 is independent in
.
A vertex
is adjacent to a vertex
in
if and only if
and
are adjacent in
Proof.
Proofs are easy to see.
We apply Lemma 2.1 to describe the adjacency matrix of the graph . Let An be the adjacency matrix of
with respect to the vertex ordering
. Note that the matrix An has four block rows and four block columns obtained by the ordering of vertices given by the four parts
Let
and
be
matrices, and O denote the zero matrix of order
. Sizes of the block in An can be obtained from the respective sizes of the parts of the partition
.
Proposition 2.2.
Let An be the adjacency matrix of the graph with respect to the vertex ordering
Then
Proof.
The proof follows from the vertex ordering and Lemma 2.1.
Remark 2.3.
An advantage of Proposition 2.2 is that it gives an easy algorithm to obtain the exponential-sized adjacency matrix An. The computation of An by using Proposition 2.2 has less complexity than the computation of An by the direct definition. As an illustration, the matrices A2, A3, and A4 obtained using Proposition 2.2 are described as follows. Note that An is the matrix of order with vertex ordering
.
In [Citation5], it is proved that An is invertible and its inverse is computed by composing certain matrices. We now determine recursively in the following theorem. Denote by
the tensor product of the matrices A and B. Let
and
be
matrices.
Theorem 2.4.
For the adjacency matrix An of
Proof.
Consider An with respect to the vertex ordering It has order
By Proposition 2.2,
By performing Row Row(1) and then Column
Column(1) for
we get,
That is,
where
Inverting both sides we get,
Pre-multiplying by and post-multiplying by M1 gives,
Remark 2.5.
In general, determining the inverse of the adjacency matrix An requires many computations. The advantage of Theorem 2.4 is that it provides an algorithmic construction of the inverse of An and thus reduces the computations significantly. Simplicity of the computation of is illustrated below for n = 2, 3, and 4.
3 Weighted Boolean graphs
The aim of this section is to study the weighted Boolean graphs using the recursive approach. We associate a weight matrix to the adjacency matrix An of the usual Boolean graph. This is with the view of treating the weighted adjacency matrix and the directed adjacency matrix of graphs as special cases of the weight matrix. Using the recursive approach, we obtain the determinant of
and as a consequence prove that the determinant of the Boolean graph is –1 which is a known result, see [Citation5]. Also, it follows that the determinant of any directed Boolean graph is 1. This shows, in particular, that the determinant is independent of the choice of orientations on the edges of a directed Boolean graph. Further, we obtain the inverse of the matrix
recursively.
Definition 3.1.
For a given m × m matrix A with entries from {0, 1} and for , let
be nonzero real numbers. Define weight matrix W(A) of A of order m × m such that,
The matrix A can be termed as the support matrix of Note that W(A) need not be symmetric or skew-symmetric.
Definition 3.2.
The adjacency matrix of a weighted graph Gw is the matrix Aw such that
Definition 3.3.
Let be a directed graph obtained from a simple graph G by orienting its edges. Then the adjacency matrix of
is the matrix
such that
For the Boolean graph the adjacency matrix An and its weighted variants
and
are special cases of the weight matrix
.
Recall that is a vertex ordering of
wherein the element
comes first, then comes the element
and then the elements of X0 and X1, respectively. In the following theorem, we obtain the determinant of
and show that it is negative of the product of the entries corresponding to complementary pairs of vertices.
Theorem 3.4.
Let An be the adjacency matrix of the graph and let
be any weight matrix of An. Then
is a nonsingular matrix with determinant
Proof.
Consider the matrix An as in Proposition 2.2 with the vertex ordering . As
has the partition
any weight matrix
of An has the following form with four block-rows and four block-columns corresponding to this partition.
where M2 and M1 are submatrices of
all of whose entries are nonzero and the block-matrices
are some weight matrices of
. Sizes of the block-matrices in
can be obtained from the respective sizes of the parts of the vertex partition
. As (1, 2)th and (2, 1)th entries of the support matrix An are nonzero, the entries
and
are nonzero. Hence
For by performing
and then
we get
As ’s have an even number of columns, by interchanging columns, it is easy to get the following recurrence relation on determinants of weight matrices,
Note that, is a submatrix of
and also, it can be viewed as a weight matrix of the adjacency matrix
of
Hence,
has its rows and columns labeled in two different ways. The first labeling of it comes from the vertex ordering
while the second labeling is induced by the vertex ordering
of
. More specifically, in the first labeling, rows of
are labeled by X0 and the columns by X1 as the parts of vertex partition
whereas in the second labeling, rows and columns of
are labeled by vertices in
. We can go back and forth between the two labeling via the process of adjoining elements 0 and 1 to the vertices in
. Note further that, this process of adjoining
preserves the complementation of vertex labels, that is, for
with
for some
and
we have
holds in the first labeling if and only if
holds in the second labeling. The case of the matrix
can be treated similarly.
Now, we prove the result by induction on n. For n = 2, and weight matrix
. Therefore,
. Note here that, vertices
and
satisfy
. Assume that, the result is true for all integers less than n. From the above paragraph, the matrices
and
can be viewed as weight matrices of
with two different vertex ordering discussed in the paragraph above. Then by the induction hypothesis we get,
where
denotes the entry of
which is also the entry of
lying in the row labeled by the vertex
and in the column labeled by the vertex
. From the paragraph above, we have,
holds in
if and only if
holds in
. Therefore,
Similarly, by the induction hypothesis, we have
Putting these values in the recurrence relation of the determinants of weight matrices obtained above, we get,
Now, if then vi is adjacent to vj in
, that is, (i, j)th entry of the support matrix An of
is nonzero. This implies that the terms
involved in the above expression of
are nonzero. Therefore,
Thus
is a nonsingular matrix. □
Remark 3.5.
Theorem 3.4 can be proved alternatively by generalizing the proof of the result, , given in [Citation5]. However, our proof uses the recursive approach and also generalizes the result to the weighted and directed Boolean graphs.
Let w(e) denote the weight of an edge e in a weighted graph of . Let
be the set of all edges of
whose end vertices are complements of each other.
Corollary 3.6.
Let be the adjacency matrix of a weighted Boolean graph of
. Then
Proof.
As seen earlier, the matrix of a weighted graph of
is a special case of weight matrix
Now, the proof follows from Theorem 3.4 since, in this case,
whenever
is an edge of
. □
Corollary 3.7.
[Citation5] The determinant of the adjacency matrix of the Boolean graph is –1.
Proof.
Proof follows from Theorem 3.4 since, in this case, whenever (vi, vj) is an edge of the graph
.
Corollary 3.8.
The determinant of the adjacency matrix of any directed Boolean graph is 1.
Proof.
Let be the adjacency matrix of a directed Boolean graph
. From Definition 3.3,
is a special case of the weight matrix
whose (i, j)th entry
if
has a directed edge from vertex vi to vertex
and
if there is a directed edge from vertex vj to vertex
and
when there is no edge. By Theorem 3.4,
Since
has
complementary pairs of vertices,
□
Remark 3.9.
It follows from Corollary 3.8 that the determinant of the adjacency matrix of any directed Boolean graph is 1 and thus it is independent of the choice of orientation of edges.
Recall the vertex set X0 defined at the beginning of Section 2. Let H be the subgraph of induced by the set
By Lemma 2.1, H is isomorphic to
Let
be the simple graph obtained from the graph
by deleting any number of edges of H or adding any number of edges between the vertices of H. We observe that the determinant of
is the same as the determinant of
Proposition 3.10.
Let An and be the adjacency matrices of
and
respectively. Then
Consequently, and
Proof.
The proof follows from the proof of Theorem 3.4 as the entries of the block-matrix corresponding to the vertices in X0 do not affect the value of the determinant of
.
The description of obtained in Theorem 2.4 can be extended to more general matrices, namely to the weight matrices
. We only state the expression of
in the following theorem. For
, let
be a weight matrix of An considered in the proof of Theorem 3.4 with (i, j)th entry
. Let
and
be column vectors in
such that their
coordinates are
and
, respectively for all
.
Theorem 3.11.
Let be any weight matrix of the adjacency matrix An of the Boolean graph
. Then
is ivertible and its inverse is given by
Proof.
The proof follows by performing the transformations and steps similar to those used in Theorem 2.4. □
The expressions for , and
can be obtained from Theorem 3.11.
4 Directed Boolean graphs
In this section, we restrict our investigations to the class of directed Boolean graphs. The adjacency matrix of a directed Boolean graph is a skew-symmetric matrix and so its characteristic polynomial has all odd degree coefficients zero. By a classical theorem of Cayley, the determinant of a skew-symmetric matrix is a square of its Pfaffian and so all even degree coefficients of the characteristic polynomial are non-negative. In Section 3, we proved that the determinant of the adjacency matrix of a directed Boolean graph is 1 implying that the constant term (an even degree coefficient) of the characteristic polynomial is positive. We prove that this is also the case with all its even degree coefficients.
Theorem 4.1.
(Cayley) [Citation3, Theorem 6.4] Let S be a skew-symmetric matrix with real entries. Then there is a polynomial in the entries of S, denoted , such that,
We now prove our main theorem.
Theorem 4.2.
Let and
. Then the characteristic polynomial of the adjacency matrix of a directed Boolean graph of
is of the form
with
positive integers for all k.
Proof.
Let be a directed Boolean graph with adjacency matrix
Let
be the characteristic polynomial of
Denote the complement
of a vector v of
by
. To write down the adjacency matrix
, we fix the ordering
of the vertices of
by pairing up the complementary vertices. Let
be the directed adjacency matrix of the graph
with respect to this ordering. Note that
is a skew-symmetric matrix of even order
We know that the coefficient of xk of the characteristic polynomial is given by the sum of principal minors of size N – k signed by
. Also, the principal minors are the determinants of skew-symmetric sub-matrices of
, and hence the minors of odd size are zero. Therefore, all the coefficients of
of odd-degree terms are zero. The coefficient
is the sum of principal minors of
of size
multiplied by
By Theorem 4.1, (also see [3, Theorem 6.4]), the determinant of any skew-symmetric matrix S is given by a square of its Pfaffian,
(a polynomial in the coefficients of the matrix S), that is,
All even sized minors of are thus perfect squares and hence
We now show that To do this, we use the vertex ordering and the directed adjacency matrix given above. Since the principal minors are a perfect square and hence nonnegative, therefore is enough to prove that for any
there exists at least one principal minor that is nonzero (and hence positive). To do this we claim that the principal minors of
given by the row and column indices corresponding to the vertices
is always non-zero. So let B be the submatrix of
formed by rows and columns of J. We know that
Let
be defined by
and
for all
Observe that
for all i. Hence,
Let
be any permutation such that
Now extend this permutation σ to a permutation
by defining
and
for all
Thus,
By Theorem 3.4 and noting the vertex ordering
given above we obtain,
Hence, it follows that is of the form
and
for all
Therefore,
agrees with τ on
Already,
we obtain
Thus, for any
with
, we have
i.e.,
and
for all
. Note that this σ is the product of r transpositions and so
Hence
Thus, for every even we get at least one nonzero principal minor. Furthermore, any such minor is a perfect square (being a square of the Pfaffian of the corresponding submatrix) and hence is positive. As noted at the beginning of the proof, the coefficient
of the characteristic polynomial
is the sum of principal minors and as the positive minors live in every even degree, we obtain that
□
Recall that the determinant of a directed Boolean graph is independent of the choice of the orientation of its edges. Note that this determinant is the constant term of the characteristic polynomial of the directed Boolean graph. However, we have verified that the other coefficients of the characteristic polynomial do depend on the choice of orientation.
Unimodal property for directed Boolean graphs:
LaGrange [5, Corollary 2.6] proved that the characteristic polynomial of an undirected Boolean graph has the absolute palindromic property. A natural question to ask is whether a similar property holds for the class of directed Boolean graphs. We discuss this problem here.
As noted in Theorem 4.2, the even degree coefficients of the characteristic polynomial of the adjacency matrix of a directed Boolean graph are positive. The examples worked out by us suggest that the values of these coefficients depend on the choice of the orientations of the edges and so a different choice of orientations on the edges of a Boolean graph leads to different positive coefficients. However, we observed in several examples of directed Boolean graphs that the even degree coefficients of the characteristic polynomial possess, what is called a unimodal property. A sequence
is called unimodal (or the polynomial
a unimodal polynomial) if there is some integer
such that
The unimodal property can be regarded as an analog of the absolute palindromic property () wherein there is a symmetry in the absolute values of the coefficients of the polynomial along the middlemost term of the polynomial. A sequence or a polynomial being unimodal is an interesting combinatorial property and can often be hard to prove. We have worked out several examples of Boolean graphs up to n = 8 (with different choices of orientations) and observed unimodal property for the even degree coefficients. For example, a computer experiment with one of the examples of a directed Boolean graph when n = 4 (matrix in this case has size 14 × 14) yields the characteristic polynomial,
Note that the even degree coefficients of this polynomial are unimodal. We strongly suspect this to be true in the general case and state this as a question.
Question 4.3.
Do the even degree coefficients of the characteristic polynomial of a directed Boolean graph possess the unimodal property?
From our observation, we believe that all the eigenvalues of a directed Boolean graph are simple.
Question 4.4.
Are the eigenvalues of a directed Boolean graph simple?
Acknowledgments
The authors are thankful to the referees for providing useful suggestions.
Disclosure statement
The authors declare that there are no conflicts of interest.
Additional information
Funding
References
- Anderson, D. F., Livingston, P. S. (1999). The zero divisor graph of a commutative ring. J. Algebra 217: 434–447.
- Beck, I. (1988). Coloring of commutative rings. J. Algebra. 116: 208–226.
- Jacobson, N. (1985). Basic Algebra-I, 2nd ed. New York: Dover Publications.
- LaGrange, J. D. (2011). Spectra of Boolean graphs and certain matrices of binomial coefficients. Int. Electron. J. Algebra 9: 78–84.
- LaGrange, J. D. (2012). Boolean rings and reciprocal eigenvalue properties. Linear Algebra Appl. 436: 1863–1871.
- LaGrange, J. D. (2013). Eigenvalues of Boolean graphs and pascal-type matrices. Int. Electron. J. Algebra 13: 109–119.
- LaGrange, J. D. (2013). A combinatorial development of Fibonacci numbers. Linear Algebra Appl. 438: 4335–4347.
- Monius, K. (2021). Eigenvalues of zero-divisor graphs of finite commutative rings. J. Algebraic Combin. 54(3): 787–802.
- Rattanakangwanwong, J., Meemark, Y. (2021). Eigenvalues of zero-divisor graphs of principal ideal rings. Linear Multilinear Algebra 70(20): 1–15.