3 Matrices

3.13 Finding inverses

Let A be a square matrix. We now have a method of determining whether or not A is invertible: do row operations to A until you reach a matrix in RREF. Then by Theorem 3.12.1 A is invertible if and only if the RREF matrix is invertible.

What if we actually want to know what the inverse matrix is? You probably already know that a 2×2 matrix A=(abcd) is invertible if and only if adbd0, and in this case

A1=1adbc(dbca)

This formula does generalise to larger matrices, but not in a way which is easy to use: for example, the general formula for the inverse of a 3×3 invertible matrix A=(aij) is

A1=1Δ(|a22a23a32a33||a12a13a32a33||a12a13a22a23||a21a23a31a33||a11a13a31a33||a11a13a21a23||a21a22a31a32||a11a12a31a32||a11a12a21a22|)

where |abcd| means adbc and

Δ=a11a22a33+a12a23a31+a13a21a32a11a23a32a12a21a33a13a22a31.

This isn’t a formula that you want to use. Luckily we can use RREF techniques to determine invertibility and find inverses.

3.13.1 How to determine invertibility and find inverses

Let A be an n×n matrix, and suppose we want to find out whether A is invertible and if so what its inverse is. Let In be the n×n identity matrix. Here is a method:

  1. 1.

    Form the super-augmented matrix (AIn).

  2. 2.

    Do row operations to put this into RREF.

  3. 3.

    If you get (InB) then A is invertible with inverse B.

  4. 4.

    If the first part of the matrix isn’t In then A isn’t invertible.

It works because the first part of the matrix is a RREF matrix resulting from doing row operations to A, so if it is In then by Theorem 3.12.1 A is invertible, and if it is not In then A is not invertible. It just remains to explain why, in the case A is invertible, you end up with (InA1).

Think about the columns 𝐜1,,𝐜n of the inverse of A. We have A(𝐜1𝐜n)=In, so A𝐜1=𝐞1, A𝐜2=𝐞2, etc, where 𝐞i is the ith column of In. So 𝐜1 is the unique solution of the matrix equation A𝐱=𝐞1. You find that by putting (A𝐞1) into RREF, and you must get (In𝐜1) since 𝐜1 is the only solution.

Repeating that argument for every column, when we put (A𝐞1𝐞n) into RREF we get (In𝐜1𝐜n), that is, (InA1).

Example 3.13.1.

Let A=(1234). To find whether A is invertible, and if so what its inverse is, we put (AI2) into RRE form:

(12103401) 𝐫2𝐫23𝐫1(12100231)
𝐫2(1/2)𝐫2(1210013/21/2)
𝐫1𝐫12𝐫2(1021013/21/2)

This is in RRE form, so the inverse of A is

(213/21/2)

as you can check by multiplying them together.