Abstract

The chapter continues the development of Gaussian elimination started in Chapter 2. First, it intuitively explains the LU decomposition (factorization) without pivoting, introduces elementary row matrices, and uses them to prove why the LU decomposition (A = LU) works. The chapter gives an algorithm for Gaussian elimination without partial pivoting and computes its flop count. Gaussian elimination as introduced in Chapter 2 and continued here is unstable. The chapter introduces the idea of partial pivoting with a classic example where partial pivoting is necessary to obtain a correct result. After explaining the details of partial pivoting, the result PA = LU is proved using elementary row matrices. The partial pivoting algorithm follows in pseudocode. It is shown that if there are multiple right-hand sides, it is necessary to perform the LU decomposition only once. In particular, the inverse can be computed by solving n systems with right-hand sides consisting of the standard basis vectors. Except for some special examples that do not occur in practice, Gaussian elimination with partial pivoting is backward stable. It is possible to improve a solution obtained from partial pivoting using iterative refinement.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call