Learn how to find the order of the product of two matrices step by step, with a video, animations, 18 worked examples, and games. Math is fun, so let's begin!
EBTANAS (Indonesian National Exam) Mathematics, Senior High School, 1986
If matrix A has order 3 × 2 and matrix B has order 2 × 1, then the product matrix AB has order ...
Try guessing first! Tap your answer:
What is a matrix?
A matrix is a rectangular arrangement of numbers organized into rows (horizontal) and columns (vertical), enclosed in brackets. Think of a seating chart in a classroom: there are horizontal rows and vertical columns, and every seat holds one number.
The matrix A below has 3 rows and 2 columns:
What is order?
The order of a matrix is its size, written number of rows × number of columns. Remember the sequence: rows first, columns second. Matrix A above has order 3 × 2 (read "three by two"). It has 3 × 2 = 6 entries.
The entry in row i, column j is written aij. In matrix A above, a21 = 1 and a32 = 3.
Condition and order of a matrix product
Suppose matrix A has order m × n and matrix B has order p × q.
1) Condition: A and B can be multiplied (AB is defined) when the number of columns of A = the number of rows of B, that is, n = p.
2) Order of the result: if the condition holds, AB has order m × q, that is, the number of rows of A × the number of columns of B.
Memory trick: write (m × n)(n × q). The two middle numbers must match, and then both "disappear". The outer numbers that remain give the order of the result: m × q.
How to fill in the product
The entry in row i, column j of AB comes from row i of matrix A multiplied by column j of matrix B: multiply the matching pairs of numbers, then add them.
Example: row (1, 2) times column (2, 1) = (1 × 2) + (2 × 1) = 2 + 2 = 4.
Reading orders: when can we multiply?
| Order of A | Order of B | Columns of A = rows of B? | Order of AB |
|---|---|---|---|
| 3 × 2 | 2 × 1 | 2 = 2 ✔ | 3 × 1 |
| 2 × 3 | 3 × 4 | 3 = 3 ✔ | 2 × 4 |
| 1 × 3 | 3 × 1 | 3 = 3 ✔ | 1 × 1 |
| 3 × 1 | 1 × 3 | 1 = 1 ✔ | 3 × 3 |
| 2 × 2 | 3 × 2 | 2 ≠ 3 ✘ | Cannot be multiplied |
| 2 × 1 | 2 × 1 | 1 ≠ 2 ✘ | Cannot be multiplied |
1) Writing the order backwards (columns × rows). Remember: rows first!
2) Thinking A and B must have the same order. Only the columns of A and the rows of B must match.
3) Choosing the order of A or B as the answer, when the order of the result is rows of A × columns of B.
4) Assuming AB = BA. With matrices, the order of multiplication matters a lot.
📝 Video script (about 3 minutes)
0:00–0:10 Greeting and title. “Hello everyone! Today we solve an EBTANAS 1986 problem about the order of a matrix product.”
0:10–0:35 Show the problem: A has order 3 × 2 and B has order 2 × 1. What is the order of AB? Ask: “What do you think the answer is? Pause the video and guess!”
0:35–1:05 What is order? Show a matrix with 3 rows and 2 columns. Rows run horizontally like lines of students at a flag ceremony, columns run vertically. Order = rows × columns.
1:05–1:40 The multiplication condition. Write (3 × 2)(2 × 1). Highlight the two middle numbers: 2 and 2. “If they match, we can multiply. If they differ, the matrices cannot be multiplied.”
1:40–2:05 The order of the result. Cross out the two middle numbers, leaving 3 and 1. So AB has order 3 × 1. Answer E.
2:05–2:35 A numeric example: A = (1 2; 3 4; 5 6) times B = (2; 1). The result is (4; 10; 16), indeed 3 rows and 1 column.
2:35–2:50 Common mistakes: swapping rows and columns, and picking the order of A or B.
2:50–3:00 Closing: invite students to try the animations, worked examples, and the star quiz.
Tap a title to open the step-by-step solution. There are 18 examples arranged from easy to challenging.
Levels of thinking
C1 Remember · C2 Understand · C3 Apply · C4 Analyze · C5 Evaluate · C6 Create. Then come HOTS problems, ethnomathematics problems (math in our culture), and everyday applications.
Read the orders of matrices A and B, then decide the order of AB. Watch out: sometimes the matrices cannot be multiplied!
Find the order of AB, then fill in every entry of the product.
