Matrix Multiplication Chapter IV Special Linear Systems

Similar documents
AMS526: Numerical Analysis I (Numerical Linear Algebra)

Matrix decompositions

Sparsity-Preserving Difference of Positive Semidefinite Matrix Representation of Indefinite Matrices

This can be accomplished by left matrix multiplication as follows: I

STAT 309: MATHEMATICAL COMPUTATIONS I FALL 2018 LECTURE 13

Numerical Linear Algebra

Numerical Methods I Non-Square and Sparse Linear Systems

Review. Example 1. Elementary matrices in action: (a) a b c. d e f = g h i. d e f = a b c. a b c. (b) d e f. d e f.

Lecture 2 INF-MAT : , LU, symmetric LU, Positve (semi)definite, Cholesky, Semi-Cholesky

Introduction to Mathematical Programming

Review Questions REVIEW QUESTIONS 71

Scientific Computing

Homework 2 Foundations of Computational Math 2 Spring 2019

Math 102, Winter Final Exam Review. Chapter 1. Matrices and Gaussian Elimination

forms Christopher Engström November 14, 2014 MAA704: Matrix factorization and canonical forms Matrix properties Matrix factorization Canonical forms

MATH 2331 Linear Algebra. Section 2.1 Matrix Operations. Definition: A : m n, B : n p. Example: Compute AB, if possible.

Algebra C Numerical Linear Algebra Sample Exam Problems

Scientific Computing with Case Studies SIAM Press, Lecture Notes for Unit VII Sparse Matrix

Lecture 6 Positive Definite Matrices

Today s class. Linear Algebraic Equations LU Decomposition. Numerical Methods, Fall 2011 Lecture 8. Prof. Jinbo Bi CSE, UConn

Numerical Linear Algebra

Solving linear equations with Gaussian Elimination (I)

The System of Linear Equations. Direct Methods. Xiaozhou Li.

Index. book 2009/5/27 page 121. (Page numbers set in bold type indicate the definition of an entry.)

STAT 309: MATHEMATICAL COMPUTATIONS I FALL 2018 LECTURE 9

CS227-Scientific Computing. Lecture 4: A Crash Course in Linear Algebra

Numerical Methods in Matrix Computations

Numerical Analysis Fall. Gauss Elimination

ACM106a - Homework 2 Solutions

Chapters 5 & 6: Theory Review: Solutions Math 308 F Spring 2015

Intel Math Kernel Library (Intel MKL) LAPACK

ANONSINGULAR tridiagonal linear system of the form

1 Multiply Eq. E i by λ 0: (λe i ) (E i ) 2 Multiply Eq. E j by λ and add to Eq. E i : (E i + λe j ) (E i )

Direct Methods for Solving Linear Systems. Matrix Factorization

Eigenvalues and Eigenvectors

Linear Algebraic Equations

Matrix Factorization and Analysis

MS&E 318 (CME 338) Large-Scale Numerical Optimization

Lecture 13 Stability of LU Factorization; Cholesky Factorization. Songting Luo. Department of Mathematics Iowa State University

be a Householder matrix. Then prove the followings H = I 2 uut Hu = (I 2 uu u T u )u = u 2 uut u

Gaussian Elimination without/with Pivoting and Cholesky Decomposition

Direct Methods for Solving Linear Systems. Simon Fraser University Surrey Campus MACM 316 Spring 2005 Instructor: Ha Le

From Matrix to Tensor. Charles F. Van Loan

AMS526: Numerical Analysis I (Numerical Linear Algebra)

Numerical Methods I Solving Square Linear Systems: GEM and LU factorization

AMS526: Numerical Analysis I (Numerical Linear Algebra)

MATH 3511 Lecture 1. Solving Linear Systems 1

Since the determinant of a diagonal matrix is the product of its diagonal elements it is trivial to see that det(a) = α 2. = max. A 1 x.

Lecture 9. Errors in solving Linear Systems. J. Chaudhry (Zeb) Department of Mathematics and Statistics University of New Mexico

