Top Banner Ad

AAS103A — Unit 4: Vector Spaces

Table of Contents (17 sections)

AAS103A · Differential Calculus and Linear Algebra · Unit 4

Vector Spaces

Unit Scope & Exam Weightage: Vector spaces provide the language for every later matrix method: survey observations are vectors in Rn\mathbb{R}^n, a set of control points spans a coordinate frame, and CAD curves are built from basis functions. In the AAS103A PYQ bank for 2023-24–2025-26, this unit carries no exclusively assigned cluster, but a 2025-26 linear-dependence question is catalogued under Unit 1 even though it is pure Vector Spaces content. Treat this unit as a high-value predicted unit worth one 7-mark theory/numerical question (~7–14 marks) and master it from first principles.


Front Page: Importance-Wise Topic Roadmap (CE Stream)

Priority Topic (Exact Syllabus) PYQ Status Marks Weightage Tag
1 Linear independence (and spanning set) 1 misplaced 7m PYQ (2025-26) 7m Survival Mode Numerical
2 Basis and Dimension Predicted — Survival Mode
3 Rank-Nullity theorem Predicted — Derivation
4 Subspaces Predicted — Theory
5 Linear transformations Predicted — Numerical
6 Range and Null space Predicted — Theory
7 Matrix of a linear transformation Predicted — Numerical
8 Vector spaces (over the field of real numbers) Foundation — Core Concept
9 Applications: Surveying and Geomatics Predicted — CE Context
10 Fluid Mechanics Predicted — CE Context
11 Machine Learning and Data Analysis Predicted — CE Context
12 Computer-Aided Design (CAD) Predicted — CE Context

