Exercise 1.4.3. Multiply the matrices below:
Answer: The first example multiplies a 1×3 matrix by a 3×1 matrix producing a 1×1 matrix, i.e., a scalar value:
As noted in the book, the result is equal to the square of the length of the vector (1, -2, 7) .
For the second example we’re also multiplying a 1×3 matrix times a 3×1 matrix to produce a scalar value:
The final example multiplies a 3×1 matrix times a 1×3 matrix to produce a 3×3 matrix:
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.