Resources For Teachers For Tutors For Students & Parents AI New Books Pricing
Year 12 Maths - General (Unit 3 & Unit 4) Matrices and their applications

Determinants and inverses

20 practice questions 0 video lessons Theory + worked examples

Learn to undo a matrix in Year 12 VCE General Mathematics. There is no division of matrices, but the inverse does the same job. If two ticket orders at a Warrnambool fun run are written as a matrix equation, the inverse unlocks both prices at once. A single number, the determinant, tells you straight away whether an inverse exists.

You will practise finding determinants with \(ad - bc\), building the inverse of a \(2 \times 2\) matrix and checking that a matrix times its inverse gives the identity. You will find values that make a matrix singular and solve equations like \(AX = B\) and \(XA = B\), ready for binary and permutation matrices next.

Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

The determinant and the inverse are the tools for "dividing" by a matrix. This Year 12 General Mathematics guide for students in Victoria shows how to find the determinant ad βˆ’ bc, find the inverse of a 2 Γ— 2 matrix, recognise a singular matrix, and solve matrix equations such as \(AX = B\).

Every square matrix has a number called its determinant, written \(\det(A)\). For a \(2 \times 2\) matrix it is the product of the leading diagonal minus the product of the other diagonal, \(ad - bc\). Determinants of larger matrices are found with CAS.

The inverse of a square matrix \(A\), written \(A^{-1}\), is the matrix that multiplies with \(A\) to give the identity: \(AA^{-1} = A^{-1}A = I\). It plays the part of a reciprocal, because there is no division of matrices. For a \(2 \times 2\) matrix, swap the elements on the leading diagonal, change the signs of the other two, and multiply by \(\frac{1}{ad - bc}\). The answer can be left as \(\frac{1}{\det(A)}\) times a matrix, or each element can be divided out (as decimals or fractions).

A matrix with determinant \(0\) is singular: it has no inverse, because \(\frac{1}{0}\) is undefined. Any non-zero determinant, positive or negative, means the inverse exists.

Inverses solve matrix equations. If \(AX = B\), multiply both sides on the left by \(A^{-1}\) to get \(X = A^{-1}B\). If \(XA = B\), multiply on the right: \(X = BA^{-1}\). This is how two linked facts, such as two ticket orders, give two unknown prices.

Key idea. Find \(\det(A) = ad - bc\) first. If it is \(0\), stop: there is no inverse. Otherwise swap \(a\) and \(d\), negate \(b\) and \(c\), divide by the determinant, and multiply on the correct side.
The determinant of a 2 by 2 matrixLeading diagonal a and d shaded blue, the other diagonal b and c shaded orange. det = ad - bc. For the matrix 6, 2, 1, 3 this is 6 times 3 minus 2 times 1, which is 16. det a b c d = ad βˆ’ bc det 6 2 1 3 = 6 Γ— 3 βˆ’ 2 Γ— 1 = 16 leading diagonal product minus the other diagonal product
\(\det(A) = ad - bc\): the blue diagonal product minus the orange diagonal product.
The inverse of a 2 by 2 matrixTo find the inverse, swap a and d (blue), change the signs of b and c (orange), then divide by the determinant ad - bc. A = a b c d Aβˆ’1 = 1 / (ad βˆ’ bc) d βˆ’b βˆ’c a swap a and d, change the signs of b and c, then divide every element by ad βˆ’ bc (not 0)
The inverse: swap the blue elements, change the signs of the orange elements, divide by \(ad - bc\).

Determinant of a \(2 \times 2\) matrix:

\[A = \begin{bmatrix}a & b\\ c & d\end{bmatrix}, \qquad \det(A) = ad - bc\]
det(A)=ad-bc

Inverse (only when \(ad - bc \ne 0\)):

\[A^{-1} = \frac{1}{ad - bc}\begin{bmatrix}d & -b\\ -c & a\end{bmatrix}\]
A-1=1ad-bc

Defining property, and singular matrices:

\[AA^{-1} = A^{-1}A = I, \qquad \det(A) = 0 \;\Rightarrow\; \text{no inverse}\]
AA-1=I

Solving matrix equations:

