Skip to main content

Matrix arithmetic, determinants and inverses: VCE General Mathematics Unit 4 Matrices

Syllabus dot point

“Perform elementary matrix operations (sum, difference, multiplication by a scalar, product and power), interpret them in context, and find the determinant and inverse of a matrix, including the condition for a matrix to have an inverse”

15 min read

Quick answer

Add or subtract matrices of the same order element by element; a scalar multiplies every element. A product ABAB exists only when the columns of AA equal the rows of BB, and element (AB)ij(AB)_{ij} is row ii of AA times column jj of BB; in general AB≠BAAB \ne BA. Only square matrices have powers, determinants and inverses. For A=[abcd]A = \begin{bmatrix} a & b \\ c & d \end{bmatrix}, det⁡(A)=ad−bc\det(A) = ad - bc and A−1=1ad−bc[d−b−ca]A^{-1} = \dfrac{1}{ad - bc}\begin{bmatrix} d & -b \\ -c & a \end{bmatrix}, which exists only when det⁡(A)≠0\det(A) \ne 0. Solve AX=BAX = B with X=A−1BX = A^{-1}B.

Jump to a section
  1. What this dot point is asking
  2. The answer
  3. Exam-style questions
  4. Practice questions

What this dot point is asking

The Study Design asks you to know "elementary matrix operations (sum, difference, multiplication of a scalar, product and power)" and "the inverse of a matrix and the condition for a matrix to have an inverse, including determinant". In practice that means five skills:

  1. decide whether a sum or product is defined, and state the order of the result;
  2. carry out the operation by hand for small matrices and on CAS for larger ones;
  3. interpret an element of a product in context (a revenue, a total, a scaled quantity);
  4. raise a square matrix to a power;
  5. find a determinant and an inverse, and use the inverse to undo a multiplication.

This is examined every year. The Matrices section of Examination 1 is Questions 25 to 32, and in 2025 three of those eight (Questions 26, 27 and 31) were pure arithmetic. On Examination 2 the matrix question usually opens with a context (circus tickets in 2023, an early learning centre in 2025) where you must build or read a product. The report statistics quoted on this page show where marks go: only 25%25\% of students found the right scalar in 2023 Question 9a, and only 34%34\% wrote the diagonal matrix in Question 8c.

(Types of matrices, element notation and the transpose are covered on the matrix types page; transition, Leslie, communication and permutation matrices all build on the operations here.)

The answer

Sum, difference and scalar multiple

Two matrices can be added or subtracted only if they have the same order; you add or subtract the elements in matching positions. A scalar multiple kAkA multiplies every element of AA by the number kk.

[52−13]−[1420]=[4−2−33],3[1204]=[36012].\begin{bmatrix} 5 & 2 \\ -1 & 3 \end{bmatrix} - \begin{bmatrix} 1 & 4 \\ 2 & 0 \end{bmatrix} = \begin{bmatrix} 4 & -2 \\ -3 & 3 \end{bmatrix}, \qquad 3\begin{bmatrix} 1 & 2 \\ 0 & 4 \end{bmatrix} = \begin{bmatrix} 3 & 6 \\ 0 & 12 \end{bmatrix}.

In context, scalar multiplication applies the same factor to everything: dividing every total by 20 performances is multiplication by 120\frac{1}{20} (2023 Examination 2 Question 9a), and a 25%25\% increase in everything is multiplication by 1.251.25. A difference of two matrices compares like with like, such as this week's sales minus last week's.

When is a product defined?

Write the orders side by side. If AA is m×nm \times n and BB is n×pn \times p, the inner numbers match and ABAB exists; the outer numbers give its order, m×pm \times p.

Am×n  ×  Bn×p  =  ABm×p\underset{m \times \boxed{n}}{A} \;\times\; \underset{\boxed{n} \times p}{B} \;=\; \underset{m \times p}{AB}

If the inner numbers differ, the product is not defined. Because the check depends on order, ABAB can exist while BABA does not (a 2×32 \times 3 times a 3×43 \times 4 works, but a 3×43 \times 4 times a 2×32 \times 3 does not). Even when both exist, they are usually different: matrix multiplication is not commutative.

The row-by-column rule

The element in row ii, column jj of ABAB is found by running along row ii of AA and down column jj of BB, multiplying matching pairs and adding.

The row-by-column rule for a matrix productMatrix A, of order 2 by 3, has rows 2, minus 1, 3 and 0, 4, 1; its second row is shaded. Matrix B, of order 3 by 2, has rows 1, 2 and 3, 0 and minus 2, 5; its first column is shaded. The product AB, of order 2 by 2, is minus 7, 19 in row 1 and 10, 5 in row 2, with the element in row 2, column 1 boxed. Labels show that the inner numbers of the orders, 3 and 3, match so the product exists, and the outer numbers give the order 2 by 2. The boxed element is row 2 of A times column 1 of B: 0 times 1 plus 4 times 3 plus 1 times minus 2, which is 10.2−13041×1230−25=−719105ABABorder 2 × 3order 3 × 2order 2 × 2inner numbers match (3 = 3), so AB existsouter numbers give the orderc₂₁ = (row 2 of A) · (column 1 of B) = 0 × 1 + 4 × 3 + 1 × (−2) = 10

So for A=[2−13041]A = \begin{bmatrix} 2 & -1 & 3 \\ 0 & 4 & 1 \end{bmatrix} and B=[1230−25]B = \begin{bmatrix} 1 & 2 \\ 3 & 0 \\ -2 & 5 \end{bmatrix}:

