Three matrices are to be multiplied together in the order , then , then :
Matrix multiplication is associative, so and produce exactly the same matrix. The amount of work need not be the same.
Use this counting rule, which follows directly from how a product is built: multiplying an matrix by an matrix produces entries, and each entry is a sum of products — so it costs scalar multiplications.
Counting both multiplications in each grouping, what is the total cost of each?
Select all that apply.