Overview
What you’ll learn
- Display information in a matrix of any order and state the order of a matrix and locate elements by position.
- Interpret data presented in a matrix, matching rows and columns to categories.
- Add and subtract matrices of the same order, and multiply a matrix by a scalar.
- Multiply two matrices by the row-times-column rule where the product is defined.
- Decide whether a matrix product is defined using the dimension rule, and state the order of the product.
- Solve problems combining sums, scalar multiples and products of matrices, including quantity-times-price contexts.
In 30 seconds
- 1A matrix with m rows and n columns has order m × n (rows first, always).
- 2Elements are named a(row, column): a₂₁ lives in the 2nd row, 1st column.
- 3Addition and subtraction need equal orders, element by element; A + B = B + A always.
- 4A scalar multiple kA multiplies every element by k.
- 5Products work row into column: (AB) entry = (row of A) · (column of B), multiplying pairs and adding.
- 6AB is defined only when A’s column count equals B’s row count; the result has order (rows of A) × (columns of B).
- 7In general AB ≠ BA — order matters for multiplication (but not for addition).
- 8Quantity matrix × price column matrix lands the totals of a whole order in one product.
Notes · 1 of 5
Matrices, order and elements
Rectangles of numbers, sized rows × columns, with every entry addressable.
A matrix is a rectangular array of numbers. A matrix with 2 rows and 3 columns has order 2 × 3 — rows first, then columns, always. Individual entries are addressed as aᵢⱼ, where i is the row and j the column: in [[2, 5], [1, 3]], the entry a₁₂ (row 1, column 2) is 5, while a₂₁ (row 2, column 1) is 1.
- Row matrix: a single row, order 1 × n, such as [3, 5, 7].
- Column matrix: a single column, order m × 1, such as [[4], [2]].
- Square matrix: same number of rows and columns; its diagonal runs from top-left to bottom-right.
- Zero matrix: every entry 0; identity matrix I (square): 1s on the diagonal and 0s elsewhere.
Notes · 2 of 5
Adding matrices and scalar multiples
Same shape only, element by element; scalars reach every entry.
Two matrices add (or subtract) only when they have the same order: add (or subtract) matching entries. A scalar multiple kA multiplies every entry of A by the number k. Both operations keep the original order.
| Operation | Working | Result |
|---|---|---|
| A + B | [[2+4, 5+1], [1+2, 3+2]] | [[6, 6], [3, 5]] |
| A − B | [[2−4, 5−1], [1−2, 3−2]] | [[−2, 4], [−1, 1]] |
| 3A | [[3·2, 3·5], [3·1, 3·3]] | [[6, 15], [3, 9]] |
Addition is commutative (A + B = B + A) and associative; subtraction is neither, so A − B ≠ B − A in general — flip every sign of the second matrix and you get the other order.
Notes · 3 of 5
Matrix multiplication
Row into column, multiply pairs, add them up — and check the dimensions first.
The product AB pairs each row of A with each column of B: multiply the matching entries, then add. The entry in row i, column j of AB uses row i of A and column j of B. Before computing, check the dimension rule: AB exists only when the number of columns of A equals the number of rows of B, and (AB) then has order (rows of A) × (columns of B).
- 1Check dimensions
A = [[2, 5], [1, 3]] is 2 × 2 and B = [[4, 1], [2, 2]] is 2 × 2: inner numbers match (2 = 2), so AB is defined, with order 2 × 2.
- 2Row 1 × Column 1
(2)(4) + (5)(2) = 8 + 10 = 18 — top-left entry.
- 3Row 1 × Column 2
(2)(1) + (5)(2) = 2 + 10 = 12 — top-right entry.
- 4Row 2 across both columns
(1)(4) + (3)(2) = 10 and (1)(1) + (3)(2) = 7. So AB = [[18, 12], [10, 7]].
Special matrices behave nicely: multiplying by the identity I leaves A unchanged (AI = IA = A), and multiplying by a zero matrix (where defined) gives a zero matrix. Note that AB can be defined while BA is not: for A of order 2 × 3 and B of order 3 × 4, AB is 2 × 4 but BA does not exist, since 4 ≠ 2.
Notes · 4 of 5
Reading data from matrices
Label the rows and columns first; every entry then answers a question.
The syllabus emphasises interpreting matrices: real data — shops against products, weeks against items, students against subjects — lives naturally in rows and columns. Decode the table before computing: state what a row means, what a column means, and therefore what any entry means. A 2 × 3 matrix of two branches and three products puts branch 2’s sales of product 1 in position (2, 1).
When two data matrices describe different aspects — quantities sold and prices per item — their product combines them: quantity × price lands every total in one small matrix. That is the engine of the applied questions in this chapter.
Notes · 5 of 5
Matrix problems in context
Stocks, prices and totals: setting up and interpreting the product.
Applied matrix questions follow one pattern: a quantity matrix (rows and columns labelled by shops and items) multiplies a price column matrix, producing a column of money totals — one per shop. The dimension rule guides the set-up: quantities of order 2 × 3 meet prices of order 3 × 1, giving totals of order 2 × 1.
- 1Label everything
Stock S = [[10, 5, 8], [6, 9, 4]] for two branches × three items; restock R = [[4, 2, 1], [3, 1, 5]].
- 2Add for the full stock
S + R = [[14, 7, 9], [9, 10, 9]].
- 3Price it
Prices [[2], [3], [1]] per item: (S + R) × prices multiplies each branch’s row into the price column.
- 4Read the totals
Branch 1: 14(2) + 7(3) + 9(1) = 58; Branch 2: 9(2) + 10(3) + 9(1) = 57. Branch 1’s stock is worth $58, Branch 2’s $57.
Check dimensional sense in word problems too: multiplying a 1 × 2 price row by a 2 × 1 quantity column gives one grand total (1 × 1), while the reverse order gives a 2 × 2 table of pairwise products — useful for a breakdown, but not the same question. Decide what answer shape you need, then order the factors to produce it.
Revise
Key terms
The words examiners expect you to use precisely.
- Matrix
- A rectangular array of numbers arranged in rows and columns.
- Order
- The size of a matrix written as rows × columns; a 2 × 3 matrix has 2 rows and 3 columns.
- Element (entry)
- One number in the matrix; aᵢⱼ sits in row i, column j.
- Row matrix
- A matrix with exactly one row, order 1 × n.
- Column matrix
- A matrix with exactly one column, order m × 1.
- Square matrix
- A matrix with equal rows and columns; its diagonal runs top-left to bottom-right.
Show 5 more key termsShow fewer key terms
- Zero matrix
- A matrix whose entries are all 0; it plays the role of 0 in addition.
- Identity matrix (I)
- The square matrix with 1s on the diagonal and 0s elsewhere; AI = IA = A.
- Scalar multiple
- kA multiplies every element of A by the number k.
- Matrix product (AB)
- The row-times-column product, defined only when columns of A equal rows of B.
- Dimension rule
- AB exists when A is m × n and B is n × p; the product has order m × p.
Revise
Common mistakes
Where students most often lose marks in this chapter — and what to do instead.
Mistake: Stating the order of [[1, 2, 3], [4, 5, 6]] as 3 × 2.
Order is rows × columns, and there are 2 rows of 3 entries.
Instead: The order is 2 × 3.
Mistake: Reading a₂₁ as column 2, row 1.
The row index comes first.
Instead: a₂₁ is row 2, column 1 — in [[2, 5], [1, 3]] that entry is 1.
Show 10 more mistakesShow fewer mistakes
Mistake: Adding matrices of different orders entry-by-entry anyway.
Entries with no partner cannot be added.
Instead: A sum needs equal orders; a 2 × 2 plus a 2 × 3 is undefined.
Mistake: Multiplying matrices element-by-element: [[a, b], [c, d]] × [[e, f], [g, h]] = [[ae, bf], [cg, dh]].
Matrix products pair rows with columns, not matching positions.
Instead: Top-left of the product is row 1 of A dotted with column 1 of B: ae + bg.
Mistake: Writing AB = BA for square matrices.
Multiplication is not commutative: for A = [[2, 5], [1, 3]], B = [[4, 1], [2, 2]], AB = [[18, 12], [10, 7]] but BA = [[9, 23], [6, 16]].
Instead: Compute products in the stated order only.
Mistake: Multiplying A (2 × 3) by B (2 × 3) as if it were defined.
The inner dimensions (3 and 2) disagree.
Instead: Check columns of A against rows of B first; here AB is undefined.
Mistake: Reporting the order of a product using the inner dimensions.
The inner pair cancels out of the picture; they only had to match.
Instead: A (2 × 3) × B (3 × 4) gives order 2 × 4 — outer numbers only.
Mistake: Applying a scalar to one row: 3A computed as tripling only the first row.
kA scales every element.
Instead: 3[[2, 5], [1, 3]] = [[6, 15], [3, 9]].
Mistake: Confusing the zero matrix with the identity matrix.
The zero matrix is all 0s; the identity has 1s on the diagonal.
Instead: A + 0 = A and AI = A — different jobs, both leaving A unchanged.
Mistake: Computing k(A + B) as kA + B.
The scalar must reach into the second matrix too.
Instead: k(A + B) = kA + kB — distribute to both.
Mistake: In price–quantity problems, multiplying in an order that is undefined and stopping there.
The reversed order is often defined and answers the question.
Instead: If Q (2 × 3) × P fails the dimension check with P of order 2 × 1, try P × Q or reshape which matrix is 3 × 1 — match the labels to the quantities.
Mistake: Interpreting totals from QP without saying which row is which shop.
A bare column of numbers earns no interpretation marks.
Instead: State: "row 1 is Branch 1, so the first total $58 belongs to Branch 1."
Check yourself
Quick quiz
32 questions with instant explanations. About 5 minutes.
Question 1 of 3
- Question 1: current question
- Question 2: not answered
- Question 3: not answered
State order and locate elements
The order of the matrix [[1, 2, 3], [4, 5, 6]] is
Ready for more practice on Chapter 8: Matrices?
Generate a fresh 5-question drill built from this chapter’s key points. Free with your study account.
Practise
Topical questions
Exam-style practice in three tiers, from recall to data questions.
- 5Foundation
- 5Standard
- 5Challenging
15 questions worth 61 marks, each with a model answer, mark scheme and examiner tips.
Practise topical questionsKeep practising
Practise this chapter
Jump straight to the questions for this chapter, the chapters either side of it, and this year’s assessment papers.
Test yourself
Full papers for this subject. Each school sets its own scope — check your assessment outline.
Exam practice
Practice paper
A 30-mark paper set out like a school paper, with a separate mark scheme. Give yourself 40 min.
Question paper
Chapter 8 Practice Paper
30 marks · 40 min · 4 pages
7 multiple-choice questions and structured questions with answer lines. Chapter 8 (N9 Matrices: order and elements, sums and scalar multiples, products where defined, data interpretation).
Mark scheme
PROChapter 8 Practice Paper — mark scheme
Answers · Marking points · 3 pages
Model answers with a mark for each creditworthy point — for marking at home or in class.
Where this chapter is tested
Each school sets its own scope — check your assessment outline.
Questions
Frequently asked questions
What does Sec 3 E-Math Chapter 8 cover?
It covers syllabus sub-topic N9 of O-Level 4052 / SEC G3 K310 in full: displaying and interpreting data in matrices of any order, scalar multiples, sums of matrices, and products of two matrices where they are defined, including applied quantity-by-price problems.
How do I know whether two matrices can be multiplied?
Write both orders side by side: AB exists when the inner numbers match (columns of A = rows of B). The result takes the outer numbers. So a 2 × 3 times a 3 × 4 gives a 2 × 4, while the reverse product does not exist because 4 ≠ 2.
Why is AB not usually equal to BA?
Each entry of AB pairs rows of A with columns of B, while BA pairs rows of B with columns of A — different pairings, different numbers. Only special matrices commute, so never assume AB = BA in a computation.
How do I set up a price-and-quantity matrix problem?
Put quantities in a matrix whose rows (or columns) are the shops or weeks, and prices in a column matrix in matching item order. Multiplying quantities × prices collapses each row of quantities into one money total. Label rows and columns before multiplying so you can interpret every entry afterwards.
When is this chapter usually tested in school?
Matrices typically appear once per exam as a 4–7 mark structured question: identify order and elements, compute a sum or scalar multiple, then a product with an interpretation line. It is a favourite End-of-Year topic because it tests careful bookkeeping more than difficult algebra.
Up next
Chapter 9: Angles, Triangles and Polygons