Determinants of generalized binary band matrices
Dmitry Efimov

TL;DR
This paper derives explicit formulas for determinants of certain binary Toeplitz matrices and demonstrates their applications in counting specific permutation types.
Contribution
It provides new explicit determinant formulas for binary Toeplitz matrices and applies them to permutation enumeration problems.
Findings
Explicit determinant formulas for binary Toeplitz matrices
Application to enumeration of even and odd permutations
Enhanced understanding of binary matrix determinants
Abstract
Under binary matrices we mean matrices whose entries take one of two values. In this paper, explicit formulae for calculating the determinant of some type of binary Toeplitz matrices are obtained. Examples of the application of the determinant of binary Toeplitz matrices for the enumeration of even and odd permutations of different types are given.
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 theory and CDMA systems · Advanced Topics in Algebra · Matrix Theory and Algorithms
Determinants of generalized binary band matrices††thanks: The study is supported by Program of UD RAS, project 15-16-1-3
Dmitry Efimov email: [email protected]
(Department of Mathematics,
Komi Science Centre UrD RAS,
Syktyvkar, Russia)
Abstract
Under binary matrices we mean matrices whose entries take one of two values. In this paper, explicit formulae for calculating the determinant of some type of binary Toeplitz matrices are obtained. Examples of the application of the determinant of binary Toeplitz matrices for the enumeration of even and odd permutations of different types are given.
Introduction
Under binary matrices we will mean matrices whose elements can take only two values. Matrices of this kind arise in different mathematical questions. For example, this type includes such popular objects in mathematics and its applications as matrices over the field [1]. The Hadamard’s problem of finding the maximal determinant of -matrices, i.e. matrices consisting from and , is well known [2]. Further, -matrices are one of the favorite objects of the enumerative combinatorics [3–6]. Also one can use binary -matrices for enumerative problems [6]. These examples can be extended.
One of the basic notion of the matrix theory is the notion of determinant. There exist effective algorithms for the determinant calculation, for example, the modified method of Gaussian elimination, which run in polynomial time. Nevertheless, in cases of some kinds of matrices it is possible to obtain good explicit formulae for the determinant expression. On the one hand, these formulae allow to draw certain conclusions about properties of matrices. On the other hand, they give even greater gain in the speed of the determinant calculation. Such formulae are known only for very limited class of matrices.
Our paper is motivated to some extent by the recent work [7] in which the explicit formula for the determinant of some binary circulant matrices has been obtained. In the present paper we get explicit formulae for determinants of some kinds of binary Toeplitz matrices. Considered matrices are close in their structure to band matrices, therefore we call them generalized band matrices. For our purposes we use quite elementary methods. Applying the Laplace expansion we obtain recurrent formulae leading to required result.
The paper is organized as follows. In the second section we give and prove the formulae, which allow to efficiently calculate determinants of generalized binary band matrices in an explicit form. In the third section we give a few examples of the application of the determinant of such binary matrices for the enumeration of even and odd permutations of different types.
1 The main part
Let be integers, . Consider a binary Toeplitz matrix of order with the following elements:
[TABLE]
where and () belong to a commutative associative ring with a unit. In the case we get a so-called band matrix ([8], p.16). So we can say that we consider generalized binary band matrices. Our purpose is to get explicit formulae for calculating the determinant of the matrix . We will divide this problem into two cases.
Case .
Let . In other words, let the first row of the matrix have the form:
[TABLE]
and the -st row is obtained from the first row by the removal of elements on the right and addition of elements on the left:
[TABLE]
Theorem 1.1**.**
Let , where . Then the determinant of the matrix (1) is equal to:
[TABLE]
For the proof of Theorem 1.1 one can apply the method given in [7] for the proof of explicit formulae of the determinants of circulant matrices (using the formula of the determinant of a block matrix). But in this case another method will be more convenient. First let us formulate some auxiliary statements. Consider a square matrix of order of the form:
[TABLE]
The given matrix is obtained from the matrix (1) of order by addition of one more (the last) row and one more (the last) column, consisting entirely of elements . Let denote the determinant of such matrix.
Lemma 1.1**.**
The determinant of the matrix (3) is equal to:
[TABLE]
Proof. Subtracting the penultimate row from the last row and expanding the determinant along the last row, we get that . Using the given formula consecutively to , and so on, we get (4).
Suppose that , i.e. consider the matrix of order of the form:
[TABLE]
By denote the determinant of such matrix.
Lemma 1.2**.**
One can calculate the determinant of the matrix (5) by the formula:
[TABLE]
Proof. Similarly to the proof of the previous lemma.
Consider the matrix (1) of order with . Let denote the determinant of such matrix.
Lemma 1.3**.**
The following equality holds:
[TABLE]
Proof. Let , i.e. the number of elements in the first row of the matrix (1) is less than the number of elements . Let us subtract the penultimate row of the matrix from the last row and expand the determinant along the last row. Performing this procedure consecutively times, we come to the equality:
[TABLE]
Substituting here the formula (4), we get the first row of the equality (7).
Let , i.e. the number of elements in the first row of the matrix (1) is more or equal to the number of elements , but less than . Executing the same consecutive expansions along the last row as in the first case, we come to the equality:
[TABLE]
Substituting here the formulae (4) and (6), we get the second row of (7).
Proof. (of the Theorem 1.1). Suppose that , where , i.e. , where is a non-negative integer. Assume that . Then and, using the first row of the formula (7) recurrently times, we obtain the equality:
[TABLE]
Since , then applying the second row of the formula (7) to and performing obvious transformations, we get (2).
If , i.e. the first row of the matrix (1) entirely consists from elements , then and the formula (2) gives us , which corresponds to the statement of the Lemma 1.2.
Case 2.
Let . In other words, let the -th row of the matrix , , have the form:
[TABLE]
and the -th row is obtained from the -th one by the removal of elements on the right and addition of elements on the left:
[TABLE]
The matrix is not symmetric in general, but it is persymmetric (i.e. symmetric with respect of the secondary diagonal) like all Toeplitz matrices.
Lemma 1.4**.**
In the matrix (8) exactly rows consist entirely from elements .
Proof. First note that each row of the matrix contains no more than elements by definition. Let . Hence , i.e. there is at least one element in each row and there are no rows, consisting entirely from elements . Let now or, alternatively, . If , , then the number of rows, that consist entirely from elements , will be equal to .
Theorem 1.2**.**
Let and , . Then the determinant of the matrix (8) is equal to:
[TABLE]
Proof. By the theorem condition . Let , . This is equivalent to , where is a non-negative integer.
First consider the case when , i.e. when and, respectively, . By lemma 1.4 at least rows of the matrix will consist entirely from elements in this case, therefore the determinant of the matrix will be equal to [math], that corresponds to the formula (9).
Now assume that . The first row of the matrix differs from the second one only by an element in the -st column. Let us subtract the first row from the second one and expand the determinant along the second row. We will get that , where is a matrix, whose first and second rows differ also only in the -st column. Performing this procedure times, we obtain that , where
[TABLE]
The part of the matrix that is located above the horizontal line consists from rows, and in the first row there are exactly elements . In the lower right corner of the matrix there is a submatrix, which is formed by intersection of the last rows and columns of . The given submatrix, in turn, also has the form (8).
The algorithm can be repeated times with an obvious shift at each step in the rows down and in the columns to the right. Thus in the second step we subtract the -st row of the matrix from the -nd one and expand the determinant along the -nd row, and repeat this procedure times and so on. As a result we will get that
[TABLE]
where
[TABLE]
The part of the matrix that is located above the horizontal line consists from rows, and in the first row there are exactly elements . In the lower right corner of the matrix there is a submatrix , which is formed by intersection of the last rows and columns of the matrix .
It is not hard to see that if then contains two identical rows, hence the matrix also contains two identical rows, and therefore its determinant and the determinant of the matrix are equal to [math].
If then the matrix is the matrix of the form (1) of order . Then by Theorem 1.1 we get:
[TABLE]
Then, substituting the given formula in (10) and taking into account that , we finally obtain:
[TABLE]
If then the matrix will be the matrix of the form (1) of order . Then from Theorem 1.1 we get:
[TABLE]
Then, substituting the given formula in (10) and taking into account that , we finally obtain:
[TABLE]
2 The application of determinants of binary matrices to the enumeration of permutations
As mentioned in the Introduction, the binary matrices are one of the favorite objects of the enumerative combinatorics. In particular, they are applied for enumeration of permutations with restricted positions. Following [6] let us describe briefly this mechanism.
Let be a -matrix of order . Each of such matrices defines a class of restricted permutations. Namely a permutation belongs to if and only if the inequality holds for its incidence matrix , i.e. each element of the matrix is not more than the corresponding element of the matrix . The matrix is called the characteristic matrix of the class . It is not hard to see that the number of permutations in the class is equal to the permanent of the matrix : . Denote the number of even and odd permutations from the class by and , respectively. It is obvious that . It is easy to see also that . This implies the following formulae for calculating the total number of even and odd permutations from the class :
[TABLE]
As an example we calculate the number of even and odd permutations such that for and . The characteristic matrix of this class of permutations is the following -matrix of order :
[TABLE]
Such matrices arise in the variation of the famous ménage problem, where not a round table, but one side of a rectangular table is considered ([5], ch. 8).
If we denote the permanent of such matrix by , then the sequence of permanents will satisfy the following recurrence relation:
[TABLE]
One can also calculate these permanents by the following explicit formula:
[TABLE]
Let denote the determinant of the matrix . Substituting , , to the formula (2), we get
[TABLE]
One can also rewrite this equality in the following form:
[TABLE]
Applying formulae (11), we obtain sequences of the number of even () and odd () permutations of the given type depending on the permutation order:
[TABLE]
As the second example, we will calculate the number of even and odd permutations such that , . The characteristic matrix of the given class of permutations is the matrix of order whose main diagonal and its neighboring diagonals are zero, and all other elements are equal to :
[TABLE]
This example is linked with another variation of the ménage problem, where a rectangular table is considered and additional restriction on the placement of men is imposed. The explicit formula of the total number of such permutations of order or, alternatively, of the value of the permanent of was found by V.S. Shevelev (see the review [6]). Here we will not give it, but indicate only that the sequence of such numbers has the id-number in [9]. Let denote the determinant of the matrix . Substituting , , to the formula (9), we get
[TABLE]
where . Applying formulae (11), we obtain sequences of the number of even () and odd () permutations of the given type depending on the permutation order:
[TABLE]
Another version of the application of binary matrices to enumeration of permutations has been described also in [6]. It consists in the following. Let us consider a binary matrix of order in which some elements are equal to the variable , and the other elements are equal to . It is easy to see that the coefficient on in the permanent will be equal to the number of permutations whose incidence matrices have exactly units in the positions, in which there are elements in the matrix . Respectively, the coefficient on in the determinant will be equal to the difference between the number of even and odd permutations of such type. Then calculating in expressions the coefficient on , we get the number of even and odd permutations of such kind.
Let us give an example of the application of this scheme. Let be a permutation. Recall that a number for which is called a weak excedance of ([10], p. 40). Let us find the number of even and odd permutations of order with exactly weak excedances. Consider a binary matrix of order whose elements on the main diagonal and above it are equal to , and other elements are equal to :
[TABLE]
It is well known ([10], p. 39–40) that the permanent of this matrix is equal to the Eulerian polynomial of order , and, respectively, the coefficient on is equal to the Eulerian number (A008292 in [9]). By the formula (2) we get that . It follows that the coefficient on in is equal to:
[TABLE]
Hence the number of even and odd permutations of order with exactly weak excedances is equal to:
[TABLE]
Let, for example, . Then
[TABLE]
and we get the following table:
[TABLE]
Let us write out all permutations of order with weak excedances: , , , , , , , , , , — total even and odd permutations (weak excedances are in bold, even permutations are underlined).
Acknowledgment. The author is grateful to V.S. Shevelev for useful pointers to the literature and comments.
Referenses
- [1]
Boston N. Spaces of constant rank matrices over // Electronic Journal of Linear Algebra. 2010. Vol. 20. P. 1–5.
- [2]
Seberry J., Xia T., Koukouvinos C., Mitrouli M. The maximal determinant and subdeterminants of matrices // Linear Algebra and its Applications. 2003. Vol. 373. P. 297–310.
- [3]
Brualdi R. A., Ryser H. J. Combinatorial matrix theory. Cambridge University Press, 1991.
- [4]
Minc H. Permanents. Reading, MA: Addison-Wesley, 1978.
- [5]
Ryser H. J. Combinatorial Mathematics. Mathematical Association of America, 1963.
- [6]
Shevelev V. S. Some problems of the theory of enumerating the permutations with restricted position // Journal of Soviet Mathematics. 1992. Vol. 61(4). P. 2272–2317.
- [7]
Kravvaritis Ch. Determinant evaluations for binary circulant matrices // Special Matrices. 2014. Vol. 2. P. 187–199.
- [8]
Golub J. H., Van Loan C. F. Matrix computations. The Johns Hopkins University Press, 1996.
- [9]
Sloane N. J. A. The On-Line Encyclopedia of Integer Sequences. Available at http://oeis.org/
- [10]
Stanley R. P. Enumerative Combinatorics. Volume 1. Cambridge University Press, 2nd edition, 2011. 642 p.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Boston N. Spaces of constant rank matrices over G F ( 2 ) 𝐺 𝐹 2 GF(2) // Electronic Journal of Linear Algebra. 2010. Vol. 20. P. 1–5.
- 2[2] Seberry J., Xia T., Koukouvinos C., Mitrouli M. The maximal determinant and subdeterminants of ± 1 plus-or-minus 1 \pm 1 matrices // Linear Algebra and its Applications. 2003. Vol. 373. P. 297–310.
- 3[3] Brualdi R. A., Ryser H. J. Combinatorial matrix theory. Cambridge University Press, 1991.
- 4[4] Minc H. Permanents. Reading, MA: Addison-Wesley, 1978.
- 5[5] Ryser H. J. Combinatorial Mathematics. Mathematical Association of America, 1963.
- 6[6] Shevelev V. S. Some problems of the theory of enumerating the permutations with restricted position // Journal of Soviet Mathematics. 1992. Vol. 61(4). P. 2272–2317.
- 7[7] Kravvaritis Ch. Determinant evaluations for binary circulant matrices // Special Matrices. 2014. Vol. 2. P. 187–199.
- 8[8] Golub J. H., Van Loan C. F. Matrix computations. The Johns Hopkins University Press, 1996.
