Lesson 4: Multiplying matrices

Multiply a 2 × 3 matrix by a 3 × 2 matrix

SkillMultiplying matrices

Worked example

  • Simple familiar
  • Technology free

Given

A=[21304−1]B=[1230−25]A = \begin{bmatrix} 2 & 1 & 3 \\ 0 & 4 & -1 \end{bmatrix} \qquad B = \begin{bmatrix} 1 & 2 \\ 3 & 0 \\ -2 & 5 \end{bmatrix}

calculate ABAB, and state the order of BABA.

1 of 5 steps
  1. Step 1: Check the product is defined

    (2×3)(3×2)(2 \times 3)(3 \times 2): the inner numbers match, so ABAB is defined and has order 2×22 \times 2.

Try a similar one

A fresh question of the same kind, checked as you answer, with hints and a full solution.

Method

  1. Write the orders; the inner numbers must match and the outer ones give the answer's order.

  2. For each element (i,j)(i, j), multiply row ii by column jj entry by entry and add.

  3. Take care with negative numbers.

Watch out for

  • Losing the sign in (−1)×(−2)=+2(-1) \times (-2) = +2.

  • Assuming BABA has the same order as ABAB.

Save your progress with a free account