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 0W\mathbf{0} \in W
  2. WW is closed under addition: if u,vW\mathbf{u}, \mathbf{v} \in W, then u+vW\mathbf{u} + \mathbf{v} \in W
  3. WW is closed under scalar multiplication: if uW\mathbf{u} \in W and cFc \in F, then cuWc\mathbf{u} \in W

Subspace Test

To prove WW is a subspace of VV, verify:

  1. 0W\mathbf{0} \in W (non-empty and contains zero)
  2. u+vW\mathbf{u} + \mathbf{v} \in W for all u,vW\mathbf{u}, \mathbf{v} \in W (closed under +)
  3. cuWc\mathbf{u} \in W for all uW\mathbf{u} \in W, cFc \in F (closed under scalar ×)

Alternatively, conditions 2 and 3 can be combined:

  • For all u,vW\mathbf{u}, \mathbf{v} \in W and scalars c,dc, d: cu+dvWc\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)={xRn: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:xRn}\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 xAx\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 00+10 \neq 0 + 1)

Intersection of Subspaces

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

Proof:

  1. 0U\mathbf{0} \in U and 0W\mathbf{0} \in W, so 0UW\mathbf{0} \in U \cap W
  2. If u,vUW\mathbf{u}, \mathbf{v} \in U \cap W, then u+vU\mathbf{u} + \mathbf{v} \in U and u+vW\mathbf{u} + \mathbf{v} \in W, so u+vUW\mathbf{u} + \mathbf{v} \in U \cap W
  3. If uUW\mathbf{u} \in U \cap W, then cuUc\mathbf{u} \in U and cuWc\mathbf{u} \in W, so cuUWc\mathbf{u} \in U \cap W

Sum of Subspaces

The sum of subspaces UU and WW:

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

This is also a subspace.