Warm-up
Three quick questions from earlier lessons.
Discover
To multiply a row (2, 3) by a column (4, 5), you compute 2 · 4 + 3 · 5. What is it?
- 23
- (8, 15)
Key idea
Each entry of AB is a row of A times a column of B.
Worked example
Compute the top-left entry of .
Your turn, guided
Your turn: the top-right entry of the same product.
Practice ★
- Let A = and B = . What is the entry in row 1, column 1 of AB?
- Let A = and B = . What is the entry in row 1, column 1 of AB?
- A is a 2 × 5 matrix and B is a 5 × 8 matrix. What are the dimensions of AB?
- 2 × 8
- 5 × 5
- AB is not defined
Watch out!
Practice ★★
- Let A = and B = . What is the entry in row 2, column 1 of AB?
- Let A = and B = . What is the entry in row 2, column 1 of AB?
- Boss problem. A stand sells pens and notebooks. The sales matrix S = has rows Monday, Tuesday and columns pens, notebooks. The price vector is p = (dollars). The product Sp gives each day's income.
Exit ticket
Three questions to check you have got it.
- Let A = and B = . What is the entry in row 1, column 1 of AB?
- Let A = and B = . What is the entry in row 1, column 1 of AB?
- Let A = and B = . What is the entry in row 1, column 1 of AB?
Summary card
Multiplying matrices
(m × n)(n × p) = m × p; entry = row · column.
Watch out: AB is usually not BA.