AB=[2(1)+(−1)(3)+3(−2)2(2)+(−1)(0)+3(5)0(1)+4(3)+1(−2)0(2)+4(0)+1(5)]=[−719105].AB = \begin{bmatrix} 2(1) + (-1)(3) + 3(-2) & 2(2) + (-1)(0) + 3(5) \\ 0(1) + 4(3) + 1(-2) & 0(2) + 4(0) + 1(5) \end{bmatrix} = \begin{bmatrix} -7 & 19 \\ 10 & 5 \end{bmatrix}.

Here BABA also exists, but it is 3×33 \times 3, a completely different matrix.

Reading a product in context

Most Examination 2 matrix questions are really about what a product means. Three patterns cover nearly all of them.

Quantity times price. If QQ holds quantities and PP holds prices, and the labels line up (the columns of the left matrix name the same things as the rows of the right matrix), the product holds money. A 1×31 \times 3 price row times a 3×33 \times 3 quantity matrix (items by days) gives a 1×31 \times 3 matrix of revenue per day.

Summing with a row or column of ones.

  • A row of ones on the left, [11⋯1]E\begin{bmatrix} 1 & 1 & \cdots & 1 \end{bmatrix} E, adds down each column (column totals).
  • A column of ones on the right, E[1⋮1]E \begin{bmatrix} 1 \\ \vdots \\ 1 \end{bmatrix}, adds across each row (row totals).

In 2025 Examination 2 Question 11b, [111]×E\begin{bmatrix} 1 & 1 & 1 \end{bmatrix} \times E gave total enrolments on each day; 43%43\% of students missed it, mostly by describing row totals.

Scaling with a diagonal matrix. A diagonal matrix on the left multiplies each row by its own factor; on the right it multiplies each column. To increase three capacities by 25%25\%, 50%50\% and −10%-10\%, use F=[1.250001.50000.9]F = \begin{bmatrix} 1.25 & 0 & 0 \\ 0 & 1.5 & 0 \\ 0 & 0 & 0.9 \end{bmatrix} on the left (2025 Examination 2 Question 11c). To give three separate revenues rather than one total, the quantities go on the diagonal (2023 Examination 2 Question 8c).

Powers of a square matrix

A2=AAA^2 = AA, A3=AAAA^3 = AAA, and so on. Only a square matrix has powers, because AAAA needs the columns of AA to equal its rows. A power is not found by raising each element to that power:

if A=[2110],A2=[2(2)+1(1)2(1)+1(0)1(2)+0(1)1(1)+0(0)]=[5221],not [4110].\text{if } A = \begin{bmatrix} 2 & 1 \\ 1 & 0 \end{bmatrix}, \quad A^2 = \begin{bmatrix} 2(2) + 1(1) & 2(1) + 1(0) \\ 1(2) + 0(1) & 1(1) + 0(0) \end{bmatrix} = \begin{bmatrix} 5 & 2 \\ 2 & 1 \end{bmatrix}, \quad \text{not } \begin{bmatrix} 4 & 1 \\ 1 & 0 \end{bmatrix}.

Higher powers come from CAS (A3=[12552]A^3 = \begin{bmatrix} 12 & 5 \\ 5 & 2 \end{bmatrix} here). Powers matter later in the module: A2A^2 of a communication matrix counts two-step links, and TnS0T^n S_0 moves a transition model nn steps forward.

The identity, the determinant and the inverse

The identity matrix II is square with 1s on the leading diagonal and 0s elsewhere; AI=IA=AAI = IA = A, so it behaves like the number 1.

The inverse A−1A^{-1} of a square matrix AA satisfies AA−1=A−1A=IAA^{-1} = A^{-1}A = I. It exists only when the determinant is not zero. A matrix with determinant zero is called singular and has no inverse. Non-square matrices have no determinant and no inverse at all.

Formula

For A=[abcd]A = \begin{bmatrix} a & b \\ c & d \end{bmatrix}:

det⁡(A)=ad−bc,A−1=1ad−bc[d−b−ca](ad−bc≠0).\det(A) = ad - bc, \qquad A^{-1} = \frac{1}{ad - bc}\begin{bmatrix} d & -b \\ -c & a \end{bmatrix} \quad (ad - bc \ne 0).

Swap the leading diagonal, change the signs of the other diagonal, divide by the determinant. For a 3×33 \times 3 or larger matrix, use CAS for both the determinant and the inverse.

A quick check always works: multiply your inverse by the original and you must get II.

Using the inverse: matrix equations

There is no matrix division. To "undo" a multiplication, multiply both sides by the inverse on the same side as the matrix you want to remove:

AX=B  ⇒  X=A−1B,XA=B  ⇒  X=BA−1.AX = B \;\Rightarrow\; X = A^{-1}B, \qquad XA = B \;\Rightarrow\; X = BA^{-1}.

The classic use is a pair of linear equations in context (prices of two items from two orders), written as coefficient matrix ×\times unknowns == totals. The current Study Design does not list simultaneous equations as a separate skill (they were part of the old Further Mathematics course), but a matrix equation is exactly how an inverse is used, and a determinant of zero explains why some sets of information cannot give a unique answer.

Doing it on CAS

Define each matrix once (for example, store it as a), then use a*b for products, a^3 for powers, det(a) for the determinant and a^-1 for the inverse. CAS will return an error for a product that is not defined, which is a quick check in multiple-choice questions, but in Examination 2 you still need to write the working the question asks for. Both examinations allow CAS.

Worked examples: products, context, inverses and equations

