Exercise 1.4.20. If A and B are two nxn matrices with all entries equal to 1, what are the entries of their product AB? Use the following summation formula to find the answer:
Also, if C is a third nxn matrix with all entries equal to 2, compute the entries of (AB)C = A(BC), using the corresponding summation formulas for the two sides of that equation
Answer: If for all i and j, then we have
for all i and j.
If for all i and j, then the i-jth entry of (AB)C is
and the i-jth entry of A(BC) is
with (AB)C = A(BC) as expected.
NOTE: This continues a series of posts containing worked out exercises from the (out of print) book Linear Algebra and Its Applications, Third Edition by Gilbert Strang.
If you find these posts useful I encourage you to also check out the more current Linear Algebra and Its Applications, Fourth Edition, Dr Strang’s introductory textbook Introduction to Linear Algebra, Fourth Edition and the accompanying free online course, and Dr Strang’s other books.