We have an example ,

and .

Steps of Elimination:

  • Step 1: subtract times row 1 from row 2;
  • Step 2: subtract times row 2 from row 3.

From row3, , so

Thus, we can easily solve the systems of equations, .

Elimination Matrices

The product of a matrix (3x3) and a column vector (3x1) is a column vector (3x1) that is a linear combination of the columns of the matrix.

The product of a row vector (1x3) and a matrix (3x3) is a row vector (1x3) that is a linear combination of the rows of the matrix.

For example,

Multiplying on the left by a permutation matrix exchanges the rows of a matrix, while multiplying on the right exchanges the columns. For example,

is a Permutation Matrix and the first and second rows of the matrix are the second and first rows of the matrix .

Note, matrix multiplication is associative but not commutative.