A product by hand, with the order check

Find ABAB and BABA for A=[2−13041]A = \begin{bmatrix} 2 & -1 & 3 \\ 0 & 4 & 1 \end{bmatrix} and B=[1230−25]B = \begin{bmatrix} 1 & 2 \\ 3 & 0 \\ -2 & 5 \end{bmatrix}.

Step 1: orders
AA is 2×32 \times 3, BB is 3×23 \times 2. For ABAB the inner numbers are 33 and 33, so ABAB exists and is 2×22 \times 2. For BABA they are 22 and 22, so BABA exists and is 3×33 \times 3.
Step 2: row by column
(AB)11=2(1)+(−1)(3)+3(−2)=2−3−6=−7(AB)_{11} = 2(1) + (-1)(3) + 3(-2) = 2 - 3 - 6 = -7. (AB)12=2(2)+(−1)(0)+3(5)=19(AB)_{12} = 2(2) + (-1)(0) + 3(5) = 19. (AB)21=0+12−2=10(AB)_{21} = 0 + 12 - 2 = 10. (AB)22=0+0+5=5(AB)_{22} = 0 + 0 + 5 = 5.
Answer
AB=[−719105]AB = \begin{bmatrix} -7 & 19 \\ 10 & 5 \end{bmatrix} and (by CAS) BA=[2756−39−422−1]BA = \begin{bmatrix} 2 & 7 & 5 \\ 6 & -3 & 9 \\ -4 & 22 & -1 \end{bmatrix}. Different orders, different matrices.

Revenue and totals in context

A café sells coffee ($4.50), muffins ($3.80) and toasties ($7.20). Sales for Monday to Wednesday are stored with rows coffee, muffin, toastie and columns Mon, Tue, Wed:

Q=[526148201825142217],P=[4.503.807.20].Q = \begin{bmatrix} 52 & 61 & 48 \\ 20 & 18 & 25 \\ 14 & 22 & 17 \end{bmatrix}, \qquad P = \begin{bmatrix} 4.50 & 3.80 & 7.20 \end{bmatrix}.

Step 1: check the labels
The columns of PP (items) match the rows of QQ (items), so PQPQ is meaningful: (1×3)(3×3)=1×3(1 \times 3)(3 \times 3) = 1 \times 3.
Step 2: multiply
Monday: 4.50(52)+3.80(20)+7.20(14)=234+76+100.80=410.804.50(52) + 3.80(20) + 7.20(14) = 234 + 76 + 100.80 = 410.80. Tuesday: 274.50+68.40+158.40=501.30274.50 + 68.40 + 158.40 = 501.30. Wednesday: 216+95+122.40=433.40216 + 95 + 122.40 = 433.40.
Step 3: interpret
PQ=[410.80501.30433.40]PQ = \begin{bmatrix} 410.80 & 501.30 & 433.40 \end{bmatrix} is the revenue, in dollars, for each day. Multiplying by a column of three ones, PQ[111]T=1345.50PQ\begin{bmatrix} 1 & 1 & 1 \end{bmatrix}^T = 1345.50, gives the three-day total. By contrast, Q[111]T=[1616353]Q\begin{bmatrix} 1 & 1 & 1 \end{bmatrix}^T = \begin{bmatrix} 161 \\ 63 \\ 53 \end{bmatrix} is the number of each item sold over the three days.

Determinant, inverse and a singular matrix

(a) Find A−1A^{-1} for A=[5342]A = \begin{bmatrix} 5 & 3 \\ 4 & 2 \end{bmatrix}. (b) Find kk so that [k623]\begin{bmatrix} k & 6 \\ 2 & 3 \end{bmatrix} has no inverse.

Step 1: determinant
det⁡(A)=5(2)−3(4)=10−12=−2\det(A) = 5(2) - 3(4) = 10 - 12 = -2. Not zero, so the inverse exists.
Step 2: inverse
A−1=1−2[2−3−45]=[−11.52−2.5]A^{-1} = \dfrac{1}{-2}\begin{bmatrix} 2 & -3 \\ -4 & 5 \end{bmatrix} = \begin{bmatrix} -1 & 1.5 \\ 2 & -2.5 \end{bmatrix}.
Step 3: check
AA−1=[5(−1)+3(2)5(1.5)+3(−2.5)4(−1)+2(2)4(1.5)+2(−2.5)]=[1001]AA^{-1} = \begin{bmatrix} 5(-1) + 3(2) & 5(1.5) + 3(-2.5) \\ 4(-1) + 2(2) & 4(1.5) + 2(-2.5) \end{bmatrix} = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}.
Step 4: singular case
No inverse when 3k−12=03k - 12 = 0, so k=4k = 4.

Marker's note: a negative determinant is fine; only a determinant of zero stops the inverse. Divide every element by −2-2.

Solving a matrix equation in context

At a cinema, 3 adult and 2 child tickets cost $62, and 2 adult and 4 child tickets cost $64. Find the price of each ticket.

