The math optional, made finite. Daily Practice

Bases and dimension; coordinates in a basis

At a Glance

Why This Chapter Matters

Bases and dimension appear in 6 of the last 13 years, always in Section A. The questions are overwhelmingly easy to medium: five of seven are rated easy, and most carry 10 marks. The four recurring tasks are: (1) find a basis and dimension of a given subspace or span; (2) express one set of vectors in the coordinates of another basis; (3) extend an independent set to a basis of Rn\mathbb{R}^n by adding standard basis vectors; and (4) prove the theoretical result that nn linearly independent vectors in a dimension-nn space form a basis. Mastering row reduction as the universal tool covers the first three; the proof question has a fixed two-paragraph argument.

Minimum Theory

Basis. A basis of a vector space VV is a set B={v1,,vn}V\mathcal{B}=\{v_1,\ldots,v_n\}\subset V that is (i) linearly independent and (ii) spans VV. The dimension dimV=n\dim V=n is the cardinality of any basis; it is well-defined (all bases of a finite-dimensional space have the same size).

Coordinates. If B={v1,,vn}\mathcal{B}=\{v_1,\ldots,v_n\} is a basis of VV, every vVv\in V can be written uniquely as v=c1v1++cnvnv=c_1v_1+\cdots+c_nv_n; the column (c1,,cn)T(c_1,\ldots,c_n)^T is the coordinate vector of vv with respect to B\mathcal{B}.

Finding a basis of a span. Given spanning vectors u1,,uku_1,\ldots,u_k: form the matrix with these as rows, row-reduce to echelon form, and discard zero rows. The non-zero rows form a basis; equivalently, the original vectors at the pivot positions are a basis (column-space version).

Subspace from equations. A subspace defined by mm homogeneous linear equations in nn variables has dimension nrn-r where rr is the rank of the coefficient matrix.

Dimension formula. For subspaces V,WV,W of a finite-dimensional space: dim(V+W)=dimV+dimWdim(VW).\dim(V+W)=\dim V+\dim W-\dim(V\cap W).

Extending to a basis. Any linearly independent set {v1,,vk}\{v_1,\ldots,v_k\} in Rn\mathbb{R}^n can be extended to a basis of Rn\mathbb{R}^n by adjoining nkn-k standard basis vectors eie_i chosen so that the resulting n×nn\times n matrix is non-singular (nonzero determinant).

Key theorem (10-mark proof target). Any nn linearly independent vectors in a vector space VV with dimV=n\dim V=n form a basis. Proof: let vVv\in V; the n+1n+1 vectors {v,v1,,vn}\{v,v_1,\ldots,v_n\} are linearly dependent (dimension bound), so αv+αivi=0\alpha v+\sum\alpha_iv_i=0 for scalars not all zero. If α=0\alpha=0, independence of {vi}\{v_i\} forces all αi=0\alpha_i=0 — contradiction. So α0\alpha\ne0 and vspan{vi}v\in\operatorname{span}\{v_i\}.

Question Archetypes

Four patterns cover every basis question in the corpus.

ArchetypeYou are seeing this when…
find-basis-dimension”Find a basis and dimension of the subspace VV” or “of the span of {…}“
coordinates-in-basis”Express e1,e2e_1,e_2 as linear combinations of α1,α2\alpha_1,\alpha_2
extend-to-basis”Extend the given set to a basis of Rn\mathbb{R}^n
basis-theory-proof”Prove that nn linearly independent vectors in dimV=n\dim V=n form a basis”

find-basis-dimension (3 question(s); 2014, 2015, 2022)

Recognition Cues

Solution Template

Subspace defined by equations (2014 type):

  1. For each subspace, identify the free variables (dimension = nn - number of independent constraints).
  2. Write the general element parametrically in terms of the free variables; each “free direction” vector is a basis element.
  3. For the intersection VWV\cap W: combine all constraints from both subspaces; solve; count free variables.

Span of given vectors (2015, 2022 types):

  1. Form the matrix with the vectors as rows (or columns).
  2. Row-reduce; count non-zero rows = dimension.
  3. For a basis: either take the non-zero rows from the reduced form, or take the original vectors corresponding to pivot positions.

Worked Example(s)

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

V={(a,b,c,d)R4:b2c+d=0}V=\{(a,b,c,d)\in\mathbb R^4: b-2c+d=0\}, W={(a,b,c,d):a=d,b=2c}W=\{(a,b,c,d): a=d,\,b=2c\}. Find bases and dimensions of VV, WW, VWV\cap W.

VV (one constraint, d=2cbd=2c-b free in a,b,ca,b,c): (a,b,c,d)=a(1,0,0,0)+b(0,1,0,1)+c(0,0,1,2).(a,b,c,d)=a(1,0,0,0)+b(0,1,0,-1)+c(0,0,1,2). Basis: {(1,0,0,0),(0,1,0,1),(0,0,1,2)}\{(1,0,0,0),\,(0,1,0,-1),\,(0,0,1,2)\}, dimV=3\dim V=3.

