Vectors & SpacesTopic #4 of 30

Subspaces

Subspace definition, subspace test, null space, column space, and row space.

Overview

A subspace is a subset of a vector space that is itself a vector space under the same operations. Subspaces are fundamental in understanding the structure of vector spaces.

Definition

A subset WW of a vector space VV is a subspace if:

  1. The zero vector 0∈W\mathbf{0} \in W
  2. WW is closed under addition: if u,v∈W\mathbf{u}, \mathbf{v} \in W, then u+v∈W\mathbf{u} + \mathbf{v} \in W
  3. WW is closed under scalar multiplication: if u∈W\mathbf{u} \in W and c∈Fc \in F, then cu∈Wc\mathbf{u} \in W

Subspace Test

To prove WW is a subspace of VV, verify:

  1. 0∈W\mathbf{0} \in W (non-empty and contains zero)
  2. u+v∈W\mathbf{u} + \mathbf{v} \in W for all u,v∈W\mathbf{u}, \mathbf{v} \in W (closed under +)
  3. cu∈Wc\mathbf{u} \in W for all u∈W\mathbf{u} \in W, c∈Fc \in F (closed under scalar ×)

Alternatively, conditions 2 and 3 can be combined:

  • For all u,v∈W\mathbf{u}, \mathbf{v} \in W and scalars c,dc, d: cu+dv∈Wc\mathbf{u} + d\mathbf{v} \in W

Important Subspaces

Trivial Subspaces

Every vector space VV has two trivial subspaces:

  • {0}\{\mathbf{0}\} - the zero subspace
  • VV itself

Null Space (Kernel)

For an m×nm \times n matrix AA, the null space is:

Null(A)={x∈Rn:Ax=0}\text{Null}(A) = \{\mathbf{x} \in \mathbb{R}^n : A\mathbf{x} = \mathbf{0}\}

Properties:

  • Always a subspace of Rn\mathbb{R}^n
  • Contains all solutions to homogeneous system Ax=0A\mathbf{x} = \mathbf{0}

Column Space (Image)

For an m×nm \times n matrix AA:

Col(A)={Ax:x∈Rn}\text{Col}(A) = \{A\mathbf{x} : \mathbf{x} \in \mathbb{R}^n\}

Properties:

  • Subspace of Rm\mathbb{R}^m
  • Spanned by columns of AA
  • Range of the linear transformation x↦Ax\mathbf{x} \mapsto A\mathbf{x}

Row Space

For matrix AA:

Row(A)=Col(AT)\text{Row}(A) = \text{Col}(A^T)

Properties:

  • Subspace of Rn\mathbb{R}^n
  • Spanned by rows of AA

Examples

Example 1: Line Through Origin

W={(x,y)∈R2:y=2x}W = \{(x, y) \in \mathbb{R}^2 : y = 2x\}

Test:

  1. (0,0)∈W(0, 0) \in W since 0=2(0)0 = 2(0) ✓
  2. If (a,2a),(b,2b)∈W(a, 2a), (b, 2b) \in W, then (a+b,2a+2b)=(a+b,2(a+b))∈W(a+b, 2a+2b) = (a+b, 2(a+b)) \in W ✓
  3. If (a,2a)∈W(a, 2a) \in W, then c(a,2a)=(ca,2ca)∈Wc(a, 2a) = (ca, 2ca) \in W ✓

WW is a subspace of R2\mathbb{R}^2.

Example 2: Plane Through Origin

W={(x,y,z)∈R3:x+y+z=0}W = \{(x, y, z) \in \mathbb{R}^3 : x + y + z = 0\}

This is a subspace (verify using the test).

Example 3: Non-Subspace

W={(x,y)∈R2:y=x+1}W = \{(x, y) \in \mathbb{R}^2 : y = x + 1\}

Not a subspace because:

  • (0,0)∉W(0, 0) \notin W (since 0≠0+10 \neq 0 + 1)

Intersection of Subspaces

If UU and WW are subspaces of VV, then U∩WU \cap W is also a subspace of VV.

Proof:

  1. 0∈U\mathbf{0} \in U and 0∈W\mathbf{0} \in W, so 0∈U∩W\mathbf{0} \in U \cap W
  2. If u,v∈U∩W\mathbf{u}, \mathbf{v} \in U \cap W, then u+v∈U\mathbf{u} + \mathbf{v} \in U and u+v∈W\mathbf{u} + \mathbf{v} \in W, so u+v∈U∩W\mathbf{u} + \mathbf{v} \in U \cap W
  3. If u∈U∩W\mathbf{u} \in U \cap W, then cu∈Uc\mathbf{u} \in U and cu∈Wc\mathbf{u} \in W, so cu∈U∩Wc\mathbf{u} \in U \cap W

Sum of Subspaces

The sum of subspaces UU and WW:

U+W={u+w:u∈U,w∈W}U + W = \{\mathbf{u} + \mathbf{w} : \mathbf{u} \in U, \mathbf{w} \in W\}

This is also a subspace.