Matrices as organised calculations

Label row and column meanings and match dimensions before adding or multiplying matrices.

More
Reading settingsKeep track of this lesson

Read offline with Premium

Save lessons and their figures on this device to read without an internet connection. Offline saving is included with Premium.

Connect at least once every 30 days to confirm Premium. Topic checks, coaching and sync need a connection.

Find this activity in your course
On this page

Reading settings

Colour theme, text size, line spacing and reading width for your lessons.

Colour theme
Text size
Line spacing
Reading width
Revision Mode

Keep just the revision notes by hiding embedded questions and activities, including worked examples. Your choice follows your account across both subjects and devices. Turn off to show the full lesson again.

Checking Premium access…

Explore Premium

Live preview

Take a moment to read at your own pace. Choose the text size and spacing that feel comfortable for you.

Pause after each idea, then explain it in your own words before moving on.

Narrower lines take effect when the screen has room.

Enlarged diagram

A matrix preserves two kinds of labels

A stock matrix has rows Shop A, Shop B and columns pens, pads, folders:

S = (2, 1, 3; 1, 4, 2).

Its order is 2 by 3: two rows and three columns. The entry in row 2, column 1 is 1 pen at Shop B. A matrix without its row and column meanings loses the data interpretation.

A delivery with the same labels can be added entry by entry. Matrices can be added only when their orders match and the labels describe compatible quantities. Multiplying S by scalar 2 doubles each stock count.

Matrix multiplication combines corresponding quantities

Suppose unit prices, in dollars, are

p = (5; 8; 2).

The product Sp has order 2 by 1. Its first entry is 2(5) + 1(8) + 3(2) = 24 dollars; its second is 1(5) + 4(8) + 2(2) = 41 dollars. Each row times column pairs matching stock and price labels, then sums the contributions.

For an m × n matrix times an n × k matrix, the result is m × k. The inner dimensions must match. The product pS is not defined here: a 3-by-1 matrix cannot multiply a 2-by-3 matrix because 1 and 2 do not match.

Order can change the result

Even when both products are defined, matrix multiplication is generally not commutative. For

A = (1, 1; 0, 1), B = (1, 0; 1, 1),
AB = (2, 1; 1, 1), BA = (1, 1; 1, 2).

Check one entry at a time. Multiplying matching entries only is not matrix multiplication.

Check your understanding 1 Read dimensions and labels

A 3-by-2 matrix records three customers’ counts of two products. A 2-by-1 column gives the two unit prices. What does their product represent, and what is its order?

Show answer

It is a 3-by-1 column of total costs, one for each customer. Each row combines the two purchase counts with their matching prices. The two inner dimensions match.

A numerical result still needs a unit

If stock counts multiply prices, the product entries are monetary totals. If journey counts multiply durations, they are total times instead. Matrix dimensions alone check arithmetic compatibility; labels check whether the calculation makes sense.

Keep track of this lesson

Mark the lesson done when you have worked through it.

Lesson progress is optional and kept on this device.

Your lesson mark records your own study. Checks are kept separately in My Learning.