WW (two constraints, free in c,dc,d): (a,b,c,d)=c(0,2,1,0)+d(1,0,0,1).(a,b,c,d)=c(0,2,1,0)+d(1,0,0,1). Basis: {(0,2,1,0),(1,0,0,1)}\{(0,2,1,0),\,(1,0,0,1)\}, dimW=2\dim W=2.

VWV\cap W (all three constraints combined): b=2cb=2c substituted into b2c+d=0b-2c+d=0 gives d=0d=0, then a=d=0a=d=0. Free: cc. (0,2c,c,0)=c(0,2,1,0).(0,2c,c,0)=c(0,2,1,0).   Basis of VW:  {(0,2,1,0)},  dim(VW)=1.  \boxed{\;\text{Basis of }V\cap W:\;\{(0,2,1,0)\},\;\dim(V\cap W)=1.\;}

Check (dimension formula): dimV+dimW=5\dim V+\dim W=5, dim(VW)=1\dim(V\cap W)=1, so dim(V+W)=4=dimR4\dim(V+W)=4=\dim\mathbb R^4 ✓.


2022 Paper 1, 2022-P1-Q3a-ii (10 marks)

Find a basis and dimension of P={(x,y,z)R3:xyz=0,  2xy+z=0}P=\{(x,y,z)\in\mathbb R^3: x-y-z=0,\;2x-y+z=0\}.

Subtract the first equation from the second: x+2z=0x=2zx+2z=0\Rightarrow x=-2z. Back into equation 1: y=xz=3zy=x-z=-3z. So (x,y,z)=z(2,3,1)(x,y,z)=z(-2,-3,1).   Basis: {(2,3,1)},  dimP=1.  \boxed{\;\text{Basis: }\{(-2,-3,1)\},\;\dim P=1.\;}

Common Traps


coordinates-in-basis (1 question(s); 2018)

Recognition Cues

Solution Template

  1. Form the matrix MM with α1,α2,\alpha_1,\alpha_2,\ldots as columns.
  2. Invert MM (using the 2×22\times2 formula M1=1detM(dbca)M^{-1}=\frac{1}{\det M}\begin{pmatrix}d&-b\\-c&a\end{pmatrix} for (abcd)\begin{pmatrix}a&b\\c&d\end{pmatrix}, or by augmented-matrix row reduction for larger matrices).
  3. The columns of M1M^{-1} give the coordinates of e1,e2,e_1,e_2,\ldots in the α\alpha-basis.
  4. Verify by substituting back.

Worked Example(s)

2018 Paper 1, 2018-P1-Q1b (10 marks, compulsory)

Express e1=(1,0)e_1=(1,0) and e2=(0,1)e_2=(0,1) as linear combinations of α1=(2,1)\alpha_1=(2,-1) and α2=(1,3)\alpha_2=(1,3).

M=(2113)M=\begin{pmatrix}2&1\\-1&3\end{pmatrix}, detM=7\det M=7. M1=17(3112).M^{-1}=\frac{1}{7}\begin{pmatrix}3&-1\\1&2\end{pmatrix}. Reading off columns: e1=37α1+17α2e_1=\tfrac{3}{7}\alpha_1+\tfrac{1}{7}\alpha_2, e2=17α1+27α2e_2=-\tfrac{1}{7}\alpha_1+\tfrac{2}{7}\alpha_2.   e1=37α1+17α2,e2=17α1+27α2.  \boxed{\;e_1=\tfrac{3}{7}\alpha_1+\tfrac{1}{7}\alpha_2,\qquad e_2=-\tfrac{1}{7}\alpha_1+\tfrac{2}{7}\alpha_2.\;}

Verification: 37(2,1)+17(1,3)=(7/7,0/7)=(1,0)=e1\tfrac{3}{7}(2,-1)+\tfrac{1}{7}(1,3)=(7/7,0/7)=(1,0)=e_1 ✓.

Common Traps


extend-to-basis (2 question(s); 2024, 2025)

Recognition Cues

Solution Template

  1. Row-reduce the spanning vectors to find a basis of the subspace and its dimension kk.
  2. To extend: try adjoining standard basis vectors ek+1,,ene_{k+1},\ldots,e_n (or whatever is needed) and verify independence by computing the n×nn\times n determinant.
  3. The right choice of eie_i to adjoin: use the columns not already “covered” by pivots in the row reduction of HH.

Worked Example(s)

2024 Paper 1, 2024-P1-Q1a (10 marks, compulsory)

