linear algebra
play

Linear Algebra Chapter 10: Solving Large Systems Section 10.2 The LU - PowerPoint PPT Presentation

Linear Algebra Chapter 10: Solving Large Systems Section 10.2 The LU -FactorizationProofs of Theorems July 5, 2020 () Linear Algebra July 5, 2020 1 / 6 Table of contents Theorem 10.A 1 Theorem 10.1. Unique Factorization 2 () Linear


  1. Linear Algebra Chapter 10: Solving Large Systems Section 10.2 The LU -Factorization—Proofs of Theorems July 5, 2020 () Linear Algebra July 5, 2020 1 / 6

  2. Table of contents Theorem 10.A 1 Theorem 10.1. Unique Factorization 2 () Linear Algebra July 5, 2020 2 / 6

  3. Theorem 10.A Theorem 10.A Theorem 10.A. If A is an n × n matrix which can be put in row echelon form without interchanging rows then there is a lower triangular matrix L and an upper triangular matrix U such that A = LU . Proof. As described in the previous note, there is a sequence of n × n elementary matrices E i such that E h E h − 1 · · · E 2 E 1 A = U where each E i is an elementary matrix associated with the elementary row operation of row addition. Since U is upper triangular then the row operations need only involve adding a multiple of one row to a lower row ( R p → R p + sR q where p > q ). () Linear Algebra July 5, 2020 3 / 6

  4. Theorem 10.A Theorem 10.A Theorem 10.A. If A is an n × n matrix which can be put in row echelon form without interchanging rows then there is a lower triangular matrix L and an upper triangular matrix U such that A = LU . Proof. As described in the previous note, there is a sequence of n × n elementary matrices E i such that E h E h − 1 · · · E 2 E 1 A = U where each E i is an elementary matrix associated with the elementary row operation of row addition. Since U is upper triangular then the row operations need only involve adding a multiple of one row to a lower row ( R p → R p + sR q where p > q ). The elementary matrix associated with R p → R p + sR q has all entries the same as the n × n identity except that the ( p , q ) entry is s . The inverse of this elementary matrix has all entries the same as the n × n identity except that the ( p , q ) entry is − s . That is, each E − 1 is lower i triangular for i = 1 , 2 , . . . , h . () Linear Algebra July 5, 2020 3 / 6

  5. Theorem 10.A Theorem 10.A Theorem 10.A. If A is an n × n matrix which can be put in row echelon form without interchanging rows then there is a lower triangular matrix L and an upper triangular matrix U such that A = LU . Proof. As described in the previous note, there is a sequence of n × n elementary matrices E i such that E h E h − 1 · · · E 2 E 1 A = U where each E i is an elementary matrix associated with the elementary row operation of row addition. Since U is upper triangular then the row operations need only involve adding a multiple of one row to a lower row ( R p → R p + sR q where p > q ). The elementary matrix associated with R p → R p + sR q has all entries the same as the n × n identity except that the ( p , q ) entry is s . The inverse of this elementary matrix has all entries the same as the n × n identity except that the ( p , q ) entry is − s . That is, each E − 1 is lower i triangular for i = 1 , 2 , . . . , h . () Linear Algebra July 5, 2020 3 / 6

  6. Theorem 10.A Theorem 10.A (continued) Theorem 10.A. If A is an n × n matrix which can be put in row echelon form without interchanging rows then there is a lower triangular matrix L and an upper triangular matrix U such that A = LU . Proof (continued). Since E h E h − 1 · · · E 2 E 1 A = U , then A = E − 1 1 E − 1 · · · E − 1 h − 1 E − 1 h U . The product of square lower triangular 2 matrices is lower triangular (this follows from the definition of matrix product; see Theorem 3.2.1(4) of my online notes for Theory of Matrices [MATH 5090] on Section 3.2. Multiplication of Matrices and Multiplication of Vectors and Matrices), so set L = E − 1 1 E − 1 · · · E − 1 h − 1 E − 1 h . 2 Then L is lower triangular and A = LU , as claimed. () Linear Algebra July 5, 2020 4 / 6

  7. Theorem 10.1. Unique Factorization Theorem 10.1 Theorem 10.1. Unique Factorization. Let A be an n × n matrix. When a factorization A = LDU exists where 1. L is lower triangular with all main diagonal entries 1, 2. U is upper triangular with all main diagonal entries 1, and 3. D is a diagonal matrix with all main diagonal entries nonzero, it is unique. Proof. Suppose that A = L 1 D 1 U 1 = L 2 D 2 U 2 are two such factorizations. Then L − 1 and L − 1 are also lower triangular, D − 1 and D − 1 are both 1 2 1 2 diagonal and U − 1 and U − 1 are both upper triangular. Since the diagonal 1 2 entries of L 1 , L 2 , U 1 , U 2 are all 1 then the diagonal entries of L − 1 1 , L − 1 2 , U − 1 1 , U − 1 are also all 1. 2 () Linear Algebra July 5, 2020 5 / 6

  8. Theorem 10.1. Unique Factorization Theorem 10.1 Theorem 10.1. Unique Factorization. Let A be an n × n matrix. When a factorization A = LDU exists where 1. L is lower triangular with all main diagonal entries 1, 2. U is upper triangular with all main diagonal entries 1, and 3. D is a diagonal matrix with all main diagonal entries nonzero, it is unique. Proof. Suppose that A = L 1 D 1 U 1 = L 2 D 2 U 2 are two such factorizations. Then L − 1 and L − 1 are also lower triangular, D − 1 and D − 1 are both 1 2 1 2 diagonal and U − 1 and U − 1 are both upper triangular. Since the diagonal 1 2 entries of L 1 , L 2 , U 1 , U 2 are all 1 then the diagonal entries of L − 1 1 , L − 1 2 , U − 1 1 , U − 1 are also all 1. 2 () Linear Algebra July 5, 2020 5 / 6

  9. Theorem 10.1. Unique Factorization Theorem 10.1 (continued) Theorem 10.1. Unique Factorization. Let A be an n × n matrix. When a factorization A = LDU exists where 1. L is lower triangular with all main diagonal entries 1, 2. U is upper triangular with all main diagonal entries 1, and 3. D is a diagonal matrix with all main diagonal entries nonzero, it is unique. Proof (continued). We have L − 1 2 L 1 = D 2 U 2 U − 1 1 D − 1 1 . A product of upper.lower triangular matrices is upper/lower triangular, so L − 1 2 L 1 is lower triangular and D 2 U 2 U − 1 1 D − 1 is upper triangular. Since 1 L − 1 2 L 1 = D 2 U 2 U − 1 1 D − 1 then both sides of this equation must be the 1 identity. So L − 1 2 L 1 = I and L 1 = L 2 . () Linear Algebra July 5, 2020 6 / 6

  10. Theorem 10.1. Unique Factorization Theorem 10.1 (continued) Theorem 10.1. Unique Factorization. Let A be an n × n matrix. When a factorization A = LDU exists where 1. L is lower triangular with all main diagonal entries 1, 2. U is upper triangular with all main diagonal entries 1, and 3. D is a diagonal matrix with all main diagonal entries nonzero, it is unique. Proof (continued). We have L − 1 2 L 1 = D 2 U 2 U − 1 1 D − 1 1 . A product of upper.lower triangular matrices is upper/lower triangular, so L − 1 2 L 1 is lower triangular and D 2 U 2 U − 1 1 D − 1 is upper triangular. Since 1 L − 1 2 L 1 = D 2 U 2 U − 1 1 D − 1 then both sides of this equation must be the 1 identity. So L − 1 2 L 1 = I and L 1 = L 2 . Similarly, we can conclude U 1 U − 1 = D − 1 1 L − 1 1 L 2 D 2 and both sides must be the identity. So 2 U + 1 = U 2 . We then have L 1 D 1 U 1 = L 1 D 2 U 1 and since all matrices are invertible, we conclude D 1 = D 2 . We therefore have L 1 = L 2 , U 1 = U 2 , and D 1 = D 2 . So the factorization of A is unique. () Linear Algebra July 5, 2020 6 / 6

  11. Theorem 10.1. Unique Factorization Theorem 10.1 (continued) Theorem 10.1. Unique Factorization. Let A be an n × n matrix. When a factorization A = LDU exists where 1. L is lower triangular with all main diagonal entries 1, 2. U is upper triangular with all main diagonal entries 1, and 3. D is a diagonal matrix with all main diagonal entries nonzero, it is unique. Proof (continued). We have L − 1 2 L 1 = D 2 U 2 U − 1 1 D − 1 1 . A product of upper.lower triangular matrices is upper/lower triangular, so L − 1 2 L 1 is lower triangular and D 2 U 2 U − 1 1 D − 1 is upper triangular. Since 1 L − 1 2 L 1 = D 2 U 2 U − 1 1 D − 1 then both sides of this equation must be the 1 identity. So L − 1 2 L 1 = I and L 1 = L 2 . Similarly, we can conclude U 1 U − 1 = D − 1 1 L − 1 1 L 2 D 2 and both sides must be the identity. So 2 U + 1 = U 2 . We then have L 1 D 1 U 1 = L 1 D 2 U 1 and since all matrices are invertible, we conclude D 1 = D 2 . We therefore have L 1 = L 2 , U 1 = U 2 , and D 1 = D 2 . So the factorization of A is unique. () Linear Algebra July 5, 2020 6 / 6

Recommend


More recommend