Top Banner Ad

AAS103C — Unit 4: Vector Spaces

Table of Contents (15 sections)

AAS103C · Differential Calculus and Linear Algebra · Unit 4

Vector Spaces

Unit Scope & Exam Weightage: For an ECE student, vector spaces are the algebra of signals, images and antenna arrays: a DSP frame is a vector in RN\mathbb{R}^N, an antenna array response is a steering vector, a wireless channel is a vector of tap gains, and an image patch is a vector of pixel intensities. The 2025-26 paper contains one 7-mark linear dependence question in this unit; the remaining syllabus areas are strong predicted questions. Expect roughly 7–14 marks, with the real marks likely coming from subspaces, basis/dimension and rank–nullity.


Front Page: Importance-Wise Topic Roadmap (2023–26 PYQs + Prediction)

Priority Topic (Exact Syllabus) PYQ Status Marks Weightage Tag
1 Linear independence 1 (2025-26) 7m Survival Mode PYQ
2 Basis and Dimension Predicted — Survival Mode
3 RankNullity 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 Spanning set Predicted — Core Concept
10 Applications : Digital signal processing (DSP) Predicted — ECE Context
11 wireless communication Predicted — ECE Context
12 antenna array processing Predicted — ECE Context
13 image Predicted — ECE Context

