Skip to the page

Matrices and vectors: question 10 of 14

An ACT® Math practice question. Pick an answer to check it, or open the answer and the worked explanation.

The question

Matrices and vectorsMediumAlgebra II class

A marching band holds a two-day bake sale. Matrix N=[30142518]N = \begin{bmatrix} 30 & 14 \\ 25 & 18 \end{bmatrix} gives the numbers sold: row 1 is Friday and row 2 is Saturday, while column 1 is cookies and column 2 is loaves of banana bread. Matrix P=[25]P = \begin{bmatrix} 2 \\ 5 \end{bmatrix} gives the price in dollars of one cookie (row 1) and one loaf (row 2). Which matrix is the product NPNP, whose entries are the band's total sales in dollars for each day?
  1. A[88215]\begin{bmatrix} 88 \\ 215 \end{bmatrix}
  2. B[185118]\begin{bmatrix} 185 \\ 118 \end{bmatrix}
  3. C[130140]\begin{bmatrix} 130 \\ 140 \end{bmatrix}
  4. D[60705090]\begin{bmatrix} 60 & 70 \\ 50 & 90 \end{bmatrix}

Choose an answer, then open the answer below to check it.

A place to start

One day's total is the number of each item sold that day times that item's price, added together. Which row of NN holds one day's counts?

Another hint

For Friday, multiply row 1 of NN by the prices in PP: cookies times 2 and loaves times 5, then add.

One more hint

Friday's total is (30)(2)+(14)(5)(30)(2) + (14)(5) and Saturday's is (25)(2)+(18)(5)(25)(2) + (18)(5). Work out both sums and stack them in one column.

Show the answer and explanation

Answer: C.[130140]\begin{bmatrix} 130 \\ 140 \end{bmatrix}

Why C works

  1. NN is a 2×22 \times 2 matrix and PP is a 2×12 \times 1 matrix, so NPNP is defined and is a 2×12 \times 1 matrix: one total for each day.
  2. Row 1 of NN times PP: (30)(2)+(14)(5)=60+70=130(30)(2) + (14)(5) = 60 + 70 = 130, Friday's total.
  3. Row 2 of NN times PP: (25)(2)+(18)(5)=50+90=140(25)(2) + (18)(5) = 50 + 90 = 140, Saturday's total.
  4. So NP=[130140]NP = \begin{bmatrix} 130 \\ 140 \end{bmatrix}.

Why the other choices are wrong

  • A. This multiplies everything in row 1 by 2 and everything in row 2 by 5, as if each day had its own price. The prices belong to the items, so every row uses both: 2 for cookies and 5 for loaves.
  • B. This pairs the prices with the columns of NN, as in (30)(2)+(25)(5)(30)(2) + (25)(5). That multiplies Saturday's cookies by the price of a loaf; each entry of NPNP uses a row of NN, not a column.
  • D. This lists the four separate products, such as 30⋅2=6030 \cdot 2 = 60 and 14⋅5=7014 \cdot 5 = 70, without adding them. Each entry of NPNP is the sum of a row's products, so the result has one column, not two.

The rule

Each entry of a matrix product is a row of the first matrix times a column of the second, with matching entries multiplied and the products added.

Spot it next time

Let the context check the arithmetic: every count must be multiplied by the price of that same item, and one day's total uses only that day's row.