
TL;DR
This paper explores the Cartesian product of matrices, providing formulas for traces, establishing identities, and applying these concepts to analyze graph properties.
Contribution
It introduces trace formulas and identities for the Cartesian product of matrices, extending its application to graph theory.
Findings
Derived trace expressions for multiple matrices
Established identities involving Cartesian products
Applied Cartesian product to graph property analysis
Abstract
Recently, Bapat and Kurata [\textit{Linear Algebra Appl.}, 562(2019), 135-153] defined the Cartesian product of two square matrices and as , where is the all one matrix of appropriate order and is the Kronecker product. In this article, we find the expression for the trace of the Cartesian product of any finite number of square matrices in terms of traces of the individual matrices. Also, we establish some identities involving the Cartesian product of matrices. Finally, we apply the Cartesian product to study some graph-theoretic properties.
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.
Taxonomy
TopicsGraph Labeling and Dimension Problems · Graph theory and applications · graph theory and CDMA systems
On Cartesian product of matrices
Deepak Sarma
Department of Mathematical Sciences,
Tezpur University, Tezpur-784028, India.
Email addresses: [email protected]
Abstract
Recently, Bapat and Kurata [Linear Algebra Appl., 562(2019), 135-153] defined the Cartesian product of two square matrices and as , where is the all one matrix of appropriate order and is the Kronecker product. In this article, we find the expression for the trace of the Cartesian product of any finite number of square matrices in terms of traces of the individual matrices. Also, we establish some identities involving the Cartesian product of matrices. Finally, we apply the Cartesian product to study some graph-theoretic properties.
Keywords: Cartesian product, Kronecker product, Hadamard product, Trace.
AMS Subject Classification: 05C50, 05C12.
1 Introduction and terminology
By , we denote the class of all matrices of size Also, by , we denote the class of all square matrices of order For we write or to denote the th element of By and , we mean the matrix of all one’s and vector of all one’s, respectively of suitable order. Similarly denotes the zero matrix or the vector. We will mention their order wherever its necessary. Throughout this article, we denote the sum of all entries of a matrix by and the sum of the entries of th row of by The inertia of a square matrix with real eigenvalues is the triplet where and denote the number of positive and negative eigenvalues of , respectively, and is the algebraic multiplicity of 0 as an eigenvalue of
The Kronecker product of two matrices and of sizes and respectively, denoted by is defined to be the block matrix
[TABLE]
The Hadamard product of two matrices and of the same size, denoted by is defined to be the entrywise product
Bapat and Kurata [2] defined the Cartesian product of two square matrices and as The authors proved the Cartesian product to be associative. We use to mean
If and then can be considered as a block matrix with th block in other words is the matrix obtained from by replacing by . It can be observed that is the th entry of the th block of
All graphs considered here are finite, undirected, connected and simple. The distance between two vertices is denoted by and is defined as the length of a shortest path between and in The distance matrix of is denoted by and is defined by Since is a real symmetric matrix, all its eigenvalues are real. For a column vector we have
[TABLE]
The Wiener index of a graph is the sum of the distances between all unordered pairs of vertices of , in other words The of is the largest eigenvalue of its distance matrix The transmission, denoted by of a vertex is the sum of the distances from to all other vertices in .
The Cartesian product of two graphs and is the graph whose vertex set is the Cartesian product and in which two vertices and are adjacent if and only if either and is adjacent to in , or and is adjacent to in Let denote the graph obtained from two graphs and by identifying a vertex from with a vertex from
The article have been organized as follows. In Section 2, we discuss some existing results involving Kronecker product of matrices and Cartesian product of graphs. In Section 3, we find trace of various compositions of matrices involving Cartesian product. Again in Section 4, we obtain some identities involving Cartesian product of matrices and find some applications in graph theory.
2 Preliminaries
Kronecker product has been extensively studied in the literature. Some of the interesting properties of the Kronecker product are given below.
Lemma 2.1**.**
[5]** If and then
Lemma 2.2**.**
[5]** If and then
Lemma 2.3**.**
[5]** If and then
Lemma 2.4**.**
[5]** For and
Lemma 2.5**.**
[5]** For matrices and of appropriate sizes
[TABLE]
Lemma 2.6**.**
[5]** For any and there exist a permutation matrix such that
[TABLE]
For more results on Kronecker product, we refer [3]. The Cartesian product of two graphs have been studied by many researchers. Here we are interested in Cartesian product of two matrices because for any two connected graphs and the distance matrix of equals to the Cartesian product of the distance matrices of and i.e. Zhang and Godsil [6] found the distance inertia of the Cartesian product of two graphs.
Theorem 2.7**.**
[6]** If and are two connected graphs, where and then, the inertia of distance matrix of is
Corollary 2.8**.**
[6]** Let and be two trees on and vertices, respectively. Then the distance inertia of is
3 Trace of Cartesian product
Here we consider different compositions and products involving Cartesian product of matrices and evaluate their trace.
Lemma 3.1**.**
If and then
**Proof. **We have
[TABLE]
Theorem 3.2**.**
If and for then
[TABLE]
**Proof. **We prove the result by induction on For there is nothing to prove. For the result follows from Lemma 3.1. Suppose the result holds for That is
[TABLE]
Now
[TABLE]
Hence the result follows by induction.
As immediate corollary of the above theorem we get the following result.
Corollary 3.3**.**
For
Proposition 3.4**.**
If then
[TABLE]
**Proof. **From Lemma 3.1, we have
[TABLE]
Proposition 3.5**.**
For then
[TABLE]
**Proof. **We have
[TABLE]
Theorem 3.6**.**
If for then
[TABLE]
**Proof. **By repeated application of Lemma 2.1 we get
[TABLE]
Theorem 3.7**.**
If then
[TABLE]
**Proof. **Using Theorem 3.2 and then Lemma 2.1, we get
[TABLE]
4 Some identities and applications
From the definition of Cartesian product of two matrices, we get following remarks.
Remark 4.1**.**
If and are square matrices and then
Remark 4.2**.**
For and any
For any square matrices and from the definitions of Kronecker product and Cartesian product, it can be observed that if is an entry of then the corresponding entry of is Thus from Lemma 2.6, we see that if then for the same we get Thus we get the following result.
Remark 4.3**.**
If and are square matrices, then is permutation similar to
Proposition 4.4**.**
For
**Proof. **By definition we have
[TABLE]
which implies
[TABLE]
Hence the result.
By repeated application of Proposition 4.4, we get the following result as a corollary.
Corollary 4.5**.**
For square matrices for
[TABLE]
Proceeding as in Proposition 4.4 and using Lemma 2.3, we get the following result.
Proposition 4.6**.**
For
By repeated application of Proposition 4.6, we get the following result as a corollary.
Corollary 4.7**.**
For square matrices for
[TABLE]
Theorem 4.8**.**
If then is symmetric if and only if and are both symmetric.
**Proof. **If and are both symmetric, then and Now
[TABLE]
Therefore is symmetric.
Conversely, suppose that is symmetric. Then block of must be symmetric. But block of is which is symmetric if and only if is symmetric. Again since is symmetric, the entry of any th block of must be same as entry of th block of That is Which implies that A is symmetric.
Theorem 4.9**.**
If then is skew-symmetric if and only if and are both skew-symmetric.
**Proof. **If and are both skew-symmetric, then and Now
[TABLE]
Therefore is skew-symmetric.
The other direction is similar to that of the proof of Theorem 4.8.
Theorem 4.10**.**
If and the is a diagonal matrix if and only if and for some Furthermore in that case
**Proof. **If and for some then
[TABLE]
Again if is a diagonal matrix, then we must have
[TABLE]
Solving all those equations we see that all entries of are equal (say ) and all entries of are also equal (). Thus we get our required result.
Corollary 4.11**.**
There exist no square matrices such that
Theorem 4.12**.**
If then if and only if and for some
**Proof. **If and for some then
[TABLE]
Conversely, suppose that Then every block of equals to the corresponding block of
[TABLE]
Which implies that for any and That is for any and Therefore we must have and for some Hence the theorem follows.
Theorem 4.13**.**
If then if and only if for some
**Proof. **If then by direct calculation we have
[TABLE]
Now suppose Then Therefore
[TABLE]
Thus for
Theorem 4.14**.**
If then
- (i)
** 2. (ii)
**
**Proof. **(i) We have
[TABLE]
(ii) Here
[TABLE]
Proposition 4.15**.**
For matrices of suitable orders,
[TABLE]
and
[TABLE]
**Proof. **We prove only the first result as the second one can be proved similarly. If and are matrices of same order (say ) and matrix is of order then
[TABLE]
From Section 4, we have
[TABLE]
and
[TABLE]
Now adding 4.3 and 4.4, we get
[TABLE]
Hence the result follows.
Theorem 4.16**.**
If for then
[TABLE]
**Proof. **We prove the result by induction on For the result is trivial. For we have
[TABLE]
Thus the result holds for Suppose the identity holds for then
[TABLE]
Hence the result follows.
Using Theorem 4.16 repeatedly, we get the following general result.
Theorem 4.17**.**
For for then
[TABLE]
Lemma 4.18**.**
If and are any square matrices, then
[TABLE]
**Proof. **If and then the th block of is and Therefore we get
[TABLE]
Hence the result follows.
Theorem 4.19**.**
If and then
[TABLE]
**Proof. **We have
[TABLE]
Hence the theorem holds.
As a corollary of Theorem 4.19, we get the expression for the Wiener index of Cartesian product of two connected graphs.
Corollary 4.20**.**
If and are two connected graphs of order and respectively, then
[TABLE]
As an application of above corollary we get the the following result.
Corollary 4.21**.**
If is any fixed connected graph and are connected graphs of same order with then
[TABLE]
with equality if and only if
Theorem 4.22**.**
If and then has constant row sum if and only if and both have constant row sums.
**Proof. **Let us consider any arbitrary row of If the first entry of that row is then the row sum of that row of equals to
[TABLE]
Now if and have constant row sums, then and Therefore, by 4.6, has constant row sum equal to
Again if has constant row sum (say ), then from 4.6 we get
[TABLE]
Keeping fixed, we see that is constant for Similarly, keeping fixed we get is constant for Hence, the theorem holds.
The following result is a reformulation of Theorem 4.22. Therefore, the proof is omitted.
Theorem 4.23**.**
If and then is an eigenvector of if and only if and are eigenvectors of and respectively.
As an application of Theorem 4.22, we get the following result as a corollary.
Corollary 4.24**.**
The Cartesian product of two connected graphs and is transmission regular if and only if and are both transmission regular.
From the proof of Theorem 4.22, we get a lower bound for the distance spectral radius of the Cartesian product of two connected graphs.
Corollary 4.25**.**
If and are two connected graphs of order and respectively, then
[TABLE]
with equality if and only if and are both transmission regular.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Aouchiche, M. and Hansen, P. Distance spectra of graphs: A survey. Linear Algebra and its Applications , 458:301-386, 2014.
- 2[2] Bapat, R. B. and Kurata, H. On Cartesian product of Euclidean distance. Linear Algebra and its Applications , 526:135-153, 2019.
- 3[3] Graham, A. Kronecker Products and matrix Calculus: with applications. John wiley & Sons, New York, 1981.
- 4[4] Graham, R. L. and Pollak, H. O. On the addressing problem for loop switching. The Bell System Technical Journal , 50(8):2495-2519, 1971.
- 5[5] Zhang, F. Matrix Theory: Basic Results and Techniques. Springer, India, 2010.
- 6[6] Zhang, X. and Godsil, C. The inertia of distance matrices of some graphs. Discrete Mathematics , 313(16):1655-1664, 2013.
