ASCENTLEARNING
Join a weekly class
Skip to learning content
YEAR 11 · MATRICES AND NETWORKS · 25 MIN

Matrix multiplication

Calculate row-by-column products and check their dimensions.

In this lesson

Before you start
  • Matrix arithmetic
  • Multiplication and addition
01 / LEARN

Understand the idea.

Inside dimensions must agree

For A⁢B, the number of columns of A must equal the number of rows of B. These matching dimensions make every row-column pairing the same length. An m×n matrix times an n×p matrix produces an m×p result.

The shared labels must also match. Store-by-product quantities can multiply product-by-price data because each product count is paired with its own price. The resulting row-column total belongs to one store and one price scenario.

One row, one column, one total

To find entry (i,j), multiply corresponding entries of row i of the first matrix and column j of the second, then add the products. This row-column rule differs from multiplying entries in the same position.

Matrix multiplication generally depends on order. Reversing the factors can change the dimensions, make the product undefined, or give different values even when both products exist. Check each product separately rather than assuming A⁢B=B⁢A.

02 / WORKED EXAMPLES

See the method in action.

EXAMPLE 01

A rectangular product

Find A⁢B for A=(120314) and B=(210312).

Worked solution

  1. 1

    Check the multiplication dimensions.

    (2×3)⁢(3×2)→2×2

    The inner dimensions match, and the outer dimensions determine the result.

  2. 2

    Calculate the first result row.

    (A⁢B)11=1⁢(2)+2⁢(0)+0⁢(1)=2(A⁢B)12=1⁢(1)+2⁢(3)+0⁢(2)=7

    Pair row one of the first matrix with each column of the second.

  3. 3

    Calculate the second result row.

    (A⁢B)21=3⁢(2)+1⁢(0)+4⁢(1)=10(A⁢B)22=3⁢(1)+1⁢(3)+4⁢(2)=14

    Pair row two with the same two columns in the same order.

  4. 4

    Assemble the product.

    A⁢B=(271014)

    Each calculated entry is placed at its indicated row and column.

Answer

A⁢B=(271014).

EXAMPLE 02

Order matters

Find A⁢B and B⁢A for A=(1203) and B=(2140).

Worked solution

  1. 1

    Calculate the first row of the forward product.

    (A⁢B)11=1⁢(2)+2⁢(4)=10(A⁢B)12=1⁢(1)+2⁢(0)=1

    The first matrix supplies the row and the second supplies the column.

  2. 2

    Finish the forward product.

    (A⁢B)21=0⁢(2)+3⁢(4)=12(A⁢B)22=0⁢(1)+3⁢(0)=0

    The second row of the first matrix completes the two-by-two product.

  3. 3

    Calculate the first row after reversing order.

    (B⁢A)11=2⁢(1)+1⁢(0)=2(B⁢A)12=2⁢(2)+1⁢(3)=7

    Now the rows come from the original second matrix.

  4. 4

    Finish the reverse product.

    (B⁢A)21=4⁢(1)+0⁢(0)=4(B⁢A)22=4⁢(2)+0⁢(3)=8

    Changing the factor order changes which entries are paired.

  5. 5

    Display and compare the results.

    A⁢B=(101120),B⁢A=(2748)

    Both products exist here, but their entries are different.

Answer

A⁢B=(101120); B⁢A=(2748).

03 / YOUR TURN

Try it yourself.

Check your understanding

Can 3×2 multiply 2×4? Give the order.

Show answer & reasoning

Yes; 3×4.

Yes. The first factor has two columns and the second has two rows. The outer dimensions give the resulting order 3×4.

Keep practising

6 worksheet questions · 12 marks

Read the questions online
  1. Calculate (23)(45).
    2 marks
  2. Calculate (1234)(21).
    2 marks
  3. Calculate (2013)(142−1).
    2 marks
  4. Does a 2×4 matrix multiply a 3×2 matrix?
    2 marks
  5. Find x if (x2)(34)=23.
    2 marks
  6. If A is 2×3 and A⁢B is 2×1, what order is B?
    2 marks
Read the worked solutions

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

  1. Calculate (23)(45).
    2 marks

    2⁢(4)+3⁢(5)=8+15.

    The one-entry result is 23.

    23.
  2. Calculate (1234)(21).
    2 marks

    Row 1 gives 4.

    Row 2 gives 10.

    (410).
  3. Calculate (2013)(142−1).
    2 marks

    First row gives 2 and 8.

    Second gives 1+6=7 and 4−3=1.

    (2871).
  4. Does a 2×4 matrix multiply a 3×2 matrix?
    2 marks

    The inside dimensions are 4 and 3.

    They must agree.

    No.
  5. Find x if (x2)(34)=23.
    2 marks

    3⁢x+8=23.

    3⁢x=15.

    x=5.
  6. If A is 2×3 and A⁢B is 2×1, what order is B?
    2 marks

    It needs 3 matching rows.

    One column creates one output column.

    3×1.
Checking saved progress…
Curriculum reference & lesson scope

SACE Board of South Australia

Stage 1 General Mathematics: matrices and networks. Original learning resources follow the approved Ascent Library chapter map.

Official curriculum source ↗

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