Matrix Operations
A matrix is a rectangular array of numbers. An m×n matrix has m rows and n columns. In 9231, you work primarily with 2×2 and 3×3 square matrices.
Addition and Scalar Multiplication
These are elementwise — only matrices of the same size can be added.
Matrix Multiplication
The row × column rule: the (i,j) entry of AB is the dot product of row i of A with column j of B. A must be m×n and B must be n×p — the inner dimensions must match.
In general, AB ≠ BA. Always preserve the order. When proving Mᵏ⁺¹ = Mᵏ · M in induction, write it this way — do not swap the order.
Special Matrices
AI = IA = A for any compatible matrix A.
Note: AB = O does not imply A = O or B = O (unlike real numbers).
Key property: (AB)ᵀ = BᵀAᵀ — note the reversal of order.
Key Algebraic Properties
| Property | Holds? | Note |
|---|---|---|
| A(B+C) = AB + AC | ✓ Yes | Distributivity holds |
| AB = BA | ✗ Generally No | Commutativity fails |
| (AB)C = A(BC) | ✓ Yes | Associativity holds |
| AB = AC ⟹ B = C | ✗ Not always | Cancellation fails if det(A) = 0 |
| (AB)⁻¹ = B⁻¹A⁻¹ | ✓ Yes | Order reverses — crucial for solving |
| (Aⁿ)ᵀ = (Aᵀ)ⁿ | ✓ Yes | Powers and transpose commute |
Determinants
The determinant is a scalar that encodes key geometric and algebraic information about a matrix. A matrix is invertible if and only if its determinant is non-zero.
2×2 Determinant
3×3 Determinant — Cofactor Expansion
Expand along any row or column. Expanding along row 1 is standard:
The cofactor Cᵢⱼ = (−1)ⁱ⁺ʲ × (minor). The sign grid for a 3×3 matrix is:
− + −
+ − +
Choose the row/column with the most zeros — expansion becomes trivial.
Key Properties of Determinants
| Property | Formula |
|---|---|
| Product rule | det(AB) = det(A) · det(B) |
| Transpose | det(Aᵀ) = det(A) |
| Scalar multiple | det(kA) = kⁿ det(A) for n×n matrix |
| Inverse | det(A⁻¹) = 1 / det(A) |
| Power | det(Aⁿ) = [det(A)]ⁿ |
| Row swap | Swapping two rows negates the determinant |
| Identical rows | det = 0 if any two rows (or columns) are identical |
| Singular matrix | det(A) = 0 ⟺ A is singular (not invertible) |
|[[3,2],[1,4]]| = 3·4 − 2·1 = 10
|[[3,0],[1,−2]]| = 3·(−2) − 0·1 = −6
Matrix Inverses
The inverse A⁻¹ satisfies AA⁻¹ = A⁻¹A = I. It exists if and only if det(A) ≠ 0.
2×2 Inverse — Direct Formula
For A = [[a,b],[c,d]] with det(A) = ad−bc ≠ 0:
3×3 Inverse — Adjugate Method
⚠ Always verify: check A · A⁻¹ = I for at least one row.
= 2(5) − 1(2) = 10 − 2 = 8
C₂₁ = −(1·2−0·1) = −2 C₂₂ = +(2·2−0·0) = 4 C₂₃ = −(2·1−1·0) = −2
C₃₁ = +(1·1−0·3) = 1 C₃₂ = −(2·1−0·1) = −2 C₃₃ = +(2·3−1·1) = 5
adj(A) = [[5,−2,1],[−2,4,−2],[1,−2,5]]
Important Inverse Properties
Solving Linear Systems
A system of n linear equations in n unknowns can be written as Ax = b where A is the coefficient matrix, x is the column of unknowns, and b is the column of constants.
Solution by Inverse
Three Cases — Determined by det(A)
| det(A) | Geometric Interpretation (3×3) | Number of Solutions |
|---|---|---|
| ≠ 0 | Three planes meet at a single point | Unique solution |
| = 0 | Planes meet along a line (sheaf) or are consistent but not independent | Infinitely many solutions |
| = 0 | Planes form a triangular prism, or two/three are parallel | No solution (inconsistent) |
When det(A) = 0, Cambridge asks you to determine whether the system is consistent (infinitely many solutions) or inconsistent (no solution). The method is to use row reduction or to substitute and check for contradiction. A common question gives a parameter λ and asks for the value making the system singular, then investigates consistency at that λ.
(i) Find the value of λ for which the system does not have a unique solution.
(ii) For this value of λ, determine whether solutions exist.
= 2λ−3 − 2 + 2−λ = λ − 3
det(A) = 0 when
Row 2 − 2×Row 1: −y+z = −1
Row 3 − Row 1: −y+z = −1 ✓ (same equation — consistent)
Let z=t: y=t+1, x=4−2(t+1)−t=2−3t
Linear Transformations
A 2×2 matrix M represents a linear transformation of ℝ². The image of a point (x, y) is found by multiplying: M · [[x],[y]].
Standard 2×2 Transformation Matrices
| Transformation | Matrix | det | Effect on Area |
|---|---|---|---|
| Reflection in x-axis | [[1,0],[0,−1]] | −1 | Preserves area, reverses orientation |
| Reflection in y-axis | [[−1,0],[0,1]] | −1 | Preserves area, reverses orientation |
| Reflection in y=x | [[0,1],[1,0]] | −1 | Preserves area, reverses orientation |
| Reflection in y=−x | [[0,−1],[−1,0]] | −1 | Preserves area, reverses orientation |
| Rotation by θ anticlockwise | [[cosθ,−sinθ],[sinθ,cosθ]] | 1 | Preserves area and orientation |
| Enlargement scale factor k | [[k,0],[0,k]] | k² | Area scaled by k² |
| Stretch parallel to x-axis | [[k,0],[0,1]] | k | Area scaled by k |
| Shear parallel to x-axis | [[1,k],[0,1]] | 1 | Preserves area |
- |det(M)| gives the scale factor for areas. A unit square maps to a parallelogram of area |det(M)|.
- det(M) < 0 means the transformation includes a reflection (orientation is reversed).
- det(M) = 0 means the transformation collapses 2D space to a line or point — not invertible.
- To find the image of a shape, transform each vertex and then join the images.
- To find the transformation given image and pre-image, use the two equations M·v₁ = w₁ and M·v₂ = w₂.
Composition of Transformations
Applying transformation A followed by transformation B gives the combined matrix BA (note order — B is applied second but written first).
det(M) = 6+1 = 7. Image area = 3·7 = 21. ✓
Worked Examples
X = [[2,−1],[−5,3]]·[[7,2],[11,3]]
= [[14−11, 4−3],[−35+33, −10+9]]
= k³ − 2k + 4
Try k = −2: −8+4+4 = 0 ✓
Factor: (k+2)(k²−2k+2) = 0
k²−2k+2 = 0 has discriminant 4−8 = −4 < 0 (no real roots)
S = [[1,0],[0,−1]]
= [[0,−1],[−1,0]]
Test: (1,0) → (0,−1); (0,1) → (−1,0). This is reflection in y = −x.
Practice Questions
det = 3·|[[1,4],[2,3]]| − 0 + (−1)·|[[2,1],[−1,2]]|
= 3(3−8) − 1(4+1)
= 3(−5) − 5
P⁻¹ = (1/−1)·[[2,−3],[−3,4]] = [[−2,3],[3,−4]]
x = P⁻¹Q = [[−2,3],[3,−4]]·[[5],[1]] = [[−10+3],[15−4]]
= 8−2λ − 2λ+λ³ + 1−2λ
= λ³ − 6λ + 9... [re-expand carefully]
det = 2(4−λ) − λ(2−λ²) + 1(1−2λ)
= 8−2λ − 2λ+λ³ + 1−2λ
= λ³ − 6λ + 9
Wait — recheck: 8+1=9, −2λ−2λ−2λ=−6λ ✓
Set λ³−6λ+9 = ... try λ=−3: −27+18+9=0 ✓
Factor: (λ+3)(λ²−3λ+3)=0
Discriminant of quadratic: 9−12=−3<0 (no real roots)
(i) Find the image of the point (3, −1) under T.
(ii) The unit square has vertices O(0,0), A(1,0), B(1,1), C(0,1). Find the area of the image parallelogram.
(ii) det(M) = 6−(−1) = 7. Area = |7|×1 =
Interactive Matrix Calculator
Enter matrix entries and choose an operation. All steps are shown.
Formula Sheet — Matrices
- Determinant with parameter: Expand fully, set = 0, solve the resulting polynomial. Always try simple integer values first (Factor Theorem).
- Singular system: After finding λ, substitute back and row-reduce to determine consistency. Cambridge expects a geometric interpretation (line of intersection, or contradiction).
- 3×3 inverse: If the question says "hence solve", use A⁻¹b directly — do not row-reduce again. Show at least one verification entry.
- Transformation questions: The image of the standard basis vectors are the columns of M — use this to find M quickly.
- Matrix equations: Always pre-multiply or post-multiply by the inverse on the correct side — AB ≠ BA so side matters.
- Area/volume: Area scale = |det|. For 3D (if asked), volume scale = |det| for a 3×3 transformation.