Chapter 10 and Matrix Inversion LU Decomposition

Slides:



Advertisements
Similar presentations
Method If an nxn matrix A has an LU-factorization, then the solution of AX = b can be determined by a Forward substitution followed by a Back substitution.
Advertisements

E. T. S. I. Caminos, Canales y Puertos1 Engineering Computation Lecture 6.
Chapter 2 Solutions of Systems of Linear Equations / Matrix Inversion
4/22/ LU Decomposition Electrical Engineering Majors Authors: Autar Kaw Transforming.
4/26/ LU Decomposition Civil Engineering Majors Authors: Autar Kaw Transforming.
Major: All Engineering Majors Authors: Autar Kaw
SOLVING SYSTEMS OF LINEAR EQUATIONS. Overview A matrix consists of a rectangular array of elements represented by a single symbol (example: [A]). An individual.
CISE301_Topic3KFUPM1 SE301: Numerical Methods Topic 3: Solution of Systems of Linear Equations Lectures 12-17: KFUPM Read Chapter 9 of the textbook.
Solution of linear system of equations
Linear Algebraic Equations
Linear Systems of Equations Ax = b Marco Lattuada Swiss Federal Institute of Technology - ETH Institut für Chemie und Bioingenieurwissenschaften ETH Hönggerberg/
Part 3 Chapter 10 LU Factorization PowerPoints organized by Dr. Michael R. Gustafson II, Duke University All images copyright © The McGraw-Hill Companies,
LU method 1) factor (decompose) A into L and U 2) given b, determine d 3) using Ux=d and backsubstitution, solve for x Advantage: Once you have L and U,
Linear Systems What is the Matrix?. Outline Announcements: –Homework III: due Wed. by 5, by Office Hours: Today & tomorrow, 11-1 –Ideas for Friday?
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 17 Solution of Systems of Equations.
The Islamic University of Gaza Faculty of Engineering Civil Engineering Department Numerical Analysis ECIV 3306 Chapter 10 LU Decomposition and Matrix.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 15 Solution of Systems of Equations.
ECIV 520 Structural Analysis II Review of Matrix Algebra.
1 Systems of Linear Equations (Optional) Special Matrices.
The Islamic University of Gaza Faculty of Engineering Civil Engineering Department Numerical Analysis ECIV 3306 Chapter 10 LU Decomposition and Matrix.
17 Jul 2007 KKKQ 3013 PENGIRAAN BERANGKA Week 2 – Systems of Linear Equations 17 July am – 9.00 am.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 18 LU Decomposition and Matrix Inversion.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. by Lale Yurttas, Texas A&M University Part 31 Chapter.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 ~ Linear Algebraic Equations ~ Gauss Elimination Chapter.
Chapter 8 Objectives Understanding matrix notation.
Engineering Analysis ENG 3420 Fall 2009
Scientific Computing Linear Systems – LU Factorization.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. by Lale Yurttas, Texas A&M University Part 31 Linear.
Advanced Computer Graphics Spring 2014 K. H. Ko School of Mechatronics Gwangju Institute of Science and Technology.
Using LU Decomposition to Optimize the modconcen.m Routine Matt Tornowske April 1, 2002.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. by Lale Yurttas, Texas A&M University Chapter 111.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. by Lale Yurttas, Texas A&M University Chapter 101.
13.6 MATRIX SOLUTION OF A LINEAR SYSTEM.  Examine the matrix equation below.  How would you solve for X?  In order to solve this type of equation,
Lecture 8 Matrix Inverse and LU Decomposition
MECN 3500 Inter - Bayamon Lecture 8 Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. by Lale Yurttas, Texas A&M University Chapter 271 Boundary-Value.
1/18/ LU Decomposition Industrial Engineering Majors Authors: Autar Kaw Transforming.
3/1/ LU Decomposition Computer Engineering Majors Authors: Autar Kaw Transforming.
Gaoal of Chapter 2 To develop direct or iterative methods to solve linear systems Useful Words upper/lower triangular; back/forward substitution; coefficient;
Autar Kaw Benjamin Rigsby Transforming Numerical Methods Education for STEM Undergraduates.
Numerical Methods.  LU Decomposition is another method to solve a set of simultaneous linear equations  For most non-singular matrix [A] that one could.
Numerical Computation Lecture 6: Linear Systems – part II United International College.
LU Decomposition ● In Gauss elimination; Forward elimination Backward substitution Major computational effort Low computational effort can be used for.
TYPES OF SOLUTIONS SOLVING EQUATIONS
Chapter 8 Numerical Technique
Part B. Linear Algebra, Vector Calculus
TYPES OF SOLUTIONS SOLVING EQUATIONS
Simultaneous Linear Equations
Spring Dr. Jehad Al Dallal
Linear Equations.
Linear Algebra Lecture 15.
Chapter 10.
Solving Linear Systems Algebraically
RECORD. RECORD Gaussian Elimination: derived system back-substitution.
Chemical Engineering Majors Authors: Autar Kaw
Metode Eliminasi Pertemuan – 4, 5, 6 Mata Kuliah : Analisis Numerik
Programming #4 Computer Problems
Simultaneous Linear Equations
Find the inverse of the matrix
Matrix Solutions to Linear Systems
Numerical Computation and Optimization
Part 3 Chapter 10 LU Factorization
Numerical Analysis Lecture10.
Linear Systems Numerical Methods.
Systems of Equations Solve by Graphing.
Major: All Engineering Majors Authors: Autar Kaw
LU Decomposition.
Lecture 8 Matrix Inverse and LU Decomposition
The Gauss Jordan method
Ax = b Methods for Solution of the System of Equations (ReCap):
Presentation transcript:

Chapter 10 and Matrix Inversion LU Decomposition Credit: Prof. Lale Yurttas, Chemical Eng., Texas A&M University

Solve A . x = b (system of linear equations) Decompose A = L . U * L : Lower Triangular Matrix U : Upper Triangular Matrix

[L][U]=[A]  [L][U]{x}={b} To solve [A]{x}={b} [L][U]=[A]  [L][U]{x}={b} Consider [U]{x}={d} [L]{d}={b} Solve [L]{d}={b} using forward substitution to get {d} Use back substitution to solve [U]{x}={d} to get {x} Both phases, (1) and (2), take O(n2) steps.

[ L ] [ U ]

[ U ] Gauss Elimination   Coefficients used during the elimination step

[ L . U ]

[ L ] [ U ] Example: A = L . U Gauss Elimination Coefficients

[ U ] Example: A = L . U Gauss Elimination with pivoting Coefficients

LU decomposition Gauss Elimination can be used to decompose [A] into [L] and [U]. Therefore, it requires the same total FLOPs as for Gauss elimination: In the order of (proportional to) N3 where N is the # of unknowns. lij values (the factors generated during the elimination step) can be stored in the lower part of the matrix to save storage. This can be done because these are converted to zeros anyway and unnecessary for the future operations. Provides efficient means to compute the matrix inverse

Solve in n=3 major phases MATRIX INVERSE A. A-1 = I Solve in n=3 major phases 1 2 3 Each solution takes O(n2) steps. Therefore, The Total time = O(n3) Solve each one using A=L.U method  e.g. Solve Problem 10.6. Solution file is available on the web