Eigenvalues and Eigenvectors

There are six more problems on the next two pages

A Method for Constructing Diagonally Dominant Preconditioners based on Jacobi Rotations

Numerical Methods. Elena loli Piccolomini. Civil Engeneering. piccolom. Metodi Numerici M p. 1/??

Numerical Linear Algebra

Program Lecture 2. Numerical Linear Algebra. Gaussian elimination (2) Gaussian elimination. Decompositions, numerical aspects

Preliminary/Qualifying Exam in Numerical Analysis (Math 502a) Spring 2012

9. Numerical linear algebra background

5.6. PSEUDOINVERSES 101. A H w.

1 Determinants. 1.1 Determinant

LU Factorization. Marco Chiarandini. DM559 Linear and Integer Programming. Department of Mathematics & Computer Science University of Southern Denmark

Rank Revealing QR factorization. F. Guyomarc h, D. Mezher and B. Philippe

Numerical methods for solving linear systems

MTH 464: Computational Linear Algebra

CS 219: Sparse matrix algorithms: Homework 3

Linear Systems of n equations for n unknowns

7. LU factorization. factor-solve method. LU factorization. solving Ax = b with A nonsingular. the inverse of a nonsingular matrix

EIGENVALUE PROBLEMS. EIGENVALUE PROBLEMS p. 1/4

4. Determinants.

Cheat Sheet for MATH461

9. Numerical linear algebra background

Numerical Analysis FMN011

BlockMatrixComputations and the Singular Value Decomposition. ATaleofTwoIdeas

CS412: Lecture #17. Mridul Aanjaneya. March 19, 2015

Conceptual Questions for Review

CPE 310: Numerical Analysis for Engineers

LINEAR SYSTEMS (11) Intensive Computation

CHARACTERIZATIONS. is pd/psd. Possible for all pd/psd matrices! Generating a pd/psd matrix: Choose any B Mn, then

Ax=b. Zack 10/4/2013

Homework 1 Elena Davidson (B) (C) (D) (E) (F) (G) (H) (I)

Linear Algebra in Actuarial Science: Slides to the lecture

Chapter f Linear Algebra

12. Cholesky factorization

Lecture # 11 The Power Method for Eigenvalues Part II. The power method find the largest (in magnitude) eigenvalue of. A R n n.

Diagonal pivoting methods for solving tridiagonal systems without interchanges

Scientific Computing: Solving Linear Systems

Matrix Computations and Semiseparable Matrices

7. Symmetric Matrices and Quadratic Forms

c 2006 Society for Industrial and Applied Mathematics

Lecture 02 Linear Algebra Basics

Review problems for MA 54, Fall 2004.

Pivoting. Reading: GV96 Section 3.4, Stew98 Chapter 3: 1.3

Lecture 12 (Tue, Mar 5) Gaussian elimination and LU factorization (II)

Vectors and matrices: matrices (Version 2) This is a very brief summary of my lecture notes.

Warm-up. True or false? Baby proof. 2. The system of normal equations for A x = y has solutions iff A x = y has solutions

Analysis of Block LDL T Factorizations for Symmetric Indefinite Matrices

DEN: Linear algebra numerical view (GEM: Gauss elimination method for reducing a full rank matrix to upper-triangular

Gaussian Elimination for Linear Systems

Chapter 4 No. 4.0 Answer True or False to the following. Give reasons for your answers.

CSE 245: Computer Aided Circuit Simulation and Verification

CSE 160 Lecture 13. Numerical Linear Algebra

Transcription:

Matrix Multiplication Chapter IV Special Linear Systems By Gokturk Poyrazoglu The State University of New York at Buffalo BEST Group Winter Lecture Series

Outline 1. Diagonal Dominance and Symmetry a. LDL T Factorization 2. Positive Definite Systems a. Cholesky Factorization 3. Banded Systems 4. Symmetric Indefinite Systems

Diagonal Dominance Row Diagonally Dominant Matrix: Column Diagonally Dominant Matrix : The magnitude of diagonal component is larger than the sum of all off-diagonal element magnitudes in the same column. Properties: 1. The matrix can be singular. 2. If it is non-singular, LU factorization is SAFE.

Bounded Entries of L Example : where v/α is always less than 1 (one).

LDL T Factorization Consider a symmetric, nonsingular, square matrix A; Solving Ax=b by LDL T factorization Requires (n 3 /3)flops; half as many flops to compute LU

Positive Definite Matrix Definition: Properties: Consider a symmetric matrix A; Then we have the followings:

Properties of Positive Definite The last two equations imply Results: 1. The largest element in A is on the diagonal and it is positive. 2. A symmetric positive definite matrix does NOT need pivoting, and a special factorization (Cholesky) is available.

Positive Definiteness A positive definite matrix is always Nonsingular

Positive Definiteness Computation Safety : 1. Matrix-A is positive definite, but pivoting is required for safe computation.

Unsymmetric Positive Definite Systems Consider a general matrix A; Symmetric part of A: Skew-symmetric part of A: where Matrix-A is positive definite iff matrix-t is positive definite.

Symmetric Positive Definite Systems If matrix A is symmetric positive definite. A=LU exists and is stable to compute. A=LDL T is also stable and exploits symmetry. A variation of LDL T is often handier. (Cholesky factorization) Cholesky Factorization:

Cholesky Factorization G is the Cholesky factor. Solve triangular systems and is known as the Cholesky factorization Algorithm:

Stability of Cholesky Process In exact arithmetic, a symmetric positive definite matrix has a Cholesky factorization. Challenges: 1. Small Diagonal elements and 2. small minimum eigenvalue of A may jeopardize the factorization process. Hence, LDL T can be used to handle ill-conditioned matrix.

LDL T with Symmetric Pivoting Consider a symmetric matrix A and a permutation P. is not symmetric, but is. where Choose symmetric pivoting matrix P such that α is the largest component of A s diagonal entries.

Why LDL T versus Cholesky 1. LDL T is more efficient in narrow band situations because it avoids square roots. 2. LDL T can also handle symmetric semidefinite and symmetric indefinite matrix factorizations.

Positive Semidefinite Case Positive Semidefinite Matrix: for every vector x. Symmetric Positive Semidefinite Properties:

Symmetric Semidefinite Case Rank estimation by LDL T : Consider a symmetric positive semidefinite matrix A Rank(A) =r and k<=r After k th step of factorization, we have If d k =0; then A k =0 because of symmetric positive definiteness Meaning: If d k =0; then k=r, and rank(a)=k=r Note: In practice, a threshold tolerance for small diagonal entries is needed to identify zero at the diagonal.

Sum of Rank-1 Matrices Consider a symmetric positive definite matrix A LDLT factorization of A is; Rewrite as a sum of rank-1 matrices Note : Relatively cheap alternative to SVD rank-1 expansion for symmetric positive semidefinite matrices.

Tridiagonal System Solving Consider a tridiagonal symmetric positive definite matrix A; LDLT factorization is in the form: From the equation of ; we can get the followings:

Tridiagonal System Solving Algorithm: The solution of the system:

Symmetric Indefinite Systems LDL T Challenges: 1. Without pivoting, no stability 2. Even with pivoting, no stability 3. Pivoting destroys symmetry. Question: Is there any other way to compute LDLT safely while maintaining symmetry?

Stability for Symmetric Indefinite Systems 1. Aasen Method: 2. Diagonal Pivoting Method:

Aasen s Method Method is also known as The Parlett-Reid Algorithm. Consider a symmetric indefinite matrix A; At the 2 nd step, we have Scan the vector [v 3 v 4 v 5 ] T for its largest entry. Determine P 2 such that;

Aasen s Method Hence; So that; After n-2 steps;

Extra Proof Slides Chapter IV Special Linear Systems

Proof of Slide 4

Proof of Slide 5

Proof of Slide 8

Proofs of Slide 9

Proof of Slide 16