Algebra of matrices

At a Glance

Why This Chapter Matters

All five appearances are short, marks-efficient questions in Section A (compulsory or part of Section A optional). The two matrix-power questions reward knowing two algebraic patterns — nilpotency and cyclicity — that let you collapse a high power to something trivial without diagonalising. The trace identity question is a 3-minute proof that shows up as a stepping stone to the “commutator ≠ identity” result. None of these require deep theory; they reward systematic computation and pattern recognition.

Minimum Theory

Matrix powers. There are two key patterns: (i) Nilpotent: Ak=OA^k = O for some k≥1k \ge 1 (the index). Once you establish Am=OA^m = O, every higher power is also OO. (ii) Cyclic of order nn: An=IA^n = I. Powers cycle with period nn, so Akn+r=ArA^{kn+r} = A^r.

Nilpotency test. Compute A2A^2, then A3=A⋅A2A^3 = A \cdot A^2, etc., until you reach OO. If AA is n×nn \times n and nilpotent, An=OA^n = O (Cayley–Hamilton). If you suspect nilpotency: check tr⁡(A)=0\operatorname{tr}(A) = 0, det⁡A=0\det A = 0, tr⁡(A2)=0\operatorname{tr}(A^2) = 0. These are necessary conditions only; the actual index requires computation.

Trace formula. For n×nn \times n matrices AA and BB: tr⁡(AB)=∑i=1n∑k=1naikbki=tr⁡(BA).\operatorname{tr}(AB) = \sum_{i=1}^n \sum_{k=1}^n a_{ik} b_{ki} = \operatorname{tr}(BA). The key consequence: the commutator [A,B]=AB−BA[A,B] = AB - BA is always traceless (tr⁡(AB−BA)=0\operatorname{tr}(AB - BA) = 0), so AB−BA≠cIAB - BA \ne cI for any nonzero scalar cc.

Determinant limit (multilinearity). det⁡\det is linear in each row. If row 1 of Δ(x)\Delta(x) expands as row 1(0) + x⋅x \cdot(something) + O(x2)O(x^2), then: Δ(x)=det⁡(row 1(0),R2,R3)+x⋅det⁡(something,R2,R3)+O(x2).\Delta(x) = \det(\text{row 1(0)}, R_2, R_3) + x \cdot \det(\text{something}, R_2, R_3) + O(x^2). If row 1(0) = R2R_2 (identical to row 2), the first determinant is 0; if “something” = R3R_3, the second is also 0 — giving Δ(x)=O(x2)\Delta(x) = O(x^2) and lim⁡x→0Δ(x)/x=0\lim_{x\to0}\Delta(x)/x = 0.

Nilpotent matrix: powers cascade to O. Cyclic matrix (order 3): powers cycle with A^3=I. Trace identity at the bottom.

Question Archetypes

ArchetypeRecognition cue
matrix-power”Find AnA^n for large nn”; matrix with repeat behaviour
matrix-identity-verification”Show A2=A−1A^2 = A^{-1}” or "Ak=IA^k = I" without finding A−1A^{-1}
determinant-limitlim⁡x→0Δ(x)/x\lim_{x\to0} \Delta(x)/x where Δ(0)=0\Delta(0) = 0 (two identical rows)
trace-property”Prove tr⁡(AB)=tr⁡(BA)\operatorname{tr}(AB) = \operatorname{tr}(BA); hence AB−BA≠IAB - BA \ne I“

matrix-power (2 questions; 2015, 2016)

Recognition Cues

Solution Template

  1. Compute A2A^2, A3A^3. Look for Ak=OA^k = O (nilpotent) or Ak=IA^k = I (cyclic) or a stable block structure.
  2. If nilpotent: state the index kk explicitly; conclude An=OA^n = O for all n≥kn \ge k.
  3. If parity pattern: tabulate small powers, identify the even/odd formula, prove by induction (one step).
  4. Apply to the target nn.

Worked Example(s)

2016 Paper 1, 2016-P1-Q1a-ii (4 marks)

If A=(113526−2−1−3)A = \begin{pmatrix}1 & 1 & 3 \\ 5 & 2 & 6 \\ -2 & -1 & -3\end{pmatrix}, find A14+3A−2IA^{14} + 3A - 2I.

Nilpotency check. tr⁡(A)=1+2−3=0\operatorname{tr}(A) = 1+2-3 = 0. Compute A2A^2: numerically gives a nonzero matrix. Compute A3=A⋅A2=OA^3 = A \cdot A^2 = O.

