The math optional, made finite. Daily Practice

Matrix of a linear transformation

At a Glance

Why This Chapter Matters

Matrix representations appear in 8 of the last 13 years, almost exclusively in Section A. Seven of the ten questions ask you to find the matrix of a linear map — the most mechanical of all linear algebra tasks. The single non-obvious step is expressing each image in the codomain basis. Every other step is substitution and bookkeeping. The 2016 and 2023 questions add a layer (recovering the map, change of basis), but the underlying procedure is the same.

Minimum Theory

Matrix of TT in bases BB and CC. Let T:VWT:V\to W, domain basis B={b1,,bn}B=\{b_1,\ldots,b_n\}, codomain basis C={c1,,cm}C=\{c_1,\ldots,c_m\}. The matrix [T]B,C[T]_{B,C} is the m×nm\times n matrix whose jj-th column is the CC-coordinate vector of T(bj)T(b_j): [T]B,C=[[T(b1)]C    [T(b2)]C        [T(bn)]C].[T]_{B,C}=\bigl[[T(b_1)]_C\;\big|\;[T(b_2)]_C\;\big|\;\cdots\;\big|\;[T(b_n)]_C\bigr].

Procedure:

  1. For each domain basis vector bjb_j, compute T(bj)T(b_j) in the standard/ambient space.
  2. Express T(bj)=iaijciT(b_j)=\sum_i a_{ij}c_i (solve for the CC-coordinates).
  3. Column jj of the matrix is (a1j,a2j,,amj)T(a_{1j},a_{2j},\ldots,a_{mj})^T.

Change of basis. If [T]E[T]_E is the matrix in the standard basis EE and PP is the matrix whose columns are the new basis vectors bjb_j (expressed in EE), then: [T]B=P1[T]EP.[T]_B=P^{-1}[T]_E P.

Recovering TT from a matrix. If A=[T]B,CA=[T]_{B,C}, then the jj-th column of AA holds the CC-coordinates of T(bj)T(b_j). Decode: T(bj)=iAijciT(b_j)=\sum_i A_{ij}c_i. Then use linearity to find TT on all inputs.

Question Archetypes

Four patterns cover all questions.

ArchetypeYou are seeing this when…
matrix-in-basesfind the matrix of TT relative to given (possibly non-standard) bases
change-of-basisgiven matrix in standard basis; find it in a new basis via P1[T]PP^{-1}[T]P
recover-map-from-actiongiven TT on a set of vectors; find the general formula T(x)T(x)
recover-map-from-matrixgiven the matrix in two non-standard bases; find the explicit map TT

matrix-in-bases (7 question(s); 2013, 2015, 2016, 2019, 2021, 2024)

Recognition Cues

Solution Template

  1. For each domain basis vector bjb_j, apply TT explicitly.
  2. Write T(bj)T(b_j) in terms of codomain basis CC: solve for coefficients aija_{ij}.
    • If CC is the standard basis: coordinates are simply the coefficients.
    • If CC is non-standard: solve a linear system aijci=T(bj)\sum a_{ij}c_i=T(b_j).
  3. Assemble: column jj = (a1j,,amj)T(a_{1j},\ldots,a_{mj})^T.
  4. Find the null space by solving [T]x=0[T]x=0 (if asked).

Worked Example(s)

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

Matrix of T(a,b,c)=(a+b,ab,2c)T(a,b,c)=(a+b,a-b,2c) in basis B={(0,1,1),(1,0,1),(1,1,0)}B=\{(0,1,1),(1,0,1),(1,1,0)\}.

Step 1 — Compute images in standard coordinates: T(V1)=(1,1,2)T(V_1)=(1,-1,2), T(V2)=(1,1,2)T(V_2)=(1,1,2), T(V3)=(2,0,0)T(V_3)=(2,0,0).

Step 2 — Express each in basis BB. For T(V1)T(V_1): solve c1(0,1,1)+c2(1,0,1)+c3(1,1,0)=(1,1,2)c_1(0,1,1)+c_2(1,0,1)+c_3(1,1,0)=(1,-1,2).

Sum-trick: adding all three equations 2(c1+c2+c3)=2c1+c2+c3=1\Rightarrow 2(c_1+c_2+c_3)=2\Rightarrow c_1+c_2+c_3=1. Then c1=0c_1=0, c2=2c_2=2, c3=1c_3=-1.

