LU factorization algorithm:

  • Loop over : 1 to

    • ; row of
    • ; column of
    • . In this step, we modify matrix . The resulting modified matrix is called the Schur complement.
  • The computational cost is .

  • This algorithm assumes that .

  • is called a pivot in the LU factorization.

  • This is a non-trivial assumption that can break down in practice.

  • We will see later how to deal with this situation.

Triangular factorization, Solving linear systems using LU