The LMS JCM, (11) 252-279. Published 04 Aug 2008. First received 07 May 2007.


Computing minimal polynomials of matrices

Max Neunhöffer and Cheryl E. Praeger



Abstract: We present and analyse a Monte-Carlo algorithm to compute the minimal polynomial of an n x n matrix over a finite field that requires O(n3) field operations and O(n) random vectors, and is well suited for successful practical implementation. The algorithm, and its complexity analysis, use standard algorithms for polynomial and matrix operations. We compare features of the algorithm with several other algorithms in the literature. In addition we present a deterministic verification procedure which is similarly efficient in most cases but has a worst-case complexity of O(n4). Finally, we report the results of practical experiments with an implementation of our algorithms in comparison with the current algorithms in the GAP library.

This paper is available as PDF (330 KB).

All papers published in the LMS JCM are covered by a copyright agreement with the authors. Access to the papers is bound by this agreement; click here for details.

Go to the Volume 11 index
Return to the LMS JCM Homepage