Similarly: T(V2)(1,1,0)T(V_2)\to(1,1,0); T(V3)(1,1,1)T(V_3)\to(-1,1,1).

  [T]B=(011211101).  \boxed{\;[T]_B=\begin{pmatrix}0&1&-1\\2&1&1\\-1&0&1\end{pmatrix}.\;}


2013 Paper 1, 2013-P1-Q2a-i (10 marks)

Matrix of T(p)=0xp(t)dt:P2P3T(p)=\int_0^x p(t)\,dt:\,P_2\to P_3 with domain basis {1,x,x2}\{1,x,x^2\} and codomain basis {1,x,1+x2,1+x3}\{1,x,1+x^2,1+x^3\}.

Images: T(1)=xT(1)=x, T(x)=x2/2T(x)=x^2/2, T(x2)=x3/3T(x^2)=x^3/3.

Coordinates in C={1,x,1+x2,1+x3}C=\{1,x,1+x^2,1+x^3\}: T(1)=x(0,1,0,0)T(1)=x\to(0,1,0,0); T(x)=x2/2=(x2/21/2+1/2)=12(1+x2)121(12,0,12,0)T(x)=x^2/2=(x^2/2-1/2+1/2)=\frac12(1+x^2)-\frac12\cdot1\to(-\frac12,0,\frac12,0); T(x2)=x3/3(13,0,0,13)T(x^2)=x^3/3\to(-\frac13,0,0,\frac13).

  [T]=(0121310001200013).  \boxed{\;[T]=\begin{pmatrix}0&-\frac12&-\frac13\\1&0&0\\0&\frac12&0\\0&0&\frac13\end{pmatrix}.\;}

Null space: T(p)=00xp=0p=0T(p)=0\Rightarrow\int_0^x p=0\Rightarrow p=0 (by FTC). kerT={0}\ker T=\{0\}.


2016 Paper 1, 2016-P1-Q2a-i (10 marks)

T:M2(R)P2(x)T:\,M_2(\mathbb R)\to P_2(x), T(abcd)=(a+c)+(ad)x+(b+c)x2T\begin{pmatrix}a&b\\c&d\end{pmatrix}=(a+c)+(a-d)x+(b+c)x^2. Standard bases. Find matrix and null space.

Images of standard basis: T(E11)=1+x(1,1,0)TT(E_{11})=1+x\to(1,1,0)^T; T(E12)=x2(0,0,1)TT(E_{12})=x^2\to(0,0,1)^T; T(E21)=1+x2(1,0,1)TT(E_{21})=1+x^2\to(1,0,1)^T; T(E22)=x(0,1,0)TT(E_{22})=-x\to(0,-1,0)^T.

[T]=(101010010110)  (3×4).[T]=\begin{pmatrix}1&0&1&0\\1&0&0&-1\\0&1&1&0\end{pmatrix}\;(3\times4).

Null space: a+c=0a+c=0, ad=0a-d=0, b+c=0c=ab+c=0\Rightarrow c=-a, d=ad=a, b=ab=a. kerT=span ⁣{(1111)}\ker T=\text{span}\!\left\{\begin{pmatrix}1&1\\-1&1\end{pmatrix}\right\}, dim=1\dim=1.


2016 Paper 1, 2016-P1-Q2a-ii (6 marks)

T(f)=f+50xf:P2P3T(f)=f+5\int_0^x f:\,P_2\to P_3, domain basis {1,1+x,1x2}\{1,1+x,1-x^2\}, codomain basis {1,x,x2,x3}\{1,x,x^2,x^3\}.

Images (apply to the non-standard domain basis): T(1)=1+5xT(1)=1+5x; T(1+x)=1+6x+52x2T(1+x)=1+6x+\frac52x^2; T(1x2)=1+5xx253x3T(1-x^2)=1+5x-x^2-\frac53x^3.

Codomain basis is standard, so coordinates are the coefficients: [T]=(11156505210053)  (4×3).[T]=\begin{pmatrix}1&1&1\\5&6&5\\0&\tfrac52&-1\\0&0&-\tfrac53\end{pmatrix}\;(4\times3).


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

