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

Using matrices to represent information

20 practice questions 0 video lessons Theory + worked examples

Learn how matrices store real information in Year 12 VCE General Mathematics. A cafe owner tracking coffee sales across Geelong, Ballarat and Bendigo, or a tourism office counting visitors to the Twelve Apostles each month, works with tables of numbers. Writing a table as a matrix keeps every number in place, ready to be totalled, compared or multiplied.

You will practise building matrices from tables and written descriptions, choosing what the rows and columns stand for, and stating the order. You will explain elements such as \(s_{23}\) in words, work with zeros and units like hundreds, and find row, column and grand totals, ready for adding and subtracting matrices next.

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

Theory

Matrices are a compact way to store tables of information. This Year 12 General Mathematics guide for students in Victoria shows how to turn a table or a description into a matrix, state its order, explain what an element means in context, and use row and column totals to answer questions.

A table of numbers can be stored as a matrix. The numbers keep their places; the row and column labels are written beside the matrix (or stated in words), not inside it. The order comes from the context: \(3\) shops selling \(4\) products, with shops as rows, gives a \(3 \times 4\) matrix.

Each element has a meaning. If the rows of \(S\) are cafes and the columns are days, then \(s_{23}\) (also written \(S_{23}\)) is the number for cafe 2 on day 3. Read the row label first, then the column label, and include the units: if the matrix is in hundreds, an element of \(30\) means \(3000\). When nothing happened for a row and column pair, the element is \(0\), not left blank.

Adding along a row gives the total for that row category (one cafe over all days). Adding down a column gives the total for that column category (one day over all cafes). Adding every element gives the grand total. A single list of values is a column matrix or a row matrix, and the transpose stores the same table with the roles of rows and columns swapped.

Key idea. Fix what the rows mean and what the columns mean before writing any numbers. Then every element, row total and column total can be read back in words, with its units.
Matrix of coffees sold at three cafesRows Geelong, Ballarat and Bendigo; columns Friday, Saturday and Sunday. The element in row 2, column 3, 110, is shaded. S = 120 185 160 95 140 110 80 150 130 Geelong Ballarat Bendigo Fri Sat Sun s23 = 110: Ballarat sold 110 coffees on Sunday order 3 Γ— 3: 3 cafes by 3 days
The labels sit outside the brackets. The shaded element is in the Ballarat row and the Sunday column.
Row and column totals of a matrixTickets sold for a Phillip Island tour: rows adult and child, columns Monday to Wednesday. Row sums 101 and 55; column sums 52, 48 and 56. 34 26 41 18 22 15 Adult Child Mon Tue Wed row sum 101 55 col sum 52 48 56 grand total = 101 + 55 = 52 + 48 + 56 = 156
Row sums total each row category; column sums total each column category. Both lead to the same grand total.

For a matrix with rows = categories \(1, 2, \ldots, m\) and columns = categories \(1, 2, \ldots, n\):

\[a_{ij} = \text{value for row category } i \text{ and column category } j\]
aij=value for row i, column j

Row total, column total and grand total:

\[\text{row } i \text{ total} = a_{i1} + a_{i2} + \cdots + a_{in}, \qquad \text{column } j \text{ total} = a_{1j} + a_{2j} + \cdots + a_{mj}\]
row total=ai1+⋯+ain
\[\text{grand total} = \text{sum of the row totals} = \text{sum of the column totals}\]
grand total=sum of row totals

Order from a context:

\[\text{order} = (\text{number of row categories}) \times (\text{number of column categories})\]
order=m×n

Turning information into a matrix

  1. Decide what the rows and the columns stand for (the question usually says), and keep that order.
  2. Fill one row at a time from the table or description. Enter \(0\) where nothing happened.
  3. State the order as (number of rows) \(\times\) (number of columns).

Reading information from a matrix

  1. For an element \(a_{ij}\), find row \(i\) and column \(j\) and name both labels in your answer.
  2. For a total of one row category, add along its row; for one column category, add down its column.
  3. Apply the units (for example multiply by \(100\) if the matrix is in hundreds) and answer in words.
Example 1 β€” A column matrix
The maximum temperatures in Melbourne from Monday to Friday were \(24\), \(27\), \(31\), \(22\) and \(19\) degrees Celsius. They are stored as the column matrix \(M = \begin{bmatrix}24\\ 27\\ 31\\ 22\\ 19\end{bmatrix}\). (i) State the order of \(M\). (ii) What does \(m_{31}\) represent?
Solution

Each day is one row; there is only one column.

\(\text{rows}\)\(=\)\(5 \text{ (one per day)}\)
\(\text{columns}\)\(=\)\(1\)
\(\text{order}\)\(=\)\(5 \times 1\)
\(m_{31}\)\(=\)\(\text{row 3, column 1} = 31\)
order=5×1

(i) \(M\) is a \(5 \times 1\) column matrix. (ii) \(m_{31} = 31\): the maximum temperature on Wednesday (row 3) was \(31\) degrees Celsius.

