2 2.5 © 2016 Pearson Education, Ltd. Matrix Algebra MATRIX FACTORIZATIONS.

Slides:



Advertisements
Similar presentations
LU Factorization.
Advertisements

§ 3.4 Matrix Solutions to Linear Systems.
Linear Equations in Linear Algebra
LU - Factorizations Matrix Factorization into Triangular Matrices.
1 Copyright © 2015, 2011, 2007 Pearson Education, Inc. Chapter 4-1 Systems of Equations and Inequalities Chapter 4.
Chapter 9.1 = LU Decomposition MATH 264 Linear Algebra.
Matrices & Systems of Linear Equations
1.2 Row Reduction and Echelon Forms
Linear Equations in Linear Algebra
Matrices. Special Matrices Matrix Addition and Subtraction Example.
1 © 2012 Pearson Education, Inc. Matrix Algebra THE INVERSE OF A MATRIX.
Matrix Algebra THE INVERSE OF A MATRIX © 2012 Pearson Education, Inc.
Row Reduction and Echelon Forms (9/9/05) A matrix is in echelon form if: All nonzero rows are above any all-zero rows. Each leading entry of a row is in.
Section 8.1 – Systems of Linear Equations
Matrices Write and Augmented Matrix of a system of Linear Equations Write the system from the augmented matrix Solve Systems of Linear Equations using.
Multivariate Linear Systems and Row Operations.
1 1.1 © 2012 Pearson Education, Inc. Linear Equations in Linear Algebra SYSTEMS OF LINEAR EQUATIONS.
Linear Equations in Linear Algebra
Scientific Computing Linear Systems – LU Factorization.
Copyright © 2007 Pearson Education, Inc. Slide 7-1.
Notes 7.3 – Multivariate Linear Systems and Row Operations.
Rev.S08 MAC 1140 Module 10 System of Equations and Inequalities II.
Square n-by-n Matrix.
Copyright © 2011 Pearson, Inc. 7.3 Multivariate Linear Systems and Row Operations.
Slide Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
MA2213 Lecture 5 Linear Equations (Direct Solvers)
Matrix Algebra. Quick Review Quick Review Solutions.
Using LU Decomposition to Optimize the modconcen.m Routine Matt Tornowske April 1, 2002.
Three variables Systems of Equations and Inequalities.
Row Reduction Method Lesson 6.4.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 7- 1.
4 4.2 © 2012 Pearson Education, Inc. Vector Spaces NULL SPACES, COLUMN SPACES, AND LINEAR TRANSFORMATIONS.
Sec 3.2 Matrices and Gaussian Elemination Coefficient Matrix 3 x 3 Coefficient Matrix 3 x 3 Augmented Coefficient Matrix 3 x 4 Augmented Coefficient Matrix.
2 2.1 © 2016 Pearson Education, Inc. Matrix Algebra MATRIX OPERATIONS.
We will use Gauss-Jordan elimination to determine the solution set of this linear system.
1 1.5 © 2016 Pearson Education, Inc. Linear Equations in Linear Algebra SOLUTION SETS OF LINEAR SYSTEMS.
5 5.2 © 2012 Pearson Education, Inc. Eigenvalues and Eigenvectors THE CHARACTERISTIC EQUATION.
Sullivan Algebra and Trigonometry: Section 12.3 Objectives of this Section Write the Augmented Matrix of a System of Linear Equations Write the System.
Solve a system of linear equations By reducing a matrix Pamela Leutwyler.
Section 4Chapter 4. 1 Copyright © 2012, 2008, 2004 Pearson Education, Inc. Objectives Solving Systems of Linear Equations by Matrix Methods Define.
Linear Algebra Diyako Ghaderyan 1 Contents:  Linear Equations in Linear Algebra  Matrix Algebra  Determinants  Vector Spaces  Eigenvalues.
Algebra Matrix Operations. Definition Matrix-A rectangular arrangement of numbers in rows and columns Dimensions- number of rows then columns Entries-
10.4 Matrix Algebra 1.Matrix Notation 2.Sum/Difference of 2 matrices 3.Scalar multiple 4.Product of 2 matrices 5.Identity Matrix 6.Inverse of a matrix.
5 5.1 © 2016 Pearson Education, Ltd. Eigenvalues and Eigenvectors EIGENVECTORS AND EIGENVALUES.
4 4.2 © 2016 Pearson Education, Inc. Vector Spaces NULL SPACES, COLUMN SPACES, AND LINEAR TRANSFORMATIONS.
2 2.2 © 2016 Pearson Education, Ltd. Matrix Algebra THE INVERSE OF A MATRIX.
1 1.4 Linear Equations in Linear Algebra THE MATRIX EQUATION © 2016 Pearson Education, Ltd.
1 1.2 Linear Equations in Linear Algebra Row Reduction and Echelon Forms © 2016 Pearson Education, Ltd.
Sinwook Lee Digital Media Lab. HYU.  Linear Equations  To gain the appropriate solution, 1..n of equations are necessary.  The num of equations < n.
1 1.3 © 2016 Pearson Education, Ltd. Linear Equations in Linear Algebra VECTOR EQUATIONS.
College Algebra Chapter 6 Matrices and Determinants and Applications
Linear Equations in Linear Algebra
Linear Equations in Linear Algebra
Linear Equations.
Linear Algebra Lecture 4.
Linear Algebra Lecture 15.
Linear Equations in Linear Algebra
Larger Systems of Linear Equations and Matrices
Linear Equations in Linear Algebra
Linear Equations in Linear Algebra
EIGENVECTORS AND EIGENVALUES
Section 8.1 – Systems of Linear Equations
Linear Equations in Linear Algebra
Linear Equations in Linear Algebra
Linear Equations in Linear Algebra
Matrix Algebra THE INVERSE OF A MATRIX © 2012 Pearson Education, Inc.
CHARACTERIZATIONS OF INVERTIBLE MATRICES
Ax = b Methods for Solution of the System of Equations (ReCap):
Presentation transcript:

2 2.5 © 2016 Pearson Education, Ltd. Matrix Algebra MATRIX FACTORIZATIONS

Slide © 2016 Pearson Education, Ltd. MATRIX FACTORIZATIONS  A factorization of a matrix A is an equation that expresses A as a product of two or more matrices.  Whereas matrix multiplication involves a synthesis of data (combining the effects of two or more linear transformations into a single matrix), matrix factorization is an analysis of data.

Slide © 2016 Pearson Education, Ltd. THE LU FACTORIZATION

Slide © 2016 Pearson Education, Ltd. THE LU FACTORIZATION

Slide © 2016 Pearson Education, Ltd. THE LU FACTORIZATION  Before studying how to construct L and U, we should look at why they are so useful. When A = LU, the equation Ax = b can be written as L(Ux) = b.  Writing y for Ux, we can find x by solving the pair of equations  First solve Ly = b for y, and then solve Ux = y for x. See Fig. 2 on the next slide. Each equation is easy to solve because L and U are triangular. Ly = b Ux = y

Slide © 2016 Pearson Education, Ltd. THE LU FACTORIZATION

Slide © 2016 Pearson Education, Ltd. THE LU FACTORIZATION  Solution The solution of Ly = b needs only 6 multiplications and 6 additions, because the arithmetic takes place only in column 5.  Then, for Ux = y, the “backward” phase of row reduction requires 4 divisions, 6 multiplications, and 6 additions.

Slide © 2016 Pearson Education, Ltd. THE LU FACTORIZATION  For instance, creating the zeros in column 4 of [U y] requires 1 division in row 4 and 3 multiplication- addition pairs to add multiples of row 4 to the rows above.  To find x requires 28 arithmetic operations, or “flops” (floating point operations), excluding the cost of finding L and U. In contrast, row reduction of [A b] to [I x] takes 62 operations.

Slide © 2016 Pearson Education, Ltd. AN LU FACTORIZATION ALGORITHM (3) (4)

Slide © 2016 Pearson Education, Ltd. AN LU FACTORIZATION ALGORITHM Algorithm for an LU Factorization 1.Reduce A to an echelon form U by a sequence of row replacement operations, if possible. 2.Place entries in L such that the same sequence of row operations reduces L to I.

Slide © 2016 Pearson Education, Ltd. AN LU FACTORIZATION ALGORITHM

Slide © 2016 Pearson Education, Ltd. AN LU FACTORIZATION ALGORITHM

Slide © 2016 Pearson Education, Ltd. AN LU FACTORIZATION ALGORITHM  Compare the first columns of A and L. The row operations that create zeros in the first column of A will also create zeros in the first column of L.  To make this same correspondence of row operations on A hold for the rest of L, watch a row reduction of A to an echelon form U. That is, highlight the entries in each matrix that are used to determine the sequence of row operations that transform A onto U. (5)

Slide © 2016 Pearson Education, Ltd. AN LU FACTORIZATION ALGORITHM  The highlighted entries above determine the row reduction of A to U. At each pivot column, divide the highlighted entries by the pivot and place the result onto L:  An easy calculation verifies that this L and U satisfy LU = A.