English

Two nondeterministic positive definiteness tests for unidiagonal integral matrices

Combinatorics 2019-07-01 v1

Abstract

For standard algorithms verifying positive definiteness of a matrix AMn(R)A\in\mathbb{M}_n(\mathbb{R}) based on Sylvester's criterion, the computationally pessimistic case is this when AA is positive definite. We present two algorithms realizing the same task for AMn(Z)A\in\mathbb{M}_n(\mathbb{Z}), for which the case when AA is positive definite is the optimistic one. The algorithms have pessimistic computational complexities O(n3)\mathcal{O}(n^3) and O(n4)\mathcal{O}(n^4) and they rely on performing certain edge transformations, called inflations, on the edge-bipartite graph (=bigraph) Δ=Δ(A)\Delta=\Delta(A) associated with AA. We provide few variants of the algorithms, including Las Vegas type randomized ones with precisely described maximal number of steps. The algorithms work very well in practice, in many cases with a better speed than the standard tests. Moreover, the algorithms yield some additional information on the properties on the quadratic form qA:ZnZq_A:\mathbb{Z}^n\to\mathbb{Z} associated with a matrix AA. On the other hand, our results provide an interesting example of an application of symbolic computing methods originally developed for different purposes, with a big potential for further generalizations in matrix problems. This is an extended version of the article [A. Mr\'oz, Effective nondeterministic positive definiteness test for unidiagonal integral matrices, Proceedings SYNASC 2016, IEEE Computer Society CPS (2016), 65-71] in which we discussed the algorithm of the complexity O(n4)\mathcal{O}(n^4).

Keywords

Cite

@article{arxiv.1906.12312,
  title  = {Two nondeterministic positive definiteness tests for unidiagonal integral matrices},
  author = {Andrzej Mróz},
  journal= {arXiv preprint arXiv:1906.12312},
  year   = {2019}
}

Comments

This is an extended version of the article [A. Mr\'oz, Effective nondeterministic positive definiteness test for unidiagonal integral matrices, Proceedings SYNASC 2016, IEEE Computer Society CPS (2016), 65-71], updated and published in arXiv in 2019

R2 v1 2026-06-23T10:07:00.594Z