Example 2 β€” From a table to a matrix
The table shows the boxes of fruit sold by three Yarra Valley stalls in one week.
StallApplesPearsCherries
Healesville643548
Coldstream524170
Lilydale382955
(i) Write the information as a matrix \(F\) with the stalls as rows and the fruit as columns, in the order shown. (ii) What does \(f_{32}\) represent? (iii) How many boxes of pears were sold altogether?
Solution

Copy the numbers in the same order and leave the labels outside. A column total adds one fruit over all stalls.

\(F\)\(=\)\(\begin{bmatrix}64 & 35 & 48\\ 52 & 41 & 70\\ 38 & 29 & 55\end{bmatrix}\)
\(f_{32}\)\(=\)\(\text{row 3 (Lilydale), column 2 (pears)} = 29\)
\(\text{pears}\)\(=\)\(35 + 41 + 29\)
\(\)\(=\)\(105\)
35+41+29=105

(i) \(F\) is the \(3 \times 3\) matrix above. (ii) \(f_{32} = 29\): Lilydale sold \(29\) boxes of pears. (iii) Adding column 2 gives \(105\) boxes of pears.

Example 3 β€” Elements measured in hundreds
Matrix \(V = \begin{bmatrix}48 & 62 & 44\\ 15 & 21 & 13\\ 26 & 33 & 19\end{bmatrix}\) shows the number of visitors, in hundreds, to three Great Ocean Road attractions. The rows are the Twelve Apostles, Cape Otway and Port Fairy; the columns are December, January and February. (i) What does \(v_{13}\) represent? (ii) How many people visited Cape Otway over the three months? (iii) Which month had the most visitors in total?
Solution

Every element is a number of hundreds, so multiply by \(100\) at the end.

Visitors in hundredsRows Twelve Apostles, Cape Otway and Port Fairy; columns December, January and February. Row 2 is shaded; column totals 89, 116 and 76. 48 62 44 15 21 13 26 33 19 Twelve Apostles Cape Otway Port Fairy Dec Jan Feb total 89 116 76
\(v_{13}\)\(=\)\(44 \text{ hundred} = 4400\)
\(\text{Cape Otway}\)\(=\)\(15 + 21 + 13\)
\(\)\(=\)\(49 \text{ hundred}\)
\(\)\(=\)\(4900\)
\(\text{column totals}\)\(=\)\(89,\ 116,\ 76\)
49×100=4900

(i) \(4400\) people visited the Twelve Apostles in February. (ii) \(4900\) people visited Cape Otway. (iii) January had the most visitors: \(116\) hundred, or \(11\,600\).

Example 4 β€” Zero elements and the transpose
Two Mildura growers deliver crates of fruit to three markets, \(X\), \(Y\) and \(Z\). Grower A delivered \(30\) crates to \(X\) and \(45\) to \(Z\). Grower B delivered \(25\) crates to \(Y\) and \(20\) to \(Z\). (i) Write matrix \(D\) with the growers as rows and the markets as columns. (ii) Write \(D^T\) and describe its rows.
Solution

A delivery that did not happen is still a position in the matrix, so it is entered as \(0\).

\(\text{A}\)\(:\)\(30,\ 0,\ 45\)
\(\text{B}\)\(:\)\(0,\ 25,\ 20\)
\(D\)\(=\)\(\begin{bmatrix}30 & 0 & 45\\ 0 & 25 & 20\end{bmatrix}\)
\(D^T\)\(=\)\(\begin{bmatrix}30 & 0\\ 0 & 25\\ 45 & 20\end{bmatrix}\)
DT

(i) \(D\) is \(2 \times 3\), with zeros where no crates were delivered. (ii) \(D^T\) is \(3 \times 2\). Its rows are now the markets \(X\), \(Y\), \(Z\) and its columns are the growers, so it holds the same information the other way round.

Common pitfalls

Rows and columns swapped. If the question says shops are rows, each shop must fill a row. Watch out for copying a table the other way round: that gives the transpose, a different matrix.
Forgetting the units. A matrix "in hundreds" or "in thousands of dollars" needs converting before you answer. An element of \(30\) in hundreds is \(3000\), not \(30\).
Leaving gaps. Every position in a matrix needs a number. If there were no sales, write \(0\).

Frequently asked questions

How do you turn a table into a matrix?

Copy the numbers into square brackets in exactly the same rows and columns, leaving the labels outside. The order is the number of rows by the number of columns of numbers.

How do you explain what an element of a matrix represents?

Find its row label and its column label, then describe the number in words with its units, for example 'the number of coffees sold in Ballarat on Sunday'.

What does a row total mean in a matrix?

Adding along a row gives the total for that row category over all the column categories, such as one shop's sales over all products. A column total does the same for one column category.

Why does a matrix have zeros in it?

Every position in a matrix needs a value. If nothing happened for that row and column pair, such as no sales, the element is 0.

What changes when you transpose an information matrix?

The rows and columns swap roles. The numbers are the same, but the old column categories become the rows, so each element must be read with the new labels.