H=span{v1,v2,v3}H=\operatorname{span}\{v_1,v_2,v_3\} with v1=(1,2,5,3)v_1=(1,-2,5,-3), v2=(2,3,1,4)v_2=(2,3,1,-4), v3=(3,8,3,5)v_3=(3,8,-3,-5). Find a basis of HH; extend to a basis of R4\mathbb{R}^4.

Basis of HH: Row-reduce; v33v12(row2 step)=0v_3-3v_1-2\cdot(\text{row}_2\text{ step})=0 (third row zeroes out). Pivots in columns 1 and 2, so dimH=2\dim H=2, basis {v1,v2}\{v_1,v_2\}.

Extension: Adjoin e3=(0,0,1,0)e_3=(0,0,1,0) and e4=(0,0,0,1)e_4=(0,0,0,1). Compute: det(1253231400100001)=70.\det\begin{pmatrix}1&-2&5&-3\\2&3&1&-4\\0&0&1&0\\0&0&0&1\end{pmatrix}=7\ne0.   Basis of R4:  {v1,v2,(0,0,1,0),(0,0,0,1)}.  \boxed{\;\text{Basis of }\mathbb{R}^4:\;\{v_1,\,v_2,\,(0,0,1,0),\,(0,0,0,1)\}.\;}


2025 Paper 1, 2025-P1-Q1a (10 marks, compulsory)

Can {(0,0,0,3),(1,1,0,0),(0,1,1,0)}\{(0,0,0,3),(1,1,0,0),(0,1,-1,0)\} be extended to a basis of R4\mathbb{R}^4? Justify; exhibit one such extension.

Independence check: The three vectors have leading non-zero entries in distinct columns (4, 1, 2); thus rank =3=3 — they are linearly independent, so extension is possible.

Extension: Adjoin e1=(1,0,0,0)e_1=(1,0,0,0) and check the 4×44\times4 determinant =30=3\ne0.   {(0,0,0,3),(1,1,0,0),(0,1,1,0),(1,0,0,0)} is a basis of R4.  \boxed{\;\{(0,0,0,3),(1,1,0,0),(0,1,-1,0),(1,0,0,0)\}\text{ is a basis of }\mathbb R^4.\;}

Common Traps


basis-theory-proof (1 question(s); 2022)

Recognition Cues

Solution Template

  1. State what needs to be shown: the set already spans VV (independence is given).
  2. Take any vVv\in V; the set {v,v1,,vn}\{v,v_1,\ldots,v_n\} has n+1n+1 vectors in a dimension-nn space, so it is linearly dependent (standard theorem).
  3. Write the dependence relation αv+αivi=0\alpha v+\sum\alpha_iv_i=0; show α0\alpha\ne0 (if α=0\alpha=0, independence of {vi}\{v_i\} forces all αi=0\alpha_i=0 — contradicts “not all zero”).
  4. Conclude vspan{vi}v\in\operatorname{span}\{v_i\}.

Worked Example(s)

2022 Paper 1, 2022-P1-Q1a (10 marks, compulsory)

Prove that any nn linearly independent vectors in a vector space VV with dimV=n\dim V=n form a basis.

Let S={v1,,vn}S=\{v_1,\ldots,v_n\} be linearly independent in VV with dimV=n\dim V=n.

Step 1 (S spans V). Take any vVv\in V. The set S={v,v1,,vn}S'=\{v,v_1,\ldots,v_n\} contains n+1n+1 vectors. Since dimV=n\dim V=n, any n+1n+1 vectors are linearly dependent: there exist scalars not all zero with αv+αivi=0\alpha v+\sum\alpha_iv_i=0.

If α=0\alpha=0 then αivi=0\sum\alpha_iv_i=0; since {vi}\{v_i\} is linearly independent, all αi=0\alpha_i=0 — contradiction. So α0\alpha\ne0, and v=(αi/α)vispan(S)v=-\sum(\alpha_i/\alpha)v_i\in\operatorname{span}(S).

Step 2 (Conclusion). SS is linearly independent and spans VV, so SS is a basis. \blacksquare

Common Traps


Marks-Aware Writing

10-mark questions (2018, 2022-Q1a, 2022-Q3a-ii, 2024, 2025): One to two displayed equations, the basis as a boxed set, and the dimension stated. For the proof, four to five labelled sentences are sufficient; don’t ramble.

12–15-mark questions (2014, 2015): Three-part structure (find basis/dim of VV, WW, VWV\cap W) deserves three clearly labelled parts. Verify each basis element satisfies the defining equations. Check the dimension formula as a final sanity test.

Practice Set

YearPaper/QMarksArchetypeOne-line hint
2015P1-Q4b12find-basis-dimensionAll spanning vectors have x3=0x_3=0; subspace {x3=0}\subset\{x_3=0\}; row-reduce to find 3 independent directions

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