Imagine a little shop that tracks sales in a spreadsheet: one row per product, one column per region. January's spreadsheet is a grid of numbers. So is February's. If your boss asks "how much did we sell in total, product by product, region by region?" you don't need anything clever — you just add the two spreadsheets cell by cell. January's North-region Widget sales plus February's North-region Widget sales gives the total North-region Widgets. That's it. That grid-of-numbers-added-cell-by-cell operation is exactly what mathematicians call matrix addition.
Nothing exotic is happening — no mixing rows with columns, no strange new rule to memorise. A matrix is just a rectangular table of numbers, and adding two matrices means adding whatever sits in the same box in each table. You already know how to do this; it just now has a name.
It's worth pausing on why this is the natural definition and not some other rule. A
matrix is really just several vectors stacked together — each row (or each column) of that
spreadsheet is a list of numbers, exactly like a
Matrices add the same friendly way vectors do — entry by entry. Line them up and add the numbers that share a position:
Because the entries must line up, you can only add matrices of the same size —
a
Step through the four positions below. Each move adds the two highlighted numbers to fill the matching cell of the answer. That's the whole operation — no surprises.
Let's do a full one by hand. Add
So
Back to the shop. Say it sells two products (Widgets, Gadgets) across three regions (North, South, East). January's and February's sales, as matrices, are:
Row 1 is Widgets, row 2 is Gadgets; column 1 is North, column 2 is South, column 3 is East. Adding the two spreadsheets entry by entry gives the two-month total, product by product and region by region:
Read that off in words: 230 Widgets sold in the North over the two months, 135 Gadgets sold in the East, and so on. Every real spreadsheet total you've ever computed by summing two ranges of cells was a matrix addition — you just didn't need the word for it.
Subtraction tells a different, equally useful story: it measures change. Compute
Addition gets more useful once you combine it with scalar multiplication. Suppose
Then subtract
This kind of expression — a scalar times one matrix, plus (or minus) a scalar times another — is called a linear combination of matrices. It looks fiddly the first time, but it's only ever two operations you already know, done in order: scale, then add.
These combinations show up constantly once you're looking for them. A shop planning next year
might compute
For matrices of the same size, addition behaves exactly like ordinary number addition:
Addition is the calm, well-behaved operation.
Suppose the shop wants a whole year's total sales, and the bookkeeper hands you twelve monthly matrices in a messy pile. Commutativity and associativity together say something genuinely useful: it does not matter which order you add them in, or which ones you group together first. Add January and February, then add March; or add November and December first and work backwards; or hand six matrices to one assistant and six to another and add the two half-year totals at the end — every path arrives at the same yearly total matrix. That's not obvious in every kind of maths (you'll meet operations later, including matrix multiplication, where order suddenly matters enormously) — so it's worth noticing that addition is the one place you can always take the easiest route.
The zero matrix plays its usual role too: it's the "nothing happened" matrix. Adding a month with
zero sales everywhere to any running total leaves that total exactly as it was — the matrix
equivalent of adding
You can check the grouping claim on tiny matrices, too. Let
It's a tempting shortcut: "my matrices are different sizes, so I'll just glue on some zero rows or
columns until they match, then add." Don't. Matrix addition is only defined
for two matrices of the exact same size — same number of rows, same number of columns. If
Because
Every time photo-editing software blends two images — a double exposure, a "screen" or "lighten"
blend mode, compositing a character over a background — it is treating each image as a matrix of
pixel brightness values and combining them with (scaled) matrix addition, one pixel at a time. A
video call that shows your face over a virtual background is doing the same thing thirty or sixty
times a second, one new matrix addition per frame. And every time a spreadsheet program sums two
ranges of cells with =A1:C2 + D1:F2, it's running matrix addition under the hood —
you've almost certainly triggered this exact operation without ever calling it that.