Exercise 1.4.1. Multiply the matrices below:
(The exercise also asks you to draw a graph showing addition of the two vectors (2, 1) and (0, 3); I’m skipping that part.)
Answer: The first example multiplies a 3×3 matrix by a 3×1 matrix (column vector), producing a 3×1 matrix. The first entry in the resulting column vector is
The second entry in the resulting column vector is
The third entry in the resulting column vector is the same as the first entry:
The column vector that is the product of the multiplication is therefore (17, 4, 17):
For the second example we’re again multiplying a 3×3 matrix times a 3×1 matrix to produce 3×1 matrix (column vector). The three entries in the column vector are computed as follows:
The product is thus the column vector (5, -2, 3), and this is a special case of the general case IA = A where I is the identity matrix.
The third example multiplies a 2×2 matrix by a 2×1 matrix to form a 2×1 matrix, with entries as follows:
We therefore have
Note that we also have
This is a special case of the general case that multiplying a matrix by a column vector of the form (1, 1, 1, …, 1) is equivalent to adding the column vectors of the original 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
.