Student Suite Cd-rom For Winston's Operations Research: Applications And Algorithms
Student Suite Cd-rom For Winston's Operations Research: Applications And Algorithms
4th Edition
ISBN: 9780534423551
Author: Wayne L. Winston
Publisher: Cengage Learning
Expert Solution & Answer
Book Icon
Chapter 2.1, Problem 6P

Explanation of Solution

Proving that computing the matrix product AB requires n3multiplications and n3-n2 additions:

When we multiply two n×n matrices A and B, the resultant matrix will also be of the order of n×n.

Therefore, ij element of AB= Scalar product of row i of A and column j of B.

This will constitute n×n=n2 operations. Totally, n such operations have to be done.

Therefore, total number of multiplication operations in multiplying two n×n matrices involve are given below:

n2×n=n3

After this we must do n2 addition operations in first row, then (n1)2 addition operations in second row and so on.

Therefore, the total number of addition operations is given below:

n2+(n1)2+

Blurred answer
Students have asked these similar questions
Using R language
Using R language
Using R language
Knowledge Booster
Background pattern image
Recommended textbooks for you
Text book image
Operations Research : Applications and Algorithms
Computer Science
ISBN:9780534380588
Author:Wayne L. Winston
Publisher:Brooks Cole
Text book image
C++ Programming: From Problem Analysis to Program...
Computer Science
ISBN:9781337102087
Author:D. S. Malik
Publisher:Cengage Learning
Text book image
C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr