Skip to content

Mathematics · Ch 3 — Matrices

Invertible Matrices

3.7

Invertible Matrices

3.7 Invertible Matrices

The Concept of Inverse

Every non-zero number has a reciprocal, whose product with the number is 1. For matrices there is an analogous idea: the inverse of a square matrix, whose product with the matrix is the identity matrix II (the matrix equivalent of 1).

Important

Only square matrices can have inverses. For a rectangular matrix, the products ABAB and BABA cannot both be defined and equal.

Definition of Inverse

Let AA be a square matrix of order mm. If there exists a square matrix BB of the same order such that

AB=BA=IAB = BA = I

then BB is the inverse of AA, written B=A−1B = A^{-1}, and AA is invertible.

Note

A−1A^{-1} is read "A inverse". It does not mean 1A\frac{1}{A} — division is not defined for matrices.

Example

Let A=[2312]A = \begin{bmatrix} 2 & 3 \\ 1 & 2 \end{bmatrix} and B=[2−3−12]B = \begin{bmatrix} 2 & -3 \\ -1 & 2 \end{bmatrix}.

AB=[4−3−6+62−2−3+4]=[1001]=IAB = \begin{bmatrix} 4-3 & -6+6 \\ 2-2 & -3+4 \end{bmatrix} = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} = I

BA=[4−36−6−2+2−3+4]=[1001]=IBA = \begin{bmatrix} 4-3 & 6-6 \\ -2+2 & -3+4 \end{bmatrix} = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} = I

Since AB=BA=IAB = BA = I, we have B=A−1B = A^{-1} and also A=B−1A = B^{-1}.

Tip

If BB is the inverse of AA, then AA is automatically the inverse of BB — the relationship is mutual.


Theorem 3: Uniqueness of Inverse

Statement: The inverse of a square matrix, if it exists, is unique.

Proof: Suppose AA has two inverses BB and CC, so AB=BA=IAB = BA = I and AC=CA=IAC = CA = I. Then

B=BI=B(AC)=(BA)C=IC=CB = BI = B(AC) = (BA)C = IC = C

using associativity and BA=IBA = I. Hence B=CB = C: the inverse is unique, so we may speak of the inverse of AA.


Theorem 4: Inverse of a Product

Statement: If AA and BB are invertible matrices of the same order, then

(AB)−1=B−1A−1(AB)^{-1} = B^{-1}A^{-1}

Proof: Start from (AB)(AB)−1=I(AB)(AB)^{-1} = I and pre-multiply by A−1A^{-1}:

(A−1A)B(AB)−1=A−1  ⟹  B(AB)−1=A−1(A^{-1}A)B(AB)^{-1} = A^{-1} \implies B(AB)^{-1} = A^{-1}

Now pre-multiply by B−1B^{-1}:

(B−1B)(AB)−1=B−1A−1  ⟹  (AB)−1=B−1A−1(B^{-1}B)(AB)^{-1} = B^{-1}A^{-1} \implies (AB)^{-1} = B^{-1}A^{-1}

Watch out

A common mistake is (AB)−1=A−1B−1(AB)^{-1} = A^{-1}B^{-1}. The order reverses — like removing shoes before socks. This extends to more factors: (ABC)−1=C−1B−1A−1(ABC)^{-1} = C^{-1}B^{-1}A^{-1}.

›Proof

Verification. (AB)(B−1A−1)=A(BB−1)A−1=AIA−1=I(AB)(B^{-1}A^{-1}) = A(BB^{-1})A^{-1} = AIA^{-1} = I, and (B−1A−1)(AB)=B−1(A−1A)B=B−1B=I(B^{-1}A^{-1})(AB) = B^{-1}(A^{-1}A)B = B^{-1}B = I. Both products equal II, so B−1A−1B^{-1}A^{-1} satisfies the definition of (AB)−1(AB)^{-1}.


Check Your Understanding …

Definition 6Invertible Matrices

Definition of Invertible Matrices

Let AA be a square matrix of order mm (i.e., it has mm rows and mm columns).

If there exists another square matrix BB of the same order mm such that

AB=BA=IAB = BA = I

(where II is the identity matrix of order mm), then:

  • BB is called the inverse of AA, written as B=A−1B = A^{-1}.
  • AA is said to be invertible (or non-singular).

Key conditions from the textbook:

  • Both AA and BB must be square matrices of the same order — a rectangular matrix cannot have an inverse.
  • The products ABAB and BABA must both equal the identity matrix II.
  • If BB is the inverse of AA, then AA is also the inverse of BB (i.e., A=B−1A = B^{-1}).
  • The inverse of a square matrix, if it exists, is unique (Theorem 3).

Intuition

Think of a number: the inverse of 22 is 12\frac{1}{2} because 2×12=12 \times \frac{1}{2} = 1.

For matrices, the identity matrix II plays the role of "1". So A−1A^{-1} is the matrix that "undoes" AA — multiplying them in either order gives back II.

Tiny Concrete Example

Let

A=[2312],B=[2−3−12]A = \begin{bmatrix} 2 & 3 \\ 1 & 2 \end{bmatrix}, \quad B = \begin{bmatrix} 2 & -3 \\ -1 & 2 \end{bmatrix}

Then …

Theorem 3

Theorem 4 (Reversal Law for Inverses)

