2 The inverse of a 2 × 2 matrix

In this subsection we show how the inverse of a 2 × 2 matrix can be obtained (if it exists).

Task!

Form the matrix products A B and B A where

A = a b c d and B = d − b − c a

A B = a d − b c 0 0 a d − b c = ( a d − b c ) 1 0 0 1 = ( a d − b c ) I

B A = a d − b c 0 0 a d − b c = ( a d − b c ) I

You will see that had we chosen C = 1 a d − b c d − b − c a instead of B then both products A C and C A will be equal to I . This requires a d − b c ≠ 0 . Hence this matrix C is the inverse of A . However, note, that if a d − b c = 0 then A has no inverse . (Note that for the matrix A = 1 0 2 0 , which occurred in the last task, a d − b c = 1 × 0 − 0 × 2 = 0 confirming, as we found, that A has no inverse.)

Key Point 8

The Inverse of a 2 × 2 Matrix

If a d − b c ≠ 0 then the 2 × 2 matrix A = a b c d has a (unique) inverse given by

A − 1 = 1 a d − b c d − b − c a

Note that a d − b c = A , the determinant of the matrix A .

In words: To find the inverse of a 2 × 2 matrix A we interchange the diagonal elements, change the sign of the other two elements, and then divide by the determinant of A .

Task!

Which of the following matrices has an inverse?

A = 1 0 2 3 , B = 1 1 − 1 1 , C = 1 − 1 − 2 2 , D = 1 0 0 1

| A | = 1 × 3 − 0 × 2 = 3 ; | B | = 1 + 1 = 2 ; | C | = 2 − 2 = 0 ; | D | = 1 − 0 = 1.

Therefore, A , B and D each has an inverse. C does not because it has a zero determinant.

Task!

Find the inverses of the matrices A , B and D in the previous Task.

Use Key Point 8:

A − 1 = 1 3 3 0 − 2 1 , B − 1 = 1 2 1 − 1 1 1 , D − 1 = 1 0 0 1 = D

It can be shown that the matrix A = cos θ sin θ − sin θ cos θ represents an anti-clockwise rotation through an angle θ in an x y -plane about the origin. The matrix B represents a rotation clockwise through an angle θ . It is given therefore by

B = cos ( − θ ) sin ( − θ ) − sin ( − θ ) cos ( − θ ) = cos θ − sin θ sin θ cos θ

Task!

Form the products A B and B A for these ‘rotation matrices’. Confirm that B is the inverse matrix of A .

A B = cos θ sin θ − sin θ cos θ cos θ − sin θ sin θ cos θ = cos 2 θ + sin 2 θ − cos θ sin θ + sin θ cos θ − sin θ cos θ + cos θ sin θ sin 2 θ + cos 2 θ = 1 0 0 1 = I

Similarly, B A = I

Effectively: a rotation through an angle θ followed by a rotation through angle − θ is equivalent to zero rotation.