2-Hour Last-Night Survival Checklist:

  1. Subspace test (#4): A non-empty W⊆VW\subseteq V is a subspace iff 0∈W\mathbf{0}\in W and u,v∈W⇒u+v∈Wu,v\in W\Rightarrow u+v\in W, αu∈W\alpha u\in W. For W={(x,y,z):x+y+z=0}W=\{(x,y,z):x+y+z=0\} all three checks pass in one line.
  2. Independence (#1): Form the matrix with the given vectors as columns. Non-zero determinant ⇒ independent; determinant zero ⇒ dependent. For X1=(3,1,−4),X2=(2,2,−3),X3=(0,−4,1)X_1=(3,1,-4),X_2=(2,2,-3),X_3=(0,-4,1) the determinant is 00 and the relation is −2X1+3X2+X3=0-2X_1+3X_2+X_3=0.
  3. Basis (#2): A basis spans and is independent; dimension = number of basis vectors. Row-reduce the spanning list and keep the pivot columns of the original vectors.
  4. Rank–nullity (#3): For T:Rn→RmT:\mathbb{R}^n\to\mathbb{R}^m, rank⁡T+nullity⁡T=n\operatorname{rank}T+\operatorname{nullity}T=n — the domain dimension, never the codomain.
  5. Last 15 minutes: Revise the four subspace axioms, the modified spanning-set reduction, and the CE mapping: survey control points → basis, redundant observations → dependence, CAD B-splines → basis functions.

1. Vector Spaces over the Field of Real Numbers

Vector space (2 Marks): A set VV with operations ++ and scalar multiplication by R\mathbb{R} is a vector space if it satisfies: closure under addition and scalar multiplication; u+v=v+uu+v=v+u; (u+v)+w=u+(v+w)(u+v)+w=u+(v+w); a zero vector with u+0=uu+0=u; an additive inverse −u-u; 1u=u1u=u; (αβ)u=α(βu)(\alpha\beta)u=\alpha(\beta u); α(u+v)=αu+αv\alpha(u+v)=\alpha u+\alpha v; (α+β)u=αu+βu(\alpha+\beta)u=\alpha u+\beta u.

Standard examples: Rn\mathbb{R}^n; the set of all m×nm\times n real matrices Mm×n(R)M_{m\times n}(\mathbb{R}); the set of real polynomials of degree ≤n\le n, PnP_n; the set of real-valued continuous functions C[a,b]C[a,b]. Each is closed under the two operations.

Non-example: The set {(x,y)∈R2:x≥0, y≥0}\{(x,y)\in\mathbb{R}^2:x\ge0,\ y\ge0\} is not a vector space because (−1,−1)(-1,-1) cannot multiply (1,1)(1,1) while staying in the set (no additive inverse).

Examiner Tip: When asked "is VV a vector space?", test closure first. If closure fails, stop — you have the whole answer in one counterexample. Only if closure holds should you check the remaining eight axioms.


2. Subspaces

Subspace: W⊆VW\subseteq V is a subspace of VV if WW is itself a vector space under the same operations. The practical test is the one-step subspace criterion: W≠∅W\ne\varnothing, and for all u,v∈Wu,v\in W, αu+βv∈W\alpha u+\beta v\in W for every α,β∈R\alpha,\beta\in\mathbb{R}.

Worked CE example — a plane of observations: Let W={(x,y,z)∈R3:x+y+z=0}W=\{(x,y,z)\in\mathbb{R}^3:x+y+z=0\}.

  • Non-empty: (0,0,0)∈W(0,0,0)\in W.
  • If x+y+z=0x+y+z=0 and x′+y′+z′=0x'+y'+z'=0, then (αx+βx′)+(αy+βy′)+(αz+βz′)=α⋅0+β⋅0=0(\alpha x+\beta x')+(\alpha y+\beta y')+(\alpha z+\beta z')=\alpha\cdot0+\beta\cdot0=0, so αu+βv∈W\alpha u+\beta v\in W.

Hence WW is a 2-dimensional subspace of R3\mathbb{R}^3 with basis {(1,−1,0),(1,0,−1)}\{(1,-1,0),(1,0,-1)\}. In surveying, this plane can represent the closure condition of a levelling loop (sum of elevation differences = 0).

Non-example: W={(x,y):x=1}W=\{(x,y):x=1\} is not a subspace: (1,0)+(1,0)=(2,0)∉W(1,0)+(1,0)=(2,0)\notin W, and (0,0)∉W(0,0)\notin W.


3. Spanning Set, Linear Independence, Basis and Dimension

3.1 Spanning Set

The span of S={v1,…,vk}S=\{v_1,\ldots,v_k\} is span⁡S={α1v1+⋯+αkvk:αi∈R}\operatorname{span}S=\{\alpha_1v_1+\cdots+\alpha_kv_k:\alpha_i\in\mathbb{R}\}. In CAD, the cubic Bézier curve r(t)=∑i=03(3i)(1−t)3−itiPi\mathbf{r}(t)=\sum_{i=0}^3\binom{3}{i}(1-t)^{3-i}t^iP_i lies in the span of the four control points PiP_i with the Bernstein polynomials as coefficients.

3.2 Linear Independence

Linear dependence / independence: v1,…,vkv_1,\ldots,v_k are linearly dependent if there exist scalars α1,…,αk\alpha_1,\ldots,\alpha_k, not all zero, with α1v1+⋯+αkvk=0\alpha_1v_1+\cdots+\alpha_kv_k=0; otherwise they are linearly independent.

Matrix test: Put the vectors as columns of AA. If det⁡A≠0\det A\ne0 (square case) the only solution is trivial ⇒ independent. If det⁡A=0\det A=0 there is a non-trivial null vector ⇒ dependent. In general, independence iff rank⁡A=k\operatorname{rank}A=k.

3.3 Basis and Dimension

A basis of VV is a linearly independent spanning set. All bases of VV have the same number of elements; that number is dim⁡V\dim V. For Rn\mathbb{R}^n, dim⁡=n\dim=n; for PnP_n, dim⁡=n+1\dim=n+1; for Mm×nM_{m\times n}, dim⁡=mn\dim=mn.

Reduction algorithm: Given a spanning list, form a matrix with the vectors as rows, row-reduce, and the non-zero rows form a basis for the row space. To keep original vectors, use column reduction and select pivot columns.

%%{init: {'theme': 'base', 'look': 'handDrawn', 'themeVariables': {'fontFamily': "'Nunito', sans-serif", 'fontSize': '17px', 'primaryColor': '#EFEAD6', 'primaryBorderColor': '#0F766E', 'lineColor': '#23211C'}}}%%
flowchart TD
    A["Given list of vectors S"] --> B{"Non-empty and closed<br/>under αu + βv?"}
    B -->|No| C["Not a subspace — stop"]
    B -->|Yes| D["Form matrix with vectors as columns"]
    D --> E["Row-reduce to echelon form"]
    E --> F{"Pivot in every column?"}
    F -->|Yes| G["Independent — basis if it spans"]
    F -->|No| H["Dependent — read off relation<br/>from null space"]

Examiner Tip: For the 7-mark dependence question, do not merely state "determinant = 0". Write the explicit relation α1X1+α2X2+α3X3=0\alpha_1X_1+\alpha_2X_2+\alpha_3X_3=0, solve the three scalar equations, and display the numbers. That is where the marks are.


4. Linear Transformations, Range and Null Space

Linear transformation: T:V→WT:V\to W satisfies T(u+v)=T(u)+T(v)T(u+v)=T(u)+T(v) and T(αu)=αT(u)T(\alpha u)=\alpha T(u) for all u,v∈Vu,v\in V, α∈R\alpha\in\mathbb{R}.

  • Kernel (null space): ker⁡T={v∈V:T(v)=0}\ker T=\{v\in V:T(v)=0\}, a subspace of VV.
  • Range (image): ran⁡T={T(v):v∈V}\operatorname{ran}T=\{T(v):v\in V\}, a subspace of WW.
  • Rank: dim⁡(ran⁡T)\dim(\operatorname{ran}T); nullity: dim⁡(ker⁡T)\dim(\ker T).

Rank–Nullity Theorem:

rank⁡(T)+nullity⁡(T)=dim⁡V\operatorname{rank}(T)+\operatorname{nullity}(T)=\dim V

For a matrix AA of size m×nm\times n viewed as T:Rn→RmT:\mathbb{R}^n\to\mathbb{R}^m: rank⁡(A)+nullity⁡(A)=n\operatorname{rank}(A)+\operatorname{nullity}(A)=n.

Proof sketch: Extend a basis {v1,…,vk}\{v_1,\ldots,v_k\} of ker⁡T\ker T to a basis {v1,…,vk,vk+1,…,vn}\{v_1,\ldots,v_k,v_{k+1},\ldots,v_n\} of VV. The images {T(vk+1),…,T(vn)}\{T(v_{k+1}),\ldots,T(v_n)\} are independent and span ran⁡T\operatorname{ran}T, so dim⁡ran⁡T=n−k\dim\operatorname{ran}T=n-k.

Worked example: T:R3→R2T:\mathbb{R}^3\to\mathbb{R}^2, T(x,y,z)=(x+y, y+z)T(x,y,z)=(x+y,\ y+z), matrix A=[110011]A=\begin{bmatrix}1&1&0\\0&1&1\end{bmatrix}.

  • ker⁡T\ker T: x=−yx=-y, z=−yz=-y, so ker⁡T={t(−1,1,−1)}\ker T=\{t(-1,1,-1)\}; nullity =1=1.
  • ran⁡T=R2\operatorname{ran}T=\mathbb{R}^2 because the two rows are independent; rank =2=2.
  • Check: 2+1=3=dim⁡R32+1=3=\dim\mathbb{R}^3 ✓.

4.1 Matrix of a Linear Transformation

If B={b1,…,bn}\mathcal{B}=\{b_1,\ldots,b_n\} is a basis of VV and C\mathcal{C} a basis of WW, the jj-th column of [T]C←B[T]_{\mathcal{C}\leftarrow\mathcal{B}} is [T(bj)]C[T(b_j)]_{\mathcal{C}}. A change of basis from B\mathcal{B} to B′\mathcal{B}' uses the transition matrix PP: [T]B′=P−1[T]BP[T]_{\mathcal{B}'}=P^{-1}[T]_{\mathcal{B}}P. This is the same similarity transformation that diagonalises a stiffness matrix in Unit 1.


5. CE Applications of Vector Spaces

Syllabus application Vector-space idea Civil-engineering example
Surveying and Geomatics Basis of R3\mathbb{R}^3; independence of control points Three non-collinear control points form a basis for a 2D site frame; a fourth redundant point is linearly dependent
Fluid Mechanics Span of flow modes; divergence-free subspace Superposition of elementary potential flows; the solenoidal fields form a subspace
Machine Learning and Data Analysis Feature vectors, span, dimension reduction PCA keeps the independent principal directions of a structural-health dataset
Computer-Aided Design (CAD) Bernstein/B-spline basis functions A cubic Bézier curve is a linear combination of four control points with basis weights

In structural dynamics, the mode shapes from Unit 1 are eigenvectors forming a basis of the displacement space; any displacement vector is their linear combination. If the modes are dependent, the model has a mechanism (rank deficiency).


6. Solved Exam-Ready Questions

Solved Q1 (2025-26, 7 Marks | bank lists this under Unit 1; mathematically Vector Spaces)

Q: If X1=[31−4]X_1=\begin{bmatrix}3\\1\\-4\end{bmatrix}, X2=[22−3]X_2=\begin{bmatrix}2\\2\\-3\end{bmatrix}, X3=[0−41]X_3=\begin{bmatrix}0\\-4\\1\end{bmatrix}, then show that the vectors X1,X2,X3X_1,X_2,X_3 are linearly dependent.

Solution: Form the matrix with these as columns:

A=[32012−4−4−31].A=\begin{bmatrix}3&2&0\\1&2&-4\\-4&-3&1\end{bmatrix}. det⁡A=3∣2−4−31∣−2∣1−4−41∣+0=3(2−12)−2(1−16)=−30+30=0.\det A=3\begin{vmatrix}2&-4\\-3&1\end{vmatrix}-2\begin{vmatrix}1&-4\\-4&1\end{vmatrix}+0 =3(2-12)-2(1-16)=-30+30=0.

Since the determinant vanishes, a non-trivial relation exists. Solve αX1+βX2+γX3=0\alpha X_1+\beta X_2+\gamma X_3=0:

3α+2β=0,α+2β−4γ=0,−4α−3β+γ=0.3\alpha+2\beta=0,\qquad \alpha+2\beta-4\gamma=0,\qquad -4\alpha-3\beta+\gamma=0.

From the first, α=−23β\alpha=-\tfrac23\beta; from the second, γ=13β\gamma=\tfrac13\beta. The third is then satisfied identically. Take β=3\beta=3:

−2X1+3X2+X3=(−6+6+0,  −2+6−4,  8−9+1)=(0,0,0).-2X_1+3X_2+X_3=(-6+6+0,\;-2+6-4,\;8-9+1)=(0,0,0).

Hence X1,X2,X3X_1,X_2,X_3 are linearly dependent, with X2=23X1+13X3X_2=\tfrac23X_1+\tfrac13X_3. One vector is redundant — the span has dimension 2.


Solved Q2 (Predicted, 7 Marks)

Q: Show that W={(x,y,z)∈R3:x+y+z=0}W=\{(x,y,z)\in\mathbb{R}^3:x+y+z=0\} is a subspace of R3\mathbb{R}^3. Find a basis and its dimension.

Solution: (0,0,0)∈W(0,0,0)\in W. For u=(x,y,z)u=(x,y,z), v=(x′,y′,z′)v=(x',y',z') in WW and α,β∈R\alpha,\beta\in\mathbb{R}, the sum of coordinates of αu+βv\alpha u+\beta v is α(x+y+z)+β(x′+y′+z′)=0\alpha(x+y+z)+\beta(x'+y'+z')=0, so closure holds. Thus WW is a subspace. Set z=−x−yz=-x-y: (x,y,−x−y)=x(1,0,−1)+y(0,1,−1)(x,y,-x-y)=x(1,0,-1)+y(0,1,-1). The vectors (1,0,−1)(1,0,-1) and (0,1,−1)(0,1,-1) span WW and are independent (not multiples). Hence a basis is {(1,0,−1),(0,1,−1)}\{(1,0,-1),(0,1,-1)\} and dim⁡W=2\dim W=2.


Solved Q3 (Predicted, 7 Marks)

Q: Find a basis for the span of S={(1,2,3),(2,4,6),(1,0,−1)}S=\{(1,2,3),(2,4,6),(1,0,-1)\} and state its dimension.

Solution: The second vector is twice the first, so it is redundant. Check the remaining pair: ∣1120∣=−2≠0\begin{vmatrix}1&1\\2&0\end{vmatrix}=-2\ne0 using the first two coordinates, so (1,2,3)(1,2,3) and (1,0,−1)(1,0,-1) are independent.

span⁡S={α(1,2,3)+β(1,0,−1)},basis={(1,2,3),(1,0,−1)},dim⁡=2.\operatorname{span}S=\{\alpha(1,2,3)+\beta(1,0,-1)\},\qquad \text{basis}=\{(1,2,3),(1,0,-1)\},\quad \dim=2.

Equivalently, row-reducing the 3×33\times3 matrix with these as rows gives pivots in rows 1 and 3 only.


Solved Q4 (Predicted, 7 Marks)

Q: For T:R3→R2T:\mathbb{R}^3\to\mathbb{R}^2 defined by T(x,y,z)=(x+y, y+z)T(x,y,z)=(x+y,\ y+z), verify the Rank-Nullity theorem.

Solution: TT is linear since each component is a linear expression. ker⁡T\ker T: x+y=0x+y=0, y+z=0⇒(x,y,z)=t(−1,1,−1)y+z=0\Rightarrow(x,y,z)=t(-1,1,-1), so nullity =1=1. The range contains (1,0)=T(1,0,0)(1,0)=T(1,0,0) and (0,1)=T(0,1,0)(0,1)=T(0,1,0), so ran⁡T=R2\operatorname{ran}T=\mathbb{R}^2 and rank =2=2.

rank⁡+nullity⁡=2+1=3=dim⁡R3✓\operatorname{rank}+\operatorname{nullity}=2+1=3=\dim\mathbb{R}^3\quad\checkmark

Solved Q5 (Predicted, 7 Marks — CE application)

Q: In a leveling network the three observed height differences satisfy Δh1+Δh2+Δh3=0\Delta h_1+\Delta h_2+\Delta h_3=0. Express the solution space as a span of independent vectors and state its dimension.

Solution: Write (Δh1,Δh2,Δh3)=s(1,−1,0)+t(1,0,−1)(\Delta h_1,\Delta h_2,\Delta h_3)=s(1,-1,0)+t(1,0,-1). The two vectors are independent, so they form a basis and the closure space has dimension 2. Any third independent observation would make the system inconsistent (rank 3 vs. closure constraint), which is the vector-space version of a misclosed levelling loop.


7. Practice Questions (Self-Test)

  1. (2 Marks) Determine whether {(x,y)∈R2:xy=0}\{(x,y)\in\mathbb{R}^2:xy=0\} is a subspace. (Ans: No — (1,0)+(0,1)=(1,1)(1,0)+(0,1)=(1,1) is not in the set.)
  2. (2 Marks) State the dimension of P4P_4, the space of real polynomials of degree at most 4. (Ans: 5.)
  3. (7 Marks) Show that {(a,b,c):a=2b}\{(a,b,c):a=2b\} is a subspace of R3\mathbb{R}^3 and find a basis. (Ans: basis {(2,1,0),(0,0,1)}\{(2,1,0),(0,0,1)\}, dimension 2.)
  4. (7 Marks) Are u=(1,2,3)u=(1,2,3), v=(2,1,0)v=(2,1,0), w=(3,3,3)w=(3,3,3) linearly independent? (Ans: No — u+v=wu+v=w.)
  5. (7 Marks) Find the matrix of T:R2→R2T:\mathbb{R}^2\to\mathbb{R}^2 given by T(x,y)=(2x−y, x+3y)T(x,y)=(2x-y,\ x+3y) in the standard basis, and verify rank + nullity =2=2.
  6. (7 Marks — CE/CAD) Explain how the four Bernstein polynomials {(1−t)3,3t(1−t)2,3t2(1−t),t3}\{(1-t)^3,3t(1-t)^2,3t^2(1-t),t^3\} form a basis for cubic curves and why control points must be independent for a non-degenerate curve.
  7. (7 Marks) Let T:M2(R)→RT:M_{2}(\mathbb{R})\to\mathbb{R} be the trace map T(A)=tr⁡AT(A)=\operatorname{tr}A. Find its kernel, rank and nullity. (Ans: kernel = skew-symmetric matrices, dimension 2; rank 1; nullity 3.)