Section 5.6. LU and LDU Factorizations

Similar documents
Section 3.3. Matrix Rank and the Inverse of a Full Rank Matrix

Linear Algebra Section 2.6 : LU Decomposition Section 2.7 : Permutations and transposes Wednesday, February 13th Math 301 Week #4

Math 4377/6308 Advanced Linear Algebra

Matrix Algebra. Matrix Algebra. Chapter 8 - S&B

GAUSSIAN ELIMINATION AND LU DECOMPOSITION (SUPPLEMENT FOR MA511)

Math 2331 Linear Algebra

Linear Equations in Linear Algebra

Math "Matrix Approach to Solving Systems" Bibiana Lopez. November Crafton Hills College. (CHC) 6.3 November / 25

MATH 2030: ASSIGNMENT 4 SOLUTIONS

Elementary Row Operations on Matrices

Name: MATH 3195 :: Fall 2011 :: Exam 2. No document, no calculator, 1h00. Explanations and justifications are expected for full credit.

Determine whether the following system has a trivial solution or non-trivial solution:

Elementary matrices, continued. To summarize, we have identified 3 types of row operations and their corresponding

MAC Module 2 Systems of Linear Equations and Matrices II. Learning Objectives. Upon completing this module, you should be able to :

Solving Linear Systems Using Gaussian Elimination

Lesson U2.1 Study Guide

Section 3.2. Multiplication of Matrices and Multiplication of Vectors and Matrices

7.6 The Inverse of a Square Matrix

Eigenvalues and Eigenvectors

System of Linear Equations

Evaluating Determinants by Row Reduction

4 Elementary matrices, continued

Components and change of basis

MAC1105-College Algebra. Chapter 5-Systems of Equations & Matrices

Math 3C Lecture 20. John Douglas Moore

The following steps will help you to record your work and save and submit it successfully.

Linear Algebra. Solving Linear Systems. Copyright 2005, W.R. Winfrey

MATH2210 Notebook 2 Spring 2018

MAC Module 3 Determinants. Learning Objectives. Upon completing this module, you should be able to:

Relationships Between Planes

5x 2 = 10. x 1 + 7(2) = 4. x 1 3x 2 = 4. 3x 1 + 9x 2 = 8

Eigenvalues and Eigenvectors

Linear Equations in Linear Algebra

MTH 215: Introduction to Linear Algebra

Linear Algebra Practice Problems

Math 313 Chapter 1 Review

Chapter 3. Basic Properties of Matrices

Direct Methods for Solving Linear Systems. Matrix Factorization

9.1 - Systems of Linear Equations: Two Variables

Lecture 7: Introduction to linear systems

AMS526: Numerical Analysis I (Numerical Linear Algebra)

Pre-Calculus I. For example, the system. x y 2 z. may be represented by the augmented matrix

Matrix Factorization Reading: Lay 2.5

MATH 54 - WORKSHEET 1 MONDAY 6/22

Matrices and Matrix Algebra.

ECON 186 Class Notes: Linear Algebra

4 Elementary matrices, continued

22A-2 SUMMER 2014 LECTURE 5

Math 22AL Lab #4. 1 Objectives. 2 Header. 0.1 Notes

Math 344 Lecture # Linear Systems

Introduction to Determinants

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.

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 )

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

Introduction to Mathematical Programming

STAT 309: MATHEMATICAL COMPUTATIONS I FALL 2018 LECTURE 13

1 Determinants. 1.1 Determinant

Maths for Signals and Systems Linear Algebra for Engineering Applications

Chapter 1: Systems of Linear Equations and Matrices

Lecture 6 & 7. Shuanglin Shao. September 16th and 18th, 2013

. =. a i1 x 1 + a i2 x 2 + a in x n = b i. a 11 a 12 a 1n a 21 a 22 a 1n. i1 a i2 a in

Math 240 Calculus III

Chapter 3. Determinants and Eigenvalues

Online Exercises for Linear Algebra XM511

Math 1021, Linear Algebra 1. Section: A at 10am, B at 2:30pm

MTH 464: Computational Linear Algebra

Chapter 1. Vectors, Matrices, and Linear Spaces

MATH 323 Linear Algebra Lecture 6: Matrix algebra (continued). Determinants.

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

Question: Given an n x n matrix A, how do we find its eigenvalues? Idea: Suppose c is an eigenvalue of A, then what is the determinant of A-cI?

AMS 209, Fall 2015 Final Project Type A Numerical Linear Algebra: Gaussian Elimination with Pivoting for Solving Linear Systems

Elementary Matrices. MATH 322, Linear Algebra I. J. Robert Buchanan. Spring Department of Mathematics

Elementary Linear Algebra

Numerical Linear Algebra

Next topics: Solving systems of linear equations

Scientific Computing

MH1200 Final 2014/2015

1 Principal component analysis and dimensional reduction

30.3. LU Decomposition. Introduction. Prerequisites. Learning Outcomes

1 - Systems of Linear Equations

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

Linear Algebra Linear Algebra : Matrix decompositions Monday, February 11th Math 365 Week #4

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

Numerical Linear Algebra Homework Assignment - Week 2

Chapter 4. Determinants

Math 4377/6308 Advanced Linear Algebra

and let s calculate the image of some vectors under the transformation T.

4. Determinants.

Linear Algebra I Lecture 8

Elementary maths for GMT

