Academia.eduAcademia.edu

The integer cp-rank of 2 × 2 matrices

2019, Special Matrices

We show the cp-rank of an integer doubly nonnegative 2 × 2 matrix does not exceed 11.

Spec. Matrices 2019; 7:272–275 Research Article Open Access Special Issue Dedicated to Charles R. Johnson Thomas Laffey and Helena Šmigoc* The integer cp-rank of 2 × 2 matrices https://doi.org/10.1515/spma-2019-0021 Received September 27, 2019; accepted December 1, 2019 Abstract: We show the cp-rank of an integer doubly nonnegative 2 × 2 matrix does not exceed 11. Keywords: completely positive matrices, doubly nonnegative matrices, integer matrices. MSC: 15B36, 15B48 Dedicated to Professor Charles R. Johnson. 1 Introduction A n × n matrix A is said to be completely positive, if there exists a (not necessarily square) nonnegative matrix V such that A = VV T . Completely positive matrices have been widely studied, and they play an important role in various applications. It is a subject to which C.R. Johnson has made an important contribution [7–10]. For further background on completely positive matrices, we refer the reader to the following works and citations therein [2–5]. Clearly, any completely positive matrix is nonnegative and positive semidefinite. We call the family of matrices that are both nonnegative and positive semidefinite doubly nonnegative. Doubly nonnegative matrices of order less than 5 are completely positive [14]. However, this is no longer true for matrices of order larger than or equal to 5 [12]. Any n × n completely positive matrix A has many cp-factorizations of the form A = VV T , where V is an n × m matrix. Note that m is also not unique. We define the cp-rank of A to be the minimal possible m. If we demand that V has rational entries, then we say that A has a rational cp-factorization. We define the rational cp-rank correspondingly. In this note we will study integer cp-factorizations, where we demand V to be an integer nonnegative matrix, and the integer cp-rank, the minimal number of columns in the integer cp-factorization of a given matrix. Every rational matrix which lies in the interior of the cone of completely positive matrices has a rational cp-factorization [11], but the question is still open for rational matrices on the boundary of the region. On the other hand, for n ≥ 3 it it easy to find examples of n × n integer completely positive matrices that do not have an integer cp-factorization. In [13] the authors answered a question posed in [1], by proving that for n = 2 every integer doubly nonnegative matrix has an integer cp-factorization. An alternative proof of this result can be found in [6]. Neither of those proofs offer a bound on the integer cp-rank of such matrices. In this note we prove that the integer cp-rank of 2 × 2 matrices cannot be larger than 11. *Corresponding Author: Helena Šmigoc: School of Mathematics and Statistics, University College Dublin, Ireland, E-mail: [email protected] Thomas Laffey: School of Mathematics and Statistics, University College Dublin, Ireland, E-mail: thomas.laff[email protected] Open Access. © 2020 Thomas Laffey and Helena Šmigoc, published by De Gruyter. This work is licensed under the Creative Commons Attribution alone 4.0 License. The integer cp-rank of 2 × 2 matrices | 273 2 Main Result The question of determining the completely positive integer rank for a given n×n completely positive matrix is not trivial, even in the case when n = 1. In this case the answer is given by Lagrange’s Four-Square Theorem. Theorem 2.1. [Lagrange’s Four Square Theorem] Every positive integer x can be written as the sum of at most four squares. If x is not of the form x = 4r (8k + 7) (1) for some nonnegative integers r and k, then x is the sum of at most three squares. With Theorem 2.1 rank one matrices are easy to analyse. Lemma 2.1. An integer doubly nonnegative matrix A of rank 1 is completely positive, and has the integer cprank equal to the integer cp-rank of the greatest common divisor of its diagonal elements. Proof. Let A = (a ij ) be an integer doubly nonnegative matrix of rank 1, and let d := gcd(a11 , a22 , . . . , a nn ). √ Since a ij = a ii a jj , d also divides all the off-diagonal elements of A. Hence, A = dB, where B = (b ij ) is a rank 1 integer doubly nonnegative matrix that satisfies satisfies gcd(b11 , b22 , . . . , b nn ) = 1. To complete the proof, we need to show that each diagonal element in B is a perfect square. If this is not true, then there exists i0 such that b i0 i0 = pc2i0 , where p is a product of distinct primes. Now b2i0 j = b i0 i0 b jj = pc2i0 b jj . Hence b jj = pc2j for some positive integer c j and for all j. This implies that p divides b jj for all j. As this contradicts our assumption, the claim is proved. T  P0 2 Let b ii = c2ii , b := c11 c22 . . . c nn ∈ Zn , and let d = ri=1 d i , where r0 ≤ 4 is the integer cp-rank Pr0 T of d. Then A = i=1 (d i b)(d i b) is the integer cp-factorization of A. Proposition 2.1 below not only gives the first bound on the integer cp-rank of 2×2 matrices, but it also provides an approach that is later refined to improve the bound. Proposition 2.1. A 2 × 2 integer doubly nonnegative matrix has an integer cp-factorization, and an integer cp-rank less than or equal to 12. Proof. Let A= a b b c ! be an integer doubly nonnegative matrix. First we prove that we can reduce our problem to the case when a ≥ b and c ≥ b. To this end we assume b > c, and write b = αc + b0 , where α ≥ 1 is a positive integer, and b0 ∈ {0, . . . , c − 1}. Let ! 1 −α S(α) := . 0 1 We claim that T A0 = S(α)AS(α) = a − 2αb + α2 c b − αc b − αc c ! = a0 b0 b0 c0 ! is a doubly nonnegative matrix. From det S(α) = 1, we deduce det A0 = det A ≥ 0. Now, the inequalities det A = a0 c0 − b20 ≥ 0 and c0 = c > 0, imply that a0 = (a − 2αb0 − α2 c) ≥ 0. Since S(α)−1 > 0, any completely positive factorization of A0 : A0 = B0 B0T , gives us a completely positive factorization of A: A = (S(α)−1 B0 )(S(α)−1 B0 )T . Clearly, B0 and (S(α)−1 B0 ) have the same number of columns, hence the two factorizations give the same bound on the cp-rank. With this we have proved, that to find an integer completely positive factorization for A it is sufficient to solve the problem for A0 , that satisfies a0 ≥ b0 and c0 ≥ b0 . If b > a, we can repeat the above argument, with the roles of the diagonal elements reversed. 274 | Thomas Laffey and Helena Šmigoc From now on we may assume that our given matrix A satisfies a ≥ b and c ≥ b. Under this assumption we can write: ! ! b b a−b 0 A= + (2) b b 0 c−b ! ! ! 1 1 a−b 0 0 0 =b + + . (3) 1 1 0 0 0 c−b By Lemma 2.1 each of the rank 1 matrices in the above sum have the integer cp-rank at most 4, so the integer cp-rank of A is at most 12. To reduce the bound for the cp-rank to 11 we look more closely at the family of integers that cannot be written as a sum of less than four squares. Lemma 2.2. Let x be a positive integer of the form (1). Then x − 2, x − 6, x + 2 and x + 6 are not of the form (1). Proof. Let x = 4r (8k + 7) for some nonnegative integers r and k. Then: x ≡ 7 (mod 8) when r = 0, x ≡ 4 (mod 8) when r = 1, x ≡ 0 (mod 8) when r ≥ 2. In each case, it is straightforward to check that x − 6, x − 2, x + 2, x + 6 are not equivalent to 7, 4 or 0 modulo 8, so they cannot be of the form (1). Theorem 2.2. Let A= a b b c ! be an integer doubly nonnegative matrix. Then A has an integer cp-factorization, and an integer cp-rank less than or equal to 11. Proof. From (2) and Theorem 2.1 it is clear that the bound 12 will not be reached unless b, a − b and c − b are all of the form (1). In particular, the result holds for b ≤ 6, and for a − b ≤ 6 or c − b ≤ 6. So we assume b, a − b and c − b are all greater than or equal to 7, and that they all require four squares in Theorem 2.1. First let us consider the case when a − b ≢ 7 (mod 8). In this case a − b − 3 ≡ 1 (mod 8) or a − b − 3 ≡ 5 (mod 8), so a − b − 3 is not of the form (1). We write: ! ! !  a−b−3 0 1 1 3  A= + (b − 6) + 3 2 . 0 c−b+2 1 1 2 Under our assumption, we can write each a − b − 3, c − b + 2 and b − 6 as sums of at most three squares by Lemma 2.2, so the integer completely positive rank of A is at most 3 + 3 + 3 + 1 = 10. The case, when c − b ≢ 7 (mod 8) can be dealt with in a similar way. Now we assume that a − b ≡ 7 (mod 8) and c − b ≡ 7 (mod 8). We write: ! ! !  a−b+1 0 1 1 1  A= + (b − 2) + 1 2 . 0 c−b−2 1 1 2 Since c − b − 2 and b − 2 are not of the form (1) by Lemma 2.2, the integer completely positive rank of A is at most 4 + 3 + 3 + 1 = 11. Next example shows that the integer cp-rank of a 2 × 2 matrix can be as high as 9, but we were not able to find examples of 2 × 2 matrices with cp-rank larger than that. The integer cp-rank of 2 × 2 matrices | 275 Example 2.1. Let A= a 1 ! 1 , c !  1  where a and c are positive integers. Then any integer cp-factorization of A must involve 1 1 , so the 1 integer cp-rank of A is 1 + p + q, where p, q are the least number of squares of integers needed to represent a − 1, c − 1, respectively. In particular, A has the integer cp-rank 9 if a and c are both divisible by 8. Example 2.2. Let B= a 2 2 c ! with integers c ≥ a ≥ 2. The decomposition B= a−2 0 ! 0 1 +2 c−2 1 ! 1 1 shows that the integer cp-rank of B is at most 3 + 3 + 2 = 8, unless at least one of a − 2 and c − 2 is of the form (1). But if a − 2 is of the form (1) a − 4 is not, by Lemma 2.2. In this case the decomposition ! !  a−4 0 2  B= + 2 1 0 c−1 1 shows that the integer cp-rank of B is at most 3 + 4 + 1 = 8. The case, when c − 2 is of the form (1) (and a − 2 is not), can be dealt with correspondingly. We conclude that the integer cp-rank of all such B is at most 8. References [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] Abraham Berman. Completely positive matrices – real, rational and integral. Mathematisches Forschungsinstitut Oberwolfach Report No. 52/2017, Copositivity and Complete Positivity, 2017. Abraham Berman, Mirjam Dür, and Naomi Shaked-Monderer. Open problems in the theory of completely positive and copositive matrices. Electron. J. Linear Algebra, 29:46–58, 2015. Abraham Berman and Naomi Shaked-Monderer. Completely positive matrices. World Scientific Publishing Co., Inc., River Edge, NJ, 2003. Immanuel M. Bomze. Copositive optimization—recent developments and applications. European J. Oper. Res., 216(3):509– 520, 2012. Immanuel M. Bomze, Werner Schachinger, and Gabriele Uchida. Think co(mpletely)positive! Matrix properties, examples and a clustered bibliography on copositive optimization. J. Global Optim., 52(3):423–445, 2012. Mathieu Dutour Sikirić, Achill Schürmann, and Frank Vallentin. A simplex algorithm for rational cp-factorization, 2018. https://arxiv.org/abs/1807.01382 John H. Drew and Charles R. Johnson. The no long odd cycle theorem for completely positive matrices. In Random discrete structures (Minneapolis, MN, 1993), volume 76 of IMA Vol. Math. Appl., pages 103–115. Springer, New York, 1996. John H. Drew and Charles R. Johnson. The completely positive and doubly nonnegative completion problems. Linear and Multilinear Algebra, 44(1):85–92, 1998. John H. Drew, Charles R. Johnson, Steven J. Kilner, and Angela M. McKay. The cycle completable graphs for the completely positive and doubly nonnegative completion problems. Linear Algebra Appl., 313(1-3):141–154, 2000. John H. Drew, Charles R. Johnson, and Fumei Lam. Complete positivity of matrices of special form. Linear Algebra Appl., 327(1-3):121–130, 2001. Mathieu Dutour Sikirić, Achill Schürmann, and Frank Vallentin. Rational factorizations of completely positive matrices. Linear Algebra Appl., 523:46–51, 2017. Marshall Hall, Jr. A survey of combinatorial analysis. In Some aspects of analysis and probability, Surveys in Applied Mathematics. Vol. 4, pages 35–104. John Wiley & Sons, Inc., New York; Chapman & Hall, Ltd., London, 1958. Thomas J. Laffey and Helena Šmigoc. Integer completely positive matrices of order two. Pure Appl. Funct. Anal., 3(4):633– 638, 2018. John E. Maxfield and Henryk Minc. On the matrix equation X ′ X = A. Proc. Edinburgh Math. Soc. (2), 13:125–129, 1962/1963.