Foundations — Matrix multiplication — definition, associativity, non-commutativity
Before you can read the parent note, you need to own a handful of symbols. This page builds each one from nothing: plain words first, then a picture, then why the topic can't live without it. We go in dependency order — each idea leans only on the ones above it.
1. Numbers in a box — what a matrix even is
Plain words: a matrix is just a table of numbers, nothing more mysterious than a spreadsheet. The magic is what we later do with it.
The picture below shows the same grid with its rows and columns coloured — burn this layout into your eyes, because every later rule is "grab a row, grab a column".
Why the topic needs it: the whole parent note is about combining these grids. If you can't point at "row 2" and "column 1" instantly, the row·column rule will feel like magic instead of geography.
2. Naming a single number inside — the subscript
For the matrix :
- (row 1, column 1),
- (row 1, column 2),
- (row 2, column 1),
- (row 2, column 2).
Why the topic needs it: the master formula is entirely made of these addresses. If is fuzzy, that formula is unreadable.
3. The two shape numbers —
- is : two rows, three columns.
- A single column is .
Why the topic needs it: shape mismatch is the #1 reason a product doesn't exist, and unequal shapes are reason 1 the parent gives for non-commutativity ( can be while is ).
4. A vector — the thing a matrix acts on
Here and are the vector's components — its individual coordinate numbers. The subscript is now just position-in-the-list (there's only one column, so no need for a second index).
Why the topic needs it: the parent defines the product by demanding for every vector . Without knowing is a grabbable arrow, the phrase "matrices are machines that move vectors" has nothing to move. See Linear Transformations for the full "machine" story.
5. The dot product — one number from two lists
Worked in the flesh: .
Why the topic needs it: the parent's headline is " row of dotted with column of ." Every single entry of every product is one dot product. See Dot Product for its geometric meaning (length and angle).
6. The summation sign — shorthand for "add these up"
Plain words: is just a loop that totals things. The letter under it ( here) is a throwaway counter — it appears only inside and vanishes from the answer. Notice this is literally the dot product from §5 written with a loop instead of "".
Why the topic needs it: the entire definition, the associativity proof, and the double sums are written in . It's the language the whole page speaks.
7. Special matrices you'll meet
8. Symbols that appear later (so nothing surprises you)
You don't need to compute these yet — just recognise the symbols when the parent uses them. Powers like and diagonalization live in Matrix Powers and Diagonalization.
How these feed the topic
Read it top-down: the plain grid gives you addresses and sizes; addresses + sizes + the sum sign build the dot product; the dot product plus "a matrix moves a vector" build the product rule; and the product rule branches into the two big theorems — associativity and non-commutativity — of the parent topic.
Equipment checklist
Cover the right side and test yourself — if any answer is fuzzy, reread its section.
In , which subscript is the row?
What does " is " tell you?
Compute .
What does expand to?
What is a vector, geometrically?
Which dimensions must match to multiply (size ) by ?
What does the identity matrix do to any vector?
What does the commutator equal, and what does zero mean?
Why is called the reference for commuting?
Connections
- Matrix multiplication — definition, associativity, non-commutativity — the parent this page equips you for.
- Linear Transformations — the "matrix = machine that moves vectors" picture in full.
- Dot Product — the multiply-and-add operation each entry uses.
- Identity and Inverse Matrices — , , and why order reverses.
- Transpose — the flip symbol .
- Determinants — the stretch-factor number .
- Matrix Powers and Diagonalization — powers and commuting matrices.