3. Computing the Inverse of a Matrix
Definition of Inverse
By definition, the inverse matrix
The identity matrix ones on the diagonal and zeros everywhere else corresponds to the identity transformation:
Using row operations
One approach for computing the inverse is to use the Gauss-Jordan elimination procedure. Start by creating an array containing the entries of the matrix
Now we perform the Gauss-Jordan elimination procedure on this array.
The first row operation is to subtract three times the first row from the second row:
The second row operation is divide the second row by
The third row operation is
The array is now in reduced row echelon form RREF. The inverse matrix appears on the right side of the array.
Observe that the sequence of row operations we used to solve the specific system of equations in
Using elementary matrices
Every row operation we perform on a matrix is equivalent to a left-multiplication by an elementary matrix. There are three types of elementary matrices in correspondence with the three types of row operations:
Let's revisit the row operations we used to find
The first row operation
The second row operation
The final step,
Note that
The elementary matrix approach teaches us that every invertible matrix can be decomposed as the product of elementary matrices. Since we know