Linear Algebra: Span, Null Space, Column Space & Linear Transformations

Introduction & Course Logistics

  • Lecture opens with administrative notice on copyright (Section 113P, Copyright Act 1968); redistribution prohibited.
  • Appreciation for high attendance; counters common trend of declining lecture participation.
  • Current focus: Chapter 4.2 (Lei & others) – builds on MATH1013 material in a more abstract framework.
  • Announcements
    • New MATLAB quiz released; multiple-choice style allows trial-and-error learning.
    • Optional textbook exercises (calculus posted by Alex, linear-algebra problems forthcoming). Some include solutions.
    • Seeking assistance encouraged whenever wording in different resources feels unfamiliar.

Recap: Vector Spaces & Subspaces

  • Vector space examples: Rn\mathbb{R}^n, polynomials of bounded degree, matrices of fixed size, functions, etc.
  • Defining operations: vector addition + scalar multiplication must satisfy the 10 vector-space axioms.
  • Subspace: non-empty subset that is closed under the above two operations; inherits the same axioms.

Linear Combinations & Span

  • Scalar field fixed to R\mathbb{R} for this course.
  • Linear combination of v<em>1,,v</em>nVv<em>1,\dots,v</em>n\in V: c<em>1v</em>1++c<em>nv</em>nc<em>1v</em>1+\dots+c<em>n v</em>n with finitely many coefficients ciRc_i\in\mathbb{R}.
    • Finite restriction avoids convergence issues of infinite sums.
    • In Rn\mathbb{R}^n the combination equals matrix–vector product [v<em>1    v</em>n]c[v<em>1\;\dots\; v</em>n]\,\mathbf{c}.
  • Span
    • spanv<em>1,,v</em>n=c<em>1v</em>1++c<em>nv</em>nciR\operatorname{span}{v<em>1,\dots,v</em>n}={c<em>1v</em>1+\dots+c<em>n v</em>n\mid c_i\in\mathbb{R}}.
    • Convention: span()=0\operatorname{span}(\varnothing)={\mathbf{0}} (analogue of 0!=10! = 1).
    • The span of finitely many vectors is itself a subspace and is, in fact, the smallest subspace containing those vectors.
  • Example (2×2 matrices)
    • Given three matrices, their span consists of all matrices of the form [c<em>1+c</em>2+c<em>3c</em>1 c<em>2c</em>3]\begin{bmatrix}c<em>1+c</em>2+c<em>3 & c</em>1 \ c<em>2 & c</em>3\end{bmatrix}, hence a subspace of M2×2(R)M_{2\times2}(\mathbb{R}).

Null Space of a Matrix

  • Homogeneous linear system Ax=0A\mathbf{x}=\mathbf{0}; right-hand side is entirely zeros.
    • Always consistent because x=0\mathbf{x}=\mathbf{0} solves it.
  • Definition: N(A)=xRnAx=0\mathcal{N}(A)={\mathbf{x}\in\mathbb{R}^n\mid A\mathbf{x}=\mathbf{0}}.
  • Dimensions: for AA of size m×nm\times n, null space lives in Rn\mathbb{R}^n (domain dimension).
  • Proof that N(A)\mathcal{N}(A) is a subspace (classic three-step method)
    1. Contains 0\mathbf{0} since A0=0A\mathbf{0}=\mathbf{0}.
    2. Closed under addition: if v,wN(A)\mathbf{v},\mathbf{w}\in\mathcal{N}(A) then A(v+w)=Av+Aw=0+0=0A(\mathbf{v}+\mathbf{w})=A\mathbf{v}+A\mathbf{w}=\mathbf{0}+\mathbf{0}=\mathbf{0}.
    3. Closed under scalar multiplication: A(cv)=cAv=c0=0A(c\mathbf{v})=c\,A\mathbf{v}=c\,\mathbf{0}=\mathbf{0}.
  • Alternative proof: solution set of a homogeneous system → expressible as span of finitely many vectors (after row-reduction) → subspace.
  • Worked example
    • Row-reduce augmented matrix, identify free variables x<em>2,x</em>4,x<em>5x<em>2,x</em>4,x<em>5, express x</em>1,x3x</em>1,x_3 in terms of them.
    • General solution =pu+qv+rw= p\,\mathbf{u}+q\,\mathbf{v}+r\,\mathbf{w}; hence N(A)=spanu,v,w\mathcal{N}(A)=\operatorname{span}{\mathbf{u},\mathbf{v},\mathbf{w}}.