If AA and BB are invertible matrices of the same order, then the product ABAB is also invertible, and its inverse is given by the reverse-order product of the individual inverses:

(AB)−1=B−1A−1(AB)^{-1} = B^{-1} A^{-1}

Hypotheses:

  • AA and BB are square matrices of the same order (say n×nn \times n).
  • Both AA and BB are invertible — that is, there exist matrices A−1A^{-1} and B−1B^{-1} such that AA−1=A−1A=IAA^{-1} = A^{-1}A = I and BB−1=B−1B=IBB^{-1} = B^{-1}B = I, where II is the identity matrix of order nn.
Important

The order matters: the inverse of a product is the product of the inverses in reverse order. This is not a commutative law — you cannot swap AA and BB unless they happen to commute, which is rare.


Proof

›Proof

We start from the definition of the inverse. To show that B−1A−1B^{-1}A^{-1} is the inverse of ABAB, we must verify that

(AB)(B−1A−1)=Iand(B−1A−1)(AB)=I.(AB)(B^{-1}A^{-1}) = I \quad \text{and} \quad (B^{-1}A^{-1})(AB) = I.

Step 1 — Multiply ABAB on the right by B−1A−1B^{-1}A^{-1}:

(AB)(B−1A−1)=A (BB−1) A−1(AB)(B^{-1}A^{-1}) = A\,(B B^{-1})\,A^{-1}

Here we used the associative property of matrix multiplication: (AB)(B−1A−1)=A(B(B−1A−1))=A((BB−1)A−1)(AB)(B^{-1}A^{-1}) = A(B(B^{-1}A^{-1})) = A((BB^{-1})A^{-1}).

Since BB−1=IB B^{-1} = I, this becomes

A I A−1=AA−1=I.A\,I\,A^{-1} = A A^{-1} = I.

Step 2 — Multiply ABAB on the left by B−1A−1B^{-1}A^{-1}:

(B−1A−1)(AB)=B−1(A−1A)B(B^{-1}A^{-1})(AB) = B^{-1}(A^{-1}A)B

Again by associativity: (B−1A−1)(AB)=B−1(A−1(AB))=B−1((A−1A)B)(B^{-1}A^{-1})(AB) = B^{-1}(A^{-1}(AB)) = B^{-1}((A^{-1}A)B).

Since A−1A=IA^{-1}A = I, we get

B−1IB=B−1B=I.B^{-1} I B = B^{-1}B = I.

Both products equal the identity matrix II. Therefore, by definition, B−1A−1B^{-1}A^{-1} is the inverse of ABAB, and we write

(AB)−1=B−1A−1.(AB)^{-1} = B^{-1}A^{-1}.


Why This Matters …

Theorem 4

Theorem 4 (Reversal Law for Inverses)

If AA and BB are invertible matrices of the same order, then the product ABAB is also invertible, and its inverse is given by the reverse-order product of the individual inverses:

(AB)−1=B−1A−1(AB)^{-1} = B^{-1} A^{-1}

Hypotheses:

  • AA and BB are square matrices of the same order (say n×nn \times n).
  • Both AA and BB are invertible — that is, there exist matrices A−1A^{-1} and B−1B^{-1} such that AA−1=A−1A=IAA^{-1} = A^{-1}A = I and BB−1=B−1B=IBB^{-1} = B^{-1}B = I, where II is the identity matrix of order nn.
Important

The order matters: the inverse of a product is the product of the inverses in reverse order. This is not a commutative law — you cannot swap AA and BB unless they happen to commute, which is rare.


Proof

›Proof

We start from the definition of the inverse. To show that B−1A−1B^{-1}A^{-1} is the inverse of ABAB, we must verify that

(AB)(B−1A−1)=Iand(B−1A−1)(AB)=I.(AB)(B^{-1}A^{-1}) = I \quad \text{and} \quad (B^{-1}A^{-1})(AB) = I.

Step 1 — Multiply ABAB on the right by B−1A−1B^{-1}A^{-1}:

(AB)(B−1A−1)=A (BB−1) A−1(AB)(B^{-1}A^{-1}) = A\,(B B^{-1})\,A^{-1}

Here we used the associative property of matrix multiplication: (AB)(B−1A−1)=A(B(B−1A−1))=A((BB−1)A−1)(AB)(B^{-1}A^{-1}) = A(B(B^{-1}A^{-1})) = A((BB^{-1})A^{-1}).

Since BB−1=IB B^{-1} = I, this becomes

A I A−1=AA−1=I.A\,I\,A^{-1} = A A^{-1} = I.

Step 2 — Multiply ABAB on the left by B−1A−1B^{-1}A^{-1}:

(B−1A−1)(AB)=B−1(A−1A)B(B^{-1}A^{-1})(AB) = B^{-1}(A^{-1}A)B

Again by associativity: (B−1A−1)(AB)=B−1(A−1(AB))=B−1((A−1A)B)(B^{-1}A^{-1})(AB) = B^{-1}(A^{-1}(AB)) = B^{-1}((A^{-1}A)B).

Since A−1A=IA^{-1}A = I, we get

B−1IB=B−1B=I.B^{-1} I B = B^{-1}B = I.

Both products equal the identity matrix II. Therefore, by definition, B−1A−1B^{-1}A^{-1} is the inverse of ABAB, and we write

(AB)−1=B−1A−1.(AB)^{-1} = B^{-1}A^{-1}.


Why This Matters …