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
Knowledge Booster
Background pattern image
Recommended textbooks for you
Text book image
Linear Algebra: A Modern Introduction
Algebra
ISBN:9781285463247
Author:David Poole
Publisher:Cengage Learning
Text book image
College Algebra (MindTap Course List)
Algebra
ISBN:9781305652231
Author:R. David Gustafson, Jeff Hughes
Publisher:Cengage Learning
Text book image
Elementary Linear Algebra (MindTap Course List)
Algebra
ISBN:9781305658004
Author:Ron Larson
Publisher:Cengage Learning
Text book image
Calculus For The Life Sciences
Calculus
ISBN:9780321964038
Author:GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Publisher:Pearson Addison Wesley,
Text book image
College Algebra
Algebra
ISBN:9781938168383
Author:Jay Abramson
Publisher:OpenStax
Text book image
Elements Of Modern Algebra
Algebra
ISBN:9781285463230
Author:Gilbert, Linda, Jimmie
Publisher:Cengage Learning,