Matrices as Operators
A matrix is best understood by what it does: applied to a vector it returns a linear combination of its own columns, weighted by that vector's entries. Reading
Definition
An
a linear combination of the columns weighted by the entries of
Formal statement
Assumptions and scope
The product
requires the inner dimensions to agree: is andis . Mismatched shapes make the product undefined rather than zero.Matrix multiplication is not commutative.
and may differ, may have different shapes, and one may be defined while the other is not. Only a square matrix can be invertible, and not every square matrix is. Whether an inverse exists is settled by the independence of the columns, which the independence unit establishes.
lives in while lives in . The action moves between spaces unless the matrix is square. Transposing reverses a product:
. The order flips, which is a frequent source of error in derivations.
Worked material
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.
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.
Common errors
Common misconception
Matrix multiplication works like multiplication of numbers, so
Common misconception
Whether a matrix product is defined is something you find out by trying it: if the arithmetic runs out of entries you transpose something until the shapes agree.
Related units
Requires
Connected
- Linear Independence, Rank, and Bases (part of)
- Solving and Characterising Linear Systems (suggested next)