Worked examples — Matrix operations — addition, subtraction (conditions)
This page is the drill hall for matrix addition and subtraction. The parent note built the rule: two matrices combine element-by-element, and only if they have the same order (same number of rows and same number of columns). Here we throw every kind of situation at that rule so you never meet a surprise in an exam.
Before we start, one reminder built from zero: a matrix like is just a rectangle of numbers. The little label means "the number sitting in row , column ". So is the number in the 2nd row, 3rd column. When we "add corresponding entries", we mean: the number in slot (2,3) of plus the number in slot (2,3) of lands in slot (2,3) of the answer. See Matrix Notation and Terminology if that indexing feels shaky.
The scenario matrix
Every problem this topic can throw at you falls into one of these cells. The rest of the page works an example for each.
| Cell | Scenario | What it tests |
|---|---|---|
| C1 | Mixed signs, valid order | element-wise arithmetic with negatives |
| C2 | Invalid order (mismatch) | recognising "undefined" |
| C3 | Zero matrix | additive identity |
| C4 | Additive inverse | |
| C5 | Degenerate shapes (row vector, column vector, ) | rule still holds for thin matrices |
| C6 | Order sensitivity of subtraction | vs (anti-commutativity) |
| C7 | Transpose trap | undefined but defined — different meaning |
| C8 | Solve-for-unknown / equation | using addition rules backwards |
| C9 | Real-world word problem | reading structure from context |
| C10 | Combined with a scalar (exam twist) | , distributivity |
C1 · Mixed signs, valid order
Forecast: cover the answer and guess the top-left entry. (It's .)
- Check order. Why this step? Addition is only defined for identical orders — the very first thing to test, always. Both are . ✓ Defined.
- Add slot by slot. Why this step? By definition , so each answer entry only ever looks at the same slot in each matrix.
- Watch the sign rules. Why this step? Adding a negative is subtracting; , . The most common slip is here, not in the layout.
Verify: Add in the other order : , , , — identical, as commutativity promises.
C2 · Invalid order — the answer is a word
Forecast: both have three numbers — tempting, right?
- Read the orders. Why this step? Never count elements; count shape. is (one row, three columns). is (three rows, one column).
- Compare. Why this step? Addition needs and to match. Here . ✗
- State the result. is undefined. There is no slot in (it has only one column), and no slot in (it has only one row).
Verify: Total element count agrees () yet the operation still fails — proof that "same count" is a trap. This is exactly Mistake 1 from the parent note.
C3 · The zero matrix (additive identity)
Forecast: guess before reading.
- Order check. Why this step? must be the same order to be the identity here — the zero matrix comes in every size (see Zero Matrix and Identity Matrix).
- Add. Why this step? for every real number, so nothing changes.
Verify: Result equals entry-for-entry. is the additive identity, mirroring how behaves for ordinary numbers.
C4 · The additive inverse
Forecast: what should the sum be?
- Negate every entry. Why this step? — flip the sign of each slot (this is scalar multiplication by , see Scalar Multiplication of Matrices).
- Add. Why this step? for every slot, so we should land on the zero matrix.
Verify: Every entry is . This is why : subtraction is just adding the inverse.
C5 · Degenerate shapes (thin matrices)
Forecast: does the rule change for skinny matrices? (It doesn't.)
- (a) Two rows. Why this step? Same order → element-wise. .
- (b) Two columns. Why this step? Subtract each slot. .
- (c) Two matrices. Why this step? A matrix is one number wearing a box — addition collapses to ordinary arithmetic: , i.e. .
Verify: (a) middle entry ; (b) bottom ; (c) . All consistent — the rule scales down cleanly to vectors and scalars.
C6 · Order sensitivity of subtraction
Forecast: are they equal? Opposite? Unrelated?
- Compute . Why this step? .
- Compute . Why this step? Swap roles; each entry flips sign because .
- Compare. Why this step? Notice : every sign is opposite. Subtraction is anti-commutative, unlike addition.
Verify: Add the two results: should give . , , , . ✓
C7 · The transpose trap (two figures)
Forecast: which one works, and does transposing "fix" the problem or change the question?
The picture below shows why fails: the grids don't overlap.

- Test . Why this step? vs — mismatch → undefined (cell C2 all over again).
- Transpose . Why this step? The transpose swaps rows and columns: (see Transpose of a Matrix). So becomes and the sizes now match.
- Add. Why this step? Now defined:
The next figure shows the transpose reshaping so its slots line up with .

Verify: Entry : . ✓
C8 · Solve for an unknown matrix
Forecast: what tool undoes " a matrix"?
- Subtract the known matrix from both sides. Why this step? Just like numbers: to isolate , add the additive inverse of the constant matrix. Every entry obeys ordinary algebra.
- Element-wise subtraction. Why this step? Valid — both .
Verify: Plug back: . ✓ Matches the right side.
C9 · Real-world word problem
Forecast: which operation is "total", which is "difference"?
- Confirm structure matches. Why this step? Both are shop×product with identical meaning per slot — the semantic alignment the parent note demands. ✓
- Total = . Why this step? Combining the same relationship across two months → add.
- Difference = . Why this step? "How many more in Feb" = February minus January, entry by entry. Read it: Shop 1 Product 1 sold 8 fewer in February (negative = a drop), Shop 1 Product 2 sold 3 more, and so on.
Verify: Total's top-left ✓. Difference's bottom-right ✓, and summed the same slots that differenced — consistent structure.
C10 · Exam twist — scalar-weighted combination
Forecast: do we scale first or add first? (Scale first — it distributes over each entry.)
- Scale each matrix. Why this step? multiplies every entry by (Scalar Multiplication of Matrices); this must happen before we combine.
- Subtract element-wise. Why this step? Both scaled matrices are still → subtraction defined.
Verify: Slot : . ✓ Doing the scalars and the subtraction in one shot gives the same number — that's the distributive law .
[!recall]- Quick self-test
What single check comes first in every add/subtract problem?
Is the same as ?
What is in terms of ?
For , do you scale before or after combining?
Connections
- Matrix operations — addition, subtraction (conditions) — the parent rule these examples drill.
- Matrix Notation and Terminology — the slot indexing used throughout.
- Zero Matrix and Identity Matrix — cell C3's additive identity .
- Scalar Multiplication of Matrices — cells C4 and C10.
- Transpose of a Matrix — cell C7's reshaping trap.
- Matrix Multiplication — contrast: it needs a different size condition.
- System of Linear Equations — the word-problem style of cell C9.