In supermarket A, water costs $1.50 per litre, milk costs $2.40 per litre and cola
costs $1.40 per litre.
In supermarket B, water costs $0.20 more per litre, milk costs $0.40 less per litre and
cola costs $0.10 less per litre.
This information can be represented by the matrix
- Natalie and Hadi go shopping.
Natalie buys 4 litres of water, 2 litres of milk and 3 litres of cola.
Hadi buys 3 litres of water and 4 litres of cola.
Represent their purchases in a 2 × 3 matrix P. [1] - Evaluate the matrix R = PQ. [2]
- How much money would Hadi save by shopping in supermarket A? [1]
- Natalie shops in supermarket B.
She has a shopping voucher giving a discount of 10%.
How much does she pay altogether for her items? [2]
Worked solution
(a) The columns of P must be labelled by the same three drinks as the rows of Q, and in the same order — water, milk, cola — so that they meet in the middle of the product. Hadi buys no milk, so that entry is 0.
(b) (2 × 3)(3 × 2) → the product exists and is 2 × 2.
Column A of R is what each shopper pays in supermarket A; column B is how much more the same basket costs in supermarket B, because that is what column B of Q holds.
(c) Hadi's basket costs $0.20 more in supermarket B (his entry in column B is +0.2), so shopping in A saves him $0.20.
(d) Natalie's basket in supermarket B costs $(15 + (−0.30)) = $14.70.
With the 10% voucher she pays × $14.70 = $13.23.
Why this works. Q's first column is a price per litre, its second a difference, which is why two entries are negative; so column A of R is money, column B a difference. Hadi's zero is written in: without it P would be 2 × 2 and the product would not exist. In (d), supermarket B's cost is A's plus the difference, so the 10% comes off $14.70.