How to solve
Matrix multiplication composes linear maps: each entry of AB is the dot product of a row of A with a column of B. Row i and column j pair corresponding components and add, producing the (i, j) entry.
Steps
- For each position (i, j), take row i of A and column j of B.
- Compute that row·column dot product for the entry.
- Assemble all four entries into the product matrix.
Example
Multiply [[1, 2], [0, 1]] · [[3, 0], [1, 4]].
- Top-left: 1·3 + 2·1 = 5.
- Top-right: 1·0 + 2·4 = 8.
- Bottom-left: 0·3 + 1·1 = 1.
- Bottom-right: 0·0 + 1·4 = 4.
- Product: [[5, 8], [1, 4]].
Answer: [[5, 8], [1, 4]]
How to type answers
- Enter [[a, b], [c, d]] — preview shows the matrix
Loading drills…