Sensitivity and Stability Analysis of Nonlinear Kalman Filters with Application to Aircraft Attitude Estimation

Total Page:16

File Type:pdf, Size:1020Kb

Sensitivity and Stability Analysis of Nonlinear Kalman Filters with Application to Aircraft Attitude Estimation Graduate Theses, Dissertations, and Problem Reports 2013 Sensitivity and stability analysis of nonlinear Kalman filters with application to aircraft attitude estimation Matthew Brandon Rhudy West Virginia University Follow this and additional works at: https://researchrepository.wvu.edu/etd Recommended Citation Rhudy, Matthew Brandon, "Sensitivity and stability analysis of nonlinear Kalman filters with application ot aircraft attitude estimation" (2013). Graduate Theses, Dissertations, and Problem Reports. 3659. https://researchrepository.wvu.edu/etd/3659 This Dissertation is protected by copyright and/or related rights. It has been brought to you by the The Research Repository @ WVU with permission from the rights-holder(s). You are free to use this Dissertation in any way that is permitted by the copyright and related rights legislation that applies to your use. For other uses you must obtain permission from the rights-holder(s) directly, unless additional rights are indicated by a Creative Commons license in the record and/ or on the work itself. This Dissertation has been accepted for inclusion in WVU Graduate Theses, Dissertations, and Problem Reports collection by an authorized administrator of The Research Repository @ WVU. For more information, please contact [email protected]. SENSITIVITY AND STABILITY ANALYSIS OF NONLINEAR KALMAN FILTERS WITH APPLICATION TO AIRCRAFT ATTITUDE ESTIMATION by Matthew Brandon Rhudy Dissertation submitted to the Benjamin M. Statler College of Engineering and Mineral Resources at West Virginia University in partial fulfillment of the requirements for the degree of Doctor of Philosophy in Aerospace Engineering Approved by Dr. Yu Gu, Committee Chairperson Dr. John Christian Dr. Gary Morris Dr. Marcello Napolitano Dr. Powsiri Klinkhachorn Department of Mechanical and Aerospace Engineering Morgantown, West Virginia 2013 Keywords: Attitude Estimation, Extended Kalman Filter, GPS/INS Sensor Fusion, Stochastic Stability Copyright 2013, Matthew B. Rhudy Abstract SENSITIVITY AND STABILITY ANALYSIS OF NONLINEAR KALMAN FILTERS WITH APPLICATION TO AIRCRAFT ATTITUDE ESTIMATION by Matthew B. Rhudy State estimation techniques are important tools for analyzing systems that contain states that are not directly measureable. If the estimated states are used, for example, in place of the true states in a feedback controller, the accuracy and stability of the estimates becomes crucial for the safe and effective execution of the controller. This is especially important in aircraft control applications, where safety is an essential concern. Because of this, the stability characteristics of the state estimation are investigated. Additionally, two different nonlinear Kalman filters are considered and compared with respect to various design parameters. This work considers the sensitivity and stability characteristics of nonlinear state estimation through the aircraft attitude estimation problem. This problem is approached using sensor information from Global Positioning System (GPS) and Inertial Navigation System (INS) in order to obtain estimates of the aircraft attitude angles. This case study uses experimentally collected flight data from subscale aircraft to derive estimation results. The goal of this work is to obtain a better understanding of the properties of nonlinear Kalman filters in order to make more informed decisions regarding the selection and tuning of these filters for different real-world applications. ACKNOWLEDGMENTS This research was partially supported by NASA grant # NNX07AT53A, grant # NNX10AI14G, grant # NNX12AM56A, and NASA West Virginia Space Grant Consortium Graduate Fellowship. I would like to thank my research advisor, Dr. Yu Gu, for his guidance and support throughout this project. Dr. Gu, your insight and technical advice provided me with great opportunities to succeed and really learn to think about various research problems. I greatly appreciate your time and effort spent providing me with both technical and career advice. I would like to thank the other faculty members of the Flight Control Systems Laboratory, Dr. Marcello Napolitano, Dr. Srikanth Gururajan, Dr. Brad Seanor, and Dr. Haiyang Chao. Your assistance, particularly with the flight testing program, was invaluable to my research and professional growth. I would also like to thank my committee members Dr. John Christian, Dr. Powsiri Klinkhachorn, and Dr. Gary Morris. Your discussions and feedback regarding this work were very helpful in improving its quality. Current and former students of the research group, Frank Barchesky, Matteo Dariol, Giovanni DeNunzio, Jason Gross, Matteo Guerra, Tanmay Mandal, Kyle Lassak, Kerri Phillips, Daniele Tancredi, Amanda McGrail, your collaborative effort has helped me to become a better group member, leader, and mentor. Thank you. I would particularly like to acknowledge the contribution of Jason Gross, who offered a fantastic introduction into this research area, as well as many productive discussions allowing us to both further our understanding. Finally, I would like to thank my wife, Stephanie, for supporting me throughout this process. Thank you for your love and support. iii TABLE OF CONTENTS ACKNOWLEDGMENTS ............................................................................................... iii 1.0 INTRODUCTION.................................................................................................... 1 1.1 OBJECTIVE ....................................................................................................... 6 1.2 ORGANIZATION .............................................................................................. 6 2.0 BACKGROUND INFORMATION ....................................................................... 8 2.1 STABILITY OF CONTINUOUS-TIME SYSTEMS ...................................... 8 2.1.1 Stability of Continuous-Time Linear Systems ..................................... 11 2.1.2 Lyapunov’s Linearization Method for Continuous-Time Systems .... 15 2.1.3 Lyapunov’s Direct Method for Continuous-Time Systems ................ 17 2.2 STABILITY OF DISCRETE-TIME SYSTEMS .......................................... 19 2.2.1 Stability of Discrete-Time Linear Systems ........................................... 20 2.2.2 Lyapunov’s Direct Method for Discrete-Time Systems ...................... 21 2.3 NONLINEAR STATE ESTIMATION .......................................................... 23 2.4 DISCRETE-TIME LINEAR KALMAN FILTER ........................................ 24 2.4.1 Discrete-Time Linear Kalman Filter Stability ..................................... 26 2.5 EXTENDED KALMAN FILTER .................................................................. 28 2.5.1 Extended Kalman Filter Stability ......................................................... 29 2.6 UNSCENTED KALMAN FILTER ................................................................ 35 2.6.1 Linearization of the UKF for Non-Additive Noise ............................... 37 2.6.2 Unscented Kalman Filter Stability ........................................................ 38 3.0 AIRCRAFT ATTITUDE ESTIMATION ........................................................... 40 3.1 GPS/INS SENSOR FUSION ........................................................................... 40 3.2 LOOSELY-COUPLED GPS/INS SENSOR FUSION FORMULATIONS 42 3.2.1 Inertial Navigation Equations ................................................................ 42 3.2.2 Acceleration Vector Attitude Estimation .............................................. 44 3.2.3 3-State GPS/INS Sensor Fusion Formulation ...................................... 46 3.2.4 6-State GPS/INS Sensor Fusion Formulation ...................................... 50 3.2.5 9-State GPS/INS Sensor Fusion Formulation ...................................... 51 3.2.6 12-State GPS/INS Sensor Fusion Formulation .................................... 51 3.2.7 15-State GPS/INS Sensor Fusion Formulation .................................... 52 3.3 ALTERNATIVE ATTITUDE ESTIMATION METHODS ........................ 53 4.0 EXPERIMENTAL PLATFORM ......................................................................... 57 4.1 FLIGHT DATA SELECTION ........................................................................ 60 5.0 SENSITIVITY ANALYSIS................................................................................... 63 5.1 PERFORMANCE EVALUATION METRICS ............................................ 65 5.2 EXPERIMENTAL SENSITIVITY ANALYSIS RESULTS ........................ 66 5.2.1 Comparison of Baseline Results for Individual Data Sets .................. 69 5.2.2 Sensitivity to Tuning of Assumed Noise Covariance Matrices ........... 71 5.2.3 Sensitivity to Sampling Rate .................................................................. 73 5.2.4 Sensitivity to Initialization Error .......................................................... 76 iv 5.2.5 Sensitivity to GPS Outages ..................................................................... 77 5.2.6 Robustness to Uncertainty in IMU Measurements .............................. 80 5.2.7 Comparison of Linearization Techniques ............................................ 82 5.2.8 Sensitivity to GPS Time Offset .............................................................. 84 5.2.9 Sensitivity to Acceleration due to Gravity ............................................ 86 5.2.10 Experimental Sensitivity Analysis Conclusions ................................... 87 5.3 MATRIX SQUARE ROOT OPERATIONS FOR UKF
Recommended publications
  • Newton's Method for the Matrix Square Root*
    MATHEMATICS OF COMPUTATION VOLUME 46, NUMBER 174 APRIL 1986, PAGES 537-549 Newton's Method for the Matrix Square Root* By Nicholas J. Higham Abstract. One approach to computing a square root of a matrix A is to apply Newton's method to the quadratic matrix equation F( X) = X2 - A =0. Two widely-quoted matrix square root iterations obtained by rewriting this Newton iteration are shown to have excellent mathematical convergence properties. However, by means of a perturbation analysis and supportive numerical examples, it is shown that these simplified iterations are numerically unstable. A further variant of Newton's method for the matrix square root, recently proposed in the literature, is shown to be, for practical purposes, numerically stable. 1. Introduction. A square root of an n X n matrix A with complex elements, A e C"x", is a solution X e C"*" of the quadratic matrix equation (1.1) F(X) = X2-A=0. A natural approach to computing a square root of A is to apply Newton's method to (1.1). For a general function G: CXn -* Cx", Newton's method for the solution of G(X) = 0 is specified by an initial approximation X0 and the recurrence (see [14, p. 140], for example) (1.2) Xk+l = Xk-G'{XkylG{Xk), fc = 0,1,2,..., where G' denotes the Fréchet derivative of G. Identifying F(X+ H) = X2 - A +(XH + HX) + H2 with the Taylor series for F we see that F'(X) is a linear operator, F'(X): Cx" ^ C"x", defined by F'(X)H= XH+ HX.
    [Show full text]
  • Matlib: Matrix Functions for Teaching and Learning Linear Algebra and Multivariate Statistics
    Package ‘matlib’ August 21, 2021 Type Package Title Matrix Functions for Teaching and Learning Linear Algebra and Multivariate Statistics Version 0.9.5 Date 2021-08-10 Maintainer Michael Friendly <[email protected]> Description A collection of matrix functions for teaching and learning matrix linear algebra as used in multivariate statistical methods. These functions are mainly for tutorial purposes in learning matrix algebra ideas using R. In some cases, functions are provided for concepts available elsewhere in R, but where the function call or name is not obvious. In other cases, functions are provided to show or demonstrate an algorithm. In addition, a collection of functions are provided for drawing vector diagrams in 2D and 3D. License GPL (>= 2) Language en-US URL https://github.com/friendly/matlib BugReports https://github.com/friendly/matlib/issues LazyData TRUE Suggests knitr, rglwidget, rmarkdown, carData, webshot2, markdown Additional_repositories https://dmurdoch.github.io/drat Imports xtable, MASS, rgl, car, methods VignetteBuilder knitr RoxygenNote 7.1.1 Encoding UTF-8 NeedsCompilation no Author Michael Friendly [aut, cre] (<https://orcid.org/0000-0002-3237-0941>), John Fox [aut], Phil Chalmers [aut], Georges Monette [ctb], Gaston Sanchez [ctb] 1 2 R topics documented: Repository CRAN Date/Publication 2021-08-21 15:40:02 UTC R topics documented: adjoint . .3 angle . .4 arc..............................................5 arrows3d . .6 buildTmat . .8 cholesky . .9 circle3d . 10 class . 11 cofactor . 11 cone3d . 12 corner . 13 Det.............................................. 14 echelon . 15 Eigen . 16 gaussianElimination . 17 Ginv............................................. 18 GramSchmidt . 20 gsorth . 21 Inverse............................................ 22 J............................................... 23 len.............................................. 23 LU.............................................. 24 matlib . 25 matrix2latex . 27 minor . 27 MoorePenrose .
    [Show full text]
  • Notes on Linear Algebra and Matrix Analysis
    Notes on Linear Algebra and Matrix Analysis Maxim Neumann May 2006, Version 0.1.1 1 Matrix Basics Literature to this topic: [1–4]. x†y ⇐⇒ < y,x >: standard inner product. x†x = 1 : x is normalized x†y = 0 : x,y are orthogonal x†y = 0, x†x = 1, y†y = 1 : x,y are orthonormal Ax = y is uniquely solvable if A is linear independent (nonsingular). Majorization: Arrange b and a in increasing order (bm,am) then: k k b majorizes a ⇐⇒ ∑ bmi ≥ ∑ ami ∀ k ∈ [1,...,n] (1) i=1 i=1 n n The collection of all vectors b ∈ R that majorize a given vector a ∈ R may be obtained by forming the convex hull of n! vectors, which are computed by permuting the n components of a. Direct sum of matrices A ∈ Mn1,B ∈ Mn2: A 0 A ⊕ B = ∈ M (2) 0 B n1+n2 [A,B] = traceAB†: matrix inner product. 1.1 Trace n traceA = ∑λi (3) i trace(A + B) = traceA + traceB (4) traceAB = traceBA (5) 1.2 Determinants The determinant det(A) expresses the volume of a matrix A. A is singular. Linear equation is not solvable. det(A) = 0 ⇐⇒ −1 (6) A does not exists vectors in A are linear dependent det(A) 6= 0 ⇐⇒ A is regular/nonsingular. Ai j ∈ R → det(A) ∈ R Ai j ∈ C → det(A) ∈ C If A is a square matrix(An×n) and has the eigenvalues λi, then det(A) = ∏λi detAT = detA (7) detA† = detA (8) detAB = detA detB (9) Elementary operations on matrix and determinant: Interchange of two rows : detA ∗ = −1 Multiplication of a row by a nonzero scalar c : detA ∗ = c Addition of a scalar multiple of one row to another row : detA = detA 1 2 EIGENVALUES, EIGENVECTORS, AND SIMILARITY 2 a b = ad − bc (10) c d 2 Eigenvalues, Eigenvectors, and Similarity σ(An×n) = {λ1,...,λn} is the set of eigenvalues of A, also called the spectrum of A.
    [Show full text]
  • Functions Preserving Matrix Groups and Iterations for the Matrix Square Root∗
    FUNCTIONS PRESERVING MATRIX GROUPS AND ITERATIONS FOR THE MATRIX SQUARE ROOT∗ NICHOLAS J. HIGHAM† , D. STEVEN MACKEY‡ , NILOUFER MACKEY§ , AND FRANC¸OISE TISSEUR¶ Abstract. For which functions f does A ∈ G ⇒ f(A) ∈ G when G is the matrix automorphism group associated with a bilinear or sesquilinear form? For example, if A is symplectic when is f(A) symplectic? We show that group structure is preserved precisely when f(A−1)= f(A)−1 for bilinear forms and when f(A−∗) = f(A)−∗ for sesquilinear forms. Meromorphic functions that satisfy each of these conditions are characterized. Related to structure preservation is the condition f(A)= f(A), and analytic functions and rational functions satisfying this condition are also characterized. These results enable us to characterize all meromorphic functions that map every G into itself as the ratio of a polynomial and its “reversal”, up to a monomial factor and conjugation. The principal square root is an important example of a function that preserves every automor- phism group G. By exploiting the matrix sign function, a new family of coupled iterations for the matrix square root is derived. Some of these iterations preserve every G; all of them are shown, via a novel Fr´echet derivative-based analysis, to be numerically stable. A rewritten form of Newton’s method for the square root of A ∈ G is also derived. Unlike the original method, this new form has good numerical stability properties, and we argue that it is the iterative method of choice for computing A1/2 when A ∈ G. Our tools include a formula for the sign of a certain block 2 × 2 matrix, the generalized polar decomposition along with a wide class of iterations for computing it, and a connection between the generalized polar decomposition of I + A and the square root of A ∈ G.
    [Show full text]
  • Computing Real Square Roots of a Real Matrix* LINEAR ALGEBRA
    Computing Real Square Roots of a Real Matrix* Nicholas J. Higham Department of Mathematics University of Manchester Manchester Ml3 9PL, England In memory of James H. WiIkinson Submitted by Hans Schneider ABSTRACT Bjiirck and Hammarling [l] describe a fast, stable Schur method for computing a square root X of a matrix A (X2 = A).We present an extension of their method which enables real arithmetic to be used throughout when computing a real square root of a real matrix. For a nonsingular real matrix A conditions are given for the existence of a real square root, and for the existence of a real square root which is a polynomial in A; thenumber of square roots of the latter type is determined. The conditioning of matrix square roots is investigated, and an algorithm is given for the computation of a well-conditioned square root. 1. INTRODUCTION Given a matrix A, a matrix X for which X2 = A is called a square root of A. Several authors have considered the computation of matrix square roots [3, 4, 9, 10, 15, 161. A particularly attractive method which utilizes the Schur decomposition is described by Bjiirck and Hammarling [l]; in general it requires complex arithmetic. Our main purpose is to show how the method can be extended so as to compute a real square root of a real matrix, if one exists, in real arithmetic. The theory behind the existence of matrix square roots is nontrivial, as can be seen by noting that while the n x n identity matrix has infinitely many square roots for n > 2 (any involutary matrix such as a Householder transformation is a square root), a nonsingular Jordan block has precisely two square roots (this is proved in Corollary 1).
    [Show full text]
  • The Square Root Function of a Matrix
    CORE Metadata, citation and similar papers at core.ac.uk Provided by ScholarWorks @ Georgia State University Georgia State University ScholarWorks @ Georgia State University Mathematics Theses Department of Mathematics and Statistics 4-24-2007 The quaS re Root Function of a Matrix Crystal Monterz Gordon Follow this and additional works at: https://scholarworks.gsu.edu/math_theses Part of the Mathematics Commons Recommended Citation Gordon, Crystal Monterz, "The quaS re Root Function of a Matrix." Thesis, Georgia State University, 2007. https://scholarworks.gsu.edu/math_theses/24 This Thesis is brought to you for free and open access by the Department of Mathematics and Statistics at ScholarWorks @ Georgia State University. It has been accepted for inclusion in Mathematics Theses by an authorized administrator of ScholarWorks @ Georgia State University. For more information, please contact [email protected]. THE SQUARE ROOT FUNCTION OF A MATRIX by Crystal Monterz Gordon Under the Direction of Marina Arav and Frank Hall ABSTRACT Having origins in the increasingly popular Matrix Theory, the square root func- tion of a matrix has received notable attention in recent years. In this thesis, we discuss some of the more common matrix functions and their general properties, but we specifically explore the square root function of a matrix and the most effi- cient method (Schur decomposition) of computing it. Calculating the square root ofa2×2 matrix by the Cayley-Hamilton Theorem is highlighted, along with square roots of positive semidefinite matrices
    [Show full text]
  • Logarithms and Square Roots of Real Matrices Existence, Uniqueness, and Applications in Medical Imaging
    Logarithms and Square Roots of Real Matrices Existence, Uniqueness, and Applications in Medical Imaging Jean Gallier Department of Computer and Information Science University of Pennsylvania Philadelphia, PA 19104, USA [email protected] September 2, 2019 Abstract. The need for computing logarithms or square roots of real matrices arises in a number of applied problems. A significant class of problems comes from medical imag- ing. One of these problems is to interpolate and to perform statistics on data represented by certain kinds of matrices (such as symmetric positive definite matrices in DTI). Another important and difficult problem is the registration of medical images. For both of these prob- lems, the ability to compute logarithms of real matrices turns out to be crucial. However, not all real matrices have a real logarithm and thus, it is important to have sufficient conditions for the existence (and possibly the uniqueness) of a real logarithm for a real matrix. Such conditions (involving the eigenvalues of a matrix) are known, both for the logarithm and the square root. As far as I know, with the exception of Higham's recent book [18], proofs of the results involving these conditions are scattered in the literature and it is not easy to locate them. Moreover, Higham's excellent book assumes a certain level of background in linear algebra that readers interested in applications to medical imaging may not possess so we feel that a more elementary presentation might be a valuable supplement to Higham [18]. In this paper, I present a unified exposition of these results, including a proof of the existence of the Real Jordan Form, and give more direct proofs of some of these results using the Real Jordan Form.
    [Show full text]
  • CHUNG-ANG UNIVERSITY Solutions to Problem Set #2 Answers To
    CHUNG-ANG UNIVERSITY Linear Algebra Spring 2014 Solutions to Problem Set #2 Answers to Practice Problems Problem 2.1 Let A, B, C, D and E be matrices of the following sizes; A B C D E (3 × 1) (3 × 6) (6 × 2) (2 × 6) (1 × 3) For each of the following, determine whether or not the given expression is defined. In other words, are the matrices of the correct size so that the given expression is a valid one. For those that are defined, determine the size of the resulting matrix. (a) BT (A + ET ) (b) (CT + D)BT (c) (BDT )CT Answer (a) Expression is defined, and is equal to a 6 × 1 vector. (b) Expression is defined, and is a 2 × 3 matrix. (c) Expression is defined, and the result is a 3 × 6 matrix. Problem 2.2 Consider the matrices 2 4 9 3 2 0 1 −7 2 A = ; B = ; C = −3 0 −4 6 5 3 0 4 5 2 1 2 −2 1 8 3 2 0 3 0 3 2 a b c 3 D = 4 3 0 2 5 ; E = 4 −5 1 1 5 ; F = 4 b a b 5 4 −6 3 7 6 2 c b a and evaluate each of the following expressions. (a) A(BC) (b) Tr(4ET − D) (c) Tr(FFT ) Answer 58 22 (a) A(BC) = . −50 226 (b) Tr(4ET − D) = 4(3) − 1 = 11. (c) Tr(FFT ) = 3a2 + 4b2 + 2c2 Problem 2.3 Find all values of k, if any, that satisfy the following equation 2 1 2 0 3 2 2 3 [2 2 k] 4 2 0 3 5 4 2 5 = 0 0 3 1 k Answer k = −2; −10 Problem 2.4 A matrix is said to be an orthogonal matrix if its transpose is the same as its inverse.
    [Show full text]
  • Global Optimization: from Theory to Implementation
    Global Optimization: from Theory to Implementation Leo Liberti DEI, Politecnico di Milano, Piazza L. da Vinci 32, 20133 Milano, Italy Nelson Maculan COPPE, Universidade Federal do Rio de Janeiro, P.O. Box, 68511, 21941-972 Rio de Janeiro, Brazil DRAFT To Anne-Marie DRAFT Preface The idea for this book was born on the coast of Montenegro, in October 2003, when we were invited to the Sym-Op-Is Serbian Conference on Operations Research. During those days we talked about many optimization problems, going from discussion to implementation in a matter of minutes, reaping good profits from the whole \hands-on" process, and having a lot of fun in the meanwhile. All the wrong ideas were weeded out almost immediately by failed computational experiments, so we wasted little time on those. Unfortunately, translating ideas into programs is not always fast and easy, and moreover the amount of literature about the implementation of global optimization algorithm is scarce. The scope of this book is that of moving a few steps towards the system- atization of the path that goes from the invention to the implementation and testing of a global optimization algorithm. The works contained in this book have been written by various researchers working at academic or industrial institutions; some very well known, some less famous but expert nonetheless in the discipline of actually getting global optimization to work. The papers in this book underline two main developments in the imple- mentation side of global optimization: firstly, the introduction of symbolic manipulation algorithms and automatic techniques for carrying out algebraic transformations; and secondly, the relatively wide availability of extremely ef- ficient global optimization heuristics and metaheuristics that target large-scale nonconvex constrained optimization problems directly.
    [Show full text]
  • Linear Algebra
    Math 221: LINEAR ALGEBRA Chapter 8. Orthogonality §8-3. Positive Definite Matrices Le Chen1 Emory University, 2020 Fall (last updated on 11/10/2020) Creative Commons License (CC BY-NC-SA) 1 Slides are adapted from those by Karen Seyffarth from University of Calgary. Positive Definite Matrices Cholesky factorization – Square Root of a Matrix Definition An n × n matrix A is positive definite if it is symmetric and has positive eigenvalues, i.e., if λ is a eigenvalue of A, then λ > 0. Theorem If A is a positive definite matrix, then det(A) > 0 and A is invertible. Proof. Let λ1; λ2; : : : ; λn denote the (not necessarily distinct) eigenvalues of A. Since A is symmetric, A is orthogonally diagonalizable. In particular, A ∼ D, where D = diag(λ1; λ2; : : : ; λn). Similar matrices have the same determinant, so det(A) = det(D) = λ1λ2 ··· λn: Since A is positive definite, λi > 0 for all i, 1 ≤ i ≤ n; it follows that det(A) > 0, and therefore A is invertible. Positive Definite Matrices Theorem If A is a positive definite matrix, then det(A) > 0 and A is invertible. Proof. Let λ1; λ2; : : : ; λn denote the (not necessarily distinct) eigenvalues of A. Since A is symmetric, A is orthogonally diagonalizable. In particular, A ∼ D, where D = diag(λ1; λ2; : : : ; λn). Similar matrices have the same determinant, so det(A) = det(D) = λ1λ2 ··· λn: Since A is positive definite, λi > 0 for all i, 1 ≤ i ≤ n; it follows that det(A) > 0, and therefore A is invertible. Positive Definite Matrices Definition An n × n matrix A is positive definite if it is symmetric and has positive eigenvalues, i.e., if λ is a eigenvalue of A, then λ > 0.
    [Show full text]
  • Cholesky Decomposition
    Cholesky decomposition In linear algebra, the Cholesky decomposition or Cholesky factorization is a decomposition of a Hermitian, positive-definite matrix into the product of a lower triangular matrix and its conjugate transpose, which is useful for efficient numerical solutions, e.g. Monte Carlo simulations. It was discovered by André-Louis Cholesky for real matrices. When it is applicable, the Cholesky decomposition is roughly twice as efficient as the LU decomposition for solving systems of linear equations.[1] Contents Statement LDL decomposition Example Applications Linear least squares Non-linear optimization Monte Carlo simulation Kalman filters Matrix inversion Computation The Cholesky algorithm The Cholesky–Banachiewicz and Cholesky–Crout algorithms Stability of the computation LDL decomposition Block variant Updating the decomposition Rank-one update Rank-one downdate Adding and Removing Rows and Columns Proof for positive semi-definite matrices Generalization Implementations in programming libraries See also Notes References External links History of science Information Computer code Use of the matrix in simulation Online calculators Statement The Cholesky decomposition of aHermitian positive-definite matrix A is a decomposition of the form where L is a lower triangular matrix with real and positive diagonal entries, and L* denotes the conjugate transpose of L. Every Hermitian positive-definite matrix (and thus also every real-valued symmetric positive-definite matrix) has a unique Cholesky decomposition.[2] If the matrix A is Hermitian and positive semi-definite, then it still has a decomposition of the form A = LL* if the diagonal entries of L are allowed to be zero.[3] When A has real entries, L has real entries as well, and the factorization may be writtenA = LLT.[4] The Cholesky decomposition is unique when A is positive definite; there is only one lower triangular matrix L with strictly positive diagonal entries such thatA = LL*.
    [Show full text]
  • APPENDIX a Matrix Algebra
    Greene-2140242 book December 1, 2010 8:8 APPENDIXQ A MATRIX ALGEBRA A.1 TERMINOLOGY A matrix is a rectangular array of numbers, denoted ⎡ ⎤ a11 a12 ··· a1K ⎢ ··· ⎥ = = = ⎣a21 a22 a2K ⎦ . A [aik] [A]ik ··· (A-1) an1 an2 ··· anK The typical element is used to denote the matrix. A subscripted element of a matrix is always read as arow,column. An example is given in Table A.1. In these data, the rows are identified with years and the columns with particular variables. A vector is an ordered set of numbers arranged either in a row or a column. In view of the preceding, a row vector is also a matrix with one row, whereas a column vector is a matrix with one column. Thus, in Table A.1, the five variables observed for 1972 (including the date) constitute a row vector, whereas the time series of nine values for consumption is a column vector. A matrix can also be viewed as a set of column vectors or as a set of row vectors.1 The dimensions of a matrix are the numbers of rows and columns it contains. “A is an n × K matrix” (read “n by K”) will always mean that A has n rows and K columns. If n equals K, then A is a square matrix. Several particular types of square matrices occur frequently in econometrics. • A symmetric matrix is one in which aik = aki for all i and k. • A diagonal matrix is a square matrix whose only nonzero elements appear on the main diagonal, that is, moving from upper left to lower right.
    [Show full text]