Matrix types, order, the transpose and constructing matrices for VCE General Mathematics Unit 4 Matrices
“Use the order of a matrix, element notation and the types of matrices (row, column, square, diagonal, symmetric, triangular, zero, binary, permutation and identity) and the transpose, represent tabular information as a matrix, and construct a matrix from a rule for its ij element”
A matrix has order rows columns and is the element in row , column . Know the ten types: row, column, square, zero, identity, diagonal, symmetric (), triangular, binary and permutation; many matrices are several types at once. The transpose turns rows into columns. To build a matrix from a rule, substitute each row and column number, row by row.
What this dot point is asking
Before you can multiply matrices, invert them or use them to model populations, you need the language. VCAA wants you to state the order of a matrix, read and write elements using notation, recognise every type of matrix named in the study design (row, column, square, diagonal, symmetric, triangular, zero, binary, permutation and identity), find the transpose, store tabular information in a matrix and interpret any element in context, and construct a matrix from a rule for its element.
These skills are examined directly in Examination 1 almost every year (2023 and 2025 each had several of them) and are assumed in every Examination 2 matrices question.
The answer
Order and elements
A matrix is a rectangular array of numbers. Its order is written rows columns. A matrix with 3 rows and 4 columns has order and contains elements.
Each element is named by its position: is the element of matrix in row and column . The row always comes first.
In this café sales matrix, sits in row 2 (tea) and column 3 (Wednesday), so means 18 teas were sold on Wednesday. Swapping the subscripts gives a different element: is row 3 (juice), column 2 (Tuesday), which is 11.
Storing tabular information
Any table of numbers can be written as a matrix, as long as you keep track of what the rows and columns mean. The labels are not part of the matrix, so a question will tell you (or you should state) what each row and column represents.
- Sales, stock or prices: rows might be products and columns might be days, shops or sizes.
- Networks: rows and columns might both be towns, and the element records a road, a distance or a communication link (this leads to adjacency, communication and dominance matrices).
- Populations: a column matrix can hold the numbers in each group, which is the state matrix used later with transition and Leslie matrices.
Once a table is a matrix, matrix operations do the bookkeeping: multiplying a sales matrix by a price matrix gives revenue, and so on (see the matrix arithmetic page).
The types of matrix
The study design names ten types. Several matrices belong to more than one type, and exam questions test exactly that.
| Type | Definition | Example |
|---|---|---|
| Row matrix | Exactly one row, order | |
| Column matrix | Exactly one column, order | |
| Square matrix | Same number of rows and columns, | |
| Zero matrix | Every element is 0 (any order) | |
| Identity matrix | Square; 1s on the leading diagonal, 0s elsewhere | |
| Diagonal matrix | Square; every element off the leading diagonal is 0 | |
| Symmetric matrix | Square; , so | |
| Triangular matrix | Square; all 0s below (upper) or above (lower) the leading diagonal | |
| Binary matrix | Every element is 0 or 1 (any order) | |
| Permutation matrix | Square binary matrix with exactly one 1 in each row and each column |
The leading diagonal (main diagonal) runs from the top-left element to the bottom-right: . It only exists for square matrices, which is why diagonal, symmetric, triangular, identity and permutation matrices must all be square.
Order is rows columns and is row , column . Diagonal, symmetric, triangular, identity and permutation matrices must be square. Every diagonal matrix is also symmetric and triangular, and the identity matrix is diagonal, symmetric, triangular, binary and a permutation matrix all at once.
How the types overlap:
- Identity diagonal symmetric, and diagonal matrices are also both upper and lower triangular.
- Permutation binary, and permutation matrices are square. The identity is the permutation matrix that leaves everything in place.
- A zero matrix that is square is diagonal, symmetric, triangular and binary as well. (It is not a permutation matrix, because it has no 1s.)
The transpose
The transpose of , written , is formed by turning the rows of into columns: row 1 of becomes column 1 of , row 2 becomes column 2, and so on. Equivalently .
If has order , then has order . A matrix is symmetric exactly when it equals its own transpose, . A distance table between towns is symmetric (the distance from P to Q equals the distance from Q to P), and so is the adjacency matrix of an undirected graph. On a CAS, the transpose is a menu command, which is handy for checking symmetry in a large matrix.
Constructing a matrix from a rule
Sometimes a matrix is defined by a formula for its elements, such as or . To build it:
- Use the order to decide the ranges: for a matrix, and .
- Work row by row, substituting each in turn.
- For a conditional rule (" if , otherwise 0"), check the condition for each position. means above the leading diagonal, is on it, and is below it.
For example, with and order :
Useful patterns: any rule that stays the same when and are swapped (like or ) produces a symmetric matrix; " when " produces a diagonal matrix; " when " produces an upper triangular matrix.
Storing a table and interpreting elements
A café sells coffee, tea and juice. Sales from Monday to Thursday are: coffee 42, 38, 45, 51; tea 15, 12, 18, 14; juice 9, 11, 7 and 13.
Build the matrix. One row per drink, one column per day:
Order. .
Interpret. is the number of coffees sold on Thursday. is the number of juices sold on Tuesday. The total tea sales are the sum of row 2: .
Marker's note: when a question asks what an element "indicates", answer in context, with both the row meaning and the column meaning.
Classifying matrices
Classify and .
. Square; zeros off the leading diagonal, so diagonal; therefore also symmetric and triangular. Not binary (it contains 5s), so not identity or permutation. (It is , a scalar multiple of the identity.)
. Square and binary, with exactly one 1 in every row and every column: a permutation matrix. Not symmetric: but . Not triangular or diagonal.
Marker's note: in multiple-choice questions every option can sound plausible; test each definition against the actual elements.
Constructing from a conditional rule
A matrix has . Write it down and describe it.
Build. Row 1: . Row 2: . Row 3: . Row 4: .
Describe. It is square and symmetric (swapping and does not change ), with zeros on the leading diagonal. It is exactly the distance matrix for four stations equally spaced 1 km apart along a straight line.
Marker's note: before building a large matrix, look for a shortcut like symmetry. It halves the work and gives a built-in check.
Counting elements that satisfy a condition
A matrix has . How many elements are negative?
Reason by rows. Row is . For these are : three negatives. For the smallest is , not negative. Rows 3 and 4 are all positive.
Answer. 3 negative elements.
Marker's note: this is 2025 Examination 1 Question 30. Writing out the whole matrix takes 30 seconds and removes any doubt about the boundary case (0 is not negative).
- Swapping row and column
- is row 2, column 3. Reading it as column 2, row 3 is the most common element error.
- Writing the order as columns by rows
- A matrix with 2 rows and 5 columns is , not .
- Calling a non-square matrix diagonal, symmetric or triangular
- These types need a leading diagonal, which only square matrices have.
- Calling any binary matrix a permutation matrix
- A permutation matrix needs exactly one 1 in every row and every column.
- Thinking a matrix can only be one type
- The identity is diagonal, symmetric, triangular, binary and a permutation matrix. Multiple-choice questions often reward spotting every type that applies.
- Getting the ranges wrong in a rule
- For a matrix, goes to 3 and goes to 2.
For any element question, write the row meaning and the column meaning next to the matrix before answering. For classification questions, check in this order: is it square? binary? what is on and off the leading diagonal? is it equal to its transpose? For a rule question, write out the full matrix even if only one element or a count is asked for; in Examination 1 your CAS can also build it (define the rule and use the matrix constructor), which is a fast check.
A matrix is just a table of numbers without the labels. Its size is given as rows first, then columns, and each number has an address: means "go to row 2, then along to column 3". Different shapes and patterns get names: a single row, a single column, a square, all zeros, only numbers down the diagonal, or a mirror-image pattern. Some tables have a recipe for their numbers, like "row number times 2, minus column number", and you build them by filling in the recipe one spot at a time.
Exam-style questions
Questions in the style of VCAA 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.
2023 VCAA-style1 markThe daily maximum temperatures at a town for two weeks are stored in a matrix . Row 1 is week 1 and row 2 is week 2; columns 1 to 7 are Monday to Sunday. Week 1: 20, 17, 23, 20, 18, 19, 30. Week 2: 29, 27, 28, 21, 20, 20, 22 (degrees Celsius). Element indicates that: A. the temperature was 29 °C on Monday in week 2 B. the temperature was 17 °C on Tuesday in week 1 C. the lowest temperature for these two weeks was 17 °C D. the highest temperature for these two weeks was 29 °C E. week 2 had a higher average maximum temperature than week 1
Show worked answer →
The subscripts are row first, then column. is in row 2 (week 2) and column 1 (Monday), and its value is 29. So it tells us the temperature was 29 °C on Monday of week 2: option A.
Option B is (row 1, column 2), the classic row and column swap. Options C, D and E describe the whole matrix, which no single element can do. of students answered correctly.
Source: VCAA 2023 General Mathematics Examination 1, Question 25, and the 2023 examination report.
2025 VCAA-style1 markConsider the matrix . Which one of the following correctly describes ? A. a binary matrix B. a permutation matrix C. an identity matrix D. a diagonal matrix
Show worked answer →
Every element is 0 or 1, so is a binary matrix: option A.
It is not a permutation matrix, because row 2 contains two 1s and row 3 contains none (a permutation matrix has exactly one 1 in every row and every column). It is not the identity (the identity has 1s on the leading diagonal and 0s elsewhere) and it is not diagonal (it has non-zero elements off the leading diagonal). of students answered correctly.
Source: VCAA 2025 General Mathematics Examination 1, Question 25, and the 2025 examination report.
2025 VCAA-style1 mark is a matrix. The element in row and column of is , and the elements are determined by the rule . How many of the elements in will be negative? A. 2 B. 3 C. 5 D. 16
Show worked answer →
Build row by row. In row every element starts from and subtracts the column number :
Only row 1 has negative elements (, and ). Row 2 reaches 0 in column 4, but 0 is not negative. There are 3 negative elements: option B. of students answered correctly.
Source: VCAA 2025 General Mathematics Examination 1, Question 30, and the 2025 examination report.
Practice questions
Original practice questions graded from foundation to exam level, each with a full worked solution. Try them before revealing the solution.
foundation2 marksA café records the number of coffees, teas and juices sold on Monday, Tuesday, Wednesday and Thursday in matrix , with a row for each drink (in that order) and a column for each day (in that order): coffee 42, 38, 45, 51; tea 15, 12, 18, 14; juice 9, 11, 7, 13. (a) State the order of . (b) What does represent, and what is its value?
Show worked solution →
(a) There are 3 rows (drinks) and 4 columns (days), so is a matrix. (1 mark) The order is always rows by columns.
(b) is row 2 (tea), column 3 (Wednesday): the number of teas sold on Wednesday, which is 18. (1 mark)
foundation3 marksClassify each matrix using as many of these words as apply: row, column, square, zero, identity, diagonal, symmetric, triangular, binary. (a) (b) (c)
Show worked solution →
(a) Square, diagonal (all non-zero elements are on the leading diagonal), and therefore also symmetric and triangular (both upper and lower). Not binary, because of the 4 and . (1 mark)
(b) A row matrix, order . Not square, so none of the square-matrix types apply. (1 mark)
(c) The identity matrix . It is also square, diagonal, symmetric, triangular, binary and a permutation matrix. (1 mark)
foundation2 marksWrite down the transpose of and state its order.
Show worked solution →
Rows become columns: row 1 of becomes column 1 of , and so on.
(1 mark) is , so is . (1 mark)
core2 marksConstruct the matrix whose elements are given by .
Show worked solution →
Substitute each row number and column number :
- Row 1: , ,
- Row 2: , ,
- Row 3: , ,
(2 marks: 1 for correct method, 1 for all nine elements.)
core2 marksA matrix is defined by if and otherwise. (a) Write down . (b) Which two types of matrix is ?
Show worked solution →
(a) A 1 appears only where the row number is less than the column number, which is above the leading diagonal:
(1 mark)
(b) It is binary (only 0s and 1s) and upper triangular (every element below the leading diagonal is 0). (1 mark)
core2 marksThe road distances, in km, between towns P, Q and R are P to Q 12, P to R 20 and Q to R 9. (a) Write a matrix of these distances, with rows and columns in the order P, Q, R, and 0 for a town to itself. (b) Explain why is symmetric.
Show worked solution →
(a)
(1 mark)
(b) The distance from P to Q is the same as from Q to P, so for every pair: the matrix is a mirror image across its leading diagonal, which means . (1 mark)
exam1 markMatrix is a matrix whose elements are given by . The sum of all the elements of is: A. 4 B. 5 C. 6 D. 7
Show worked solution →
The sum is : option D.
The common error is building a matrix by mistake (3 columns instead of 3 rows). The order means runs from 1 to 3 and from 1 to 2.
exam1 markHow many of the following statements are true? (1) Every diagonal matrix is symmetric. (2) Every symmetric matrix is diagonal. (3) The transpose of a matrix is a matrix. (4) The identity matrix is a permutation matrix. A. 1 B. 2 C. 3 D. 4
Show worked solution →
- (1) True. A diagonal matrix has zeros everywhere off the diagonal, so it matches its mirror image.
- (2) False. is symmetric but not diagonal.
- (3) True. Transposing swaps the numbers of rows and columns.
- (4) True. The identity has exactly one 1 in each row and each column.
Three statements are true: option C.