Skip to main content

Matrices and applications (WACE Year 12 Mathematics Applications)

Syllabus dot point

“Perform matrix operations, find determinants and inverses of 2x2 matrices, solve matrix equations, and apply transition matrices to model systems.”

9 min read

Quick answer

A matrix is a rectangular array of numbers. You add and subtract matrices of the same size entry by entry, multiply by matching the rows of the first to the columns of the second, and for a 2×22\times2 matrix find the determinant ad−bcad - bc and the inverse by swapping the diagonal, negating the off-diagonal and dividing by the determinant. The inverse solves matrix equations, and a transition matrix multiplied by a state vector models how a system changes step by step.

Jump to a section
  1. What this dot point is asking
  2. Matrix operations
  3. Determinant and inverse of a 2x2 matrix
  4. Solving matrix equations
  5. Transition matrices
  6. Reaching the steady state
  7. Exam-style questions

What this dot point is asking

You must carry out matrix operations, find determinants and inverses of 2×22\times2 matrices, solve matrix equations, and apply transition matrices.

Matrix operations

Matrices are added, subtracted and scaled entry by entry, but multiplication has its own rule.

Matrix multiplication

To find the product ABAB, the number of columns of AA must equal the number of rows of BB. Each entry of the product is the sum of products of a row of AA with a column of BB. Matrix multiplication is not commutative: usually AB≠BAAB \neq BA.

For example, (1234)(56)=(1(5)+2(6)3(5)+4(6))=(1739)\begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix}\begin{pmatrix} 5 \\ 6 \end{pmatrix} = \begin{pmatrix} 1(5) + 2(6) \\ 3(5) + 4(6) \end{pmatrix} = \begin{pmatrix} 17 \\ 39 \end{pmatrix}.

Determinant and inverse of a 2x2 matrix

For A=(abcd)A = \begin{pmatrix} a & b \\ c & d \end{pmatrix}:

Determinant and inverse

det⁡A=ad−bc\det A = ad - bc.

A−1=1ad−bc(d−b−ca)A^{-1} = \dfrac{1}{ad - bc}\begin{pmatrix} d & -b \\ -c & a \end{pmatrix}, provided det⁡A≠0\det A \neq 0.

The recipe for the inverse is: swap the entries on the leading diagonal, negate the other two, and divide every entry by the determinant. If det⁡A=0\det A = 0 the matrix is singular and has no inverse.

Solving matrix equations

A system of two linear equations can be written as Ax=bA\mathbf{x} = \mathbf{b}, where AA holds the coefficients, x\mathbf{x} the unknowns and b\mathbf{b} the constants. Pre-multiply both sides by A−1A^{-1} to get x=A−1b\mathbf{x} = A^{-1}\mathbf{b}.

Pre-multiply, do not divide

There is no matrix division. To solve Ax=bA\mathbf{x} = \mathbf{b}, multiply on the left by A−1A^{-1}, giving x=A−1b\mathbf{x} = A^{-1}\mathbf{b}. Because multiplication is not commutative, the inverse must go on the left of b\mathbf{b}.

Transition matrices

A transition matrix TT describes how a system moves between states each step. Each column gives the proportions moving from one state to each state, so its columns sum to 11. The state after one step is Sn+1=TSnS_{n+1} = T S_n, and after nn steps Sn=TnS0S_n = T^n S_0.

Worked example

A transition matrix over several steps

In a town, each year 90%90\% of city residents stay in the city and 10%10\% move to the suburbs, while 20%20\% of suburb residents move to the city and 80%80\% stay. Start with 60006000 in the city and 40004000 in the suburbs.

Write the transition matrix

With the city as the top row and column, T=(0.90.20.10.8)T = \begin{pmatrix} 0.9 & 0.2 \\ 0.1 & 0.8 \end{pmatrix}, and S0=(60004000)S_0 = \begin{pmatrix} 6000 \\ 4000 \end{pmatrix}.

After one year

S1=TS0=(0.9(6000)+0.2(4000)0.1(6000)+0.8(4000))=(5400+800600+3200)=(62003800)S_1 = T S_0 = \begin{pmatrix} 0.9(6000) + 0.2(4000) \\ 0.1(6000) + 0.8(4000) \end{pmatrix} = \begin{pmatrix} 5400 + 800 \\ 600 + 3200 \end{pmatrix} = \begin{pmatrix} 6200 \\ 3800 \end{pmatrix}.

After two years

S2=TS1=(0.9(6200)+0.2(3800)0.1(6200)+0.8(3800))=(5580+760620+3040)=(63403660)S_2 = T S_1 = \begin{pmatrix} 0.9(6200) + 0.2(3800) \\ 0.1(6200) + 0.8(3800) \end{pmatrix} = \begin{pmatrix} 5580 + 760 \\ 620 + 3040 \end{pmatrix} = \begin{pmatrix} 6340 \\ 3660 \end{pmatrix}.