\[AX = B \;\Rightarrow\; X = A^{-1}B, \qquad XA = B \;\Rightarrow\; X = BA^{-1}\]
X=A-1B

Two more facts:

\[\begin{bmatrix}p & 0\\ 0 & q\end{bmatrix}^{-1} = \begin{bmatrix}\frac{1}{p} & 0\\ 0 & \frac{1}{q}\end{bmatrix}, \qquad \det(AB) = \det(A) \times \det(B)\]
det(AB)=det(A)det(B)

Finding a \(2 \times 2\) inverse

  1. Find \(\det(A) = ad - bc\). If it is \(0\), the matrix is singular and has no inverse.
  2. Swap \(a\) and \(d\); change the signs of \(b\) and \(c\).
  3. Multiply by \(\frac{1}{\det(A)}\), dividing every element (keep the minus sign of a negative determinant).
  4. Check: \(AA^{-1}\) should be \(I\).

Solving a matrix equation

  1. In a context, write the unknowns as a column matrix \(X\) and the facts as \(AX = B\).
  2. Find \(A^{-1}\) (by hand or with CAS).
  3. If \(A\) is on the left of \(X\), find \(X = A^{-1}B\); if \(A\) is on the right, find \(X = BA^{-1}\).
  4. Answer in context and check by substituting back.

Unknown elements

  1. Write \(ad - bc\) in terms of the unknown.
  2. Set it equal to \(0\) (singular) or to the given determinant, and solve. A squared unknown can give two answers.
Example 1 β€” Finding determinants
Find the determinants of \(A = \begin{bmatrix}5 & 3\\ 4 & 2\end{bmatrix}\) and \(B = \begin{bmatrix}6 & 4\\ 3 & 2\end{bmatrix}\). Which matrix has an inverse?
Solution

Use \(\det = ad - bc\): the leading diagonal product minus the other diagonal product.

\(\det(A)\)\(=\)\(5 \times 2 - 3 \times 4\)
\(\)\(=\)\(10 - 12\)
\(\)\(=\)\(-2\)
\(\det(B)\)\(=\)\(6 \times 2 - 4 \times 3\)
\(\)\(=\)\(12 - 12\)
\(\)\(=\)\(0\)
det(A)=ad-bc

\(\det(A) = -2\) and \(\det(B) = 0\). A negative determinant is fine, so \(A\) has an inverse. \(B\) is singular: its determinant is \(0\), so it has no inverse. (Notice row 1 of \(B\) is exactly \(2\) times row 2.)

Example 2 β€” Finding an inverse
Find the inverse of \(A = \begin{bmatrix}4 & 6\\ 1 & 2\end{bmatrix}\) and check your answer.
Solution

Find the determinant first. Then swap \(a\) and \(d\), change the signs of \(b\) and \(c\), and divide by the determinant.

\(\det(A)\)\(=\)\(4 \times 2 - 6 \times 1\)
\(\)\(=\)\(8 - 6\)
\(\)\(=\)\(2\)
\(A^{-1}\)\(=\)\(\dfrac{1}{2}\begin{bmatrix}2 & -6\\ -1 & 4\end{bmatrix}\)
\(\)\(=\)\(\begin{bmatrix}1 & -3\\ -0.5 & 2\end{bmatrix}\)
\(AA^{-1}\)\(=\)\(\begin{bmatrix}4 & 6\\ 1 & 2\end{bmatrix}\begin{bmatrix}1 & -3\\ -0.5 & 2\end{bmatrix}\)
\(\)\(=\)\(\begin{bmatrix}4 - 3 & -12 + 12\\ 1 - 1 & -3 + 4\end{bmatrix}\)
\(\)\(=\)\(\begin{bmatrix}1 & 0\\ 0 & 1\end{bmatrix}\)
A-1=12

\(A^{-1} = \begin{bmatrix}1 & -3\\ -0.5 & 2\end{bmatrix}\). Multiplying gives the identity matrix \(I\), so the inverse is correct.

Example 3 β€” When is there no inverse?
For which values of \(k\) does the matrix \(M = \begin{bmatrix}k & 3\\ 2 & k - 1\end{bmatrix}\) have no inverse?
Solution