T:R2R2T:\mathbb R^2\to\mathbb R^2, T(2,1)=(5,7)T(2,1)=(5,7), T(1,2)=(3,3)T(1,2)=(3,3). Find rank of the standard matrix AA.

Recover AA. A[P]=[C]A[P]=[C] where P=(2112)P=\begin{pmatrix}2&1\\1&2\end{pmatrix} and C=(5373)C=\begin{pmatrix}5&3\\7&3\end{pmatrix}. Since detP=30\det P=3\ne0: A=CP1=13(5373)(2112)=13(71111).A=CP^{-1}=\frac13\begin{pmatrix}5&3\\7&3\end{pmatrix}\begin{pmatrix}2&-1\\-1&2\end{pmatrix}=\frac13\begin{pmatrix}7&1\\11&-1\end{pmatrix}. detA=18/9=20\det A=-18/9=-2\ne0, so rank(A)=2\boxed{\text{rank}(A)=2}.

Shortcut: images (5,7),(3,3)(5,7),(3,3) are independent (det=60\det=-6\ne0) T\Rightarrow T maps a basis to an independent set \Rightarrow AA is invertible \Rightarrow rank 22.


2024 Paper 1, 2024-P1-Q3a (15 marks)

ϕ:M2×2M2×2\phi:M_{2\times2}\to M_{2\times2}, ϕ(v)=Av\phi(v)=Av with A=(1231)A=\begin{pmatrix}1&2\\3&-1\end{pmatrix}. Find matrix, rank, invertibility.

Images of standard basis: AE11=(1030)=E11+3E21AE_{11}=\begin{pmatrix}1&0\\3&0\end{pmatrix}=E_{11}+3E_{21}; AE12=E12+3E22AE_{12}=E_{12}+3E_{22}; AE21=2E11E21AE_{21}=2E_{11}-E_{21}; AE22=2E12E22AE_{22}=2E_{12}-E_{22}.

[ϕ]=(1020010230100301).[\phi]=\begin{pmatrix}1&0&2&0\\0&1&0&2\\3&0&-1&0\\0&3&0&-1\end{pmatrix}.

This is block-diagonal (A00A)\begin{pmatrix}A&0\\0&A\end{pmatrix} (after reordering basis as E11,E21,E12,E22E_{11},E_{21},E_{12},E_{22}). det[ϕ]=(detA)2=490\det[\phi]=(\det A)^2=49\ne0.

rank=4,  ϕ is invertible.\boxed{\text{rank}=4,\;\phi\text{ is invertible.}}


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

Matrix of T(a1,a2,a3)=(2a1+5a2+a3,3a1+a2a3,a1+2a2+3a3)T(a_1,a_2,a_3)=(2a_1+5a_2+a_3,-3a_1+a_2-a_3,-a_1+2a_2+3a_3) in basis B={(1,0,1),(1,2,1),(3,1,1)}B=\{(1,0,1),(-1,2,1),(3,-1,1)\}.

T(V1)=(3,4,2)T(V_1)=(3,-4,2), T(V2)=(9,4,8)T(V_2)=(9,4,8), T(V3)=(2,11,2)T(V_3)=(2,-11,-2).

Express each in basis BB via P1P^{-1} (computed via cofactor expansion, detP=2\det P=-2): Column 1: (17/2,7/2,3)T(17/2,-7/2,-3)^T; Column 2: (3/2,9/2,5)T(-3/2,9/2,5)^T; Column 3: (14,9,7)T(14,-9,-7)^T.

  [T]B=(17/23/2147/29/29357).  \boxed{\;[T]_B=\begin{pmatrix}17/2&-3/2&14\\-7/2&9/2&-9\\-3&5&-7\end{pmatrix}.\;}

Common Traps


change-of-basis (1 question; 2023)

Recognition Cues

Solution Template

  1. Form PP whose columns are the new basis vectors in the standard basis.
  2. Compute P1P^{-1} (by row reduction or adjugate).
  3. [T]B=P1[T]EP[T]_B=P^{-1}[T]_E P.

Worked Example(s)

2023 Paper 1, 2023-P1-Q2a (15 marks)

