Small Group Tutorials

Here to help students catch up, keep up, and move ahead. Book a consultation here.

Secondary 4 Mathematics Learning Guide | Matrices, Data and Matrix Operations

A matrix is not merely a rectangular calculator object. It is a compact way to organise information so that rows, columns and operations retain meaning. The arithmetic becomes reliable only when the learner knows what each row represents, what each column represents and why a particular operation is permitted.

This fourteenth Secondary 4 Mathematics Learning Guide develops matrices from data representation to scalar multiplication, addition and matrix multiplication. It belongs to the Secondary Mathematics Hub and S1–S4 Capability Map.

Current syllabus connection: both the 2026 O-Level Mathematics 4052 and 2027 SEC G3 Mathematics K310 syllabus structures include displaying information in matrices, interpreting matrix data, scalar multiplication, addition and products of compatible matrices. This guide stays within those operations and does not require determinants or inverse matrices.

Matrix order: rows first, columns second

A matrix with 2 rows and 3 columns has order 2 × 3. The first number counts horizontal rows; the second counts vertical columns. This order matters because matrix operations depend on dimensions.

For example, the matrix

[ 4  7  2 ]
[ 5  1  9 ]

has order 2 × 3. The entry 1 lies in row 2, column 2. The entry 2 lies in row 1, column 3.

Dimensions describe the structure before the numbers are touched.

Worked Example 1 | Read a matrix as data

A shop records sales of pens, notebooks and rulers over two days:

        Pen  Notebook  Ruler
Mon      12      8       5
Tue      15     11       7

As a 2 × 3 matrix, rows represent days and columns represent products. The entry 11 means 11 notebooks were sold on Tuesday. If the learner forgets what the axes mean, the matrix becomes a collection of numbers without interpretation.

Addition: corresponding entries must describe comparable quantities

Matrices can be added when they have the same order. Corresponding entries are added because each location represents the same kind of quantity.

If Week 1 sales are

A = [ 12  8  5 ]
    [ 15 11  7 ]

and Week 2 sales are

B = [ 10  9  6 ]
    [ 14 12  8 ]

then

A + B = [ 22 17 11 ]
        [ 29 23 15 ]

The result preserves the same row and column meanings. A 2 × 3 matrix cannot be added to a 3 × 2 matrix merely because both contain six entries. Their structures are different.

Subtraction: interpret the sign

When one matrix is subtracted from another, corresponding differences can show change. If Tuesday sales fall from 15 to 14 for pens, the entry −1 can represent a decrease of one unit. A negative matrix entry is not automatically an error; its meaning depends on what the matrix represents.

Scalar multiplication: one multiplier acts on every entry

If every listed quantity is multiplied by the same number, multiply the entire matrix by that scalar. For example:

3 [ 2  5 ]   = [ 6 15 ]
  [ 4  1 ]     [12  3 ]

The multiplier applies to every entry. Missing one entry creates an inconsistent transformation.

Worked Example 2 | Cost from quantities

A canteen sells sandwiches and drinks. One order contains 3 sandwiches and 2 drinks. Another contains 5 sandwiches and 4 drinks. Sandwiches cost $4 each and drinks cost $2 each.

Represent the quantities as a 2 × 2 matrix and the prices as a 2 × 1 column:

Q = [3 2]     P = [4]
    [5 4]         [2]

The product QP is defined because the inner dimensions match: (2 × 2)(2 × 1). The result has order 2 × 1.

QP = [3×4 + 2×2]
     [5×4 + 4×2]
   = [16]
     [28]

The first order costs $16 and the second costs $28. Matrix multiplication has combined each quantity row with the matching price column.

Why matrix multiplication is row by column

The operation is designed so that one row of information can be combined with one compatible column. Each pair of corresponding entries is multiplied, then the products are added.

If A has order m × n and B has order n × p, then AB is defined and has order m × p. The inner dimensions n match and disappear; the outer dimensions m and p describe the product.

(m × n)(n × p) → (m × p)

This dimension rule should be checked before multiplying any entries. It tells you whether the operation is structurally possible.

Worked Example 3 | Multiply two matrices carefully

Let

A = [1 2]
    [3 4]

B = [5 6]
    [7 8]

Both are 2 × 2, so AB is defined and will be 2 × 2.

AB = [1×5+2×7   1×6+2×8]
     [3×5+4×7   3×6+4×8]
   = [19 22]
     [43 50]

Each result entry comes from one row of A and one column of B. A useful discipline is to point to the row and column before writing the products.

Order matters: AB and BA can be different

Using the same matrices:

BA = [23 34]
     [31 46]

This is not equal to AB. Matrix multiplication is generally not commutative. Reversing the order can change the meaning as well as the numbers.

In the canteen example, QP meant quantities multiplied by prices to produce order costs. PQ does not even have compatible dimensions because (2 × 1)(2 × 2) has inner dimensions 1 and 2, which do not match.

Worked Example 4 | One data matrix, several prices