No inverse means the determinant is \(0\). Write \(ad - bc\) with the unknown and solve.

\(\det(M)\)\(=\)\(k(k - 1) - 3 \times 2\)
\(\)\(=\)\(k^2 - k - 6\)
\(k^2 - k - 6\)\(=\)\(0\)
\((k - 3)(k + 2)\)\(=\)\(0\)
\(k\)\(=\)\(3 \text{ or } k = -2\)
k2-k-6=0

\(M\) is singular, with no inverse, when \(k = 3\) or \(k = -2\). Check \(k = 3\): \(\det = 3 \times 2 - 3 \times 2 = 0\). For every other value of \(k\), \(M\) has an inverse.

Example 4 β€” Solving AX = B
At a Warrnambool fun run, \(3\) adult entries and \(4\) child entries cost \(\$123\), and \(5\) adult entries and \(2\) child entries cost \(\$149\). Let \(a\) and \(c\) be the adult and child prices, in dollars. (i) Write this as a matrix equation \(AX = B\). (ii) Use \(A^{-1}\) to find the prices.
Solution

Multiply both sides on the left by \(A^{-1}\): \(A^{-1}AX = A^{-1}B\), so \(X = A^{-1}B\).

\(\begin{bmatrix}3 & 4\\ 5 & 2\end{bmatrix}\begin{bmatrix}a\\ c\end{bmatrix}\)\(=\)\(\begin{bmatrix}123\\ 149\end{bmatrix}\)
\(\det(A)\)\(=\)\(3 \times 2 - 4 \times 5 = -14\)
\(X = A^{-1}B\)\(=\)\(\dfrac{1}{-14}\begin{bmatrix}2 & -4\\ -5 & 3\end{bmatrix}\begin{bmatrix}123\\ 149\end{bmatrix}\)
\(\)\(=\)\(\dfrac{1}{-14}\begin{bmatrix}-350\\ -168\end{bmatrix}\)
\(\)\(=\)\(\begin{bmatrix}25\\ 12\end{bmatrix}\)
X=A-1B

(i) \(A = \begin{bmatrix}3 & 4\\ 5 & 2\end{bmatrix}\), \(X = \begin{bmatrix}a\\ c\end{bmatrix}\), \(B = \begin{bmatrix}123\\ 149\end{bmatrix}\). (ii) \(a = 25\) and \(c = 12\): an adult entry costs \(\$25\) and a child entry \(\$12\). Check: \(3 \times 25 + 4 \times 12 = 123\).

Common pitfalls

Adding instead of subtracting. The determinant is \(ad - bc\), not \(ad + bc\). Watch the signs when \(b\) or \(c\) is negative: \(-(-6) = +6\).
Wrong side. Matrix multiplication is not commutative, so \(A^{-1}B\) and \(BA^{-1}\) are different (one may not even be defined). Watch out for writing \(X = BA^{-1}\) when the equation is \(AX = B\).
Forgetting to divide. Swapping and changing signs gives \(\begin{bmatrix}d & -b\\ -c & a\end{bmatrix}\), which is only the inverse when the determinant is \(1\). Every element must still be divided by \(ad - bc\).

Frequently asked questions

How do you find the determinant of a 2 x 2 matrix?

Multiply the numbers on the leading diagonal (top left times bottom right) and subtract the product of the other diagonal (top right times bottom left). The determinant is ad - bc.

How do you find the inverse of a 2 x 2 matrix?

Find the determinant ad - bc. Swap the top-left and bottom-right elements, change the signs of the other two, then divide every element by the determinant.

When does a matrix not have an inverse?

When its determinant is 0. Such a matrix is called singular. A negative determinant is fine: the inverse still exists.

What do you get when you multiply a matrix by its inverse?

The identity matrix I, which has 1s on the leading diagonal and 0s elsewhere. This is true in either order: A times its inverse, or the inverse times A.

How do you solve AX = B using matrices?

Find the inverse of A and multiply both sides on the left by it, so X equals the inverse of A times B. If the equation is XA = B instead, multiply on the right: X equals B times the inverse of A.

How do you find a matrix if you are given its inverse?

Find the inverse of the inverse. Swap, change signs and divide by the determinant as usual, and you get back the original matrix A.