[T]E=(112121013)[T]_E=\begin{pmatrix}1&1&2\\-1&2&1\\0&1&3\end{pmatrix}. New basis B={(1,1,1),(0,1,1),(0,0,1)}B=\{(1,1,1),(0,1,1),(0,0,1)\}. Find [T]B[T]_B.

P=(100110111)P=\begin{pmatrix}1&0&0\\1&1&0\\1&1&1\end{pmatrix} (lower triangular). Inverse: P1=(100110011)P^{-1}=\begin{pmatrix}1&0&0\\-1&1&0\\0&-1&1\end{pmatrix} (subtract each row from the next).

Compute [T]EP[T]_E P column by column: [T]E(1,1,1)T=(4,2,4)T[T]_E(1,1,1)^T=(4,2,4)^T; [T]E(0,1,1)T=(3,3,4)T[T]_E(0,1,1)^T=(3,3,4)^T; [T]E(0,0,1)T=(2,1,3)T[T]_E(0,0,1)^T=(2,1,3)^T.

[T]EP=(432231443).[T]_E P=\begin{pmatrix}4&3&2\\2&3&1\\4&4&3\end{pmatrix}.

Apply P1P^{-1} (row operations — row 2 \leftarrow row 2 - row 1; row 3 \leftarrow row 3 - row 2):

  [T]B=P1[T]EP=(432201212).  \boxed{\;[T]_B=P^{-1}[T]_E P=\begin{pmatrix}4&3&2\\-2&0&-1\\2&1&2\end{pmatrix}.\;}

Common Traps


recover-map-from-action (1 question; 2025)

Recognition Cues

Solution Template

  1. Verify {v1,v2,v3}\{v_1,v_2,v_3\} is linearly independent (check det0\det\ne0).
  2. Set up AB=CAB=C where A=[T]A=[T] (standard matrix), B=[v1v2v3]B=[v_1\,v_2\,v_3], C=[w1w2w3]C=[w_1\,w_2\,w_3].
  3. Solve: A=CB1A=CB^{-1}.
  4. Write T(x)=A(x,y,z)TT(x)=A(x,y,z)^T.

Worked Example(s)

2025 Paper 1, 2025-P1-Q2a (15 marks)

T:R3R2T:\mathbb R^3\to\mathbb R^2, T(1,1,1)=(1,0)T(1,1,-1)=(1,0), T(4,1,1)=(0,1)T(4,1,1)=(0,1), T(1,1,2)=(1,1)T(1,-1,2)=(1,1). Find TT.

B=[(1,1,1)T,(4,1,1)T,(1,1,2)T]B=[(1,1,-1)^T,(4,1,1)^T,(1,-1,2)^T], detB=10\det B=1\ne0 (inputs form a basis).

A=CB1=(101011)(375132253)=(5128121)A=CB^{-1}=\begin{pmatrix}1&0&1\\0&1&1\end{pmatrix}\begin{pmatrix}3&-7&-5\\-1&3&2\\2&-5&-3\end{pmatrix}=\begin{pmatrix}5&-12&-8\\1&-2&-1\end{pmatrix}.

  T(x,y,z)=(5x12y8z,  x2yz).  \boxed{\;T(x,y,z)=(5x-12y-8z,\;x-2y-z).\;}

Common Traps


recover-map-from-matrix (1 question; 2016)

Recognition Cues

Solution Template

  1. Decode columns: column jj gives T(bj)T(b_j) in basis CC: T(bj)=iAijciT(b_j)=\sum_i A_{ij}c_i.
  2. Express the standard monomials 1,x,x21,x,x^2 as linear combinations of bjb_j (solve a linear system).
  3. Use linearity: T(1)=T(1)=\ldots, T(x)=T(x)=\ldots, T(x2)=T(x^2)=\ldots.
  4. Write T(p+qx+rx2)=pT(1)+qT(x)+rT(x2)T(p+qx+rx^2)=p\,T(1)+q\,T(x)+r\,T(x^2).

Worked Example(s)

2016 Paper 1, 2016-P1-Q2c (18 marks)

A=(112211123)=[T]B,CA=\begin{pmatrix}1&-1&2\\-2&1&-1\\1&2&3\end{pmatrix}=[T]_{B,C}, domain B={1x,xx2,x+x2}B=\{1-x,x-x^2,x+x^2\}, codomain C={1,1+x,1+x2}C=\{1,1+x,1+x^2\}.

