Matrix Basics
A matrix is a rectangular array of numbers representing data like sales, costs, or transitions.
Dimension is written as ( rows, columns). The entry sits in row , column . Order is always rows first.
Common pitfall: Reading column-first. Mixing this up silently transposes every calculation that follows.
| Operation | Requirement | Result |
|---|---|---|
| Same dimension | Entrywise sum | |
| None | Every entry scaled | |
| None | Rows become columns |
Addition & Scaling
Matrix addition works entry by entry, and only between matrices of the same dimension: . Adding a to a is as meaningless as adding a price list to a staff roster.
Scalar multiplication rescales every entry at once: . A 10% price rise is .
Properties: Addition is commutative (), associative, has a zero matrix, and scalars distribute: .
The payoff is compression: one symbol carries a whole spreadsheet, and one equation performs hundreds of operations in a single conceptual move.