A school store tracks three student orders of two items:

Q = [2 1]
    [1 3]
    [4 2]

The prices are $6 and $3, so

P = [6]
    [3]

Q has order 3 × 2 and P has order 2 × 1. Their product is 3 × 1:

QP = [15]
     [15]
     [30]

The three entries are the three order totals. The dimensions themselves predict the kind of result: three rows in the output because there are three orders, one column because one total is being calculated for each order.

Worked Example 5 | A transition matrix-style calculation without advanced theory

A club has 40 junior and 30 senior members. For a particular event, 60% of juniors and 80% of seniors attend. Represent the attendance rates as a row vector [0.6 0.8] and the membership counts as a column vector [40, 30]ᵀ.

The product gives 0.6×40 + 0.8×30 = 24 + 24 = 48 expected attendees under the stated deterministic rate model.

Interpretation matters: if 60% and 80% are historical proportions rather than fixed rules, 48 is a model-based expectation, not a guarantee of exactly 48 people at the next event.

Matrix equations as structured unknowns

If two matrices are equal, corresponding entries are equal. This allows simple equations to be solved entry by entry.

For example:

[ x+2   5 ] = [ 9   5 ]
[  3   y−1]   [ 3   6 ]

Matching corresponding entries gives x + 2 = 9 and y − 1 = 6, so x = 7 and y = 7.

Do not equate entries that occupy different positions. Equality of matrices preserves the row-column structure.

Worked Example 6 | Find an unknown from a product

Suppose

[2  x] [3] = [18]
       [4]

The product is 2×3 + 4x = 18. Hence 6 + 4x = 18 and x = 3.

The matrix notation has compressed a linear equation. Expanding the row-column product reveals the familiar algebra inside it.

Common failure modes

ErrorCauseRepair
Calls a 2×3 matrix 3×2Columns counted before rowsSay “rows by columns” aloud
Adds matrices of different ordersOnly total entry count checkedCompare row and column structure separately
Multiplies corresponding entries for matrix productMatrix multiplication confused with element-wise multiplicationPoint to one row and one column for each result entry
Assumes AB=BAOrdinary-number rules transferred without checkingCalculate dimensions and order explicitly
Gets correct numbers but cannot interpret resultRow/column meanings lostLabel data axes before calculation
Uses determinant or inverse methods unnecessarilyMethod imported from a different syllabus layerStay with the operations required by the current task

Verification through dimensions and scale

  • Check the order of every matrix before the operation.
  • Predict the order of a product before calculating it.
  • Check whether each result row corresponds to the intended data row.
  • Estimate whether totals are of a sensible size.
  • For money models, attach units to the interpreted result.
  • For equal matrices, verify corresponding positions rather than similar-looking values.

Independent practice

  1. State the order of the matrix [[2,5,7],[1,0,4]].
  2. Add [[3,1],[2,5]] and [[4,2],[6,1]].
  3. Multiply [[2,3],[1,4]] by the scalar 5.
  4. Find [[1,2],[3,1]][[4],[5]].
  5. Let A have order 3×2 and B have order 2×4. State the order of AB.
  6. Can BA be formed in Question 5? Explain using dimensions.
  7. If [[x,3],[4,y]]=[[7,3],[4,−2]], find x and y.
  8. A row [2,5,1] records quantities of three products costing $3, $4 and $10. Find the total cost using a matrix product.

Explained answers

1. There are 2 rows and 3 columns, so the order is 2×3.

2. Add corresponding entries to get [[7,3],[8,6]].

3. Multiply every entry by 5: [[10,15],[5,20]].

4. The result is [[1×4+2×5],[3×4+1×5]] = [[14],[17]].

5. (3×2)(2×4) is defined and produces a 3×4 matrix.

6. B is 2×4 and A is 3×2, so BA would be (2×4)(3×2). The inner dimensions 4 and 3 do not match, so BA is not defined.

7. Corresponding entries give x=7 and y=−2.

8. Multiply [2,5,1] by [[3],[4],[10]] to obtain 2×3+5×4+1×10=$36.

Teaching sequence: keep meaning attached to the structure

Begin with matrices that represent labelled data. Ask the learner what row 2 and column 3 mean before asking for an operation. Then introduce same-order addition and scalar multiplication, because their positional meaning is visually direct.

Only then move to matrix multiplication. Start with a row of quantities and a column of prices so the row-by-column operation has a concrete purpose. After the meaning is stable, practise abstract numerical matrices and dimension checks.

Connect this guide to Algebra, Functions and Graphs for symbolic control and to Accuracy, Estimation and Calculator Discipline for checking the numerical output.

Final thought

Matrix questions become easier when the learner stops seeing a box of numbers and starts seeing a structured relationship. Rows and columns carry roles. Dimensions decide whether operations are possible. The product has meaning because the data have meaning.

Read the structure first. Then let the arithmetic preserve it.

Return to the Secondary Mathematics Hub.