Column Space of a Matrix

  • Definition: col(A)=spancolumns of A\operatorname{col}(A)=\operatorname{span}{\text{columns of }A} — the set of all linear combinations of columns.
  • Subspace of Rm\mathbb{R}^m because each column has mm entries (codomain dimension).
  • Set notation: col(A)=bRmxRn such that Ax=b\operatorname{col}(A)={\mathbf{b}\in\mathbb{R}^m\mid \exists\,\mathbf{x}\in\mathbb{R}^n\text{ such that }A\mathbf{x}=\mathbf{b}}.
  • Example
    • A=[v<em>1  v</em>2]A=[\,\mathbf{v}<em>1\;\mathbf{v}</em>2\,], \mathbf{b}=\begin{bmatrix}1\2\3\end{bmatrix}.
    • Solve Ax=bA\mathbf{x}=\mathbf{b} via augmented matrix. If consistent ⇒ bcol(A)\mathbf{b}\in\operatorname{col}(A).
    • If columns are multiples, col(A)=spanv<em>1=spanv</em>2\operatorname{col}(A)=\operatorname{span}{\mathbf{v}<em>1}=\operatorname{span}{\mathbf{v}</em>2}.
  • Reflective questions posed to students:
    • When does N(A)=0\mathcal{N}(A)={\mathbf{0}}?
    • When does col(A)=Rm\operatorname{col}(A)=\mathbb{R}^m or reduce to 0{\mathbf{0}}?

Linear Transformations: Abstract Perspective

  • Notation: T:VWT:V \to W.
  • Requirements for linearity
    1. T(v+w)=T(v)+T(w)T(\mathbf{v}+\mathbf{w}) = T(\mathbf{v}) + T(\mathbf{w}).
    2. T(cv)=cT(v)T(c\,\mathbf{v}) = c\,T(\mathbf{v}) for all cRc\in\mathbb{R}.
  • Interpretative slogan: “Applying operations in VV then mapping equals mapping then applying operations in WW.”
  • Remember: The "$+$" or "$c\,\cdot$" on the two sides may denote different implementations (e.g.
    polynomial addition vs. matrix addition).
Canonical Examples
  • Zero map 0:VW0:V\to W, 0(v)=0W0(\mathbf{v})=\mathbf{0}_W.
  • Identity map I:VVI:V\to V, I(v)=vI(\mathbf{v})=\mathbf{v}.
  • Matrix multiplication: T(x)=AxT(\mathbf{x})=A\mathbf{x} for ARm×nA\in\mathbb{R}^{m\times n}.
    • Fundamental theorem: every linear map RnRm\mathbb{R}^n\to\mathbb{R}^m can be represented by a unique matrix AA.
  • Derivative operator D:P<em>nP</em>nD:P<em>n\to P</em>n, D(a<em>0+a</em>1x++a<em>nxn)=a</em>1+2a<em>2x++na</em>nxn1D(a<em>0+a</em>1x+\dots+a<em>n x^n)=a</em>1+2a<em>2x+\dots+n a</em>n x^{n-1}.
  • Transpose map T:AATT:A\mapsto A^T on matrices M<em>2×3(R)M</em>3×2(R)M<em>{2\times3}(\mathbb{R})\to M</em>{3\times2}(\mathbb{R}).
