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.2 A is invertible if and only if the RREF matrix is the identity.

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 a⁢d−b⁢d≠0, and in this case

A−1=1a⁢d−b⁢c⁢(d−b−ca)

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=(ai⁢j) is

A−1=1Δ⁢(|a22a23a32a33|−|a12a13a32a33||a12a13a22a23|−|a21a23a31a33||a11a13a31a33|−|a11a13a21a23||a21a22a31a32|−|a11a12a31a32||a11a12a21a22|)

where |abcd| means a⁢d−b⁢c and

Δ=a11⁢a22⁢a33+a12⁢a23⁢a31+a13⁢a21⁢a32−a11⁢a23⁢a32−a12⁢a21⁢a33−a13⁢a22⁢a31.

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 (A∣In).

  2. 2.

    Do row operations to put this into RREF.

  3. 3.

    If you get (In∣B) 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.2 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 (In∣A−1).

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, (In∣A−1).

Example 3.13.1.

Let A=(1234). To find whether A is invertible, and if so what its inverse is, we put (A∣I2) into RREF:

(12103401) ↦r2↦r2−3⁢r1(12100−2−31)
↦r2↦(−1/2)⁢r2(1210013/2−1/2)
↦r1↦r1−2⁢r2(10−21013/2−1/2)

This is in RREF, so the inverse of A is

(−213/2−1/2)

as you can check by multiplying them together.