ASCENTLEARNING
Join a weekly class
Skip to learning content
Year 11 · Matrices and transformations · 20 min

Matrix multiplication and non-commutativity

Multiply compatible matrices by row-column dot products and understand why the order of multiplication matters.

01 / LEARN

The idea, step by step

Check dimensions before calculating

If A has order m×n and B has order n×p, then A⁢B is defined and has order m×p. The inner dimensions must match; the outer dimensions give the answer size.

The (i,j) entry of A⁢B is the dot product of row i of A and column j of B. Multiply matching terms and add. Ordinary matrix multiplication is not entry-by-entry multiplication.

Order is part of the operation

Usually A⁢B≠B⁢A. Sometimes one order is defined and the other is not. Even for square matrices both products can exist but be different.

Use a small numerical example to test a claimed rule. To calculate A⁢B⁢C, associativity allows (A⁢B)⁢C=A⁢(B⁢C) when the dimensions match, but it does not permit swapping A and B.

A common trap

Multiplying only entries in the same positions.

Instead: A product entry uses an entire row and an entire column, not one pair of matching positions.

02 / WORKED EXAMPLES

See the thinking

Example 1

A rectangular product

Calculate (12−1034)(211−230).

  1. Top-left: 1⁢(2)+2⁢(1)−1⁢(3)=1.
  2. Top-right: 1⁢(1)+2⁢(−2)−1⁢(0)=−3.
  3. Bottom-left is 0+3+12=15; bottom-right is 0−6+0=−6.
(1−315−6).
Example 2

Demonstrate non-commutativity

Let A=(1101), B=(2003). Compare A⁢B and B⁢A.

  1. Row-column multiplication gives A⁢B=(2303).
  2. Reversing the order gives B⁢A=(2203).
  3. The top-right entries differ.
A⁢B≠B⁢A.

Check your understanding

If A is 2×3 and B is 3×4, what is the order of A⁢B?

Show answer

2×4.

The inner dimensions 3 agree and the outer dimensions are 2 and 4.

03 / WORKSHEET

Your turn

6 questions · 12 marks · Work at your own pace.

Read the questions online
  1. Find (21)(3−4).
    2 marks
  2. Find (1230)(2114).
    2 marks
  3. A is 3×2 and B is 2×5. State the order of AB and explain whether BA exists.
    2 marks
  4. Find (12)(34).
    2 marks
  5. For A=(0110), calculate A2.
    2 marks
  6. A shop sells 6 notebooks at 4 dollars each and 3 folders at 5 dollars each. Express the total as a row-column matrix product and evaluate it.
    2 marks
Read the worked solutions

Equivalent correct methods earn the corresponding marks. Include units where asked.

  1. Find (21)(3−4).
    2 marks

    The product is 2⁢(3)+1⁢(−4)=2.

    2.
  2. Find (1230)(2114).
    2 marks

    Rows dotted with columns give (2+2,1+8) and (6+0,3+0).

    (4963).
  3. A is 3×2 and B is 2×5. State the order of AB and explain whether BA exists.
    2 marks

    The AB inner dimensions are both 2.

    For BA the inner dimensions would be 5 and 3, which do not match.

    AB is 3×5; BA is not defined.
  4. Find (12)(34).
    2 marks

    A 2×1 by 1×2 product has order 2×2.

    Multiply each column-vector entry by the row.

    (3468).
  5. For A=(0110), calculate A2.
    2 marks

    Each output column is found by applying A twice.

    Direct multiplication gives diagonal entries 1 and off-diagonal entries 0.

    I=(1001).
  6. A shop sells 6 notebooks at 4 dollars each and 3 folders at 5 dollars each. Express the total as a row-column matrix product and evaluate it.
    2 marks

    Quantities form a row and prices form a column.

    6⁢(4)+3⁢(5)=39.

    (63)(45)=39 dollars.
Checking saved progress…

Continue learning

Identity and zero matrices

Next lesson
Curriculum reference & lesson scope

SACE Board of South Australia

Stage 1 Mathematics: matrices and transformations; original lessons follow the approved school-sized chapter structure.

Official curriculum source ↗
Back to Matrices and transformations

Save your next step.

Create a free account to save your learning progress. Lessons and downloads stay free, with or without an account.

Create free account