Module 1 of 2 · Lesson 2 of 5
Matrices as Operators
A matrix as something that acts on a vector, read by rows and by columns.
What you will be able to do
Given a matrix and a vector, the learner can compute
What you will be able to do
Given
Orientation
The arithmetic is mechanical. The reading carries the content: almost every later argument in this subject is a question about columns.
Intuition
A matrix is something that acts
The canonical text sets out both readings and says the column one carries the subject. Here is where it is actually spent.
Feasibility. “Does
Bases. A basis is a choice of
Pricing. A reduced cost asks what happens to the objective if a nonbasic column is mixed in a little. The question only makes sense under the column reading: the row reading computes the answer but says nothing about which column to try next.
The row reading remains how the arithmetic is done. The column reading is how the decisions are made, and every later structural argument in this subject is stated in it.
Figure
Matrix-vector multiplication as a combination of columns
The columns
What this reading answers that the row reading does not. The row computation gives the same
That is the question the rest of the course spends: feasibility asks whether
Definition
The action, the product, and the inverse
The canonical statement fixes
The column reading answers reachability; the entry reading answers arithmetic.
The product is composition, which is why it is not commutative.
Invertibility is a statement about the columns.
Example
The same product, both readings
Take
By rows. First entry:
By columns. The columns are
Same answer, as it must be.
What each shows. The row computation produces the number. The column computation shows that
Note the shapes.
Worked example
Order changes the answer
Problem. Let
Compute
Goal. Show that order matters, and say why rather than only that.
Relevant principle.
Step 1: compute
Reason: each column of the product is
Step 2: compute
Step 3: read the difference.
Reason: composition is not symmetric. Putting on socks then shoes is not putting on shoes then socks.
Result.
Check. Apply each to
Interpretation. With non-square matrices the asymmetry is starker still:
Non-example
Undefined products and rules that do not hold
Multiplying mismatched shapes. A
Assuming
Transposing without reversing.
Expecting every square matrix to be invertible.
Cancelling matrices. From
Reading
Contrast
Two readings of one product
| Row reading | Column reading | |
|---|---|---|
| Computes | One output entry at a time | The whole output at once |
| A list of dot products | A combination of | |
| Natural question | What is the answer? | What answers are reachable? |
| Makes visible | The arithmetic | Existence, span, basis |
| Used by | Hand computation | Every structural argument later |
Both are correct. They are the same sum, grouped differently. Neither is an approximation of the other.
Why the column reading earns its place. Solvability, bases, pivots and degeneracy are all questions about which vectors the columns can reach. Phrased in rows, each becomes a statement about a system of equations having a solution, true, but it hides the object doing the work.
A concrete case. If
When to reach for rows. When you need the number. The two readings cost the same arithmetic; only one of them tells you something while you do it.
Exercise
1: fully structured. Let
(a) Compute
Check: (a)
2: partly structured.
(a) Is
Check: (a) yes, inner dimensions are both
3: unstructured. An analyst is simplifying a derivation and writes: "Since
Identify every error and say what would have to be true for the final step to hold.
Check: three errors. First,
What to carry forward
A matrix acts.
Two readings, one answer. Rows give the arithmetic; columns give the structure. Solvability, span and bases are all column questions.
Shapes must meet.
Multiplication composes.
Transpose reverses.
Inverses are conditional. Only square matrices can have one, and only when their columns are independent.
No cancelling.
The recurring error. Treating matrix multiplication as commutative.