Exercises — Matrix operations — addition, subtraction (conditions)
This is a self-testing page for Matrix operations — addition, subtraction (conditions). Work each problem on paper first, then open its solution. The exercises climb from recognition (can you spot when addition is even legal?) up to mastery (can you chain every property together?).
Before we start, one reminder of the single rule that governs everything below:
Recall What must be true before you can add or subtract two matrices?
The two matrices must have the same order — the same number of rows and the same number of columns. Only then does every entry in one matrix has a partner in the other. See Matrix Notation and Terminology for what "order" means.
A quick picture of the whole idea — two grids can only combine if they line up cell-for-cell:

Notation used on this page
Everything here uses only symbols already built in the parent note. Just to be safe:
Level 1 — Recognition
Exercise 1.1 (L1)
For each pair, state whether is defined. If yes, give the order of the answer.
(a) is , is . (b) is , is . (c) is , is . (d) is , is .
Recall Solution 1.1
Addition is defined only when both orders are identical.
- (a) Both → ✓ defined, result is .
- (b) vs → ✗ undefined (rows and columns are swapped, not equal).
- (c) Both → ✓ defined, result is .
- (d) vs → ✗ undefined. A single row and a single column are not the same shape.
Exercise 1.2 (L1)
Given Without heavy computation, what is ? What special matrix is it?
Recall Solution 1.2
Every entry of is the sign-flip of the matching entry of , so . This is the zero matrix, and is the additive inverse of .
Level 2 — Application
Exercise 2.1 (L2)
Compute :
Recall Solution 2.1
Same order → defined. Add cell by cell:
Exercise 2.2 (L2)
Compute :
Recall Solution 2.2
Both → defined. Subtraction is "add the sign-flip", so : Watch the double-negatives: and .
Exercise 2.3 (L2)
With from Exercise 2.1, compute . Compare it to .
Recall Solution 2.3
Every entry of is the negative of : this is anti-commutativity, . Subtraction does not commute.
Level 3 — Analysis
Exercise 3.1 (L3)
Find scalars and so that
Recall Solution 3.1
Matrix equality means each cell must match. Read the two cells that contain unknowns:
- Cell : .
- Cell : .
(Check the other cells for consistency: ✓, ✓.) So . Notice this is really a tiny System of Linear Equations hidden inside one matrix equation.
Exercise 3.2 (L3)
Matrix is and matrix is . Is defined? Is it the same operation as "adding and "? Explain.
Recall Solution 3.2
- Defined? turns from into . Now and are both , so is defined.
- Same as ? No. is undefined to begin with ( vs ). More importantly, transposing changes the meaning of each entry: entry of ("row-item 1, col-item 2") lands at position of . So is a legitimate but different computation — it is not "the sum of and ". See Transpose of a Matrix.
Exercise 3.3 (L3)
Let . Find the matrix satisfying .
Recall Solution 3.3
We want the additive inverse: , obtained by flipping every sign. Check: ✓. Note , so the zero entry stays put.
Level 4 — Synthesis
Exercise 4.1 (L4)
Given compute . (Uses Scalar Multiplication of Matrices combined with addition.)
Recall Solution 4.1
Scale first, then add cell by cell:
Exercise 4.2 (L4)
Using from 4.1, verify the distributive law for .
Recall Solution 4.2
Left side: , so . Right side: , , so . Both sides equal ✓. They match because for every entry — the distributive law of ordinary numbers, applied cell by cell.
Exercise 4.3 (L4)
Solve for matrix : , using from 4.1.
Recall Solution 4.3
Treat it like ordinary algebra, but every step is a matrix operation:
- Add to both sides: .
- .
- Multiply by scalar : .
Check: ✓.
Level 5 — Mastery
Exercise 5.1 (L5)
Three shops record weekly units of two products. Monday's grid and Tuesday's grid are On Wednesday every shop returns the amount stored in (a loss). Find the net two-day total , and confirm the operation is defined.
Recall Solution 5.1
All three matrices are (same "shops × products" layout), so the whole expression is defined and stays . Add first: Subtract : Every cell keeps its meaning "that shop, that product", which is exactly why element-wise combining is valid here.
Exercise 5.2 (L5)
Prove, entry by entry, that for any three matrices, .
Recall Solution 5.2
All three share order , so every operation below is defined and produces an matrix; we only need to show the entries agree.
- Left side entry: .
- Right side entry: .
For ordinary real numbers, addition/subtraction is associative: . Since this holds in every cell , the two matrices are equal. ∎ This is the deep reason all matrix-addition laws work: they are just the number laws applied simultaneously to every entry.
Exercise 5.3 (L5)
Find all matrices with and .
Recall Solution 5.3
Write .
- , giving .
- Symmetry condition needs ; here ✓, so it is automatically satisfied.
Unique answer: .
Connections
- Matrix operations — addition, subtraction (conditions) — parent rules these exercises drill.
- Zero Matrix and Identity Matrix — the used in 1.2 and 3.3.
- Scalar Multiplication of Matrices — powers L4 and 5.3.
- Transpose of a Matrix — the trap in 3.2 and symmetry in 5.3.
- System of Linear Equations — hidden inside the matrix equations of L3–L4.
- Matrix Multiplication — the different operation students confuse with scaling.