So AA is nilpotent of index 3. For n≥3n \ge 3, An=OA^n = O. In particular, A14=OA^{14} = O.

A14+3A−2I=O+3A−2I=3A−2I=(13915418−6−3−11).A^{14} + 3A - 2I = O + 3A - 2I = 3A - 2I = \begin{pmatrix}1 & 3 & 9 \\ 15 & 4 & 18 \\ -6 & -3 & -11\end{pmatrix}.


2015 Paper 1, 2015-P1-Q2a (12 marks)

Find A30A^{30} for A=(100101010)A = \begin{pmatrix}1 & 0 & 0 \\ 1 & 0 & 1 \\ 0 & 1 & 0\end{pmatrix}.

Compute small powers: A2=(100110101),A3=(100201110),A4=(100210201).A^2 = \begin{pmatrix}1 & 0 & 0 \\ 1 & 1 & 0 \\ 1 & 0 & 1\end{pmatrix}, \quad A^3 = \begin{pmatrix}1 & 0 & 0 \\ 2 & 0 & 1 \\ 1 & 1 & 0\end{pmatrix}, \quad A^4 = \begin{pmatrix}1 & 0 & 0 \\ 2 & 1 & 0 \\ 2 & 0 & 1\end{pmatrix}.

Pattern (by parity). For even n=2kn = 2k: A2k=(100k10k01).A^{2k} = \begin{pmatrix}1 & 0 & 0 \\ k & 1 & 0 \\ k & 0 & 1\end{pmatrix}. Check: A2A^2 (k=1k=1) ✓; A4A^4 (k=2k=2) ✓.

Inductive step. If the formula holds for n=2kn=2k, then A2k+2=A2k⋅A2A^{2k+2} = A^{2k} \cdot A^2: row 2 gives k+1k+1 in position (2,1), row 3 gives k+1k+1 in position (3,1). ✓

Apply n=30n=30, k=15k=15: A30=(10015101501).\boxed{A^{30} = \begin{pmatrix}1 & 0 & 0 \\ 15 & 1 & 0 \\ 15 & 0 & 1\end{pmatrix}.}

Common Traps


matrix-identity-verification (1 question; 2021)

Recognition Cues

Solution Template

  1. Restate as a power identity: A2=A−1⇔A3=IA^2 = A^{-1} \Leftrightarrow A^3 = I.
  2. Compute A2A^2, then A3=A⋅A2A^3 = A \cdot A^2. Verify A3=IA^3 = I directly.
  3. Conclude: A⋅A2=I⇒A2=A−1A \cdot A^2 = I \Rightarrow A^2 = A^{-1}.

Worked Example

2021 Paper 1, 2021-P1-Q1a (10 marks)

Show A2=A−1A^2 = A^{-1} (without computing A−1A^{-1}) for A=(1−112−10100)A = \begin{pmatrix}1 & -1 & 1 \\ 2 & -1 & 0 \\ 1 & 0 & 0\end{pmatrix}.

A2=A⋅AA^2 = A \cdot A; row-by-row multiplication gives A2=(0010−121−11)A^2 = \begin{pmatrix}0 & 0 & 1 \\ 0 & -1 & 2 \\ 1 & -1 & 1\end{pmatrix}.

Then A3=A⋅A2A^3 = A \cdot A^2:

A3=IA^3 = I. Therefore A⋅A2=IA \cdot A^2 = I, so A2=A−1A^2 = A^{-1}. □\square

Common Traps


determinant-limit (1 question; 2021)

Recognition Cues

Solution Template

  1. Identify the xx-dependent row. Write f(x+kα)=f(kα)+xf′(kα)+O(x2)f(x+k\alpha) = f(k\alpha) + x f'(k\alpha) + O(x^2) by Taylor expansion.
  2. Decompose using multilinearity: Δ(x)=Δ0+xΔ1+O(x2)\Delta(x) = \Delta_0 + x \Delta_1 + O(x^2), where Δ0\Delta_0 and Δ1\Delta_1 are determinants with the expanded row replaced by its leading/next terms.
  3. Check for identical rows in Δ0\Delta_0 and Δ1\Delta_1. If both are 0, then Δ(x)=O(x2)\Delta(x) = O(x^2) and the limit is 0.

Worked Example

2021 Paper 1, 2021-P1-Q1c (10 marks)

