Lesson 5: Costing and pricing with matrices

Find each house's carnival points

SkillsCosting and pricing with matricesMultiplying matrices

Worked example

  • Simple familiar

The medals won by the four houses (Banksia, Grevillea, Jacaranda, Waratah) are stored in

M=[129781410108136119]M = \begin{bmatrix} 12 & 9 & 7 \\ 8 & 14 & 10 \\ 10 & 8 & 13 \\ 6 & 11 & 9 \end{bmatrix}

with columns for gold, silver and bronze. A gold is worth 5 points, a silver 3 and a bronze 1. Use matrix multiplication to find each house's total points, and state which house won the carnival.

1 of 3 steps
  1. Step 1: Write the points as a matrix that matches

    MM is (houses × medals), so the points need to be (medals × points), a column:

    P=[531]P = \begin{bmatrix} 5 \\ 3 \\ 1 \end{bmatrix}

Try a similar one

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

Method

  1. Label each matrix (rows × columns).

  2. Arrange the second matrix so the inner labels match.

  3. Multiply, then read each element with the outer labels.

Watch out for

  • Writing the points as a row [531]\begin{bmatrix} 5 & 3 & 1 \end{bmatrix}: then MPMP is (4×3)(1×3)(4 \times 3)(1 \times 3), which is not defined.

Save your progress with a free account