The steady state

Repeated multiplication settles towards a steady state where Sn+1=SnS_{n+1} = S_n. Here the long-run distribution approaches about 66676667 city and 33333333 suburb residents, the proportions that no longer change from year to year.

Reaching the steady state

For a regular transition matrix the state vector converges to a steady state independent of where it started, found either by iterating TnS0T^n S_0 for large nn on the calculator, or by solving Ts=sT \mathbf{s} = \mathbf{s} with the entries of s\mathbf{s} summing to the total population.

Common errors
Multiplying in the wrong order
AB≠BAAB \neq BA; for transition models always compute TSnT S_n, with TT on the left.
Forgetting to divide by the determinant
The inverse is the swapped-negated matrix divided by det⁡A\det A; skipping the division gives a matrix that is not the inverse.
Inverting a singular matrix
If det⁡A=0\det A = 0, no inverse exists and the system has no unique solution.
Columns of a transition matrix not summing to 1
Each column must total 11 (every member of a state goes somewhere); a column that does not is a setup error.

Exam-style questions

Questions in the style of SCSA exam questions on this dot point, each with a worked answer. They are written by ExamExplained unless tagged "Past paper"; the year shows the paper a question is modelled on.

WACE 2021-style6 marks
Let A=(3214)A = \begin{pmatrix} 3 & 2 \\ 1 & 4 \end{pmatrix}. (a) Find the determinant of AA. (b) Find A−1A^{-1}. (c) Hence solve Ax=(86)A\mathbf{x} = \begin{pmatrix} 8 \\ 6 \end{pmatrix}.
Show worked answer →

Use the 2×22\times2 determinant and inverse formulas, then multiply.

(a) det⁡A=(3)(4)−(2)(1)=12−2=10\det A = (3)(4) - (2)(1) = 12 - 2 = 10. (1 mark)

(b) A−1=110(4−2−13)=(0.4−0.2−0.10.3)A^{-1} = \dfrac{1}{10}\begin{pmatrix} 4 & -2 \\ -1 & 3 \end{pmatrix} = \begin{pmatrix} 0.4 & -0.2 \\ -0.1 & 0.3 \end{pmatrix}. (2 marks)

(c) x=A−1(86)=(0.4(8)−0.2(6)−0.1(8)+0.3(6))=(3.2−1.2−0.8+1.8)=(21)\mathbf{x} = A^{-1}\begin{pmatrix} 8 \\ 6 \end{pmatrix} = \begin{pmatrix} 0.4(8) - 0.2(6) \\ -0.1(8) + 0.3(6) \end{pmatrix} = \begin{pmatrix} 3.2 - 1.2 \\ -0.8 + 1.8 \end{pmatrix} = \begin{pmatrix} 2 \\ 1 \end{pmatrix}. (3 marks)

Markers reward the determinant, the swap-negate-divide inverse, and pre-multiplying by A−1A^{-1} to solve.

WACE 2023-style6 marks
A transition matrix T=(0.80.30.20.7)T = \begin{pmatrix} 0.8 & 0.3 \\ 0.2 & 0.7 \end{pmatrix} describes the movement of customers between Brand A (top row) and Brand B each month. The current state is S0=(500500)S_0 = \begin{pmatrix} 500 \\ 500 \end{pmatrix}. (a) Find the distribution after one month. (b) Find it after two months.
Show worked answer →

Multiply the transition matrix by the state vector each month.

(a) S1=TS0=(0.8(500)+0.3(500)0.2(500)+0.7(500))=(400+150100+350)=(550450)S_1 = T S_0 = \begin{pmatrix} 0.8(500) + 0.3(500) \\ 0.2(500) + 0.7(500) \end{pmatrix} = \begin{pmatrix} 400 + 150 \\ 100 + 350 \end{pmatrix} = \begin{pmatrix} 550 \\ 450 \end{pmatrix}. (3 marks)

(b) S2=TS1=(0.8(550)+0.3(450)0.2(550)+0.7(450))=(440+135110+315)=(575425)S_2 = T S_1 = \begin{pmatrix} 0.8(550) + 0.3(450) \\ 0.2(550) + 0.7(450) \end{pmatrix} = \begin{pmatrix} 440 + 135 \\ 110 + 315 \end{pmatrix} = \begin{pmatrix} 575 \\ 425 \end{pmatrix}. (3 marks)

Markers reward Sn+1=TSnS_{n+1} = T S_n applied in order, with columns of TT summing to 11.

Practise this

Sources & how we know this

ExamExplained