Δ(x)=∣f(x+α)f(x+2α)f(x+3α)f(α)f(2α)f(3α)f′(α)f′(2α)f′(3α)∣\Delta(x) = \begin{vmatrix}f(x+\alpha) & f(x+2\alpha) & f(x+3\alpha) \\ f(\alpha) & f(2\alpha) & f(3\alpha) \\ f'(\alpha) & f'(2\alpha) & f'(3\alpha)\end{vmatrix}. Find lim⁡x→0Δ(x)/x\lim_{x\to0}\Delta(x)/x.

Taylor expansion of row 1: f(x+kα)=f(kα)+xf′(kα)+O(x2)f(x+k\alpha) = f(k\alpha) + x f'(k\alpha) + O(x^2).

So row 1 == row 2 +x⋅+ x \cdot row 3 +O(x2)+ O(x^2).

By multilinearity in row 1: Δ(x)=det⁡(row 2,row 2,row 3)⏟=0+x⋅det⁡(row 3,row 2,row 3)⏟=0+O(x2)=O(x2).\Delta(x) = \underbrace{\det(\text{row 2}, \text{row 2}, \text{row 3})}_{=0} + x \cdot \underbrace{\det(\text{row 3}, \text{row 2}, \text{row 3})}_{=0} + O(x^2) = O(x^2).

Both determinants are 0 because they each have two identical rows. Therefore Δ(x)/x→0\Delta(x)/x \to 0.

lim⁡x→0Δ(x)x=0.\boxed{\lim_{x\to0}\frac{\Delta(x)}{x} = 0.}

Common Traps


trace-property (1 question; 2021)

Recognition Cues

Solution Template

  1. Prove tr⁡(AB)=tr⁡(BA)\operatorname{tr}(AB) = \operatorname{tr}(BA) via (AB)ii=∑kaikbki(AB)_{ii} = \sum_k a_{ik}b_{ki}; swap dummy indices.
  2. Apply: tr⁡(AB−BA)=tr⁡(AB)−tr⁡(BA)=0\operatorname{tr}(AB - BA) = \operatorname{tr}(AB) - \operatorname{tr}(BA) = 0, but tr⁡(In)=n≠0\operatorname{tr}(I_n) = n \ne 0. Contradiction.

Worked Example

2021 Paper 1, 2021-P1-Q3c-ii (7 marks)

Show tr⁡(AB)=tr⁡(BA)\operatorname{tr}(AB) = \operatorname{tr}(BA); hence AB−BA≠I2AB - BA \ne I_2.

Step 1. (AB)ii=∑kaikbki(AB)_{ii} = \sum_k a_{ik} b_{ki}, so tr⁡(AB)=∑i∑kaikbki\operatorname{tr}(AB) = \sum_i\sum_k a_{ik} b_{ki}. Swap indices i↔ki \leftrightarrow k: =∑k∑iakibik=tr⁡(BA)= \sum_k\sum_i a_{ki}b_{ik} = \operatorname{tr}(BA). ✓

Step 2. If AB−BA=I2AB - BA = I_2, then tr⁡(AB−BA)=tr⁡(I2)=2\operatorname{tr}(AB - BA) = \operatorname{tr}(I_2) = 2. But tr⁡(AB−BA)=tr⁡(AB)−tr⁡(BA)=0\operatorname{tr}(AB - BA) = \operatorname{tr}(AB) - \operatorname{tr}(BA) = 0. Contradiction. Hence AB−BA≠I2AB - BA \ne I_2.

Common Traps

Marks-Aware Writing

4-mark nilpotent question: Two lines suffice: compute A3=OA^3 = O (show the computation, or state it is easily verified), then write A14=(A3)4A2=OA^{14} = (A^3)^4 A^2 = O, giving the final expression.

12-mark pattern question: Tabulate A2A^2, A3A^3, A4A^4 explicitly; state the parity formula; prove it by one inductive step; apply. Show each matrix product.

7-mark trace question: Two clearly labelled parts. Part 1: the index-swap computation (3 lines). Part 2: the contradiction argument (2 lines). Total 5–6 lines of clean algebra.

Practice Set

Ready to drill what you just read?

Daily Practice turns these patterns into one adaptive set a day — practised daily until they're automatic, free for everyone.

See Daily Practice →

This chapter is part of the Maths Coverage Map — 14 years, mapped. Get the take-away PDF free.