Lecture 13 LU Decomposition - PowerPoint PPT Presentation

1 / 23
About This Presentation
Title:

Lecture 13 LU Decomposition

Description:

LU Decomposition ... LU Decomposition. There are variation of the technique using different methods. ... LU Decomposition. The matrices are represented by ... – PowerPoint PPT presentation

Number of Views:897
Avg rating:3.0/5.0
Slides: 24
Provided by: San59
Category:

less

Transcript and Presenter's Notes

Title: Lecture 13 LU Decomposition


1
Lecture 13 - LU Decomposition
  • CVEN 302
  • September 24, 2001

2
Lectures Goals
  • LU Decomposition
  • Crouts technique
  • Doolittles technique
  • Choleskys technique

3
LU Decomposition
  • A modification of the elimination method, called
    the LU decomposition. The technique will rewrite
    the matrix as the product of two matrices.
  • A LU

4
LU Decomposition
  • The technique breaks the matrix into a product of
    two matrices, L and U, L is a lower triangular
    matrix and U is an upper triangular matrix.

5
LU Decomposition
  • There are variation of the technique using
    different methods.
  • Crouts reduction (U has ones on the diagonal)
  • Doolittles method( L has ones on the diagonal)
  • Choleskys method ( The diagonal terms are the
    same value for the L and U matrices)

6
Decomposition
7
LU Decomposition Solving
  • Using the LU decomposition
  • Ax LUx LUx b
  • Solve
  • Ly b
  • and then solve
  • Ux y

8
LU Decomposition
  • The matrices are represented by

9
Equation Solving
  • What is the advantage of breaking up one linear
    set into two successive ones?
  • The advantage is that the solution of triangular
    set of equations is trivial to solve.

10
Equation Solving
  • First step - forward substitution

11
Equation Solving
  • Second step - back substitution

12
LU Decomposition (Crouts reduction)
  • Matrix decomposition

13
LU Decomposition (Doolittles method)
  • Matrix decomposition

14
Choleskys method
  • Matrix is decomposed into
  • where, lii uii

15
LU Decomposition (Crouts reduction)
  • Matrix decomposition

16
Crouts Reduction
  • The method alternates from solving from the lower
    triangular to the upper triangular

Step 1 sweep down
Step 2 sweep across
17
Crouts Reduction
  • Second set of steps through the reduction

Step 3 sweep down
Step 4 sweep across
18
General formulation of Crouts
  • These are the general equations for the
    component of the two matrices

19
Example
  • The matrix is broken into a lower and upper
    triangular matrices.

20
Example
  • Solve problem using LU decomposition

21
LU Programs
  • There are two programs
  • LU_crout_factor - the program does a Crout
    decomposition of a matrix and returns the L and U
    matrices
  • LU_solve uses an L and U matrix combination to
    solve the system of equations.

22
Summary
  • Defined a LU decomposition.
  • Setup of the LU Crouts decomposition technique.
  • Showed an example

23
Homework
  • Check the Homework webpage
Write a Comment
User Comments (0)
About PowerShow.com