Numerical Computation and Optimization

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

4/22/ LU Decomposition Electrical Engineering Majors Authors: Autar Kaw Transforming.
4/26/ LU Decomposition Civil Engineering Majors Authors: Autar Kaw Transforming.
Chapter 8 Numerical Technique 大葉大學 資訊工程系 黃鈴玲 Linear Algebra.
LU Factorization LU-factorization Matrix factorization Forward substitution Back substitution.
Major: All Engineering Majors Authors: Autar Kaw
Chapter 9.1 = LU Decomposition MATH 264 Linear Algebra.
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,
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 20 Solution of Linear System of Equations - Iterative Methods.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 14 Elimination Methods.
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.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 18 LU Decomposition and Matrix Inversion.
LINEAR EQUATION IN TWO VARIABLES. System of equations or simultaneous equations – System of equations or simultaneous equations – A pair of linear equations.
LU Decomposition 1. Introduction Another way of solving a system of equations is by using a factorization technique for matrices called LU decomposition.
Scientific Computing Linear Systems – LU Factorization.
G AUSSIAN E LIMINATION Presented by: Max Le Max Le Justin Lavorgna Data Structures II: Algorithm Design & Analysis Algorithm Design & Analysis.
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
Elimination method Solving linear equations simultaneously.
ECE 530 – Analysis Techniques for Large-Scale Electrical Systems Prof. Hao Zhu Dept. of Electrical and Computer Engineering University of Illinois at Urbana-Champaign.
1/18/ LU Decomposition Industrial Engineering Majors Authors: Autar Kaw Transforming.
SOLVING SYSTEMS USING ELIMINATION 6-3. Solve the linear system using elimination. 5x – 6y = -32 3x + 6y = 48 (2, 7)
EXAMPLE 4 Solve linear systems with many or no solutions Solve the linear system. a.x – 2y = 4 3x – 6y = 8 b.4x – 10y = 8 – 14x + 35y = – 28 SOLUTION a.
3/1/ LU Decomposition Computer Engineering Majors Authors: Autar Kaw Transforming.
Algebra Review. Systems of Equations Review: Substitution Linear Combination 2 Methods to Solve:
Unit #1 Linear Systems Fall Dr. Jehad Al Dallal.
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.
Chapter 8 Numerical Technique
6) x + 2y = 2 x – 4y = 14.
Spring Dr. Jehad Al Dallal
Gaussian Elimination.
Solving Systems of Linear Equations in 3 Variables.
Linear Equations.
Linear Algebra Lecture 15.
Chapter 10 and Matrix Inversion LU Decomposition
Chapter 10.
Solving Linear Systems Algebraically
Chemical Engineering Majors Authors: Autar Kaw
Simultaneous Equations
Major: All Engineering Majors Author(s): Autar Kaw
Numerical Computation and Optimization
Matrix Solutions to Linear Systems
Review of Matrix Algebra
Numerical Analysis Lecture14.
Solve Linear Equations by Elimination
Part 3 Chapter 10 LU Factorization
Numerical Analysis Lecture10.
ARRAY DIVISION Identity matrix Islamic University of Gaza
Numerical Computation and Optimization
Linear Systems Numerical Methods.
Simultaneous Linear Equations
Solving Systems of Linear Equations in 3 Variables.
Systems of Equations Solve by Graphing.
Major: All Engineering Majors Authors: Autar Kaw
LU Decomposition.
Example 2B: Solving Linear Systems by Elimination
Numerical Computation and Optimization
Lecture 8 Matrix Inverse and LU Decomposition
Major: All Engineering Majors Authors: Autar Kaw
Presentation transcript:

Numerical Computation and Optimization Solution of Linear Algebraic Equations LU Decomposition By Assist Prof. Dr. Ahmed Jabbar

LU Decomposition Method [A] = [L][U] where For most non-singular matrix [A] that one could conduct Naïve Gauss Elimination forward elimination steps, one can always write it as [A] = [L][U] where [L] = lower triangular matrix [U] = upper triangular matrix http://numericalmethods.eng.usf.edu

LU Decomposition How can this be used? Given [A][X] = [C] Decompose [A] into [L] and [U] Solve [L][Z] = [C] for [Z] Solve [U][X] = [Z] for [X] http://numericalmethods.eng.usf.edu

http://numericalmethods.eng.usf.edu

Method: [A] Decomposes to [L] and [U] [U] is the same as the coefficient matrix at the end of the forward elimination step. [L] is obtained using the multipliers that were used in the forward elimination process

Using the Forward Elimination Procedure of Gauss Elimination Finding the [U] matrix Using the Forward Elimination Procedure of Gauss Elimination Step 1:

Finding the [U] Matrix Matrix after Step 1: Step 2:

Using the multipliers used during the Forward Elimination Procedure Finding the [L] matrix Using the multipliers used during the Forward Elimination Procedure From the first step of forward elimination

Finding the [L] Matrix From the second step of forward elimination

Does [L][U] = [A]? ?

Using LU Decomposition to solve SLEs Solve the following set of linear equations using LU Decomposition Using the procedure for finding the [L] and [U] matrices

Example Set [L][Z] = [C] Solve for [Z]

Example Complete the forward substitution to solve for [Z]

Example Set [U][X] = [Z] Solve for [X] The 3 equations become

Example Substituting in a3 and using the second equation From the 3rd equation

Example Substituting in a3 and a2 using the first equation Hence the Solution Vector is: http://numericalmethods.eng.usf.edu