Efficient Computation of the Characteristic Polynomial
Total Page:16
File Type:pdf, Size:1020Kb
Load more
Recommended publications
-
On Finding Multiplicities of Characteristic Polynomial Factors Of
On finding multiplicities of characteristic polynomial factors of black-box matrices∗. Jean-Guillaume Dumas† Cl´ement Pernet‡ B. David Saunders§ November 2, 2018 Abstract We present algorithms and heuristics to compute the characteristic polynomial of a matrix given its minimal polynomial. The matrix is rep- resented as a black-box, i.e., by a function to compute its matrix-vector product. The methods apply to matrices either over the integers or over a large enough finite field. Experiments show that these methods perform efficiently in practice. Combined in an adaptive strategy, these algorithms reach significant speedups in practice for some integer matrices arising in an application from graph theory. Keywords: Characteristic polynomial ; black-box matrix ; finite field. 1 Introduction Computing the characteristic polynomial of an integer matrix is a classical math- ematical problem. It is closely related to the computation of the Frobenius nor- mal form which can be used to test two matrices for similarity, or computing invariant subspaces under the action of the matrix. Although the Frobenius normal form contains more information on the matrix than the characteristic arXiv:0901.4747v2 [cs.SC] 18 May 2009 polynomial, most algorithms to compute it are based on computations of char- acteristic polynomials (see for example [25, 9.7]). Several matrix representations are used in§ computational linear algebra. In the dense representation, a m n matrix is considered as the array of all the m n coefficients. The sparse representation× only considers non-zero coefficients using× different possible data structures. In the black-box representation, the matrix ∗Saunders supported by National Science Foundation Grants CCF-0515197, CCF-0830130. -
Observavility Brunovsky Normal Form: Multi-Output Linear Dynamical Systems Driss Boutat, Frédéric Kratz, Jean-Pierre Barbot
Observavility Brunovsky Normal Form: Multi-Output Linear Dynamical Systems Driss Boutat, Frédéric Kratz, Jean-Pierre Barbot To cite this version: Driss Boutat, Frédéric Kratz, Jean-Pierre Barbot. Observavility Brunovsky Normal Form: Multi- Output Linear Dynamical Systems. American Control Conference, ACC09, IEEE, Jun 2009, St. Louis, MO, United States. hal-00772281 HAL Id: hal-00772281 https://hal.inria.fr/hal-00772281 Submitted on 10 Jan 2013 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. Observavility Brunovsky Normal Form: Multi-Output Linear Dynamical Systems Driss Boutat, Fred´ eric´ Kratz and Jean-Pierre Barbot Abstract— This paper gives the sufficient and necessary II. NOTATION AND PROBLEM STATEMENT conditions to guarantee the existence of a linear change of co- ordinates to transform a multi-output linear dynamical system (modulo a nonlinear term depending on inputs and outputs) in the observability Brunovsky canonical form. Consider the following multi-output dynamical system: I. INTRODUCTION x˙ = Ax + γ(y, u) (1) y = Cx (2) For a single output dynamical linear system the observability rank condition is a necessary and sufficient condition to transform it into the Brunovsky observability where: normal form. In this last form, it is possible to use classical observer such that [8] observer and, [5] observer. -
A Rough Guide to Linear Algebra
A rough guide to linear algbera Dongryul Kim Version of April 18, 2020 ii Contents Preface v 1 Sets 1 1.1 Sets and maps . .1 1.2 Products, coproducts, and sets of maps . .4 1.3 Fun with diagrams . .7 1.4 Equivalence classes . .9 2 Vector spaces 13 2.1 Fields . 13 2.2 Vector spaces . 15 2.3 Matrices . 18 2.4 Products and direct sums . 21 2.5 Subspaces and quotients . 27 2.6 Vector spaces from linear maps . 29 2.7 Bases and dimension . 34 2.8 Dual spaces . 44 2.9 Linear algebra in combinatorics . 50 3 Multilinear algebra 55 3.1 Bilinear maps and tensor products . 55 3.2 Symmetric and exterior algebras . 62 3.3 The determinant . 68 3.4 Computing the inverse matrix . 72 4 Linear algebra without division 79 4.1 Commutative rings . 79 4.2 Modules . 82 4.3 Classification of finitely generated modules over a PID . 86 4.4 Frobenius and Jordan normal form . 97 4.5 Eigenvalues and eigenvectors . 103 iii iv CONTENTS 5 Linear algebra over R and C 109 5.1 A bit of analysis . 109 5.2 Inner products . 112 5.3 Operators on Hilbert spaces . 118 5.4 The spectral theorem . 121 5.5 Positivity of operators . 125 5.6 Duality in linear programming . 130 Epilogue 131 Preface At a certain point, one adopts a mode of learning mathematics. Then at a later point, after progressing through various styles of teaching and writing, one develops one's own point of view for how mathematics is to be taught. -
On the Generalized Nullspace of M-Matrices and Z-Matrices*
On the Generalized Nullspace of M-Matrices and Z-Matrices* Daniel Hershkowitz Department of Mathematics Technion - lsrael Institute of Technology Haifa, 32000 Israel and Hans Schneider Mathematics Department University of Wisconsin -Madison Madison, Wisconsin 53706 Submitted by Richard A. Bxualdi ABSTRACT A proof is given for the preferred basis theorem for the generalized nullspace of a given M-matrix. The theorem is then generalized and extended to the case of a Z-matrix. 1. INTRODUCTION In this paper we give a proof for a known result, namely, the preferred basis theorem for the generalized nullspace of a given M-matrix. We then generalize and extend the theorem to the case of a Z-matrix. Let A be a Zmatrix. A preferred set is an ordered set of semipositive vectors such that the image of each vector under - A is a nonnegative linear combination of the subsequent vectors. Furthermore, the positivity of the *The research of both authors was supported by their joint grant No. 8500153 from the United States-Israel Binational Science Foundation (BSF), J erusalem, Israel. The second author was supported also by NSF grant DMS8521521 and by ONR grant NOOO14-85K-1613. LINEAR ALGEBRA AND ITS APPLICATlONS 10&S-23 (1988) 5 0 Elsevier Science Publishing Co., Inc., 1988 52 Vanderbilt Ave., New York, NY 10017 0024-3795/88/$3.50 6 DANIEL HERSHKOWITZ AND HANS SCHNEIDER entries of the vectors and the coefficients in the linear combinations depends entirely on the graph structure of A in a specified manner. The preferred basis theorem asserts that the generalized nullspace E(A) of an M-matrix A has a basis which is a preferred set. -
On Functions of Companion Matrices Computing Centre Szeged
View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by Elsevier - Publisher Connector On Functions of Companion Matrices Jbzsef Eller Computing Centre Szeged Unioersity ofMedicine Szeged, Hungary Submitted by R. E. Hartwig ABSTRACT Presented in this paper are some new properties of a function f(C) of a companion matrix C, including (1) a representation of any entry of f(C) as a divided difference of f(X) times a polynomial, (2) a similarity decomposition of f(C) generalizing that based on the Jordan form of C, and (3) characterization (construc- tion) of all matrices that transform f(C) (by similarity) to companion form. The connection between functions of general and companion matrices is also dealt with, and a pair of dual relations is established. 1. INTRODUCTION Companion matrices are often encountered in linear algebra and applied mathematics (e.g., Frobenius normal form of matrices, phase-variable canoni- cal form of dynamical systems). They are a common device for transforming polynomial root problems into eigenvalue problems, or higher-order linear differential equations into first-order linear systems. Elementary properties of companion matrices were summarized by Brand [2]. Some useful results for handling companion matrices are contained in Hartwig [B, 91 and Young [17]. In this paper we deal with various representations related to the matrix function f(C) of a comp&nion matrix C. These representations generally involve divided differences of the function f(X), the power functions as well as the adjoint polynomials associated with C, evaluated at the eigenvalues of C. -
More Linear Algebra1
More Linear Algebra1 Chris Godsil Combinatorics & Optimization University of Waterloo ©2019 1version: January 29, 2021 ii Preface These notes are meant to provide an introduction to fundamental parts of lin- ear algebra, as might be applied to problems in combinatorics. I assume the reader has had a first course in linear algebra, and is familiar with determinants. iii To Do 1. Interlacing, via Courant-Fischer and by rational functions. Need equi- table partitions for this. 2. Walk modules. Controllable graphs. 3. Quadrics. 4. Matrix exponential. 5. Lie algebras, sl(2) repns. 6. Perron-Frobenius, symbolic dynamics. 7. Perturbation theory. iv Contents 1 Spaces and Subspaces 1 1.1 Vector Spaces . 1 1.2 Subspaces . 3 1.3 Linear Mappings . 4 1.4 Duals and Adjoints . 6 1.5 Bilinear Forms . 8 1.6 Counting . 9 1.7 Normal Forms . 11 1.8 Groebner Bases . 13 1.9 Codes . 15 2 Primary Decomposition 19 2.1 Modules . 19 2.2 Control Theory . 20 2.3 Sums .................................... 22 2.4 Invariant Sums . 23 2.5 Minimal Polynomials . 25 2.6 Primary Decomposition . 27 2.7 The Degree of the Minimal Polynomial . 29 2.8 Root Spaces . 30 2.9 Examples of Root Spaces . 31 2.10 Differential Equations . 33 2.11 Linear Recurrence Equations . 35 2.12 Diagonalizability . 36 3 Frobenius Normal Form 39 3.1 Companion Matrices . 39 3.2 Transposes . 41 v vi CONTENTS 3.3 Eigenvectors for Companion Matrices . 42 3.4 Inverses of Companion Matrices . 44 3.5 Cycles.................................... 46 3.6 Circulants and Cyclic Codes . 47 3.7 Frobenius Normal Form . -
Jordan Canonical Form with Parameters from Frobenius Form with Parameters
Jordan Canonical Form with Parameters from Frobenius Form with Parameters Robert M. Corless, Marc Moreno Maza, and Steven E. Thornton ORCCA, University of Western Ontario, London, Ontario, Canada Motivation Parametric Matrix Computations in CAS Computer algebra systems generally give generic answers for computations on matrices with parameters. 1 Example Jordan canonical form of:2 3 6 α 0 1 7 6 7 6 7 6 0 α − 3 0 7 with α 2 C 4 5 0 0 −2 Maple Mathematica SymPy Sage 2 3 2 3 2 3 2 3 6 −2 7 6 −2 7 6 α − 3 7 6 7 6 −2 7 6 7 6 7 6 7 6 7 6 7 6 7 6 α 7 6 7 6 α 7 6 α 7 4 5 6 −3 + α 7 4 5 4 5 4 5 α − 3 α − 3 −2 α 2 Example Jordan canonical form2 of: 3 2 3 6 α 0 1 7 6 −2 0 1 7 6 7 6 7 6 7 α = −2 6 7 6 0 α − 3 0 7 −−−−! 6 0 −5 0 7 4 5 4 5 0 0 −2 0 0 −2 Maple Mathematica SymPy Sage 2 3 2 3 2 3 2 3 6 −5 7 6 −5 7 6 −5 7 6 −5 7 6 7 6 7 6 7 6 7 6 7 6 7 6 7 6 7 6 −2 1 7 6 −2 1 7 6 −2 1 7 6 −2 1 7 4 5 4 5 4 5 4 5 −2 −2 −2 −2 3 Prior Work • Arnol’d, V.I.: On matrices depending on parameters. -
A Practical Implementation of Modular Algorithms for Frobenius Normal Forms of Rational Matrices
Vol. 45 No. 6 IPSJ Journal June 2004 Regular Paper A Practical Implementation of Modular Algorithms for Frobenius Normal Forms of Rational Matrices Shuichi Moritsugu† Modular algorithms for computing the Frobenius normal forms of integer and rational ma- trices are presented and their implementation is reported. These methods compute Frobenius normal forms over Zpi , where pi’s are distinct primes, and then construct the normal forms over Z or Q by the Chinese remainder theorem. Our implementation includes: (1) detection of unlucky primes, (2) a new formula for the efficient computation of a transformation ma- trix, and (3) extension of our preceding algorithm over Z to one over Q. Through experiments using a number of test matrices, we confirm that our modular algorithm is more efficient in practical terms than the straightforward implementation of conventional methods. • the structure of eigenvectors or generalized 1. Introduction eigenvectors. In a previous paper19), we studied a mod- In addition, algorithms for symbolic computa- ular algorithm for the exact computation of tion of Jordan normal forms can be realized by Frobenius normal forms of integer matrices, and transforming the Frobenius normal forms9),20). substantiated its efficiency by computational Therefore, Frobenius normal forms are the most experiments. In this paper, we extend the suitable for constructing linear algebra algo- above algorithm to the case of rational matri- rithms by means of computer algebra systems. ces. We propose several algorithms and com- They also have important applications such as pare their efficiency and effectiveness through the eigenvalue method for solving systems of experiments. algebraic equations22),23),30). -
On the Local Smith Normal Form
Smith Normal Form over Local Rings and Related Problems by Mustafa Elsheikh A thesis presented to the University of Waterloo in fulfillment of the thesis requirement for the degree of Doctor of Philosophy in Computer Science Waterloo, Ontario, Canada, 2017 c Mustafa Elsheikh 2017 Examining Committee Membership The following served on the Examining Committee for this thesis. The decision of the Examining Committee is by majority vote. External Examiner Jean-Guillaume Dumas Professeur, Math´ematiques Appliqu´ees Universit´eGrenoble Alpes, France Supervisor Mark Giesbrecht Professor, David R. Cheriton School of Computer Science University of Waterloo, Canada Internal Member George Labahn Professor, David R. Cheriton School of Computer Science University of Waterloo, Canada Internal Member Arne Storjohann Associate Professor, David R. Cheriton School of Computer Science University of Waterloo, Canada Internal-external Member Kevin Hare Professor, Department of Pure Mathematics University of Waterloo, Canada ii Author's Declaration This thesis consists of material all of which I authored or co-authored: see Statement of Contributions included in the thesis. This is a true copy of the thesis, including any required final revisions, as accepted by my examiners. I understand that my thesis may be made electronically available to the public. iii Statement of Contributions I am the sole author of Chapters 1, 4, and 7. Chapter 2 is based on an article co- authored with Mark Giesbrecht, B. David Saunders, and Andy Novocin. Chapter 3 is based on collaboration with Mark Giesbrecht, and B. David Saunders. Chapter 5 is based on an article co-authored with Mark Giesbrecht. Chapter 6 is based on collaboration with Mark Giesbrecht, and Andy Novocin. -
Frobenius Normal Forms of Doubly Stochastic Matrices Received August 15, 2019; Accepted November 22, 2019
Spec. Matrices 2019; 7:213–217 Note Open Access Special Issue Dedicated to Charles R. Johnson Pietro Paparella* Frobenius normal forms of doubly stochastic matrices https://doi.org/10.1515/spma-2019-0015 Received August 15, 2019; accepted November 22, 2019 Abstract: An elementary proof of a fundamental result on doubly stochastic matrices in Frobenius normal form is given. This result is used to establish several well-known results concerning permutations, including a theorem due to Runi. Keywords: Frobenius normal form, doubly stochastic matrix, permutation, permutation matrix MSC: 15A21; 05A05 1 Introduction In 1965, Perfect and Mirsky [5, Lemma 3] stated, without proof, that a doubly stochastic matrix is permuta- tionally similar to a direct sum of irreducible, doubly stochastic matrices. Furthermore, they state that the result “is almost certainly well-known” and omit a proof because it “follows very easily from the denitions” [5, p. 38]. This result is fundamental in the Perfect–Mirsky conjecture, but, to the best of our knowledge, it ap- pears sparingly in the literature: Liu and Lai [4, Theorem 2.7.4] prove the weaker result that a doubly stochastic matrix is either irreducible or permutationally similar to a direct sum of two doubly stochastic matrices; and Hartel and Spellman [2, Lemma 1(b)] give a proof via strong induction. In this work, an elementary proof of this fundamental result is provided that relies on weak induction and the Frobenius normal form of a matrix. To demonstrate its import and utility, we apply it to permutation matrices and and characterize the Frobenius normal forms of a permutation matrix. -
On the Block Structure and Frobenius Normal Form of Powers of Matrices∗
Electronic Journal of Linear Algebra, ISSN 1081-3810 A publication of the International Linear Algebra Society Volume 35, pp. 297-306, July 2019. ON THE BLOCK STRUCTURE AND FROBENIUS NORMAL FORM OF POWERS OF MATRICES∗ MASHAEL M. ALBAIDANIy AND JUDI J. MCDONALDz Abstract. The Frobenius normal form of a matrix is an important tool in analyzing its properties. When a matrix is powered up, the Frobenius normal form of the original matrix and that of its powers need not be the same. In this article, conditions on a matrix A and the power q are provided so that for any invertible matrix S, if S−1AqS is block upper triangular, then so is S−1AS when partitioned conformably. The result is established for general matrices over any field. It is also observed that the contributions of the index of cyclicity to the spectral properties of a matrix hold over any field. The article concludes by applying the block upper triangular powers result to the cone Frobenius normal form of powers of a eventually cone nonnegative matrix. Key words. Fields, Frobenius normal form, Block upper triangular matrices, Cones, Eventually nonnegative matrices. AMS subject classifications. 15A18, 15A21, 15B48. 1. Introduction. Many interesting properties of matrices, particularly nonnegative matrices, can be gleaned from looking at their irreducible classes and Frobenius normal form. In particular, the Perron- Frobenius theorem identifies several spectral properties tied to the combinatorial structure of a nonnegative irreducible matrix. The study of spectral properties of reducible nonnegative matrices is summarized by Schneider in [17]. Properties of the Jordan form of the entire peripheral spectrum are presented in [12]. -
Perron Frobenius Theory and Some Extensions
Perron Frobenius theory and some extensions Dimitrios Noutsos Department of Mathematics University of Ioannina GREECE Como, Italy, May 2008 Dimitrios Noutsos Perron Frobenius theory History Theorem (1) The dominant eigenvalue of a matrix with positive entries is positive and the corresponding eigenvector could be chosen to be positive. Theorem (2) The dominant eigenvalue of an irreducible nonnegative matrix is positive and the corresponding eigenvector could be chosen to be positive. O. Perron, Zur Theorie der Matrizen, Math. Ann. 64 (1907), 248–263. G. Frobenius, Uber¨ Matrizen aus nicht negativen Elementen, S.-B. Preuss Acad. Wiss. Berlin (1912), 456–477. Dimitrios Noutsos Perron Frobenius theory Definitions Definition (1) Let A = (aij ) and B = (bij ) be two n × r matrices. Then, A ≥ B (A > B) if aij ≥ bij (aij > bij ) for all i = 1,..., n, j = 1,..., r. Definition (2) A matrix A ∈ IRn,r is said to be nonnegative (positive) matrix if A ≥ 0 (A > 0). Definition (3) n,r Let B ∈ CI , then |B| denotes the matrix with entries |bij |. Dimitrios Noutsos Perron Frobenius theory Reducible and Irreducible Matrices Definition (4) A matrix A ∈ IRn,n is said to be reducible if there exists a permutation matrix P such that A A C = PAPT = 11 12 , 0 A22 r,r n−r,n−r r,n−r where A11 ∈ IR , A22 ∈ IR and A12 ∈ IR , 0 < r < n. Definition (5) A matrix A ∈ IRn,n is said to be irreducible if it is not reducible. Dimitrios Noutsos Perron Frobenius theory Frobenius normal form Theorem (3) For every matrix A ∈ IRn,n there exists a permutation matrix P ∈ IRn,n such that A11 A12 ··· A1r 0 A22 ··· A1r C = PAPT = , .