Abstract
A square array whose all rows and columns are different permutations of the same length over the same symbol set is known as a Latin square. A Latin square may or may not be symmetric. For classification and enumeration purposes, symmetric, non-symmetric, conjugate symmetric, and totally symmetric Latin squares play vital roles. This article discusses the Eigenproblem of non-symmetric Latin squares in well known max-plus algebra. By defining a certain vector corresponding to each cycle of a permutation of the Latin square, we characterize and find the Eigenvalue as well as the possible Eigenvectors.
1. Introduction
The time evolution of discrete event dynamic systems may be represented using equations that combine the minimum, maximum, and addition operations. The union of two sets of equations determines min-max-plus systems: one set includes the addition and minimization, and the other set contains the addition and maximization.
Max-plus algebra has a wide range of applications in mathematics and other fields such as optimization, mathematical physics, algebraic geometry, and combinatorics [1]. Furthermore, communications networks, machine scheduling, control theory, parallel processing systems, manufacturing systems, stenography, and traffic control all use max-plus algebra [2,3,4,5,6]. Work on characteristic problems and equation problems is also available. For instance, Olsder and Ross [7] proved and formulated the Cayley–Hamilton theorem and Cramer’s rule in max algebra. Schutter and Moor [8] corrected the error in the aforementioned derivation of [7]. Wang and Tao [9] discussed the problem of global optimization in max-plus linear systems and found the conditions for the unique and optimal solutions. Other than this, Marotta et al. [10] proposed a framework for Timed Event Graphs (TEG) using tropical algebra. Helena and Ján [11] proposed a work that transforms the weak solvability versions into sub-Eigenvector problems or inexact two-sided max-plus linear systems. Their work finds efficient conditions (necessary and sufficient) for interval system solvability. Wang et al. [12] investigated in an analytic way the ordered structures of polynomial idempotent algebras over the max-plus algebra. In [13], a max-plus system is used to describe the Dutch railway system. The impact propagation of processing time variations is studied by using max-plus algebra [14]. The study [15] shows how max-plus algebra is useful in a dynamic programming algorithm.
Latin squares have many types, such as reduced, idempotent, unipotent, semisymmetric, and diagonal. This article considers the Eigenproblem of non-symmetric Latin squares in max-plus algebra. The Eigenproblem for a square matrix A is to determine a real number and a vector v in such a way that . Similar problems are studied for other matrices such as Monge matrices [16], inverse Monge matrices [17], and circulant matrices [18]. In [19], a power technique is designed to compute the Eigenvalue as well as the Eigenvectors for the similar systems. Umer et al. [20] efficiently developed a technique to solve Eigenproblems in max-plus algebra. In [21], the authors solve Eigenproblem by taking a permutation in Latin squares. To study Eigenproblems in detail, the readers are referred to [19,22,23,24,25].
In this article, we determine the Eigenvalue and Eigenvectors (both trivial and non-trivial) by considering the vectors corresponding to each cycle in a permutation in a Latin square.
2. Related Notions to a Permutation
A permutation is a rearrangement of the objects of a set into a particular order. For example, all possible arrangements of a three element set are given as; , , , , , . In the current work, the symbol stands for the set , i.e., . In algebra, a bijective mapping on a set Z is called a permutation. For example, a mapping with , , determines the rearrangement . Let ; then denotes the group of all permutations of X, where the product is defined by the composition of mappings and the identity element is the identity mapping. A permutation can be represented by cyclic notation as ( … ), if , , …, and called a t-cycle. An element is fixed by a permutation if . A complete factorization of a permutation rewrites and puts all 1-cycle of s for all s fixed by . The complete factorization of (2 4 3 6) is given by (2 4 3 6)(1)(5).
3. Max-Plus Algebra
To study in max-plus algebra detail, readers are referred to [26,27]. Here we recall some basic notions of max-plus algebra. The max-plus semiring means the structure , where for and ⊕, ⊗ are binary operations on introduced as:
In max-plus algebra, the collection of all matrices of order is represented as , while denotes the set of all vectors of order .
Suppose that , are two matrices such that and , then:
If and , then:
A graph for a matrix is a pair , where and represent all the vertices (nodes) and edges (arcs), respectively, such that the nodes i and j are joined by an arc in if and only if . It is denoted by . The weight of the arc , is equal to . A path is a sequences of arcs , , …, denoted by . A path is said to be an elementary path if no node occurs twice. An elementary closed path is called a circuit. The length of a path P is the number of arcs on that path. It is denoted as . The sum of weight of each arc in a path is called the weight of P. The weight obtained by dividing by is called the average weight of P. A circuit is said to be a critical circuit if the average weight of that circuit is maximum. A graph is said to be strongly connected if a path exists from each node i to each node j.
In the following equation, the starting point describes the time evolution of a system:
The above system can compactly be written over max-plus algebra as:
where
A real value is an Eigenvalue of a matrix U, if there exists a vector z, such that:
The corresponding vector z is called the Eigenvector of U. If of a matrix U is strongly connected, then U is irreducible. It is well known that there exists a unique Eigenvalue for an irreducible matrix U. Let be an Eigenvalue of a matrix U; then, define the matrix , as . Define also:
The following Algorithm 1 computes the Eigenvalue and Eigenvectors of a matrix in max-plus algebra [20]. It works as:
| Algorithm 1 Eigenvalue and Eigenvectors in Max-Plus Algebra |
|
4. Latin Squares in Max-Plus Algebra
In this section, we solve the Eigenproblem for Latin squares. A Latin square is a square matrix of order n with elements from n independent variables over in such a way that each row and each column is a different permutation of the n variables [28]. In the following, an example of a Latin square of order 5 is given:
Here we consider Latin squares of size n in max-plus algebra. In max-plus algebra, we have two kinds of Latin squares: Latin squares L with elements ; Latin squares L with entries .
Let be a Latin square of order n; then, we can define a permutaion symbol for each as, such that . In this article, we represent a permutation symbol in a complete factorization by using the cycle notation. Considering the Latin square given above, we have . Therefore, the permutation symbol is given by , , , , . Hence, the permutation symbol is presented in the cyclic notation as (1 5 4)(2)(3). Similarly, we obtain (1 2 4 5 3), (1 4 2 3 5), (1 3 2)(4)(5), and (1)(2 5)(3 4).
Let be a permutation in complete factorization notation, such that:
where is a cycle of length less or equal than n for each . Let ( … ) be a cycle for some . Then, we define a vector of length n corresponding to the cycle , such that each entry of this vector corresponding to -th position contains s, while all other entries are equal to t, for . This is denoted by . In particular, for a cycle ( … ), is a vector of length n, such that each entry of this vector corresponding to -th position is 1, while all other entries are equal to 0.
Example 1.
Consider a permutation given below:
Here , , and are three cycles. The vectors corresponding to cycles for are given by:
Similarly, one can obtain the vector corresponding to cycles for . In Lemma 1, we write as a multiple of . We will use this Lemma to prove our main result.
Lemma 1.
Let be a permutation and … be a cycle in τ. Then:
Proof.
Let …; then, …. Since we have 1 at -th position for all and 0 at the remaining positions in , therefore . □
Two vectors , are linearly dependent if there exists some with . If two vectors are not linearly dependent, then they are linearly independent. It is well known that there exists an Eigenvector corresponding to each critical circuit in a digraph . Therefore, the number of critical circuits in a digraph represents the number of linearly-independent Eigenvectors of A.
In [21], the authors showed that for a Latin square L, the maximal entry is the Eigenvalue and the number of cycles in the permutation symbol represents the number of linearly-independent Eigenvectors of L. Now, we prove the following result to compute the Eigenvectors corresponding to each cycle in the permutation symbol .
Theorem 1.
Let be a permutation symbol of the Eigenvalue λ for a Latin square L of size n and … be a cycle in , then:
is the Eigenvector of L.
Proof.
To prove the result, we have to show that . Since …, therefore , ,…, , and . Therefore, after multiplying -th row with , we obtain at the -th position for all , while by multiplying the remaining rows, we obtain at the remaining positions. Hence, by Lemma 1:
which completes the proof. □
If “L” is a Latin square of order n, then there are at most n possible Eigenvectors. Furthermore, (n entries of zeros) is the trivial Eigenvector and other vectors are nontrivial Eigenvectors. For a Latin square of order “n”, if there is only one cycle of length “n” in the permutation symbol , then there exists only trivial Eigenvector and if there are more than one cycle in the permutation symbol , then there exist non-trivial Eigenvectors. Using this concept, we propose an algorithm to find the Eigenvalue and Eigenvectors of a Latin square in max-plus algebra. The Algorithm 2 contains the following steps:
| Algorithm 2 Eigenvalue and Eigenvectors for Latin Squares in Max-Plus Algebra |
|
Consider the following examples to illustrate the Algorithm 2. In these examples, we consider Latin squares with entries in .
Example 2.
Consider a Latin square:
Here . The permutation symbol for the Eigenvalue λ is given by:
We have only one cycle in this permutation symbol, Therefore, the Eigenvector corresponding to this cycle is given by:
which is a trivial Eigenvector.
Example 3.
Now consider a Latin square:
The Eigenvalue λ is computed as . The permutation symbol for λ is given by:
Here, , , . Therefore, the Eigenvector corresponding to the cycle is given as:
To verify whether is the correct Eigenvector or not, we check:
which shows that is the correct Eigenvector. Similarly, the Eigenvectors corresponding to the cycles and are given as:
respectively. All these three vectors are non-trivial Eigenvectors.
Remark 1.
The main purpose of this article is to present an alternative algorithm for the computation of Eigenvalues and Eigenvectors of a Latin square in max-plus algebra. Here, we give a computational comparison of Algorithm 1 with Algorithm 2. In the case of a Latin square, Algorithm 2 works quite easily when compared with Algorithm 1. This is because Algorithm 2 computes the Eigenvector by using the permutation symbol , while in the case of Algorithm 1, it ends up in a periodic behaviour. When using Algorithm 1, one obtains an Eigenvector v as . Therefore, for large values of “m” and “n”, its running time is more than Algorithm 2. Hence, the computation of an Eigenvector using the Algorithm 2 is easier than using the Algorithm 1.
5. Conclusions
The Eigenproblem regarding Latin squares in max-plus algebra is solved in this work. We have defined a vector corresponding to a cycle in a permutation. Trivial and nontrivial Eigenvectors are characterized by considering the vectors corresponding to each cycle in a permutation symbol of the Eigenvalue. In the future, we will discuss the Eigenproblem of Latin squares with conjugate symmetry.
Author Contributions
Conceptualization, F.A., M.U. and U.H.; Funding acquisition, F.A.; Methodology, F.A., M.U., U.H. and I.U; Software, F.A., M.U., U.H. and I.U; Supervision, F.A. and U.H.; Writing—original draft, M.U. and I.U.; Writing—review & editing, F.A. and U.H. All authors have read and agreed to the published version of the manuscript.
Funding
Fazal Abbas acknowledges the financial support provided by the College of Arts and Sciences, Stetson University, DeLand, FL, USA.
Acknowledgments
We thank the reviewers for their valuable suggestions and helpful remarks.
Conflicts of Interest
The authors declare no conflict of interest. The funding sponsors had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, and in the decision to publish the results.
References
- Halburd, R.G.; Southall, N.J. Tropical nevanlinna theory and ultra-discrete equations. Int. Math. Res. Not. 2009, 5, 887–911. [Google Scholar]
- Cuninghame-Green, R.A. Lecture notes in economics and mathematical systems. In Minimax Algebra; Springer: New York, NY, USA, 1979. [Google Scholar]
- De Shutter, B. On the ultimate behavior of the sequence of consecutive powers of a matrix in the max-plus algebra. Linear Algebra Its Appl. 2000, 307, 103–117. [Google Scholar] [CrossRef]
- Gaubert, S. Methods and applications of (max,+) linear algebra. In Annual Symposium on Theoretical Aspects of Computer Science; Springer: Berlin/Heidelberg, Germany, 1997; pp. 261–282. [Google Scholar]
- Santoso, K.A.; Fatmawati; Suprajitno, H. On max-plus algebra and its application on image steganography. Sci. World J. 2018, 2018, 6718653. [Google Scholar] [CrossRef] [PubMed]
- Cahyono, J.; Adzkiya, D.; Davvaz, B. A cryptographic algorithm using wavelet transforms over max-plus algebra. J. King Saud-Univ.-Comput. Inf. Sci. 2022, 34, 627–635. [Google Scholar] [CrossRef]
- Olsder, G.J.; Roos, C. Cramér and Cayley-Hamilton in the max algebra. Linear Algebra Its Appl. 1988, 101, 87–108. [Google Scholar] [CrossRef]
- De Schutter, B.; De Moor, B. A note on the characteristic equation in the max-plus algebra. Linear Algebra Its Appl. 1997, 261, 237–250. [Google Scholar] [CrossRef]
- Tao, Y.; Wang, C. Global optimization for max-plus linear systems and applications in distributed systems. Automatica 2020, 119, 109104. [Google Scholar] [CrossRef]
- Marotta, A.M.; Gonçalves, V.M.; Maia, C.A. Tropical lexicographic optimization: Synchronizing timed event graphs. Symmetry 2020, 12, 1597. [Google Scholar] [CrossRef]
- Myšková, H.; Plavka, J. Polynomial and pseudopolynomial procedures for solving interval two-sided (max, plus)-linear systems. Mathematics 2021, 9, 2951. [Google Scholar] [CrossRef]
- Wang, C.; Xia, Y.; Tao, Y. Ordered structures of polynomials over max-plus algebra. Symmetry 2021, 13, 1137. [Google Scholar] [CrossRef]
- Subiono. On Classes of Min-Max-Plus Systems and Their Application. Ph.D. Thesis, Delft University of Technology, Delft, The Netherlands, 2000. [Google Scholar]
- Martnez-Olvera, C.; Mora-Vargas, J. A max-plus algebra approach to study time disturbance propagation within a robustness improvement context. Math. Probl. Eng. 2018, 2018, 1932361. [Google Scholar] [CrossRef]
- Comet, J.-P. Application of max-plus algebra to biological sequence comparisons. Theor. Comput. Sci. 2003, 293, 189–217. [Google Scholar] [CrossRef][Green Version]
- Gavalec, M.; Plavka, J. Structure of the eigenspace of a Monge matrix in max-plus algebra. Discret. Appl. Math. 2008, 10, 596–606. [Google Scholar] [CrossRef][Green Version]
- Imaev, A.A.; Judd, R.P. Computing an eigenvector of an inverse Monge matrix in maxplus algebra. Discret. Appl. Math. 2010, 158, 1701–1707. [Google Scholar] [CrossRef][Green Version]
- Tomaskova, H. Eigenproblem for circulant matrices in max-plus algebra. In Proceedings of the 12th WSEAS international conference on Mathematical Methods, Computational Techniques and Intelligent Systems, Sousse, Tunisia, 3–6 May 2010; World Scientific and Engineering Academy and Society (WSEAS): Sousse, Tunisia, 2010; pp. 158–161. [Google Scholar]
- Subiono; van der Woude, J. Power algorithms for (max,+)- and bipartite (min,max,+)-systems. Discret. Event Dyn. Syst. 2000, 10, 369–389. [Google Scholar] [CrossRef]
- Umer, M.; Hayat, U.; Abbas, F. An efficient algorithm for nontrivial eigenvectors in max-plus algebra. Symmetry 2019, 11, 738. [Google Scholar] [CrossRef]
- Mufid, M.S.U. Subiono Eigenvalues and eigenvectors of latin squares in max-plus algebra. J. Indones. Math. Soc. 2014, 20, 37–45. [Google Scholar] [CrossRef]
- Umer, M.; Hayat, U.; Abbas, F.; Agarwal, A.; Kitanov, P. An efficient algorithm for eigenvalue problem of Latin squares in a bipartite min-max-plus system. Symmetry 2020, 12, 311. [Google Scholar] [CrossRef]
- Akian, M.; Gaubert, S.; Nitica, V.; Singer, I. Best approximation in maxplus semimodules. Linear Algebra Its Appl. 2011, 435, 3261–3296. [Google Scholar] [CrossRef]
- Braker, J.G.; Olsder, G.J. The power algorithm in max algebra. Linear Algebra Its Appl. 1993, 182, 67–89. [Google Scholar] [CrossRef]
- Garca-Planas, M.I.; Magret, M.D. Eigenvectors of permutation matrices. Adv. Pure Math. 2015, 5, 390–394. [Google Scholar] [CrossRef][Green Version]
- Hanniah, U. Subvektor Eigen Bilangan Bulat Dalam Aljabar Maks-Plus. 2020. Available online: https://digilib.uns.ac.id/dokumen/download/80035/NDMxNTQ2/Subvektor-Eigen-Bilangan-Bulat-Dalam-Aljabar-Maks-Plus-abstrak.pdf (accessed on 25 April 2022).
- Rosyada, S.A.; Kurniawan, S.V.Y. Bases in min-plus algebra. In Proceedings of the International Conference of Mathematics and Mathematics Education (I-CMME 2021), Ankara, Turkey, 16–18 September 2021; Atlantis Press: Amsterdam, The Netherlands, 2021; pp. 313–316. [Google Scholar]
- McKay, B.D.; Wanless, I.M. On the number of Latin squares. Ann. Comb. 2005, 9, 334–344. [Google Scholar] [CrossRef]
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).