LU Factorization.

Slides:



Advertisements
Similar presentations
Applied Informatics Štefan BEREŽNÝ
Advertisements

Chapter 8 Numerical Technique 大葉大學 資訊工程系 黃鈴玲 Linear Algebra.
Matrices and Systems of Equations
INDR 262 INTRODUCTION TO OPTIMIZATION METHODS LINEAR ALGEBRA INDR 262 Metin Türkay 1.
Chapter 3 The Inverse. 3.1 Introduction Definition 1: The inverse of an n  n matrix A is an n  n matrix B having the property that AB = BA = I B is.
Section 8.1 – Systems of Linear Equations
Elementary Linear Algebra Howard Anton Copyright © 2010 by John Wiley & Sons, Inc. All rights reserved. Chapter 1.
Row 1 Row 2 Row 3 Row m Column 1Column 2Column 3 Column 4.
Multivariate Linear Systems and Row Operations.
Elementary Linear Algebra Howard Anton Copyright © 2010 by John Wiley & Sons, Inc. All rights reserved. Chapter 1.
Everything Matrices All the other tricks without all the hassles.
 Row and Reduced Row Echelon  Elementary Matrices.
Copyright © 2011 Pearson, Inc. 7.3 Multivariate Linear Systems and Row Operations.
Sec 3.1 Introduction to Linear System Sec 3.2 Matrices and Gaussian Elemination The graph is a line in xy-plane The graph is a line in xyz-plane.
Matrix Algebra. Quick Review Quick Review Solutions.
Chap. 2 Matrices 2.1 Operations with Matrices
MATH 250 Linear Equations and Matrices
Systems of Linear Equations Let’s say you need to solve the following for x, y, & z: 2x + y – 2z = 10 3x + 2y + 2z = 1 5x + 4y + 3z = 4 Two methods –Gaussian.
CHAPTER 2 MATRIX. CHAPTER OUTLINE 2.1 Introduction 2.2 Types of Matrices 2.3 Determinants 2.4 The Inverse of a Square Matrix 2.5 Types of Solutions to.
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.
Row 1 Row 2 Row 3 Row m Column 1Column 2Column 3 Column 4.
Sec 3.5 Inverses of Matrices Where A is nxn Finding the inverse of A: Seq or row operations.
Unit 6 : Matrices.
Unit 3: Matrices.
Algebra 3: Section 5.5 Objectives of this Section Find the Sum and Difference of Two Matrices Find Scalar Multiples of a Matrix Find the Product of Two.
Chapter 1 Section 1. Examples: 2 x 2 system 2 x 3 system 3 x 2 system.
Lecture 8 Matrix Inverse and LU Decomposition
Chapter 6 Systems of Linear Equations and Matrices Sections 6.3 – 6.5.
Introduction and Definitions
Sec 4.1 Matrices.
Algebra Matrix Operations. Definition Matrix-A rectangular arrangement of numbers in rows and columns Dimensions- number of rows then columns Entries-
Matrices and Determinants
2.2 The Inverse of a Matrix. Example: REVIEW Invertible (Nonsingular)
Matrices and Matrix Operations. Matrices An m×n matrix A is a rectangular array of mn real numbers arranged in m horizontal rows and n vertical columns.
MATRIX A set of numbers arranged in rows and columns enclosed in round or square brackets is called a matrix. The order of a matrix gives the number of.
LEARNING OUTCOMES At the end of this topic, student should be able to :  D efination of matrix  Identify the different types of matrices such as rectangular,
Linear System of Simultaneous Equations Warm UP First precinct: 6 arrests last week equally divided between felonies and misdemeanors. Second precinct:
2 2.5 © 2016 Pearson Education, Ltd. Matrix Algebra MATRIX FACTORIZATIONS.
3.5 Perform Basic Matrix Operations Add Matrices Subtract Matrices Solve Matric equations for x and y.
Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,
2 - 1 Chapter 2A Matrices 2A.1 Definition, and Operations of Matrices: 1 Sums and Scalar Products; 2 Matrix Multiplication 2A.2 Properties of Matrix Operations;
Linear Algebra Engineering Mathematics-I. Linear Systems in Two Unknowns Engineering Mathematics-I.
Matrices. Variety of engineering problems lead to the need to solve systems of linear equations matrixcolumn vectors.
Introduction Types of Matrices Operations
Ch. 12 Vocabulary 1.) matrix 2.) element 3.) scalar 4.) scalar multiplication.
Numerical Methods.  LU Decomposition is another method to solve a set of simultaneous linear equations  For most non-singular matrix [A] that one could.
CHAPTER 7 Determinant s. Outline - Permutation - Definition of the Determinant - Properties of Determinants - Evaluation of Determinants by Elementary.
College Algebra Chapter 6 Matrices and Determinants and Applications
Chapter 8 Numerical Technique
nhaa/imk/sem /eqt101/rk12/32
Lecture 2 Matrices Lat Time - Course Overview
Unit 1: Matrices Day 1 Aug. 7th, 2012.
L9Matrix and linear equation
Linear Algebra Lecture 15.
Matrix Operations SpringSemester 2017.
Section 7.4 Matrix Algebra.
Matrix Algebra.
DETERMINANT MATRIX YULVI ZAIKA.
4.1 Matrices – Basic Operations
Unit 3: Matrices
Inverse & Identity MATRICES Last Updated: October 12, 2005.
RECORD. RECORD COLLABORATE: Discuss: Is the statement below correct? Try a 2x2 example.
Numerical Analysis Lecture10.
Matrix Algebra.
1.8 Matrices.
Matrix Operations SpringSemester 2017.
Section 8.1 – Systems of Linear Equations
Lecture 8 Matrix Inverse and LU Decomposition
1.8 Matrices.
3.5 Perform Basic Matrix Operations Algebra II.
Presentation transcript:

LU Factorization

Equating the elements of the First Row :- Equating the elements of the 2nd Row :- Equating the elements of the 3rd Row :-

Crout’s Method Dolittle’s Method We have 12 unknowns but only 9 equations. We need some sort of compromise. Crout’s Method Set Dolittle’s Method Set

Use of LU factors in solving systems of linear equations Solve for y, and then solve for x.

LUX = B LY = B

UX = Y

Elementary Matrices and The LU Factorization Definition: Any matrix obtained by performing a single elementary row operation (ERO) on the identity (unit) matrix is called an elementary matrix. There are three elementary operations: Permute rows i and j Multiply row i by a non-zero scalar k Add k times row i to row j

Corresponding to the three ERO, we have then three elementary matrices: Type 1: - permute rows i and j in In. Type 2: - multiply row i of In by a non-zero scalar k Type 3: - Add k times row i of In to row j

Permutation matrix: Scaling matrix: Row combination:

Pre-multiplying a matrix A by an elementary matrix E has the effect of performing the corresponding ERO on A. Example: We can multiply the First row of the matrix A by 3 (an elementary row operation). The resulting matrix will become

We can achieve the same result by pre-multiplying A by the corresponding elementary matrix. An ERO can be performed on a matrix by pre-multiplying the matrix by a corresponding elementary matrix. Therefore, we can show that any matrix A can be reduced to a row echelon form (REF) by multiplication by a sequence of elementary matrices.

where R denotes an REF of A. Since the unique reduced row echelon form (RREF) of a matrix is the unit matrix

A nonsingular matrix can be reduced to an upper triangular matrix using elementary row operations of Type 3 only. The elementary matrices corresponding to Type 3 EROs are unit lower triangular matrices. We can write

Since each elementary matrix is nonsingular (meaning their inverse exist) we can write We know that the product of two lower triangular matrices is also a lower triangular matrix. Therefore

Inverses of the three elementary matrices are:

Determine the LU factorization of the matrix First, let us do the EROs to reduce A into an upper triangular matrix.

These EROs can be written in terms of their equivalent elementary matrices as

We can construct the lower triangular matrix L without multiplying the elementary matrices if we utilize the multipliers obtained while we converted matrix A into an upper triangular matrix. Definition: When using ERO of Type 3, the multiple of a specific row i that is subtracted from row j to put a zero in the ji position is called a multiplier, and is denoted as