Question: On a computer multiplications have traditionally been more costly than additions, so people have tried to in reduce the number of multiplications used to compute
(a) How many real number multiplications do we need in the formula we gave for the product of a m × r matrix and a r × n matrix?
(b) Matrix multiplication is associative, so all associations yield the same result. The cost in number of multiplications, however, varies. Find the association requiring the fewest real number multiplications to compute the matrix product of a 5 × 10 matrix, a 10 × 20 matrix, a 20 × 5 matrix, and a 5 × 1 matrix.
(c) (Very hard.) Find a way to multiply two 2 × 2 matrices using only seven multiplications instead of the eight suggested by the naive approach.
Step by Step Solution
3.47 Rating (167 Votes )
There are 3 Steps involved in it
a Each entry p ij g i1 h 1j g 1r h r1 takes r multiplications and there ar... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
961-M-L-A-L-S (5483).docx
120 KBs Word File
