Type a command or search the notes. Tab cycles completions. Up and down recall history when blank. Escape dismisses, then leaves the prompt.
MATH
[1251]

Subspaces

Subspaces inherit vector-space operations and can be tested by closure.

A subspace is a subset that is itself a vector space under the operations it inherits. This page reduces the ten axioms to a three-condition test and applies it to vectors, polynomials and matrices.

Inheriting the vector-space structure

[DEFINITION]

Vector space

A vector space VV over a field FF is a non-empty set of vectors equipped with an addition rule V×V→VV\times V\to V and a scalar-multiplication rule F×V→VF\times V\to V satisfying:

  1. Closure under addition: if u,v∈Vu,v\in V, then u+v∈Vu+v\in V.
  2. Associativity of addition: (u+v)+w=u+(v+w)(u+v)+w=u+(v+w).
  3. Commutativity of addition: u+v=v+uu+v=v+u.
  4. Zero vector: there is a 0∈V0\in V such that 0+u=u+0=u0+u=u+0=u.
  5. Additive inverses: for every u∈Vu\in V, there is a −u∈V-u\in V such that u+(−u)=(−u)+u=0u+(-u)=(-u)+u=0.
  6. Closure under scalar multiplication: if u∈Vu\in V and λ∈F\lambda\in F, then λu∈V\lambda u\in V.
  7. Associativity of scalar multiplication: λ(μu)=(λμ)u\lambda(\mu u)=(\lambda\mu)u.
  8. Multiplication by one: 1u=u1u=u.
  9. Scalar distributivity: (λ+μ)u=λu+μu(\lambda+\mu)u=\lambda u+\mu u.
  10. Vector distributivity: λ(u+v)=λu+λv\lambda(u+v)=\lambda u+\lambda v.
[DEFINITION]

Subspace

Let VV be a vector space over FF. A subset S⊆VS\subseteq V is a subspace of VV when it is a vector space over the same field FF and uses the addition and scalar multiplication inherited from VV. A proper subspace is a subspace that is not equal to VV.

Two elements of SS are added as they are in VV and scalar multiplication uses the same scalars. The sets {0}\{0\} and VV are always subspaces of VV. When m≤nm\leq n, the standard embedding

(x1,…,xm)⟼(x1,…,xm,0,…,0⏟n−m)(x_1,\ldots,x_m)\longmapsto(x_1,\ldots,x_m,\underbrace{0,\ldots,0}_{n-m})

identifies Rm\mathbb R^m with the coordinate subspace {(x1,…,xm,0,…,0)}⊆Rn\{(x_1,\ldots,x_m,0,\ldots,0)\}\subseteq\mathbb R^n. For n≥2n\ge2, a plane through the origin in Rn\mathbb R^n is another example.

Testing closure

Most axioms hold in SS automatically because they hold in VV, so there is no need to check all ten again.

[THEOREM]

Subspace test

Let SS be a subset of a vector space VV over FF, with the operations inherited from VV. Then SS is a subspace of VV if and only if:

  1. SS is non-empty;
  2. SS is closed under vector addition: u,v∈Su,v\in S implies u+v∈Su+v\in S;
  3. SS is closed under scalar multiplication: u∈Su\in S and λ∈F\lambda\in F imply λu∈S\lambda u\in S.

Non-emptiness and scalar closure supply the zero vector and additive inverses, so these three conditions are enough.

[PROOF]

If SS is a subspace, the three properties are part of the vector-space axioms. Conversely, the inherited operations already satisfy associativity, commutativity and distributivity because they do so in VV. Choose u∈Su\in S using non-emptiness. Scalar closure gives

0u=0∈S0u=0\in S

and, for every u∈Su\in S,

(−1)u=−u∈S.(-1)u=-u\in S.

Thus SS has the zero vector and additive inverses, while the three listed properties provide the remaining requirements.

[COROLLARY]

The zero-vector check

Every subspace contains the zero vector of its underlying vector space. Therefore, a subset that does not contain 00 is not a subspace.

