At Café A, a latte costs $3.50, a croissant costs $2.70 and a sandwich costs $5.00. At Café B, a latte costs $0.40 more, a croissant costs $0.20 less and a sandwich costs $0.50 less. This information can be represented by the matrix Q =

  1. (a)

    Azza buys 2 latte, 3 croissants and 3 sandwiches.

    Yu Fei buys 1 latte and 4 sandwiches.

    Represent their purchases in a 2×3 matrix P.

    Answer P = ( )

  2. (b)

    Evaluate M = PQ.

    Answer M = ( )

  3. (c)

    Should Azza buy from Café A or Café B? Give your reasons.

Work through it with AI →

It won't just hand you the answer — it asks where you're stuck.How the checker works

Worked solution

24(a)

1. Arrange each buyer's purchases as rows in the order latte, croissant, sandwich.

Since QQ lists the items in the order latte, croissant, sandwich, the columns of PP should follow the same order.

Azza buys 22 latte, 33 croissants and 33 sandwiches, so her row is
(233).(2\quad 3\quad 3).

Yu Fei buys 11 latte, 00 croissants and 44 sandwiches, so his row is
(104).(1\quad 0\quad 4).

Therefore,
P=(233104).P=\begin{pmatrix}2&3&3\\1&0&4\end{pmatrix}.

Answer

P=(233104)P=\begin{pmatrix}2&3&3\\1&0&4\end{pmatrix}

24(b)

1. Set up the product $PQ$ using the purchase matrix from part (a) and the given matrix $Q$.

P=(233104),Q=(3.500.402.70−0.205.00−0.50)P=\begin{pmatrix}2&3&3\\1&0&4\end{pmatrix},\quad Q=\begin{pmatrix}3.50&0.40\\2.70&-0.20\\5.00&-0.50\end{pmatrix}

M=PQ=(233104)(3.500.402.70−0.205.00−0.50)M=PQ=\begin{pmatrix}2&3&3\\1&0&4\end{pmatrix}\begin{pmatrix}3.50&0.40\\2.70&-0.20\\5.00&-0.50\end{pmatrix}

2. Calculate each entry by multiplying the corresponding row of $P$ by each column of $Q$.

M=(2(3.50)+3(2.70)+3(5.00)2(0.40)+3(−0.20)+3(−0.50)1(3.50)+0(2.70)+4(5.00)1(0.40)+0(−0.20)+4(−0.50))=(7.00+8.10+15.000.80−0.60−1.503.50+0+20.000.40+0−2.00)=(28.10−1.3023.50−1.60)\begin{aligned} M&=\begin{pmatrix} 2(3.50)+3(2.70)+3(5.00) & 2(0.40)+3(-0.20)+3(-0.50)\\ 1(3.50)+0(2.70)+4(5.00) & 1(0.40)+0(-0.20)+4(-0.50) \end{pmatrix}\\[4pt] &=\begin{pmatrix} 7.00+8.10+15.00 & 0.80-0.60-1.50\\ 3.50+0+20.00 & 0.40+0-2.00 \end{pmatrix}\\[4pt] &=\begin{pmatrix} 28.10 & -1.30\\ 23.50 & -1.60 \end{pmatrix} \end{aligned}
Answer

M=(28.10−1.5023.50−1.60)M=\begin{pmatrix}28.10&-1.50\\23.50&-1.60\end{pmatrix}

24(c)

1. Identify Azza's totals from the first row of matrix $M$.

From part (b),
M=(28.10−1.5023.50−1.60).M=\begin{pmatrix}28.10&-1.50\\23.50&-1.60\end{pmatrix}.
Azza's row is the first row: 28.1028.10 and −1.50-1.50.

So Azza's total at Café A is $28.10\char36{}28.10, and the change to get Café B's total is −$1.50-\char36{}1.50.

2. Find Azza's Café B total and decide which café is cheaper.

Azza's total at Café B is
$28.10−$1.50=$26.60.\$28.10-\$1.50=\$26.60.
Since $26.60<$28.10\char36{}26.60<\char36{}28.10, Café B is cheaper.

Answer

Azza should buy from Café B, because her total cost there is $28.10−$1.50=$26.60\char36{}28.10-\char36{}1.50=\char36{}26.60, which is $1.50\char36{}1.50 cheaper than Café A.

AI analysis — may contain mistakes.

Worked this one out on paper? Snap your steps and Gigle's AI math checker will circle the step where it went wrong.

More questions on this topic

  1. 1On every weekday, a bakery delivers chicken pies and apple pies to four cafes. On every weekend, it delivers double the…
  2. 2A tour agency sells cruise packages to Vietnam, Maldives and Taiwan at $1299, $1398 and $2538 respectively. The table…
  3. 3Given that (9230)(1−2y)=(x2x−7)\displaystyle\begin{pmatrix}9 & 2\\[4pt]3 & 0\end{pmatrix}\begin{pmatrix}1\\[4pt]-2y\end{pmatrix}=\begin{pmatrix}x\\[4pt]2x-7\end{pmatrix}…
  4. 4A theatre sells tickets for a musical performance based on different categories. The table below shows the number of tic…
  5. 5A cake shop sells 3 types of cakes. On Day 1, the shop sold 84 chocolate cakes, 90 vanilla cakes and 56 strawberry cakes…