7.3 Pivoting Strategies

In this section, we present an algorithm for Gaussian elimination with row interchanges. At each step of the algorithm, it will be necessary to choose a pivotal row. We can often avoid unnecessarily large error accumulations by choosing the pivotal rows in a reasonable manner.

Gaussian Elimination with Interchanges

Consider the following example.

Example 1

Let

A=[642421211]

We wish to reduce A to triangular form by using row operations I and III. To keep track of the interchanges, we will use a row vector p. The coordinates of p will be denoted by p(1),p(2), and p(3). Initially, we set p=(1,2,3). Suppose that, at the first step of the reduction process, the third row is chosen as the pivotal row. Then instead ...

Get Linear Algebra with Applications, 10th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.