Step 1: set up AX=BAX = B
[3224][ac]=[6264]\begin{bmatrix} 3 & 2 \\ 2 & 4 \end{bmatrix}\begin{bmatrix} a \\ c \end{bmatrix} = \begin{bmatrix} 62 \\ 64 \end{bmatrix}.
Step 2: inverse
det⁡=12−4=8\det = 12 - 4 = 8, so A−1=18[4−2−23]A^{-1} = \frac{1}{8}\begin{bmatrix} 4 & -2 \\ -2 & 3 \end{bmatrix}.
Step 3: multiply on the left
X=A−1B=18[4(62)−2(64)−2(62)+3(64)]=18[12068]=[158.5]X = A^{-1}B = \frac{1}{8}\begin{bmatrix} 4(62) - 2(64) \\ -2(62) + 3(64) \end{bmatrix} = \frac{1}{8}\begin{bmatrix} 120 \\ 68 \end{bmatrix} = \begin{bmatrix} 15 \\ 8.5 \end{bmatrix}.
Answer
Adult tickets cost $15 and child tickets $8.50. Check: 3(15)+2(8.50)=623(15) + 2(8.50) = 62 and 2(15)+4(8.50)=642(15) + 4(8.50) = 64.

Inverse on the right, and a 3x3 system on CAS

(a) Solve X[2134]=[713]X\begin{bmatrix} 2 & 1 \\ 3 & 4 \end{bmatrix} = \begin{bmatrix} 7 & 13 \end{bmatrix}. (b) A canteen order of 2 sandwiches, 3 juices and 1 fruit cup costs $23; 3 sandwiches, 1 juice and 2 fruit cups cost $26; 1 sandwich, 4 juices and 2 fruit cups cost $25. Find each price.

Step 1 (a): inverse on the right
X=[713]×15[4−1−32]=15[28−39−7+26]=[−2.23.8]X = \begin{bmatrix} 7 & 13 \end{bmatrix} \times \frac{1}{5}\begin{bmatrix} 4 & -1 \\ -3 & 2 \end{bmatrix} = \frac{1}{5}\begin{bmatrix} 28 - 39 & -7 + 26 \end{bmatrix} = \begin{bmatrix} -2.2 & 3.8 \end{bmatrix}. Check: −2.2(2)+3.8(3)=7-2.2(2) + 3.8(3) = 7 and −2.2(1)+3.8(4)=13-2.2(1) + 3.8(4) = 13.
Step 2 (b): set up
[231312142][sjf]=[232625]\begin{bmatrix} 2 & 3 & 1 \\ 3 & 1 & 2 \\ 1 & 4 & 2 \end{bmatrix}\begin{bmatrix} s \\ j \\ f \end{bmatrix} = \begin{bmatrix} 23 \\ 26 \\ 25 \end{bmatrix}.
Step 3 (b): CAS
The determinant is −13-13 (not zero), and A−1B=[534]A^{-1}B = \begin{bmatrix} 5 \\ 3 \\ 4 \end{bmatrix}.
Answer
Sandwiches $5, juices $3, fruit cups $4. Writing X=BA−1X = BA^{-1} in (a) as A−1BA^{-1}B would not even be defined (2×22 \times 2 times 1×21 \times 2).
Common traps
Multiplying in the wrong order
AB≠BAAB \ne BA in general, and one may not even exist. Keep the order the question gives, and keep inverses on the correct side.
Skipping the order check
Write both orders before multiplying. Adding a 3×23 \times 2 to a 3×33 \times 3, or multiplying a 1×31 \times 3 by a 2×22 \times 2, is undefined (2025 Examination 1 Question 31).
Mixing up rows and columns in context
A row of ones on the left gives column totals; a column of ones on the right gives row totals. Say what the totals are of (days, rooms, stores).
Using a row or column matrix where a diagonal is needed
To scale or multiply each item separately and keep them separate, the factors go on the diagonal of a diagonal matrix.
Squaring each element
A2A^2 means AAAA.

Forgetting to divide by the determinant, or dividing only some elements. The factor 1ad−bc\frac{1}{ad - bc} applies to every element.

Sign slips in the determinant. With a negative off-diagonal element, ad−bcad - bc becomes ad+∣bc∣ad + |bc|. In 2025 Examination 1 Question 27, 13%13\% of students lost the double negative.

Rounding the inverse. Keep fractions (or exact CAS output) until the final answer; a rounded inverse gives answers that do not check.

Exam technique

In multiple choice, write the order of every matrix above it before reading the options; most "which is defined" questions are then instant. For a single element of a product, you only need one row and one column, not the whole product (2025 Examination 1 Question 26). In Examination 2, when asked what a product "represents", name the quantity and what each element refers to: "the total number of children enrolled on each day", not "the sum of the columns". For inverse questions, find the determinant first and say whether it is zero.

Note

A matrix is a table of numbers. You can add two tables of the same shape by adding matching entries, or multiply every entry by the same number. Multiplying two matrices is different: each answer entry comes from a row of the first matrix and a column of the second, multiplied pair by pair and added, which is exactly how you would work out a bill from a price list and an order list. The inverse of a matrix undoes multiplying by it, like dividing, but it only exists when a single number called the determinant is not zero.

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.

2025 VCAA-style1 mark
Consider the matrices A=[2016]A = \begin{bmatrix} 2 & 0 \\ 1 & 6 \end{bmatrix}, B=[35]B = \begin{bmatrix} 3 \\ 5 \end{bmatrix} and C=ABC = AB. The calculation that correctly determines element c21c_{21} is A. 2×3+0×52 \times 3 + 0 \times 5 B. 2×5+3×02 \times 5 + 3 \times 0 C. 1×3+6×51 \times 3 + 6 \times 5 D. 1×5+6×31 \times 5 + 6 \times 3
Show worked answer →

Element c21c_{21} of a product is row 2 of the left matrix multiplied by column 1 of the right matrix, element by element, then added.

