

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


THE LU FACTORIZATION [2.5]
The LU factorization – Revisit Gaussian Elimination
ä Back to Gaussian Elimination – see Set 2 of lect. notes.
ä Main operation used: scaling and adding rows.
Step 1:
row 2 := row 2 −
1 2
row 1 : row 3 := row 3 −
1 2
row 1 :
ä This transformation related to the Step 1 is equivalent
to performing this product:
1 2
1 2
J-
ä Hint: When doing the product C = AB how are the
rows of C related to those of B?
ä Matrix on the left is called an Elimination matrix
[A, b] → [E 1 A, E 1 b]
ä Distinct from the elementary elimination matrices seen
earlier
ä New system A 1 x = b 1.
Step 2 row 3 := row 3 − 3 × row 2
ä Equivalent to
The LU factorization
ä Now ignore the right-hand side from the transformations.
Observation: Gaussian elimination amounts to perform-
ing n − 1 successive Gaussian transformations, i.e.,
multiplications with elimination matrices that have ones
on the diagonal and the negatives of the multipliers in
the column being eliminated.
ä Set A 0 ≡ A
An− 1 = En− 1 En− 2 · · · E 2 E 1 A 0
ä An− 1 ≡ U is an upper triangular matrix.
ä We have U = En− 1 En− 2 · · · E 2 E 1 A or :
− 1 1
− 1 2
− 1 3
− 1 n− 1 ︸ ︷︷ ︸ L
A = LU with L = E
− 1 1 E
− 1 2 E
− 1 3 · · ·^ E
− 1 n− 1 U^ =^ An−^1
ä Called the LU decomposition (or factorization) of A.
ä Note: L is Lower triangular, An− 1 is upper triangular
ä U is the last matrix obtained in GE
ä L =??
J-
So: How do we get L?
ä Use: L = E
− 1 1 E
− 1 2 E
− 1 3 · · ·^ E
− 1 n− 1? Too complex!
ä There is a simpler way:
The L factor is a lower triangular matrix with ones on
the diagonal. Column k of L contains the multipliers lik
used to modify rows k + 1, k + 2, · · · , n in the k-th step
of Gaussian elimination.
ä A lower triangular matrix with ones on diagonal is called
a ‘unit’ lower triangular matrix.
J-
LU factorization - an example
Example: Let A =
Step 1 Elimination matrix E 1 and its inverse:
− 1 1
ä Result of elimination: (^) A 1 = E 1 ∗A =
Step 2 Elimination matrix and its inverse:
− 1 2
ä Result of elimination: (^) A 2 = E 2 ∗A 1 =