Mistake Master
Matrices
Row Meets Column
You'll learnto multiply matrices as a row-by-column machine.
Most matrix arithmetic behaves exactly as you would guess: addition and scalar multiplication act entry by entry. The one operation that refuses to be guessed is the product, a row-by-column machine with its own dimension rule and no tolerance for the shortcuts that work on ordinary numbers. Twelve short steps; press Next for each one.
Unit 4 is not assessed on the AP exam; schools include it where local requirements ask.
Read all 12 steps as text
A matrix is a table with a shape
Two students and three assignments make a small table of numbers, and the two things worth naming first are how many rows it has and how many columns.
Rows first, then columns
Dimensions are always stated rows first, so this table is \(2 \times 3\) and never \(3 \times 2\); getting that order into your hands now is what makes every later legality check work.
Adding matrices is entry by entry
Two matrices of the same shape are added by pairing entries in matching positions and adding each pair, with nothing clever happening anywhere: \([[1, 0], [2, 3]] + [[4, 1], [0, 2]] = [[5, 1], [2, 5]]\).
A scalar scales, it never shifts
Multiplying by \(2\) multiplies every entry by \(2\), giving \([[2, 0], [4, 6]]\) rather than adding \(2\) anywhere, and only then does B come off entry by entry to leave \([[-2, -1], [4, 4]]\).
One entry needs a whole row and a column
The product is the one operation that cannot be guessed. Its top-left entry takes the whole first row of the left matrix against the whole first column of the right one, multiplying in pairs and adding: \(2 \cdot 1 + 1 \cdot 2 = 4\).
Row meets column, entry by entry
Every entry of the answer is built the same way, from the row of the left matrix that matches its own row and the column of the right matrix that matches its own column, which fills the product in as \([[4, 13], [6, 15]]\).
The shapes decide whether it is legal
Because a row of the left matrix has to meet a column of the right one, the left matrix's column count and the right matrix's row count have to be the same number, which is what the amber strips mark here.
Inner match, outer survive
Written side by side as \((2 \times 3)(3 \times 4)\) the two inner numbers match and cancel, and the outer pair is what the answer inherits: a \(2 \times 4\) matrix. Reversed, the inner numbers would be \(4\) against \(2\), and that product never gets off the ground.
Swap the order and the answer changes
The left matrix is the one that supplies the rows, so putting B on the right rearranges the columns of A while putting B on the left rearranges its rows — two genuinely different jobs.
AB and BA are different questions
Both products are perfectly legal here and they still disagree: \(AB = [[2, 1], [4, 3]]\) while \(BA = [[3, 4], [1, 2]]\). Numbers commute and matrices do not, so working out the one you were asked for is the only safe habit.
Pairing entries is a different operation
Multiplying entries that sit in the same place gives \([[5, 12], [21, 32]]\), which is not the matrix product at all: row against column gives \(1 \cdot 5 + 2 \cdot 7 = 19\) for the first entry alone, and \([[19, 22], [43, 50]]\) in full. The mistake is the method, not the order.
One mechanism, several consequences
Addition and scalar multiplication act entry by entry and hold no surprises; the product pairs a row with a column, and that single mechanism is what forces the inner-dimension rule and what makes AB and BA different questions.
Next in Unit 4: the determinant and the inverse, which ask whether a matrix can be undone at all.