Row 2 of AA is [16]\begin{bmatrix} 1 & 6 \end{bmatrix} and column 1 of BB is [35]\begin{bmatrix} 3 \\ 5 \end{bmatrix}, so c21=1×3+6×5=33c_{21} = 1 \times 3 + 6 \times 5 = 33: option C. 84%84\% of students answered correctly. Option A is c11c_{11} (row 1 of AA), and option D pairs the entries in the wrong order.

Source: VCAA 2025 General Mathematics Examination 1, Question 26, and the 2025 examination report.

2025 VCAA-style1 mark
Consider the matrix E=[m−94n]E = \begin{bmatrix} m & -9 \\ 4 & n \end{bmatrix}. For the inverse of EE to exist, the values of mm and nn, respectively, **cannot** be A. 3 and 12 B. 12 and 3 C. 3 and −12-12 D. −3-3 and −12-12
Show worked answer →

An inverse exists only when the determinant is not zero.

det⁡(E)=mn−(−9)(4)=mn+36\det(E) = mn - (-9)(4) = mn + 36.

The inverse fails to exist when mn+36=0mn + 36 = 0, that is when mn=−36mn = -36. Test each option: A gives 3636, B gives 3636, C gives 3×(−12)=−363 \times (-12) = -36, D gives 3636. Only option C makes the determinant −36+36=0-36 + 36 = 0. 76%76\% answered correctly; the most common wrong answer was D (13%13\%), from losing track of the double negative in −(−9)(4)-(-9)(4).

Source: VCAA 2025 General Mathematics Examination 1, Question 27, and the 2025 examination report.

2025 VCAA-style1 mark
Consider A=[46−2−3]A = \begin{bmatrix} 4 & 6 \\ -2 & -3 \end{bmatrix}, B=[428]B = \begin{bmatrix} 4 \\ 2 \\ 8 \end{bmatrix}, C=[502531]C = \begin{bmatrix} 5 & 0 \\ 2 & 5 \\ 3 & 1 \end{bmatrix} and D=[3−25]D = \begin{bmatrix} 3 & -2 & 5 \end{bmatrix}. Which one of the following computations is defined? A. D(A+B)D(A + B) B. CTBDC^T B D C. C+BDC + BD D. (DA)T+D(DA)^T + D
Show worked answer →

Write every order first: AA is 2×22 \times 2, BB is 3×13 \times 1, CC is 3×23 \times 2, DD is 1×31 \times 3.

  • A: A+BA + B needs equal orders (2×22 \times 2 and 3×13 \times 1), so it is undefined.
  • B: CTC^T is 2×32 \times 3. (2×3)(3×1)(2 \times 3)(3 \times 1) gives 2×12 \times 1, then (2×1)(1×3)(2 \times 1)(1 \times 3) gives 2×32 \times 3. Defined.
  • C: BDBD is (3×1)(1×3)=3×3(3 \times 1)(1 \times 3) = 3 \times 3, which cannot be added to the 3×23 \times 2 matrix CC.
  • D: DADA is (1×3)(2×2)(1 \times 3)(2 \times 2); the inner numbers 33 and 22 differ, so it is undefined.

The answer is B (70%70\% correct).

Source: VCAA 2025 General Mathematics Examination 1, Question 31, and the 2025 examination report.

2023 VCAA-style1 mark
How many of the following statements are true? (1) All square matrices have an inverse. (2) The inverse of a matrix could be the same as the transpose of that matrix. (3) If the determinant of a matrix is equal to zero, then the inverse does not exist. (4) It is possible to take the inverse of an identity matrix. A. 0 B. 1 C. 2 D. 3 E. 4
Show worked answer →
  • (1) is false: a square matrix with determinant 00, such as [2412]\begin{bmatrix} 2 & 4 \\ 1 & 2 \end{bmatrix}, has no inverse.
  • (2) is true: for the permutation matrix P=[0110]P = \begin{bmatrix} 0 & 1 \\ 1 & 0 \end{bmatrix}, P−1=PT=PP^{-1} = P^T = P.
  • (3) is true: this is the condition for an inverse.
  • (4) is true: I−1=II^{-1} = I, because I×I=II \times I = I.

Three statements are true: option D. Only 39%39\% answered correctly; 42%42\% chose C, usually by rejecting statement 2 or statement 4.

Source: VCAA 2023 General Mathematics Examination 1, Question 30, and the 2023 examination report.

2023 VCAA-style3 marks
A circus sells family (FF), adult (AA) and child (CC) tickets. The cost in dollars is N=[36158]N = \begin{bmatrix} 36 \\ 15 \\ 8 \end{bmatrix} (rows FF, AA, CC), with elements nijn_{ij}. (a) Which element shows the cost of one child ticket? (b) A family ticket admits two adults and two children. Complete [022]×N−[___]×N=[10]\begin{bmatrix} 0 & 2 & 2 \end{bmatrix} \times N - \begin{bmatrix} \_ & \_ & \_ \end{bmatrix} \times N = \begin{bmatrix} 10 \end{bmatrix} to show a family ticket could save $10. (c) The circus sold 204 family, 162 adult and 176 child tickets. Write down the matrix KK for which K×N=[734424301408]K \times N = \begin{bmatrix} 7344 \\ 2430 \\ 1408 \end{bmatrix}, the revenue for each ticket type.
Show worked answer →

(a) The child price is in row 3, column 1: n31n_{31}. (1 mark; 48%48\%. Writing a capital N31N_{31} or n13n_{13} lost the mark.)

