Lu Decomposition

8,550 views 16 slides Sep 28, 2019
Slide 1
Slide 1 of 16
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16

About This Presentation

Numerical Method
LU Decomposition


Slide Content

Green University of Bangladesh Presented by: Md. Al-Amin ID: 172015031 Dept. of CSE Presented to: Dr. Md. Monirul Islam Distinguished Professor Dept. of CSE Course Name: Numerical Methods Course Code: CSE-211 Topic: LU Decomposition

Outline What is LU decomposition? LU decomposition method Example Why LU decomposition? Conclusion 1

What is LU Decomposition? LU decomposition was introduced by mathematician  Tadeusz Banachiewicz   in 1938 . In  numerical analysis and linear algebra, LU decomposition of a matrix is the factorization of a given square matrix into two triangular matrices, one upper triangular matrix and another lower triangular matrix , such that the product of these two matrices gives the original matrix . Assume  [A] = Original matrix [L] = Lower triangular matrix [U] = Upper triangular matrix [A] = [L][U] 2

LU Decomposition Method 1. Decompose 3 Cont…

Decompose [U] = LU Decomposition Method 4 Cont…

Decompose [U] = [L] = LU Decomposition Method 5 Cont…

LU Decomposition Method 2. Forward substitution: Given [L] and [B] find [Y] 3. Backward substitution Given [U] and [Y] find [X] 6

Solution: Example Problem: Solve the following system of equations by LU decomposition. Row3-Row1 12 =Row3 Row2-Row1  4=Row2 7 Cont…

Example 8 Cont…

Now use forward substitution: Example 9 Cont…

Now use backward substitution: Example 10

Why LU Decomposition? T otal computational time for LU Decomposition is proportional to  T otal computation time for Gauss Elimination is proportional to  Now, if n=100 So  LU Decomposition > Gauss Elimination 11 Cont…

If the [B] vector changes then what will be happed… Let m = the number of times the [B] vector changes The computational times are proportional to LU Decomposition = Gauss Elimination = Gauss Elimination = LU decomposition = Now LU Decomposition < Gauss Elimination Why LU Decomposition? 12

Conclusion LU Decomposition is provides an efficient means to compute the matrix inverse. The inverse has a number of valuable application in engineering practice. It also provides a means for evaluating system condition. 13

THANK YOU ALL ANY QUESTION ?