Keep {0}\{0\} and ∅\varnothing distinct. The set {0}\{0\} has one element and is a subspace; the empty set has none and fails the non-emptiness condition.

Examples and non-examples

[EXAMPLE]

A line through the origin

For a fixed non-zero direction vector w∈Rnw\in\mathbb R^n, consider

S={x∈Rn:x=λw, λ∈R}.S=\{x\in\mathbb R^n:x=\lambda w,\ \lambda\in\mathbb R\}.

The zero vector is in SS by taking λ=0\lambda=0. If x1=λ1wx_1=\lambda_1w and x2=λ2wx_2=\lambda_2w, then

x1+x2=(λ1+λ2)w∈S.x_1+x_2=(\lambda_1+\lambda_2)w\in S.

For μ∈R\mu\in\mathbb R,

μx1=(μλ1)w∈S.\mu x_1=(\mu\lambda_1)w\in S.

The subspace test shows that SS is a subspace of Rn\mathbb R^n.

[routine]

  1. [1]:Subspace test

The same test applies when membership is a homogeneous condition on a polynomial or a matrix.

[EXAMPLE]

Polynomials satisfying a homogeneous condition

Consider

S={p∈P3(R):p(1)=0}.S=\{p\in P_3(\mathbb R):p(1)=0\}.

The zero polynomial belongs to SS. If p1,p2∈Sp_1,p_2\in S, then

(p1+p2)(1)=p1(1)+p2(1)=0,(p_1+p_2)(1)=p_1(1)+p_2(1)=0,

and if p∈Sp\in S and λ∈R\lambda\in\mathbb R, then

(λp)(1)=λp(1)=0.(\lambda p)(1)=\lambda p(1)=0.

Thus SS is a subspace of P3(R)P_3(\mathbb R). It is not merely {0}\{0\}; for example, x−1∈Sx-1\in S.

[routine]

  1. [1]:Subspace test
[EXAMPLE]

Matrices annihilating a fixed vector

For a fixed x∈Rnx\in\mathbb R^n, let

S={A∈Mm×n(R):Ax=0}.S=\{A\in M_{m\times n}(\mathbb R):Ax=0\}.

The zero matrix belongs to SS. If A1,A2∈SA_1,A_2\in S, then

(A1+A2)x=A1x+A2x=0.(A_1+A_2)x=A_1x+A_2x=0.

If A∈SA\in S and λ∈R\lambda\in\mathbb R, then

(λA)x=λ(Ax)=0.(\lambda A)x=\lambda(Ax)=0.

Therefore SS is a subspace of Mm×n(R)M_{m\times n}(\mathbb R).

[routine]

  1. [1]:Subspace test

To reject a proposed subspace, one failed check is enough: a missing zero vector or a failed closure condition.

[EXAMPLE]

Sets that are not subspaces

For a fixed non-zero u∈Rnu\in\mathbb R^n, the set

{x∈Rn:x=λu, −10≤λ≤10}\{x\in\mathbb R^n:x=\lambda u,\ -10\leq\lambda\leq10\}

is not closed under addition: 10u10u belongs to it but 10u+10u=20u10u+10u=20u does not.

The affine line

{x∈R2:x1+2x2=1}\{x\in\mathbb R^2:x_1+2x_2=1\}

does not contain the zero vector. Likewise, neither

{p∈P3(R):p(x)=1 for every x∈R}nor{p∈P2(R):p(0)=1}\{p\in P_3(\mathbb R):p(x)=1\text{ for every }x\in\mathbb R\} \qquad\text{nor}\qquad \{p\in P_2(\mathbb R):p(0)=1\}

contains the zero polynomial. Finally, the invertible matrices in Mn×n(R)M_{n\times n}(\mathbb R) do not form a subspace because the zero matrix is not invertible.

Replacing the right-hand side 11 by 00 gives homogeneous conditions such as p(x)=0p(x)=0 for every xx or p(0)=0p(0)=0 and these do define subspaces. The same contrast between homogeneous and non-homogeneous conditions returns with kernels of linear transformations.

Spans build a subspace from chosen vectors.

On this page