(b) [022]×N=2×15+2×8=46\begin{bmatrix} 0 & 2 & 2 \end{bmatrix} \times N = 2 \times 15 + 2 \times 8 = 46, the cost of two adult and two child tickets bought separately. Subtract the family ticket, [100]×N=36\begin{bmatrix} 1 & 0 & 0 \end{bmatrix} \times N = 36: 46−36=1046 - 36 = 10. The missing row is [100]\begin{bmatrix} 1 & 0 & 0 \end{bmatrix}. (1 mark; 44%44\%.)

(c) Each price must be multiplied by its own quantity and kept in its own row, so KK is the diagonal matrix

K=[204000162000176].K = \begin{bmatrix} 204 & 0 & 0 \\ 0 & 162 & 0 \\ 0 & 0 & 176 \end{bmatrix}.

Check: 204×36=7344204 \times 36 = 7344, 162×15=2430162 \times 15 = 2430, 176×8=1408176 \times 8 = 1408. (1 mark; only 34%34\%. A row or column matrix of quantities was the common error: a row matrix would give one total, not three revenues.)

Source: VCAA 2023 General Mathematics Examination 2, Question 8, and the 2023 examination report.

2023 VCAA-style2 marks
Matrix R=[960 000990 500940 100920 800901 300]R = \begin{bmatrix} 960\,000 & 990\,500 & 940\,100 & 920\,800 & 901\,300 \end{bmatrix} shows the total ticket revenue, in dollars, for the last 20 performances at each of five locations EE, FF, GG, HH and II. (a) Complete [_]×R=[_____]\begin{bmatrix} \_ \end{bmatrix} \times R = \begin{bmatrix} \_ & \_ & \_ & \_ & \_ \end{bmatrix} to calculate the average ticket sales per performance at each location. (b) The circus will use [t]×R×[11111]\begin{bmatrix} t \end{bmatrix} \times R \times \begin{bmatrix} 1 \\ 1 \\ 1 \\ 1 \\ 1 \end{bmatrix} to set a revenue target for the next 20 performances. Find tt if the circus wants to increase its revenue from ticket sales by 25%25\%.
Show worked answer →

(a) Divide every element by 20, which is scalar multiplication by 120\frac{1}{20}:

[120]×R=[48 00049 52547 00546 04045 065].\begin{bmatrix} \tfrac{1}{20} \end{bmatrix} \times R = \begin{bmatrix} 48\,000 & 49\,525 & 47\,005 & 46\,040 & 45\,065 \end{bmatrix}.

(1 mark; only 25%25\% found the right scalar.)

(b) R×[11111]TR \times \begin{bmatrix} 1 & 1 & 1 & 1 & 1 \end{bmatrix}^T adds the five revenues to give the total, $4 712 700. Increasing a total by 25%25\% means multiplying by 1.251.25, so t=1.25t = 1.25 (target $5 890 875). (1 mark; 47%47\%. Many students wrote 0.250.25, which would give only the increase, not the new total.)

Source: VCAA 2023 General Mathematics Examination 2, Question 9 (parts a and b), and the 2023 examination report.

2025 VCAA-style3 marks
An early learning centre has Nursery (NN), Toddler (TT) and Pre-kinder (PP) rooms with capacities C=[8820]C = \begin{bmatrix} 8 \\ 8 \\ 20 \end{bmatrix}. Matrix EE gives enrolments Monday to Friday (rows NN, TT, PP): E=[68885787861818171513]E = \begin{bmatrix} 6 & 8 & 8 & 8 & 5 \\ 7 & 8 & 7 & 8 & 6 \\ 18 & 18 & 17 & 15 & 13 \end{bmatrix}. (a) State the order of EE. (b) [111]×E=W\begin{bmatrix} 1 & 1 & 1 \end{bmatrix} \times E = W. What information does WW provide? (c) Nursery capacity will increase by 25%25\%, Toddler by 50%50\% and Pre-kinder will fall by 10%10\%. The new capacities are Cnew=FCC_{\text{new}} = FC, where FF is a diagonal matrix. Write down FF.
Show worked answer →

(a) 3×53 \times 5 (three rows, five columns). (1 mark; 96%96\%.)

(b) A row of ones on the left adds down each column: W=[3134323124]W = \begin{bmatrix} 31 & 34 & 32 & 31 & 24 \end{bmatrix} is the total number of children enrolled at the centre on each day of the week. (1 mark; 57%57\%. Many answers described row totals, which would need EE multiplied on the right by a column of ones.)

(c) A diagonal matrix on the left multiplies each row of CC by its own factor: 1.251.25, 1.51.5 and 0.90.9.

F=[1.250001.50000.9],FC=[101218].F = \begin{bmatrix} 1.25 & 0 & 0 \\ 0 & 1.5 & 0 \\ 0 & 0 & 0.9 \end{bmatrix}, \qquad FC = \begin{bmatrix} 10 \\ 12 \\ 18 \end{bmatrix}.

(1 mark; 44%44\%. The examiners noted a poor understanding of what a diagonal matrix is.)

Source: VCAA 2025 General Mathematics Examination 2, Question 11, 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 marks
AA is a 3×23 \times 2 matrix, BB is a 2×42 \times 4 matrix and CC is a 4×34 \times 3 matrix. For each of ABAB, BABA, BCBC, CBCB and ABCABC, state whether the product is defined and, if it is, give its order.
Show worked solution →

