Intuition
Multiplying a matrix by a vector is not a new idea. The vector supplies one weight per column, and the answer is the linear combination of the columns with those weights.
A shopping list gives a quantity for each product. The bill is those quantities applied to the price columns and added up, one product at a time.
The product of a matrix and a vector
For an matrix and a vector of , the product weights column j by and adds. The vector must have one component per column, and the answer lives in , where the columns live. This is the vector equation of a system, from the lesson on systems, written in one symbol.
What the definition forces
- is defined only when has as many components as has columns.
- lands in : it is a combination of vectors that live there.
The columns of are and , and supplies one weight for each. With weights 2 and 1: two of the first column, then one of the second, and the green arrow is . The matrix contributes the arrows, the vector contributes the scalars.
A system is one equation
Unfolding turns the equation back into the vector equation of a system, whose solvability was already shown to be membership of the span of the columns. The matrix notation adds no mathematics; it names the same statement more briefly.
Proof steps
Unfold the product using its definition, which is the only thing the symbol means.
This is exactly the vector equation a system of linear equations was shown to be.
That equation has a solution precisely when lies in the span of the columns, as the lesson on systems proved.
The matrix form is a shorter name for the same statement, so it inherits the same answer.
Applications
Practice
Weights on columns
Four of the first column and five of the second, added: .
Try it
Let and . What is ?
The vector matches the columns
is , ,
Two columns need two weights, and each column has three entries.
Try it
is . For which vectors is defined, and where does the answer live?
The columns are already answers
One of the second column and none of any other.
Try it
Let and . What is ?
No weights, no answer
The zero on the right has as many components as has rows.
Try it
What is for an matrix ?
Try it
The system , is written as . What is ?