Section 6.4 Examples
Subsection 6.4.1 Elementary matrices and their inverses
Let’s see examples of forming the elementary matrix that corresponds to an elementary row operation, and then determining its inverse, for each of the three kinds of elementary operations. We use Procedure 6.3.2 to form these elementary matrices.
Let’s do some examples.
Example 6.4.1. Swapping rows.
Consider the operation of swapping the second and fourth rows of a matrix We can achieve the same result with a matrix product where is a elementary matrix. To obtain we perform the desired operation on the identity matrix:
To obtain the inverse we perform the reverse operation. But that’s just swapping the same two rows back again:
So, in this case, the inverse elemenatary matrix is the same as the original.
Example 6.4.2. Multiplying a row by a constant.
Now consider the operation of swapping the second row of a matrix by We can achieve the same result with a matrix product where is a elementary matrix. To obtain we perform the desired operation on the identity matrix:
To obtain the inverse we perform the reverse operation, which in this case is dividing the second row by (which is the same as multiplying the second row by ):
Example 6.4.3. Combining rows.
Finally, consider the operation of adding double the first row to the third row of a matrix We can achieve the same result with a matrix product where is a elementary matrix. To obtain we perform the desired operation on the identity matrix:
Once again, to obtain the inverse we perform the reverse operation, which in this case is subtracting double the first row from the third:
Comparing and in this case, notice how the becomes negated, which is actually the additive inverse of the number two (since and ). This connection between inverting matrix multiplication and inverting numerical addition is important in more advanced abstract algebra.
Subsection 6.4.2 Decomposing an invertible matrix and its inverse into elementary matrices
Again, let’s do a example. As we row reduce, we’ll keep track of the corresponding elementary matrices. But that also means we need to make sure we are performing elementary row operations, and only performing one at a time — no shortcuts!
Example 6.4.4.
Consider matrix
Row reduce.
Notice in this process that each elementary matrix is newly obtained by applying a row operation to the identity matrix, not by applying a row operation to the previous elementary matrix in the sequence.
We now have which suggests that
To check that this is really is the correct inverse for you can check that this matrix multiplied against in the other order also results in the identity matrix (i.e. that as well).
Also, with some matrix algebra, from we can isolate
Recall that each of these inverse elementary matrices can each be obtained from the identity matrix using the corresponding reverse operation. You may check that the result of multiplying these inverses together is
Subsection 6.4.3 Inversion by row reduction
Let’s illustrate Procedure 6.3.7 using the matrix from Subsection 6.4.2 above. Since is we augment with the identity matrix and then row reduce, being careful to apply our row operations through the entire augmented rows.
Example 6.4.5.
We would like to compute the inverse of
Augment with and reduce.
The matrix on the right is now our desired inverse,