EBG # 3 Using Gaussian Elimination (Echelon Form) Gaussian Elimination: 0s below the main diagonal

Matrices and RRE Form

Linear Algebra Handout

Determinants Chapter 3 of Lay

MAT 343 Laboratory 3 The LU factorization

Finite Math - J-term Section Systems of Linear Equations in Two Variables Example 1. Solve the system

Algebra & Trig. I. For example, the system. x y 2 z. may be represented by the augmented matrix

Linear Systems and Matrices

Chapter 2:Determinants. Section 2.1: Determinants by cofactor expansion

6-2 Matrix Multiplication, Inverses and Determinants

Transcription:

5.6. LU and LDU Factorizations Section 5.6. LU and LDU Factorizations Note. We largely follow Fraleigh and Beauregard s approach to this topic from Linear Algebra, 3rd Edition, Addison-Wesley (995). See my online notes from sophomore Linear Algebra (MATH 200): http://faculty.etsu.edu/gardnerr/200/ c0s2.pdf. Note. If matrix A can be put in row echelon form without row interchanges (so the only needed elementary row operation is row addition), then there is an upper triangular matrix U and a sequence n n of elementary matrices E i such that E h E h E 2 E A = U where the diagonal of U is the same as the diagonal of X (see Section 3.2 and Theorem 3.2.3). In addition, each elementary matrix is of the form E psq (representing the row operation R p R p +sr q ) where p > q. This is the key observation to showing the existence of an LU-factorization of such a matrix. Theorem 5.6.A. If A is an n m matrix which can be put in row echelon form without interchanging rows then there is a lower triangular n n matrix L with entries of on the diagonal and an upper triangular n m matrix U such that A = LU. Definition. For n m matrix A which can be put in row echelon form without interchanging rows, the factorization A = LU of Theorem 5.6.A is an LU factorization of A.

5.6. LU and LDU Factorizations 2 Example 5.6.A. The proof of Theorem 5.6.A gives the algorithm by which the LU-factorization of an appropriate matrix can be found. We row reduce A to row echelon form U and, as each elementary row operation is performed in the reduction of A, perform the inverse of that operation to a matrix starting with the identity matrix. This will build up matrix L from the identity by filling in the entries in the first column from top to bottom (this is backwards from the order given in the proof). With A R 2 R 2 2R R 3 R 3 +R R 3 R 3 3R 2 So we have Notice that in fact A = LU. 3 0 0 A = 2 8 4 and I = 0 0 3 4 0 0 3 0 0 0 2 6 I R 2 R 2 +2R 2 0 = E 3 3 4 0 0 3 0 0 R 3 R 3 R 0 2 6 2 0 = E 0 6 3 0 3 0 0 R 3 R 3 +3R 0 2 6 2 0 = E 0 0 5 3 3 0 0 U = 0 2 6 and L = 2 0. 0 0 5 3 2 E 3 E 2 E 3

5.6. LU and LDU Factorizations 3 Note. If A = LU where the diagonal entries of L are all, then we can multiply row i of matrix U by /u ii and produce an upper triangular matrix U with diagonal entries of. We then create n n diagonal matrix D with d ii = u ii. This gives U = DU. We then have a factorization of A as A = LDU where the diagonal entries of L and U are all. The next theorem tells us that when such a factorization of a matrix exists, it is unique. Theorem 5.6.B. Unique Factorization. Let A be a square matrix. When a factorization A = LDU exists where. L is a lower triangular matrix with all main diagonal entries, 2. U is upper triangular matrix with all diagonal entries, and 3. D is a diagonal matrix with all main diagonal entries nonzero, it is unique. Note. We have from Theorem 5.6.B that, in particular, that for square matrix A which can be put in row echelon form without interchanging rows, if A = LU is an LU factorization of A where all diagonal entries of L are, then such a factorization is unique. We simply consider A = (LD)U. Note. By using a permutation matrix, we can finally address the LU-factorization of a matrix which cannot be put in row echelon form without the use of row interchanges.

5.6. LU and LDU Factorizations 4 Theorem 5.6.C. LU-Factorization. Let A be and n m matrix which can be put in row echelon form. Then there exists a n n permutation matrix P, a n n lower triangular matrix L, and a n m upper triangular matrix U such that PA = LU. 3 2 Example 7. Consider 2 6. We have 2 5 7 A R 2 R 2 +2R 3 2 0 0 5 2 5 7 R 3 R 3 2R 3 2 0 0 5. 0 3 0 0 3 2 So let P = 0 0. Then U = 0 3. The two operations on A which 0 0 0 0 5 0 0 produce U give L = 2 0 (notice that the second and third rows of A and 2 0 U involve a row interchange). We then have 3 2 0 0 3 2 PA = 2 5 7 = 2 0 0 3 = LU. 2 6 2 0 0 0 5

5.6. LU and LDU Factorizations 5 Note. Theorem 5.6.A insures that n m matrix A which can be put in row echelon form without interchanging rows has an LU factorization. Theorem 5.6.C implies that a nonsingular matrix (i.e., a square, invertible matrix) can be modified with a permutation matrix to produce a matrix with an LU factorization. It is easy to find a nonsingular matrix which (itself) does not have an LU factorization; consider 0. An example of a nonsingular matrix with an LU decomposition (given 0 by Gentle on page 88) is A = 0 = 0 0 = LU. 0 0 0 0 0 0 0 Revised: 2/4/208