Non-Examples & Pitfalls
  • Mapping with products or powers of entries (e.g. T\big(\begin{bmatrix}a & b\c & d\end{bmatrix}\big)=\begin{bmatrix}ad & bc\ac & bd\end{bmatrix}) breaks linearity.
  • Adding constant terms: T(p)=xp(x)+1T(p)=x\,p(x)+1 maps P<em>2P</em>3P<em>2\to P</em>3 but T(0)0T(0)\neq0 ⇒ not linear.
Quick Test: T(0)T(\mathbf{0})
  • Proven property: For any linear transformation, T(0<em>V)=0</em>WT(\mathbf{0}<em>V)=\mathbf{0}</em>W.
    • Proof sketch: T(0)=T(0+0)=T(0)+T(0)T(\mathbf{0}) = T(\mathbf{0}+\mathbf{0}) = T(\mathbf{0})+T(\mathbf{0}) ⇒ subtract ⇒ T(0)=0T(\mathbf{0})=\mathbf{0}.
    • Contrapositive logic: If a map sends 0\mathbf{0} to a non-zero vector, it cannot be linear.

Kernel & Range – Abstract Analogues

  • Kernel (a.k.a. null space of a transformation)
    • ker(T)=vVT(v)=0W\ker(T)={\mathbf{v}\in V\mid T(\mathbf{v})=\mathbf{0}_W} — subspace of VV.
  • Range (a.k.a. image)
    • ran(T)=wWvV:T(v)=w\operatorname{ran}(T)={\mathbf{w}\in W\mid \exists\,\mathbf{v}\in V: T(\mathbf{v})=\mathbf{w}} — subspace of WW.
  • Connection to matrices
    • For T(x)=AxT(\mathbf{x})=A\mathbf{x}: ker(T)=N(A)\ker(T)=\mathcal{N}(A) and ran(T)=col(A)\operatorname{ran}(T)=\operatorname{col}(A).

Proof & Reasoning Skills Emphasized

  • Subspace verification via three axioms vs. span argument.
  • Row-reduction to convert implicit descriptions into explicit (parametric) ones.
  • Logical equivalence AB    ¬B¬AA\Rightarrow B \iff \lnot B \Rightarrow \lnot A used for disproving linearity.
  • Importance of tracking ambient spaces (domain vs. codomain) for null vs. column spaces, or kernel vs. range.

Practical & Ethical Implications

  • Ethical: respect licensing; do not redistribute lecture content without permission.
  • Practical: Understanding abstract definitions allows extension beyond Rn\mathbb{R}^n – crucial in functional analysis, differential equations, computer graphics, etc.
  • MATLAB quizzes & optional exercises foster incremental learning; leverage trial-and-error in multiple-choice context.

Suggested Exercises & Reflections

  • Determine conditions on ARm×nA\in\mathbb{R}^{m\times n} for:
    • N(A)=0\mathcal{N}(A)={\mathbf{0}} (hint: pivot in every column).
    • col(A)=Rm\operatorname{col}(A)=\mathbb{R}^m (hint: pivot in every row).
  • Show that the transpose map T:M<em>m×nM</em>n×mT:M<em>{m\times n}\to M</em>{n\times m} is linear using the two axioms explicitly.
  • Provide an explicit spanning set for the kernel of D:P<em>3P</em>3D:P<em>3\to P</em>3.
  • Explore real-world link: interpret kernel of a differential operator as the set of solutions to a homogeneous ODE.

Study Tips

  • Re-derive proofs on your own; writing each line cements logic chains.
  • When given an “implicit” description (e.g.
    equations), row-reduce to obtain the “explicit” span form.
  • For any proposed map, test linearity rapidly by checking T(0)T(\mathbf{0}) and by trying to violate one axiom with simple counter-examples.
  • Keep track of dimensions: domain size nn vs. codomain size mm influences which space ((\mathbb{R}^n) or (\mathbb{R}^m)) a subspace lives in.