Home page for accesible maths 3 Inverting matrices

Style control - access keys in brackets

Font (2 3) - + Letter spacing (4 5) - + Word spacing (6 7) - + Line spacing (8 9) - +

3.1. Identity matrices and inverses

In this subsection, we focus on important properties of square matrices. Recall that the products A⁢B and B⁢A of two matrices A and B both exist if and only if there exist m,n∈ℕ with A∈Mn×m⁡(ℝ) and B∈Mm×n⁡(ℝ). In particular, A2 is defined if and only if A is square.

Recall from Example 1.4 that for any positive integer n, the identity matrix In∈Mn⁡(ℝ) is the square matrix whose coefficients take values 1 on the diagonal and 0 elsewhere. If the size n is obvious, we write I instead of In.

Remark 3.1.1.

The Kronecker symbol, usually denoted δi⁢j, for integers i,j, is defined by

δi⁢j={1if i=j,0otherwise.

In particular, the identity matrix In has (i,j) coefficient (In)i⁢j=δi⁢j, for all 1≤i,j≤n. Also, the vectors ej∈ℝn have coefficients (ej)i=δi⁢j, for all 1≤i,j≤n.

The main property of the identity matrix, as its name suggests, is that it is a multiplicative identity. That is,

for any matrix A∈Mn×m⁡(ℝ), we have A⁢Im=A=In⁢A.

In any algebraic structure containing an identity element for the multiplication, we can speak of the existence or not of a multiplicative inverse of an element.

Definition 3.1.2.

Let A∈Mn⁡(ℝ). We say that A is invertible (or non-singular) if there exists B∈Mn⁡(ℝ) such that

A⁢B=B⁢A=In.

In this case, B is called the inverse of A and we write B=A-1.

Remark 3.1.3.
  1. (i)

    From the definition, we note that only square matrices may possibly be invertible.

  2. (ii)

    Suppose that a matrix A∈Mn⁡(ℝ) has a ‘left’ inverse, in the sense that there exists B∈Mn⁡(ℝ) with B⁢A=In. Then, A⁢B=In as well (we will omit the proof).

  3. (iii)

    If we know that there exist A,B,C∈Mn⁡(ℝ) with B⁢A=A⁢C=In, then B=C. Here is the proof:

    B=B⁢In=B⁢(A⁢C)=(B⁢A)⁢C=In⁢C=C.
  4. (iv)

    We cannot use the fraction notation, i.e. InA instead of A-1, because matrix multiplication is not commutative.

  5. (v)

    If A is invertible, then it is the inverse of its inverse. That is,

    A=(A-1)-1.

Example 3.1.4.

  • Let

    A=(1-4-13) and B=(-3-4-1-1).

    Then, A⁢B=(1001)=B⁢A so that B=A-1 and A=B-1. So A and B are inverse of each other.

Even though we do not know how to find the inverse (if it exists) of a matrix yet, let us prove an essential property about products of invertible matrices.

Theorem 3.1.5.

Let A,B∈Mn⁡(R). If A and B are invertible, then A⁢B is invertible with

(A⁢B)-1=B-1⁢A-1.

Moreover, if A⁢B is invertible, then both A and B must also be invertible.

Proof.

Assume that A,B∈Mn⁡(ℝ) are invertible. Then, by associativity of multiplication,

(A⁢B)⁢(B-1⁢A-1)=A⁢(B⁢B-1)⁢A-1=A⁢In⁢A-1=In.

Thus, by Remark 3.1.3 on uniqueness of inverses, we conclude that B-1⁢A-1=(A⁢B)-1 as required.

To prove the second statement, assume A⁢B is invertible. So there exists a matrix C such that (A⁢B)⁢C=In. By associativity of matrix multiplication, this is the same as A⁢(B⁢C)=In. Therefore, A is invertible. A similar argument shows B is also invertible. ∎

Theorem 3.1.6.

Suppose that A∈Mn⁡(R) is invertible. Then so is At, and (At)-1=(A-1)t.

Proof.

We need to check that At⁢(A-1)t=In=(A-1)t⁢At. We prove the first equality and leave the other as an exercise. By Theorem 1.5.4(ii), we have

At⁢(A-1)t=(A-1⁢A)t=Int=In.

∎

Suppose that A is a square matrix of size n. How do we go about deciding whether A is invertible or not? And if it is invertible, how do we find its inverse? As a matter of introduction, let us answer these questions in the case of a 2×2 matrix.

Theorem 3.1.7.

Let

A=(abcd)∈M2⁡(ℝ).
  1. (i)

    If a⁢d-b⁢c=0 then A is not invertible,

  2. (ii)

    If a⁢d-b⁢c≠0 then A is invertible with

    A-1=1a⁢d-b⁢c⁢(d-b-ca).
Proof.

Let B=(d-b-ca). Then

A⁢B=(a⁢d-b⁢c00a⁢d-b⁢c)=(a⁢d-b⁢c)⁢I2=B⁢A.

Suppose that a⁢d=b⁢c. Then, A⁢B=0=B⁢A. If A=0 then A is clearly not invertible, so suppose that A, hence also B, is non-zero. If A has an inverse, that is if A-1 exists, then

B=B⁢I2=B⁢(A⁢A-1)=(B⁢A)⁢A-1=0⁢A-1=0,

a contradiction! So A cannot be invertible.

Now suppose that a⁢d≠b⁢c and set C=1a⁢d-b⁢c⁢B. Then matrix multiplication yields

C⁢A=1a⁢d-b⁢c⁢B⁢A=1a⁢d-b⁢c⁢(a⁢d-b⁢c00a⁢d-b⁢c)=I2.

Similarly A⁢C=I2 so A is invertible with A-1=C. ∎