LU Factorization

Definition


Theorems, Lemmas, and Corollaries


How is it used?

The LU factorization is commonly used when solving a square system of linear equations $ A x = b $ where $ A \in \Snxn $ and $ b \in \Sn $ are given and $ x \in \Sn $ is to be computed. If $ A = LU $, then $A x = b$ means $L U x = b$ or $L y = b$ where $y = U x$ so that $ x $ can be computed by first solving the lower triangular system of equations $ L y = b $ (often referred to as forward substitution) and then solving the upper triangular system $ U x = y $ (often referred to as backward substitution).

Algorithms

$ A \becomes LU( A ) $ denotes the operation that overwrites

The diagonal of $ L $, which consists of unit elements, is not stored.

Partitioned Matrix Expression

The PME for this operation is given by

Here $A_{TL}, L_{TL}, U_{TL} \in \S^{k \times k} $.

Details of how to derive the PME for this operation.

Loop-invariants

The dependencies in the above PME allow for five different loop-invariants to be identified:

Algorithmic variants

Performance

Enlarge


Try it yourself


Numerical Properties


Related Operations

More Information

LinearAlgebraWiki: LU factorization (last edited 2007-06-01 23:15:56 by MarthaGanser)