Determinants and inverses of 2x2 matrices

Determinants and inverses of 2x2 matrices

Spec 5.4–5 · Edexcel International A Level Further Maths: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • det⁡A=ad−bc\det\mathbf A=ad-bc for A=(abcd)\mathbf A=\begin{pmatrix}a&b\\ c&d\end{pmatrix}.
  • If det⁡A=0\det\mathbf A=0 the matrix is singular and has no inverse.
  • A−1=1ad−bc(d−b−ca)\mathbf A^{-1}=\dfrac1{ad-bc}\begin{pmatrix}d&-b\\ -c&a\end{pmatrix}: swap the leading diagonal, change the signs of the others.
  • AX=B⇒X=A−1B\mathbf{AX}=\mathbf B\Rightarrow\mathbf X=\mathbf A^{-1}\mathbf B; XA=B⇒X=BA−1\mathbf{XA}=\mathbf B\Rightarrow\mathbf X=\mathbf B\mathbf A^{-1}.
  • (AB)−1=B−1A−1(\mathbf{AB})^{-1}=\mathbf B^{-1}\mathbf A^{-1}: the order reverses.

The determinant

The determinant of (abcd)\begin{pmatrix}a&b\\ c&d\end{pmatrix} is ad−bcad-bc: the leading diagonal product minus the other diagonal product.

The determinant of A=(abcd)\mathbf A=\begin{pmatrix}a&b\\ c&d\end{pmatrix} is

det⁡A=∣A∣=ad−bc.\det\mathbf A=|\mathbf A|=ad-bc.

Multiply the leading diagonal, then subtract the product of the other diagonal.

O(3, 1)(4, 3)(1, 2)
The matrix (3 1; 1 2) sends the unit square to this parallelogram. Its area is the determinant: 3 × 2 − 1 × 1 = 5.
  • det⁡A\det\mathbf Aad−bcad-bc

Worked example

Find the determinant of (4322)\begin{pmatrix}4&3\\ 2&2\end{pmatrix}, and of (k43k+1)\begin{pmatrix}k&4\\ 3&k+1\end{pmatrix}.

What is the determinant of (5231)\begin{pmatrix}5&2\\ 3&1\end{pmatrix}?

Singular matrices

A matrix with determinant zero is singular and has no inverse; set the determinant to zero to find when.

A matrix with det⁡A=0\det\mathbf A=0 is singular and has no inverse. A matrix with det⁡A≠0\det\mathbf A\neq0 is non-singular and has an inverse.

To find when a matrix with an unknown is singular, set the determinant equal to zero and solve.

O(2, 1)(4, 2)(6, 3)
The matrix (2 4; 1 2) has determinant 2 × 2 − 4 × 1 = 0. Both columns lie on one line, so the unit square collapses to a line of zero area.

Singular

Determinant:
det⁡A=0\det\mathbf A=0
Inverse exists:
No
Rows:
Rows are multiples

Non-singular

Determinant:
det⁡A≠0\det\mathbf A\neq0
Inverse exists:
Yes
Rows:
Rows are not multiples

Worked example

For which kk is (k43k+1)\begin{pmatrix}k&4\\ 3&k+1\end{pmatrix} singular?

For which kk is (2k36)\begin{pmatrix}2&k\\ 3&6\end{pmatrix} singular?

The inverse

Swap the leading diagonal, change the signs of the other two entries, and divide by the determinant.

If det⁡A≠0\det\mathbf A\neq0, the inverse is

A−1=1ad−bc(d−b−ca).\mathbf A^{-1}=\frac{1}{ad-bc}\begin{pmatrix}d&-b\\ -c&a\end{pmatrix}.

It satisfies AA−1=A−1A=I\mathbf{AA}^{-1}=\mathbf A^{-1}\mathbf A=\mathbf I.

  1. 1

    Determinant

    Find ad−bcad-bc. If it is 00 there is no inverse.

  2. 2

    Swap

    Swap the entries on the leading diagonal.

  3. 3

    Change signs

    Change the signs of the other two entries.

  4. 4

    Divide

    Divide every entry by the determinant.

Inverse of a 2 × 2 matrix

Worked example

Find the inverse of A=(4322)\mathbf A=\begin{pmatrix}4&3\\ 2&2\end{pmatrix}.

What is the inverse of (1235)\begin{pmatrix}1&2\\ 3&5\end{pmatrix}?

Using the inverse

Multiply both sides by the inverse on the same side as A\mathbf A appears.

Matrix multiplication is not commutative, so the side matters. Multiply both sides by the inverse on the correct side.

  1. 1

    Check det A ≠ 0

    otherwise A has no inverse

  2. 2

    Find A⁻¹

    swap a and d, change the signs of b and c, divide by the determinant

  3. 3

    Multiply on the correct side

    pre-multiply AX = B; post-multiply XA = B

  4. 4

    Read off X

    X = A⁻¹B or X = BA⁻¹

Solving AX = B with the inverse.

AX=B\mathbf{AX}=\mathbf B

  • Pre-multiply by A−1\mathbf A^{-1}
  • X=A−1B\mathbf X=\mathbf A^{-1}\mathbf B

XA=B\mathbf{XA}=\mathbf B

  • Post-multiply by A−1\mathbf A^{-1}
  • X=BA−1\mathbf X=\mathbf B\mathbf A^{-1}

Worked example

Solve AX=(2011)\mathbf{AX}=\begin{pmatrix}2&0\\ 1&1\end{pmatrix} with A=(4322)\mathbf A=\begin{pmatrix}4&3\\ 2&2\end{pmatrix}.

Solve XA=B\mathbf{XA}=\mathbf B for X\mathbf X.

Inverse of a product

(AB)−1=B−1A−1(\mathbf{AB})^{-1}=\mathbf B^{-1}\mathbf A^{-1}: the order reverses, like taking off socks and shoes.

For non-singular matrices A\mathbf A and B\mathbf B the order reverses, like taking off socks and shoes. To see why:

(AB)(B−1A−1)=A(BB−1)A−1=AA−1=I.(\mathbf{AB})(\mathbf B^{-1}\mathbf A^{-1})=\mathbf A(\mathbf{BB}^{-1})\mathbf A^{-1}=\mathbf{AA}^{-1}=\mathbf I.

  1. 1

    AB

    apply B, then apply A

  2. 2

    Undo A first

    multiply by A⁻¹

  3. 3

    Then undo B

    multiply by B⁻¹

  4. 4

    (AB)⁻¹ = B⁻¹A⁻¹

    the order reverses

AB means apply B first, then A, so the inverse must undo A first.
  • (AB)−1(\mathbf{AB})^{-1}B−1A−1\mathbf B^{-1}\mathbf A^{-1}

Worked example

Verify the rule for C=(2153)\mathbf C=\begin{pmatrix}2&1\\ 5&3\end{pmatrix} and D=(1213)\mathbf D=\begin{pmatrix}1&2\\ 1&3\end{pmatrix}.

Which is equal to (PQ)−1(\mathbf{PQ})^{-1}?

Try an exam question

A=(k43k+1)\mathbf A=\begin{pmatrix}k&4\\ 3&k+1\end{pmatrix}. (a) Find the values of kk for which A\mathbf A is singular. (b) Find A−1\mathbf A^{-1} when k=1k=1.

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Find det⁡A\det\mathbf{A}.

1 mark, marked against the mark scheme

Revision notes