Introduction to mathematical programming
Introduction to mathematical programming
4th Edition
ISBN: 9780534359645
Author: Jeffrey B. Goldberg
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
The size of AxB, multiplication of two matrices A (with size mxp) and B(with size pxn) is
This question is about the Matrix Chain Multiplication problem. You are given four matrices with the following dimensions.
) Assume A is k × n-matrix and Q is n x n-invertible matrix. Prove that rank(AQ) = rank(A).
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Operations Research : Applications and Algorithms
Computer Science
ISBN:9780534380588
Author:Wayne L. Winston
Publisher:Brooks Cole