Write the orders side by side and compare the inner numbers.

  • ABAB: (3×2)(2×4)(3 \times 2)(2 \times 4), inner 2=22 = 2: defined, order 3×43 \times 4.
  • BABA: (2×4)(3×2)(2 \times 4)(3 \times 2), inner 4≠34 \ne 3: not defined.
  • BCBC: (2×4)(4×3)(2 \times 4)(4 \times 3), inner 4=44 = 4: defined, order 2×32 \times 3.
  • CBCB: (4×3)(2×4)(4 \times 3)(2 \times 4), inner 3≠23 \ne 2: not defined.
  • ABCABC: ABAB is 3×43 \times 4, then (3×4)(4×3)(3 \times 4)(4 \times 3) is defined, order 3×33 \times 3.

(2 marks for all five; 1 mark for three or four.) Notice that ABAB exists but BABA does not: order matters.

foundation2 marks
Given A=[4−103]A = \begin{bmatrix} 4 & -1 \\ 0 & 3 \end{bmatrix} and B=[21−15]B = \begin{bmatrix} 2 & 1 \\ -1 & 5 \end{bmatrix}, find 2A−3B2A - 3B.
Show worked solution →

Multiply every element by the scalar, then subtract matching elements.

2A=[8−206],3B=[63−315]2A = \begin{bmatrix} 8 & -2 \\ 0 & 6 \end{bmatrix}, \qquad 3B = \begin{bmatrix} 6 & 3 \\ -3 & 15 \end{bmatrix}

2A−3B=[8−6−2−30−(−3)6−15]=[2−53−9].2A - 3B = \begin{bmatrix} 8 - 6 & -2 - 3 \\ 0 - (-3) & 6 - 15 \end{bmatrix} = \begin{bmatrix} 2 & -5 \\ 3 & -9 \end{bmatrix}.

(1 mark for the scalar multiples, 1 mark for the answer.) The sign slip to watch is 0−(−3)=30 - (-3) = 3.

core3 marks
A=[132−1]A = \begin{bmatrix} 1 & 3 \\ 2 & -1 \end{bmatrix} and B=[4012]B = \begin{bmatrix} 4 & 0 \\ 1 & 2 \end{bmatrix}. (a) Find ABAB by hand. (b) Find BABA. (c) What do your answers show?
Show worked solution →

(a) Row by column:

AB=[1(4)+3(1)1(0)+3(2)2(4)+(−1)(1)2(0)+(−1)(2)]=[767−2].AB = \begin{bmatrix} 1(4) + 3(1) & 1(0) + 3(2) \\ 2(4) + (-1)(1) & 2(0) + (-1)(2) \end{bmatrix} = \begin{bmatrix} 7 & 6 \\ 7 & -2 \end{bmatrix}.

(1 mark)

(b)

BA=[4(1)+0(2)4(3)+0(−1)1(1)+2(2)1(3)+2(−1)]=[41251].BA = \begin{bmatrix} 4(1) + 0(2) & 4(3) + 0(-1) \\ 1(1) + 2(2) & 1(3) + 2(-1) \end{bmatrix} = \begin{bmatrix} 4 & 12 \\ 5 & 1 \end{bmatrix}.

(1 mark)

(c) AB≠BAAB \ne BA: matrix multiplication is not commutative, even when both products exist and have the same order. Always multiply in the order the question gives. (1 mark)

core3 marks
Let M=[k82k]M = \begin{bmatrix} k & 8 \\ 2 & k \end{bmatrix}. (a) Find the values of kk for which MM has no inverse. (b) For k=5k = 5, find M−1M^{-1} and verify that MM−1=IMM^{-1} = I.
Show worked solution →

(a) det⁡(M)=k×k−8×2=k2−16\det(M) = k \times k - 8 \times 2 = k^2 - 16. No inverse when k2−16=0k^2 - 16 = 0, so k=4k = 4 or k=−4k = -4. (1 mark) A CAS solve of det⁡(M)=0\det(M) = 0 gives both values; giving only k=4k = 4 loses the mark.

(b) With k=5k = 5, det⁡(M)=25−16=9\det(M) = 25 - 16 = 9. Swap the leading diagonal, negate the other diagonal, divide by the determinant:

M−1=19[5−8−25].M^{-1} = \frac{1}{9}\begin{bmatrix} 5 & -8 \\ -2 & 5 \end{bmatrix}.

(1 mark)

Check: [5825][5−8−25]=[25−16−40+4010−10−16+25]=[9009]\begin{bmatrix} 5 & 8 \\ 2 & 5 \end{bmatrix} \begin{bmatrix} 5 & -8 \\ -2 & 5 \end{bmatrix} = \begin{bmatrix} 25 - 16 & -40 + 40 \\ 10 - 10 & -16 + 25 \end{bmatrix} = \begin{bmatrix} 9 & 0 \\ 0 & 9 \end{bmatrix}, and 19\frac{1}{9} of this is II. (1 mark)

core3 marks
A bike retailer has two stores, XX and YY. Matrix SS shows the numbers of road, mountain and kids bikes sold last month, and PP shows the price in dollars of each type. $S=[128159146]XY,P=[1200950280]roadmountainkidsS = \begin{bmatrix} 12 & 8 & 15 \\ 9 & 14 & 6 \end{bmatrix} \begin{matrix} X \\ Y \end{matrix}, \qquad P = \begin{bmatrix} 1200 \\ 950 \\ 280 \end{bmatrix} \begin{matrix} \text{road} \\ \text{mountain} \\ \text{kids} \end{matrix}$ (a) Find SPSP and explain what it represents. (b) Find [11]S\begin{bmatrix} 1 & 1 \end{bmatrix} S and explain what it represents. (c) Road bike prices rise by 10%10\% and mountain bike prices by 5%5\%; kids bikes are unchanged. Write a diagonal matrix DD so that DPDP gives the new prices, and find the new revenue for each store if sales stay the same.
Show worked solution →

(a) (2×3)(3×1)(2 \times 3)(3 \times 1) gives 2×12 \times 1:

SP=[12(1200)+8(950)+15(280)9(1200)+14(950)+6(280)]=[26 20025 780].SP = \begin{bmatrix} 12(1200) + 8(950) + 15(280) \\ 9(1200) + 14(950) + 6(280) \end{bmatrix} = \begin{bmatrix} 26\,200 \\ 25\,780 \end{bmatrix}.

The total sales revenue, in dollars, for store XX ($26 200) and store YY ($25 780). (1 mark)

(b) [11]S=[212221]\begin{bmatrix} 1 & 1 \end{bmatrix} S = \begin{bmatrix} 21 & 22 & 21 \end{bmatrix}: the total number of road, mountain and kids bikes sold across both stores. (1 mark)

(c) D=[1.10001.050001]D = \begin{bmatrix} 1.1 & 0 & 0 \\ 0 & 1.05 & 0 \\ 0 & 0 & 1 \end{bmatrix}, so DP=[1320997.5280]DP = \begin{bmatrix} 1320 \\ 997.5 \\ 280 \end{bmatrix} and

S(DP)=[12(1320)+8(997.5)+15(280)9(1320)+14(997.5)+6(280)]=[28 02027 525].S(DP) = \begin{bmatrix} 12(1320) + 8(997.5) + 15(280) \\ 9(1320) + 14(997.5) + 6(280) \end{bmatrix} = \begin{bmatrix} 28\,020 \\ 27\,525 \end{bmatrix}.

New revenue: $28 020 for XX and $27 525 for YY. (1 mark)

exam3 marks
A florist sells two bouquets. Bouquet 1 contains 6 roses and 4 tulips and costs $51. Bouquet 2 contains 3 roses and 8 tulips and costs $48. Let rr and tt be the prices, in dollars, of one rose and one tulip. (a) Write this information as a matrix equation AX=BAX = B. (b) Use the inverse of AA to find rr and tt. (c) A third bouquet contains 3 roses and 2 tulips. Explain why bouquets 1 and 3 alone could not be used to find rr and tt.
Show worked solution →

(a) [6438][rt]=[5148]\begin{bmatrix} 6 & 4 \\ 3 & 8 \end{bmatrix} \begin{bmatrix} r \\ t \end{bmatrix} = \begin{bmatrix} 51 \\ 48 \end{bmatrix}. (1 mark)

(b) det⁡(A)=6×8−4×3=36\det(A) = 6 \times 8 - 4 \times 3 = 36, so A−1=136[8−4−36]A^{-1} = \frac{1}{36}\begin{bmatrix} 8 & -4 \\ -3 & 6 \end{bmatrix} and

X=A−1B=136[8(51)−4(48)−3(51)+6(48)]=136[216135]=[63.75].X = A^{-1}B = \frac{1}{36}\begin{bmatrix} 8(51) - 4(48) \\ -3(51) + 6(48) \end{bmatrix} = \frac{1}{36}\begin{bmatrix} 216 \\ 135 \end{bmatrix} = \begin{bmatrix} 6 \\ 3.75 \end{bmatrix}.

A rose costs $6 and a tulip $3.75. Check: 6(6)+4(3.75)=516(6) + 4(3.75) = 51 and 3(6)+8(3.75)=483(6) + 8(3.75) = 48. (1 mark)

(c) The coefficient matrix would be [6432]\begin{bmatrix} 6 & 4 \\ 3 & 2 \end{bmatrix}, with determinant 6×2−4×3=06 \times 2 - 4 \times 3 = 0. It has no inverse, so there is no unique solution: bouquet 3 is exactly half of bouquet 1 and gives no new information. (1 mark)

exam3 marks
M=[0111]M = \begin{bmatrix} 0 & 1 \\ 1 & 1 \end{bmatrix}. (a) Find M2M^2 by hand. (b) Use CAS to find M5M^5. (c) A student claims M2M^2 can be found by squaring each element of MM. Use your answer to (a) to show the claim is wrong. (d) Explain why G2G^2 does not exist when GG is a 2×32 \times 3 matrix.
Show worked solution →

(a) M2=MM=[0(0)+1(1)0(1)+1(1)1(0)+1(1)1(1)+1(1)]=[1112]M^2 = MM = \begin{bmatrix} 0(0) + 1(1) & 0(1) + 1(1) \\ 1(0) + 1(1) & 1(1) + 1(1) \end{bmatrix} = \begin{bmatrix} 1 & 1 \\ 1 & 2 \end{bmatrix}. (1 mark)

(b) M5=[3558]M^5 = \begin{bmatrix} 3 & 5 \\ 5 & 8 \end{bmatrix}. (1 mark)

(c) Squaring each element of MM gives [0111]\begin{bmatrix} 0 & 1 \\ 1 & 1 \end{bmatrix} (unchanged, since 02=00^2 = 0 and 12=11^2 = 1), but M2=[1112]M^2 = \begin{bmatrix} 1 & 1 \\ 1 & 2 \end{bmatrix}. A matrix power means repeated matrix multiplication, not element-by-element powers.

(d) G2=GGG^2 = GG is (2×3)(2×3)(2 \times 3)(2 \times 3); the inner numbers 33 and 22 differ, so the product is not defined. Only square matrices can be raised to a power. (1 mark for (c) and (d) together.)

Practise this

Sources & how we know this

ExamExplained