Decode columns: T(1x)=11+(2)(1+x)+1(1+x2)=x22xT(1-x)=1\cdot1+(-2)(1+x)+1(1+x^2)=x^2-2x; T(xx2)=2x2+x+2T(x-x^2)=2x^2+x+2; T(x+x2)=3x2x+4T(x+x^2)=3x^2-x+4.

Express standard monomials in BB: 1=b1+12b2+12b31=b_1+\frac12b_2+\frac12b_3; x=0b1+12b2+12b3x=0\cdot b_1+\frac12b_2+\frac12b_3; x2=12b2+12b3x^2=-\frac12b_2+\frac12b_3.

Apply linearity: T(1)=72x22x+3T(1)=\frac72x^2-2x+3; T(x)=52x2+3T(x)=\frac52x^2+3; T(x2)=12x2x+1T(x^2)=\frac12x^2-x+1.

  T(p+qx+rx2)=(3p+3q+r)+(2pr)x+12(7p+5q+r)x2.  \boxed{\;T(p+qx+rx^2)=(3p+3q+r)+(-2p-r)x+\tfrac12(7p+5q+r)x^2.\;}

Common Traps


Marks-Aware Writing

6-mark questions (2016-Q2a-ii): Compute images of 3 domain-basis vectors; write columns; no null space required.

10-mark questions (2013, 2016-Q2a-i, 2019, 2021): Compute all images, express in codomain basis (show the system for non-standard bases), assemble matrix, state null space. Verify one column by reconstruction.

12-15-mark questions (2015, 2023, 2024, 2025): For P1[T]PP^{-1}[T]P (2023): compute PP, invert it, perform both multiplications. For matrix-in-basis (2015): compute P1P^{-1} explicitly via adjugate or row reduction. For recovering TT (2025): show A=CB1A=CB^{-1}, compute B1B^{-1}, multiply.

18-mark questions (2016-Q2c): Full derivation — decode all three columns, solve for the monomials in the domain basis, apply linearity to all three standard monomials, state the general formula. Verify by plugging in the domain basis vectors.

Practice Set

YearPaper/QMarksArchetypeOne-line hint
2025P1-Q2a15recover-map-from-actiondetB=1\det B=1; A=CB1A=CB^{-1}; T(x,y,z)=(5x12y8z,x2yz)T(x,y,z)=(5x-12y-8z,x-2y-z)
2024P1-Q3a15matrix-in-basesϕ(Eij)=AEij\phi(E_{ij})=AE_{ij}; block structure (A00A)\begin{pmatrix}A&0\\0&A\end{pmatrix}; det=490\det=49\ne0; invertible
2023P1-Q2a15change-of-basisLower-triangular PP; P1P^{-1} by subtraction; P1[T]EPP^{-1}[T]_E P column by column
2021P1-Q1b10matrix-in-basesSum trick: c1+c2+c3=12c_1+c_2+c_3=\frac12\sum RHS; columns (0,2,1)(0,2,-1), (1,1,0)(1,1,0), (1,1,1)(-1,1,1)
2019P1-Q1c10matrix-in-basesA=CP1A=CP^{-1}; or: images independent \Rightarrow rank 2; no need to compute AA
2016P1-Q2c18recover-map-from-matrixDecode columns in CC; express monomials in BB; apply linearity
2016P1-Q2a-ii6matrix-in-basesApply TT to non-standard domain basis {1,1+x,1x2}\{1,1+x,1-x^2\}; codomain is standard
2016P1-Q2a-i10matrix-in-bases3×43\times4 matrix; T(E22)=xT(E_{22})=-x (sign trap); null space is 1D
2015P1-Q3a12matrix-in-basesCompute P1P^{-1} via adjugate (detP=2\det P=-2); columns have fractional entries
2013P1-Q2a-i10matrix-in-basesNon-standard codomain {1,x,1+x2,1+x3}\{1,x,1+x^2,1+x^3\}; decode by matching coefficients; null space trivial

We've mapped all 13 years of this exam. Get new chapters, tools, and solutions as we release them — free.