Lesson 5: Costing and pricing with matrices

A café's revenue and profit over a weekend

SkillsCosting and pricing with matricesMultiplying matrices

Worked example

  • Complex familiar
  • Technology active

A café sells flat whites, iced coffees and muffins. Matrix QQ shows the numbers sold on Friday, Saturday and Sunday. Each flat white sells for $5.20 and costs the café $1.40 to make; an iced coffee sells for $6.50 and costs $1.90; a muffin sells for $4.80 and costs $2.10.

Q=[85403212065481107241]Q = \begin{bmatrix} 85 & 40 & 32 \\ 120 & 65 & 48 \\ 110 & 72 & 41 \end{bmatrix}

(a) Use matrices to find the café's revenue on each day.

(b) Find the profit on each day, and the total profit for the weekend.

1 of 5 steps
  1. Step 1: Set up the price matrix

    QQ is (days × items), so the prices go in an (items × price) column:

    S=[5.206.504.80]S = \begin{bmatrix} 5.20 \\ 6.50 \\ 4.80 \end{bmatrix}

    (3×3)(3×1)→3×1(3 \times 3)(3 \times 1) \to 3 \times 1: one revenue for each day.

Try a similar one

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

Method

  1. Put quantities in a (days × items) matrix and prices in an (items × 1) column.

  2. Multiply to get one total per day; show one element in full.

  3. Profit = revenue − cost: multiply by (price − cost) per item, or subtract the cost product from the revenue product.

Watch out for

  • Subtracting the total cost of one of each item from the revenue, instead of the cost of everything sold.

  • Giving the answer as an unlabelled column of numbers.

Save your progress with a free account