
TL;DR
This paper explores the geometric structure of $2\times 2$ tropical matrices that commute, providing a criterion to determine when two such matrices commute in max linear algebra, with implications for tropical matrix theory.
Contribution
It characterizes the extremal structure of the tropical polyhedral cone for $2\times 2$ matrices and introduces a new criterion for matrix commutativity in tropical algebra.
Findings
Identified extremals of the tropical polyhedral cone for commuting matrices.
Developed a criterion to test commutativity of $2\times 2$ tropical matrices.
Enhanced understanding of the geometric properties of tropical commuting matrices.
Abstract
This paper investigates the geometric properties of a special case of the two-sided system given by tropical commuting constraints. Given a finite matrix , the paper studies the extremals of the tropical polyhedral cone generated by the entries of matrices such that and proposes a criterion to test whether two matrices commute in max linear algebra.
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.
On Tropical Commuting Matrices
Yangxinyu Xie
Department of Mathematics, University of Texas at Austin, Speedway 2515 Stop C1200, Austin, TX, 78712, USA.
Abstract
This paper investigates the geometric properties of a special case of the two-sided system given by tropical commuting constraints. Given a finite matrix , the paper studies the extremals of the tropical polyhedral cone generated by the entries of matrices such that and proposes a criterion to test whether two matrices commute in max linear algebra.
keywords:
Commuting matrices, Tropical geometry, Tropical algebra
††journal: Linear Algebra and its Applications
1 Introduction
In the max-linear system, we define the tropical semiring by with the additive identity and the multiplicative identity [math]. The analogue of classical linear algebra in tropical setting is readily extended using the max-plus operations. That is, given matrices , we have . Tropical linear algebra has been studied for a wide range of applications, such as scheduling problems [1], discrete event systems [2], control theory [3], statistical inference [4] and pairwise ranking [5]. Researchers have been investigating the properties of tropical commuting matrices from different approaches. Algebraically, it has been shown that any two commuting matrices have a common eigenvector [1, 6]. Earlier work has also unfolded some of the tropical analogues of the classical commuting matrices, including the Frobenius normal forms [7], rank functions and subgroups [8]. However, the question of when two matrices commute remains a mystery. No general algebraic or geometric characterisation of the two matrices has been discovered or proven. Investigations in special subsets of commuting matrices can be found in literature. [9] manifests that the space spanned by all matrices commuting with a given normal matrix is a finite union of alcoved polytopes [10] and [11] shows that for two Kleene Stars and , if is also a Kleene star, then and commute.
To unravel the simplest situation where we are given a matrix with finite entries , we observe that for a matrix to commute with , it must satisfy the following set of equations
[TABLE]
Equivalently, we can write this set of equations as a tropical two sided system
[TABLE]
where and
[TABLE]
It has been observed that the solution set of a tropical two sided system can be finitely generated [12, 13, 14]. Several algorithms have been developed to give explicit descriptions of the solution set of a tropical two sided system [12, 15, 16, 17]. However, none of the existing algorithms runs in polynomial time. Some partial solutions of the tropical two sided systems are also discussed in [1, 18, 19].
Let denote the solution set of the system (1.2),
[TABLE]
In this paper, we observe that is a finitely generated tropical polyhedral cone. In particular, we characterise all matrices that commute with a given finite matrix by describing the basis of .
Theorem 1.1**.**
Let be defined above. Then the basis of consists of at most 6 vectors.
We prove Theorem 1.1 by showing the following three cases:
Lemma 1.2**.**
Let be a finite matrix with . Then the set with
[TABLE]
where , forms a basis of .
In other words, given that , a matrix that commutes with takes the form
[TABLE]
where . By symmetry, as for , we have the following lemma.
Lemma 1.3**.**
Let be a finite matrix with . Then the set with
[TABLE]
where , forms a basis of .
The case in which is a bit different, especially and .
Lemma 1.4**.**
Let be a finite matrix with . Then the set with
[TABLE]
forms a basis of .
In section 2 we will review the definition of the tropical polyhedral cone, as well as the properties of its scaled extremals. In section 3 we discuss the proof of of Lemma 1.2 and Lemma 1.4. Lastly, we study one approach to visualise the polyhedral cone defined in 1.2 using the Barycentric coordinates in section 1.
2 Background in Tropical Polyhedral Cones
We denote the set of real numbers by and define . The tropical algebra, typically the max-linear algebra defines a tropical semiring by . For any given , we have that and . The matrix addition and matrix multiplication are similar to the classical ones. Given matrices , we have and . The identity matrix is hence such that if and otherwise.
Let be a set of vectors in space . We say that a vector is a tropical linear combination of if where only finitely number of . We use to denote the set of all tropical linear combinations of .
Definition 2.5**.**
A set is said to be a tropical polyhedral cone if . If there is a subset such that , we call a set of generators for .
For the purpose of our discussion, we restrict our attention to finitely generated tropical polyhedral cones. That is, there is a set of finite order and . A tropical linear halfspace is the set of vectors satisfying where . The following theorem gives an equivalent definition of finitely generated tropical polyhedral cones. We omit the proof here.
Theorem 2.6** ([13, 14]; see [20], Theorem 1).**
A tropical polyhedral cone is finitely generated if and only if it is the intersection of finitely many half-spaces.
In other words, a finitely generated tropical polyhedral cone is the set of vectors satisfying where for some integer . For two matrices
[TABLE]
If and commute, we obtain a two sided system as (1.2). gives a special type of tropical polyhedral cone – it is the intersection of two polyhedral cones and .
Let be a tropical polyhedral cone. An element is called an extremal in if for any two elements such that , we have either or . The support of a vector , denoted by is the ordered set of indices such that . Let be a set of vectors. For a vector and an index with , we define
[TABLE]
That is, for each vector with support at , we shift it linearly so that its -th entry equals to and put it in . An element is said to be minimal if for all , we have . We stress that for a support , the set may have more than 1 minimal elements. The following proposition allows us to check extremality of a vector by its minimality in the generating set.
Proposition 2.7** ([21], Theorem 14; [1], Proposition 3.3.6).**
Let be a tropical polyhedral cone and be its set of generators. A vector is an extremal in if and only if there exists some such that is a minimal element in the set . In other words, for all implies .
Proof.
Suppose that is an extremal in . Then for any ,
[TABLE]
for finitely many . Because is extremal, we have for some and . Because , we have and thus . If , then is minimal in because for any , we have .
Suppose and is not minimal in for all . Then for all , there exists a vector such that
[TABLE]
but equals none of . This contradicts the extremality of .
Let and be given such that is minimal in . We first show that is minimal in . Assume that there exists a vector such that . Because and , we have
[TABLE]
for finitely many . Notice that there must be a with and . Because is minimal in , we must have . Therefore, it must be the case that .
Now, suppose that for some . Then both and and either or . Without loss of generality, we assume that . Then . As is minimal in , we must have . Hence, is an extremal in . ∎
A set is said to be independent if none of the elements in is a tropical linear combination of other elements in and is dependent otherwise. We say that a vector is scaled if its first finite entry equals [math]. That is, if is the smallest element in , then .
Lemma 2.8** ([21], Lemma 7; [1], Lemma 3.3.1).**
Let be a tropical polyhedral cone. Let be a scaled extremal of and be a set of scaled generators of . Then .
Proof.
Because ,
[TABLE]
for finitely many . Because is an extremal in , then for some and some . Hence . Because both and are scaled, we must have and . This implies . ∎
Lemma 2.9** ([21], Lemma 8; [1], Lemma 3.3.2).**
Let be a tropical polyhedral cone. Then any set of scaled extremals of is independent.
Proof.
Let be a set of scaled extremals of and . Let . Suppose that . Then by Lemma 2.8, and gives a contradiction. ∎
For a tropical polyhedral cone , we say that a set is a basis for if it is an independent set of generators for .
Theorem 2.10** ([22], Theorem 5; [21], Theorem 18).**
Let be a tropical polyhedral cone and be its the set of all scaled extremals. Then is a basis for .
Proof.
We first show that generates . Let be a set of scaled generators of . By Lemma 2.8, we have . Let , we show that is still a set of scaled generators of . By Proposition 2.7, we have that for any , is not minimal in . Hence,
[TABLE]
where is the minimal element in , is a linear combination of . Hence, . Consequently, we have that generates . By Lemma 2.9, we have that is independent. Therefore, forms a basis for . ∎
The Barycentric coordinate is an alternative for visualisation when infinite entries exist. The classical triangle coordinate consists of three vertices . We denote the coordinates of the three vertices as and the area of as . Suppose we have a point inside which splits the triangle into three subareas , as shown in Figure 2.1. We define the Barycentric coordinate of as the ratios of the subareas,
[TABLE]
For details of the Barycentric coordinates, we refer the reader to [23].
Notation 2.11**.**
Starting from the section 3, we assume the cone is defined by the two sided system in (1.2). We also use to denote a matrix whose entries are
[TABLE]
3 Proof of Theorem 1.1
In this section we present the proof of Theorem 1.1 by showing Lemma 1.2 and Lemma 1.4. The general frame is to first prove that the s given in the lemma generates and then show that each is an extremal in by verifying its minimality. By Theorem 2.10, we have that these s form a basis for . For convenience, we rewrite the two sided system (1.1) as the following set of equations.
[TABLE]
We assume that a matrix
[TABLE]
commutes with any matrix and hence this case will be implicit for the rest of this section.
proof of Lemma 1.2.
Assume that . Then the two sided system (3.1) gets reduced to
[TABLE]
[TABLE]
[TABLE]
[TABLE]
Let . Then it must be the case that , or Let . We first show that by two cases.
Suppose In this case we have that both (3.3) and (3.6) vacuously hold. If , then (3.4) and (3.5) imply
[TABLE]
If , then we must have ; otherwise , which fails equation (3.4); moreover, (3.4) and (3.5) imply
[TABLE]
Hence, any with can be written as
[TABLE]
for some .
- 2.
Suppose Then it must be the case that . To see this, we first note that to satisfy (3.4), it cannot be the case that . If , then (3.4) and (3.5) get reduced to
[TABLE]
which leads to . Now, for (3.3) and (3.6) to hold, because we must have
[TABLE]
By (3.4) and (3.5), we also require
[TABLE]
Hence, we have that any with can be written in the form
[TABLE]
for some . Recall that .
Conversely, for ,
[TABLE]
and
[TABLE]
This means all such gives a matrix that commutes with . Hence and thus generates .
It remains to prove that all elements in are extremals in . By Proposition 2.7, it suffices to show each is minimal in for some . This is obvious because is not comparable with any other s, while and have only 1 element remaining after removing ; clearly, if we scale and , then is smaller than both. Hence, by Lemma 2.8 and Theorem 2.10, is a basis for . ∎
Note that the proof of Lemma 1.3 can be proved similarly by symmetry. Now we show the proof of Lemma 1.4, which is very similar to the proof of Lemma 1.2 we just saw.
proof of Lemma 1.4.
Assume that . Then the two sided system (3.1) can be written as
[TABLE]
[TABLE]
[TABLE]
[TABLE]
Let and . We first show that by two cases.
Suppose . In this case (3.8) and (3.11) hold trivially. Notice that and can both be . If , even when both of them are , (3.9) and (3.10) also hold trivially. Suppose . If , then (3.9) and (3.10) imply
[TABLE]
On the other hand, if , then (3.9) and (3.10) imply
[TABLE]
Hence, any with can be written in the form
[TABLE]
for some .
- 2.
Suppose For (3.8) to hold, we must have
[TABLE]
and (3.11) requires
[TABLE]
If , then (3.4) and (3.5) hold trivially. Thus any with and can be written in the form
[TABLE]
for some . Suppose . If , by (3.4) and (3.5),
[TABLE]
[TABLE]
We stress that must hold for to be possible. Hence, given that , we have that any with can be written in the form
[TABLE]
for some . Equivalently, is a linear combination of .
Conversely,
[TABLE]
This means all such gives a matrix that commutes with . Hence and generates .
Now we prove that all elements in are extremals in by showing that each is minimal in for some . Let be a subset that includes all elements in with support at and define by normalising vectors in such that their -th coordinates are set to zero:
[TABLE]
Notice that if a vector is minimal in , then is minimal in . Now
and are minimal in
[TABLE]
- 2.
and are minimal in
[TABLE]
- 3.
is minimal in
[TABLE]
- 4.
is minimal in
[TABLE]
Hence, all are extremals in and form an independent set. Then is a basis of . ∎
Remark 3.12**.**
We emphasise that and in Lemma 1.4 cannot be replaced by
[TABLE]
where , as in Lemma 1.3. Suppose, for example, and and are replaced by and in . Then , as well as . Then
[TABLE]
The vector
[TABLE]
cannot be a linear combination of but
[TABLE]
4 Geometric Representation of the Commuting Polyhedral Cone
111A set of R codes which visualises the Barycentric coordinates of the commuting tropical polyhedral cone given a finite matrix (as example 4.16)is available on the public GitHub repository https://github.com/Xieyangxinyu/On-2-by-2-Tropical-Commuting-Matrices.
Barycentric coordinates give a convenient approach to visualise the four extremals of s when or . When , is zero in four different scaled extremals. Hence, we can achieve a nice visualisation in as a projection of the polyhedral cone onto the three other axes . To avoid the burden of negative infinity, we use the exponential transformations of the original entries as the coordinates in the Barycentric triangle after normalisation. That is, for a given set of scaled s,
[TABLE]
the corresponding barycentric coordinates are
[TABLE]
One typical representation of the projection of the tropical polyhedral cone generated by s in (4.1) is composed of the shaded areas and the thick line segments shown on the left hand side of Figure 4.1. In the rest of this section, we prove that the three line segments intersect at the same point , as shown on the right hand side of Figure 4.1.
Lemma 4.13**.**
.
Proof.
By adding to , we obtain . ∎
Lemma 4.14**.**
Suppose the two line segments and intersect at the point . We draw a line from to and extend it until it intersects with at point . Then, coincides with .
Proof.
The three line segments in the lemma partition the triangle into 6 subareas, as shown on the right hand side of Figure 4.1. Using the definition of Barycentric coordinates in (2.4), the barycentric coordinate shows that
[TABLE]
Similarly, barycentric coordinate shows that
[TABLE]
Hence, the information of can be obtained by
[TABLE]
By Lemma 4.13, we have
[TABLE]
Hence, the coordinates of and coincide. ∎
Theorem 4.15**.**
Given a set of scaled extremals as (4.1), the three line segments intersect at the same point.
Proof.
This follows readily from Lemma 4.14. ∎
Example 4.16**.**
Given a finite matrix
[TABLE]
the scaled extremals of the tropical polyhedral cones are
[TABLE]
Hence, the coordinates of each point in the Barycentric triangle are thus
[TABLE]
Acknowledgement
Many thanks to Dr Ngoc M. Tran for guidance throughout this project. Also thanks to George D. Torres and Luyan Yu for very helpful insights in tropical polyhedral cones and Yaoyang Liu for comments on earlier drafts.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] P. Butkovič, Max-linear systems: theory and algorithms, Springer Science & Business Media, 2010.
- 2[2] F. Baccelli, G. Cohen, G. J. Olsder, J.-P. Quadrat, Synchronization and linearity: an algebra for discrete event systems, John Wiley & Sons Ltd, 1992.
- 3[3] G. Cohen, S. Gaubert, J.-P. Quadrat, Max-plus algebra and system theory: Where we are and where to go now , Annual Reviews in Control 23 (1999) 207 – 219. doi:https://doi.org/10.1016/S 1367-5788(99)90091-3 . URL http://www.sciencedirect.com/science/article/pii/S 1367578899900913 · doi ↗
- 4[4] L. Pachter, B. Sturmfels, Tropical geometry of statistical models, Proceedings of the National Academy of Science 101 (46) (2004) 16132–16137. ar Xiv:q-bio/0311009 , doi:10.1073/pnas.0406010101 . · doi ↗
- 5[5] N. M. Tran, Pairwise ranking: Choice of method can produce arbitrarily different rank order , Linear Algebra and its Applications 438 (3) (2013) 1012 – 1024. doi:https://doi.org/10.1016/j.laa.2012.08.028 . URL http://www.sciencedirect.com/science/article/pii/S 0024379512006520 · doi ↗
- 6[6] G. B. Shpiz, G. L. Litvinov, S. N. Sergeev, On common eigenvectors for semigroups of matrices in tropical and traditional linear algebra , Linear Algebra and its Applications 439 (6) (2013) 1651 – 1656. doi:https://doi.org/10.1016/j.laa.2013.04.036 . URL http://www.sciencedirect.com/science/article/pii/S 0024379513003170 · doi ↗
- 7[7] R. D. Katz, H. Schneider, S. Sergeev, On commuting matrices in max algebra and in classical nonnegative algebra , Linear Algebra and its Applications 436 (2) (2012) 276 – 292, special Issue devoted to the Applied Linear Algebra Conference (Novi Sad 2010). doi:https://doi.org/10.1016/j.laa.2010.08.027 . URL http://www.sciencedirect.com/science/article/pii/S 0024379510004350 · doi ↗
- 8[8] Z. Izhakian, M. Johnson, M. Kambites, Tropical matrix groups , Semigroup Forum 96 (1) (2018) 178–196. doi:10.1007/s 00233-017-9894-1 . URL https://doi.org/10.1007/s 00233-017-9894-1 · doi ↗