2-Hour Last-Night Survival Checklist:

  1. Independence (#1): place the given vectors as columns; determinant zero ⇒ dependence. For X1=(3,1,−4)X_1=(3,1,-4), X2=(2,2,−3)X_2=(2,2,-3), X3=(0,−4,1)X_3=(0,-4,1), det⁡=0\det=0 and −2X1+3X2+X3=0-2X_1+3X_2+X_3=0.
  2. Subspace (#4): check non-empty and closure under αu+βv\alpha u+\beta v. A zero-mean signal set {x:∑xi=0}\{x:\sum x_i=0\} passes; a positive-amplitude set fails because it has no additive inverse.
  3. Basis (#2): independent plus spanning; row-reduce and keep the original pivot columns. The DFT sinusoids form a basis for RN\mathbb{R}^N, so any sample block has a unique expansion.
  4. Rank–nullity (#3): rank⁡T+nullity⁡T=dim⁡(domain)\operatorname{rank}T+\operatorname{nullity}T=\dim(\text{domain}). For 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), rank 22, nullity 11.
  5. ECE map (#10–#13): modes → basis vectors, interference cancellation → null space, compressed image → low-dimensional subspace, channel taps → vector in RL\mathbb{R}^L.

1. Vector Spaces over the Field of Real Numbers

Vector space: a set VV with addition and scalar multiplication satisfying closure, commutativity, associativity, a zero vector 0\mathbf0, additive inverses −u-u, and the distributive laws α(u+v)=αu+αv\alpha(u+v)=\alpha u+\alpha v, (α+β)u=αu+βu(\alpha+\beta)u=\alpha u+\beta u.

Vector space One vector looks like ECE meaning
RN\mathbb{R}^N (x1,…,xN)(x_1,\ldots,x_N) One block of NN speech samples
Mm×n(R)M_{m\times n}(\mathbb{R}) A matrix A grayscale image patch or a channel matrix
PnP_n A polynomial of degree ≤n\le n A polynomial approximation of a response curve
C[a,b]C[a,b] A continuous function A time waveform on an interval

A complex baseband signal is handled by stacking real and imaginary parts as one vector in R2N\mathbb{R}^{2N}, so the real-field theorem still applies.

Non-example: {(x1,x2):x1,x2≥0}\{(x_1,x_2):x_1,x_2\ge0\} is not a vector space over R\mathbb{R}: it has no additive inverses and (1,0)+(−1,0)(1,0)+(-1,0) would leave the set.

Examiner Tip: Test closure first. A single counterexample such as a negative scalar multiple settles a "is this a vector space?" question in two lines.


2. Subspaces

Subspace: W⊆VW\subseteq V is a subspace iff W≠∅W\ne\varnothing and αu+βv∈W\alpha u+\beta v\in W for every u,v∈Wu,v\in W and every α,β∈R\alpha,\beta\in\mathbb{R}.

Worked example: W={(x1,x2,x3)∈R3:x1+x2+x3=0}W=\{(x_1,x_2,x_3)\in\mathbb{R}^3:x_1+x_2+x_3=0\} is a zero-mean signal subspace. It contains 0\mathbf0, and if u,v∈Wu,v\in W then the coordinate sum of αu+βv\alpha u+\beta v is α⋅0+β⋅0=0\alpha\cdot0+\beta\cdot0=0. Writing x3=−x1−x2x_3=-x_1-x_2 gives

(x1,x2,−x1−x2)=x1(1,0,−1)+x2(0,1,−1),(x_1,x_2,-x_1-x_2)=x_1(1,0,-1)+x_2(0,1,-1),

so W=span⁡{(1,0,−1),(0,1,−1)}W=\operatorname{span}\{(1,0,-1),(0,1,-1)\} and dim⁡W=2\dim W=2.

ECE subspaces: even signals x[−n]=x[n]x[-n]=x[n]; signals vanishing at a sampling instant; images with a fixed grey-level mean; divergence-free fields used in electromagnetics. Superposition is valid in each precisely because the set is a subspace.


3. Spanning Set, Linear Independence, Basis and Dimension

  • span⁡{v1,…,vk}={α1v1+⋯+αkvk}\operatorname{span}\{v_1,\ldots,v_k\}=\{\alpha_1v_1+\cdots+\alpha_kv_k\} is every signal that can be synthesised from the given signals.
  • v1,…,vkv_1,\ldots,v_k are linearly dependent iff α1v1+⋯+αkvk=0\alpha_1v_1+\cdots+\alpha_kv_k=0 has a solution other than all zeros; for nn vectors in Rn\mathbb{R}^n this is equivalent to det⁡[v1⋯vn]=0\det[v_1\cdots v_n]=0.
  • A basis is a linearly independent spanning set; the number of its vectors is the dimension.

Algorithm: put the vectors as columns, row-reduce, and keep the original columns containing pivots. The reduced columns give the rank; the non-pivot columns give dependence relations.

In DSP the exponential sequences {cos⁡(2πkn/N),sin⁡(2πkn/N)}\{\cos(2\pi kn/N),\sin(2\pi kn/N)\} span the DFT basis; in image compression a handful of basis images approximate a patch; in antenna arrays, two identical steering vectors are dependent and provide no extra spatial degree of freedom.

%%{init: {'theme': 'base', 'look': 'handDrawn', 'themeVariables': {'fontFamily': "'Nunito', sans-serif", 'fontSize': '17px', 'primaryColor': '#EFEAD6', 'primaryBorderColor': '#0F766E', 'lineColor': '#23211C'}}}%%
flowchart TD
    A["Signal / channel / image vectors"] --> B{"αu + βv stays in the set?"}
    B -->|No| C["Not a subspace"]
    B -->|Yes| D["Place vectors as columns"]
    D --> E["Row-reduce"]
    E --> F{"Pivot in every column?"}
    F -->|Yes| G["Independent — basis candidate"]
    F -->|No| H["Dependent — extract relation"]

Examiner Tip: In a 7-mark dependence question, do not stop at det⁡=0\det=0. Solve for the scalars and print the actual relation; that is where the marks are awarded.


4. Linear Transformations, Range, Null Space and RankNullity

Linear transformation: T:U→VT:U\to V 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). Kernel ker⁡T={u:T(u)=0}\ker T=\{u:T(u)=0\}; range ran⁡T={T(u):u∈U}\operatorname{ran}T=\{T(u):u\in U\}.

RankNullity theorem: rank⁡T+nullity⁡T=dim⁡U\operatorname{rank}T+\operatorname{nullity}T=\dim U, the dimension of the domain.

Proof sketch: extend a kernel basis {u1,…,uk}\{u_1,\ldots,u_k\} to a basis {u1,…,uk,uk+1,…,un}\{u_1,\ldots,u_k,u_{k+1},\ldots,u_n\} of UU. The images T(uk+1),…,T(un)T(u_{k+1}),\ldots,T(u_n) are independent and span ran⁡T\operatorname{ran}T, so rank⁡T=n−k\operatorname{rank}T=n-k.

Worked example: T(x,y,z)=(x+y,y+z)T(x,y,z)=(x+y,y+z) has matrix A=[110011]A=\begin{bmatrix}1&1&0\\0&1&1\end{bmatrix}. Kernel: x=−yx=-y, z=−yz=-y, so ker⁡T=t(−1,1,−1)\ker T=t(-1,1,-1), nullity 11; range =R2=\mathbb{R}^2, rank 22; 2+1=3=dim⁡R32+1=3=\dim\mathbb{R}^3.

Matrix of a transformation: column jj is [T(bj)]C[T(b_j)]_{\mathcal C}. A change of basis gives [T]B′=P−1[T]BP[T]_{\mathcal B'}=P^{-1}[T]_{\mathcal B}P. In DSP this is the familiar similarity transform: the same linear filter has different matrices in the sample basis and the DFT basis, but the same eigenvalues.

Examiner Tip: A zero null-space means the mapping is one-to-one (no information loss); a non-zero kernel means a whole family of inputs maps to the same output — exactly the ambiguity a channel estimator must resolve.


5. ECE Applications

Exact syllabus application Vector-space idea Concrete ECE example
Applications : Digital signal processing (DSP) Basis expansion and linear transforms A length-NN frame x=∑kckϕkx=\sum_k c_k\phi_k in the DFT basis; filtering is T(x)T(x)
wireless communication Channel vector and null space h=(h1,…,hL)\mathbf h=(h_1,\ldots,h_L) for an LL-tap multipath channel; equaliser works modulo ker⁡T\ker T
antenna array processing Steering vectors and span a(θ)=(1,ejψ,…)T\mathbf a(\theta)=(1,e^{j\psi},\ldots)^T (stack real/imag parts); interference cancellation projects onto the null space of the interferer's steering vector
image Pixel patch as a vector; low-dimensional subspace An 8×88\times8 patch is a vector in R64\mathbb{R}^{64}; keeping 8 DCT basis images compresses it

6. Solved Exam-Ready Questions

Solved Q1 (2025-26, 7 Marks)

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: Put them as columns:

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

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 equation α=−23β\alpha=-\tfrac23\beta; from the second γ=13β\gamma=\tfrac13\beta; the third is then automatic. Choose β=3\beta=3:

−2X1+3X2+X3=(0,0,0)⇒X2=23X1+13X3.-2X_1+3X_2+X_3=(0,0,0)\quad\Rightarrow\quad X_2=\tfrac23X_1+\tfrac13X_3.

The vectors are linearly dependent and their span has dimension 2 — analogous to two identical antenna steering vectors giving only one spatial direction.


Solved Q2 (Predicted, 7 Marks — DSP)

Q: Show that the set of all x=(x1,x2,x3,x4)∈R4x=(x_1,x_2,x_3,x_4)\in\mathbb{R}^4 with x1+x2+x3+x4=0x_1+x_2+x_3+x_4=0 is a subspace and find a basis and its dimension.

Solution: The zero vector satisfies the condition. If x,yx,y do, then ∑(αxi+βyi)=α0+β0=0\sum(\alpha x_i+\beta y_i)=\alpha0+\beta0=0, so closure holds. Put x4=−x1−x2−x3x_4=-x_1-x_2-x_3:

x=x1(1,0,0,−1)+x2(0,1,0,−1)+x3(0,0,1,−1).x=x_1(1,0,0,-1)+x_2(0,1,0,-1)+x_3(0,0,1,-1).

These three vectors are independent (each has a unique 1 in a different first-three coordinate), so they form a basis and the dimension is 3=4−13=4-1. This zero-DC subspace is the set of signals with no DC component.


Solved Q3 (Predicted, 7 Marks)

Q: Find a basis and dimension of the span of {(1,1,0),(1,0,1),(2,1,1),(0,1,−1)}\{(1,1,0),(1,0,1),(2,1,1),(0,1,-1)\}.

Solution: The third vector equals the sum of the first two, so it is dependent. The remaining three columns give

det⁡[11010101−1]=1(0−1)−1(−1−0)=0,\det\begin{bmatrix}1&1&0\\1&0&1\\0&1&-1\end{bmatrix} =1(0-1)-1(-1-0)=0,

so they are also dependent. Row-reduction gives pivots in columns 1 and 3 only; keeping the original pivot columns, a basis is {(1,1,0),(1,0,1)}\{(1,1,0),(1,0,1)\} and the dimension is 2. (Indeed (0,1,−1)=(1,0,1)−(1,1,0)(0,1,-1)=(1,0,1)-(1,1,0).)


Solved Q4 (Predicted, 7 Marks — RankNullity)

Q: Verify the RankNullity theorem 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).

Solution: Matrix A=[110011]A=\begin{bmatrix}1&1&0\\0&1&1\end{bmatrix} has two independent rows, so rank⁡T=2\operatorname{rank}T=2. For the kernel, x+y=0x+y=0 and y+z=0y+z=0 give (x,y,z)=t(−1,1,−1)(x,y,z)=t(-1,1,-1), so nullity⁡T=1\operatorname{nullity}T=1. Hence 2+1=3=dim⁡R32+1=3=\dim\mathbb{R}^3. In a channel model this says: with three transmitted symbols and two independent observations, one direction of the input is unobservable.


Solved Q5 (Predicted, 7 Marks — Matrix of a Transformation)

Q: A 3-point moving-average filter on x=(x1,x2,x3)x=(x_1,x_2,x_3) is T(x)=13(x1+x2,  x1+x2+x3,  x2+x3)T(x)=\tfrac13(x_1+x_2,\;x_1+x_2+x_3,\;x_2+x_3). Write its matrix, find its range and kernel, and verify rank–nullity.

Solution:

A=13[110111011],det⁡ ⁣(13[110111011])=0.A=\frac13\begin{bmatrix}1&1&0\\1&1&1\\0&1&1\end{bmatrix},\quad \det\!\left(\frac13\begin{bmatrix}1&1&0\\1&1&1\\0&1&1\end{bmatrix}\right)=0.

The rows satisfy R1−R2+R3=0R_1-R_2+R_3=0, so rank =2=2 and the range is a 2D subspace of R3\mathbb{R}^3. Solving x1+x2=0x_1+x_2=0, x2+x3=0x_2+x_3=0 gives ker⁡T=t(1,−1,1)\ker T=t(1,-1,1), nullity 11; again 2+1=32+1=3. The input pattern (1,−1,1)(1,-1,1) is invisible to this smoother.


Solved Q6 (Predicted, 7 Marks — Antenna Array Processing)

Q: Two antenna steering directions are represented (after stacking real and imaginary parts) by s1=(1,0,1,0)s_1=(1,0,1,0) and s2=(0,1,0,1)s_2=(0,1,0,1), and an interferer by v=(1,1,1,1)v=(1,1,1,1). Show that s1,s2s_1,s_2 are independent and that v∈span⁡{s1,s2}v\in\operatorname{span}\{s_1,s_2\}; then find a non-zero vector orthogonal to both.

Solution: s1s_1 and s2s_2 are not multiples, so they are independent. Also v=s1+s2v=s_1+s_2, so the interferer lies in their span — an adaptive array can null it. A vector w=(1,0,−1,0)w=(1,0,-1,0) satisfies w⋅s1=0w\cdot s_1=0 and w⋅s2=0w\cdot s_2=0; it is a null-space direction usable as a beamformer weight. The nullity here is 4−2=24-2=2, so the orthogonal complement is two-dimensional.


Solved Q7 (Predicted, 7 Marks — Image)

Q: An image patch is stored as a vector in R64\mathbb{R}^{64}. If it is approximated by 8 DCT basis images, what are the dimensions of the spanning subspace and of the orthogonal complement? Explain the compression in vector-space language.

Solution: The 8 DCT basis images are independent, so dim⁡W=8\dim W=8. Since the ambient space is R64\mathbb{R}^{64}, the orthogonal complement has dimension 64−8=5664-8=56 by rank–nullity for the orthogonal projection. Keeping only the component in WW discards the 56-dimensional detail subspace; the reconstruction error is the norm of that discarded component.


7. Practice Questions (Self-Test)

  1. (2 Marks) Is {(x1,x2):x12+x22=1}\{(x_1,x_2):x_1^2+x_2^2=1\} a subspace of R2\mathbb{R}^2? (Ans: No — no zero vector and not closed under addition.)
  2. (2 Marks) What is dim⁡M2×4(R)\dim M_{2\times4}(\mathbb{R})? (Ans: 8.)
  3. (7 Marks) For T(A)=A+ATT(A)=A+A^T on M2(R)M_2(\mathbb{R}), find kernel, range, rank and nullity. (Ans: skew-symmetric kernel dim 1; symmetric range dim 3.)
  4. (7 Marks) Find a basis for {(a,b,c,d):a=2d, b=c}\{(a,b,c,d):a=2d,\ b=c\} and state its dimension. (Ans: (2,0,0,1)(2,0,0,1), (0,1,1,0)(0,1,1,0); dim 2.)
  5. (7 Marks — DSP) Explain why the DFT basis vectors are linearly independent and what the coefficients represent.
  6. (7 Marks — Wireless) A 3-tap channel gives T:R3→R3T:\mathbb{R}^3\to\mathbb{R}^3 with matrix [100010000]\begin{bmatrix}1&0&0\\0&1&0\\0&0&0\end{bmatrix}. Find rank, nullity and the unobservable input direction.
  7. (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) independent? (Ans: No — u+v=wu+v=w.)