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 AB and BA of two matrices A and B both exist if and only if there exist m,n with AMn×m() and BMm×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 InMn() 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 δij, for integers i,j, is defined by

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

In particular, the identity matrix In has (i,j) coefficient (In)ij=δij, for all 1i,jn. Also, the vectors ejn have coefficients (ej)i=δij, for all 1i,jn.

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

for any matrix AMn×m(), we haveAIm=A=InA.

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 AMn(). We say that A is invertible (or non-singular) if there exists BMn() such that

AB=BA=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 AMn() has a ‘left’ inverse, in the sense that there exists BMn() with BA=In. Then, AB=In as well (we will omit the proof).

  3. (iii)

    If we know that there exist A,B,CMn() with BA=AC=In, then B=C. Here is the proof:

    B=BIn=B(AC)=(BA)C=InC=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)andB=(-3-4-1-1).

    Then, AB=(1001)=BA 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,BMn(R). If A and B are invertible, then AB is invertible with

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

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

Proof.

Assume that A,BMn() are invertible. Then, by associativity of multiplication,

(AB)(B-1A-1)=A(BB-1)A-1=AInA-1=In.

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

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

Theorem 3.1.6.

Suppose that AMn(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)tAt. 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-1A)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 ad-bc=0 then A is not invertible,

  2. (ii)

    If ad-bc0 then A is invertible with

    A-1=1ad-bc(d-b-ca).
Proof.

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

AB=(ad-bc00ad-bc)=(ad-bc)I2=BA.

Suppose that ad=bc. Then, AB=0=BA. 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=BI2=B(AA-1)=(BA)A-1=0A-1=0,

a contradiction! So A cannot be invertible.

Now suppose that adbc and set C=1ad-bcB. Then matrix multiplication yields

CA=1ad-bcBA=1ad-bc(ad-bc00ad-bc)=I2.

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