ConceptComplete

Subspaces

A subspace is a subset of a vector space that is itself a vector space under the inherited operations. Subspaces are the natural "sub-objects" in linear algebra.


Definition and criterion

Definition1.2Subspace

Let VV be a vector space over a field FF. A subset WβŠ†VW \subseteq V is a subspace of VV if WW is itself a vector space over FF with the same operations of addition and scalar multiplication.

Theorem1.2Subspace test

A subset WβŠ†VW \subseteq V is a subspace if and only if:

  1. 0∈W0 \in W (nonempty, contains zero)
  2. u+v∈Wu + v \in W for all u,v∈Wu, v \in W (closed under addition)
  3. cv∈Wcv \in W for all c∈Fc \in F, v∈Wv \in W (closed under scalar multiplication)

Equivalently, conditions (2) and (3) can be combined: Wβ‰ βˆ…W \neq \varnothing and au+bv∈Wau + bv \in W for all a,b∈Fa, b \in F and u,v∈Wu, v \in W.

Proof

If WW is a subspace, then (1)-(3) hold by the vector space axioms. Conversely, if (1)-(3) hold, then the axioms of commutativity, associativity, distributivity, etc., are inherited from VV since WβŠ†VW \subseteq V. Closure under scalar multiplication with c=βˆ’1c = -1 gives existence of additive inverses.

β– 

Examples

ExampleTrivial subspaces

For any vector space VV:

  • {0}\{0\} is a subspace (the zero subspace or trivial subspace).
  • VV itself is a subspace.

These are called the improper subspaces. All other subspaces are proper.

ExampleLines and planes through the origin

In R3\mathbb{R}^3:

  • Any line through the origin is a subspace: W={t(a,b,c)∣t∈R}W = \{t(a, b, c) \mid t \in \mathbb{R}\} for a fixed nonzero vector (a,b,c)(a, b, c).
  • Any plane through the origin is a subspace: W={(x,y,z)∣ax+by+cz=0}W = \{(x, y, z) \mid ax + by + cz = 0\} for constants a,b,ca, b, c (not all zero).
  • A line or plane not through the origin is not a subspace (it does not contain 00).
ExampleSymmetric and skew-symmetric matrices

Let V=MnΓ—n(F)V = M_{n \times n}(F). Then:

  • Symn(F)={A∈V∣AT=A}\text{Sym}_n(F) = \{A \in V \mid A^T = A\} is a subspace (symmetric matrices).
  • Skewn(F)={A∈V∣AT=βˆ’A}\text{Skew}_n(F) = \{A \in V \mid A^T = -A\} is a subspace (skew-symmetric matrices).

When char(F)β‰ 2\text{char}(F) \neq 2, we have V=Symn(F)βŠ•Skewn(F)V = \text{Sym}_n(F) \oplus \text{Skew}_n(F) via A=12(A+AT)+12(Aβˆ’AT)A = \tfrac{1}{2}(A + A^T) + \tfrac{1}{2}(A - A^T).

ExampleDiagonal matrices

The set of nΓ—nn \times n diagonal matrices Dn(F)={A∈MnΓ—n(F)∣aij=0Β forΒ iβ‰ j}D_n(F) = \{A \in M_{n \times n}(F) \mid a_{ij} = 0 \text{ for } i \neq j\} is a subspace of MnΓ—n(F)M_{n \times n}(F) of dimension nn.

ExampleUpper triangular matrices

The set Un(F)={A∈MnΓ—n(F)∣aij=0Β forΒ i>j}U_n(F) = \{A \in M_{n \times n}(F) \mid a_{ij} = 0 \text{ for } i > j\} of upper triangular matrices is a subspace of MnΓ—n(F)M_{n \times n}(F) of dimension n(n+1)/2n(n+1)/2.

ExamplePolynomials of bounded degree

Pn(F)βŠ†P(F)P_n(F) \subseteq P(F) is a subspace for each nβ‰₯0n \geq 0. Note that the set of polynomials of degree exactly nn is not a subspace (it does not contain 00, and it is not closed under addition: (x2+x)+(βˆ’x2)=xβˆ‰(x^2 + x) + (-x^2) = x \notin degree-2 polynomials).

ExampleEven and odd functions

In F(R,R)F(\mathbb{R}, \mathbb{R}):

  • Weven={f∣f(βˆ’x)=f(x)Β forΒ allΒ x}W_{\text{even}} = \{f \mid f(-x) = f(x) \text{ for all } x\} is a subspace.
  • Wodd={f∣f(βˆ’x)=βˆ’f(x)Β forΒ allΒ x}W_{\text{odd}} = \{f \mid f(-x) = -f(x) \text{ for all } x\} is a subspace.

Every function decomposes as f(x)=f(x)+f(βˆ’x)2+f(x)βˆ’f(βˆ’x)2f(x) = \tfrac{f(x)+f(-x)}{2} + \tfrac{f(x)-f(-x)}{2} (even + odd).

ExampleNull space of a matrix

For A∈MmΓ—n(F)A \in M_{m \times n}(F), the null space N(A)={x∈Fn∣Ax=0}N(A) = \{x \in F^n \mid Ax = 0\} is a subspace of FnF^n. If Au=0Au = 0 and Av=0Av = 0, then A(au+bv)=aAu+bAv=0A(au + bv) = aAu + bAv = 0.

ExampleNon-example: first quadrant

W={(x,y)∈R2∣xβ‰₯0,yβ‰₯0}W = \{(x, y) \in \mathbb{R}^2 \mid x \geq 0, y \geq 0\} is not a subspace. It contains (1,1)(1, 1) but not (βˆ’1)(1,1)=(βˆ’1,βˆ’1)(-1)(1, 1) = (-1, -1), so it fails closure under scalar multiplication.

ExampleNon-example: unit circle

W={(x,y)∈R2∣x2+y2=1}W = \{(x, y) \in \mathbb{R}^2 \mid x^2 + y^2 = 1\} is not a subspace: 0βˆ‰W0 \notin W, and (1,0)+(0,1)=(1,1)βˆ‰W(1, 0) + (0, 1) = (1, 1) \notin W.

ExampleNon-example: affine subspace

W={(x,y)∈R2∣x+y=1}W = \{(x, y) \in \mathbb{R}^2 \mid x + y = 1\} is not a subspace because (0,0)βˆ‰W(0, 0) \notin W. However, WW is an affine subspace (a translate of the subspace {(x,y)∣x+y=0}\{(x, y) \mid x + y = 0\}).

ExampleDifferentiable functions as a subspace

C1(R)βŠ†C(R)βŠ†F(R,R)C^1(\mathbb{R}) \subseteq C(\mathbb{R}) \subseteq F(\mathbb{R}, \mathbb{R}) are nested subspaces. The differentiable functions form a subspace of the continuous functions, which form a subspace of all functions.


Operations on subspaces

Definition1.3Sum of subspaces

If W1,W2W_1, W_2 are subspaces of VV, their sum is

W1+W2={w1+w2∣w1∈W1,β€…β€Šw2∈W2}.W_1 + W_2 = \{w_1 + w_2 \mid w_1 \in W_1,\; w_2 \in W_2\}.

This is the smallest subspace of VV containing both W1W_1 and W2W_2.

Definition1.4Direct sum

VV is the direct sum of subspaces W1W_1 and W2W_2, written V=W1βŠ•W2V = W_1 \oplus W_2, if V=W1+W2V = W_1 + W_2 and W1∩W2={0}W_1 \cap W_2 = \{0\}. Equivalently, every v∈Vv \in V can be written uniquely as v=w1+w2v = w_1 + w_2 with wi∈Wiw_i \in W_i.

ExampleDirect sum decomposition of R^3

In R3\mathbb{R}^3, let W1={(a,0,0)∣a∈R}W_1 = \{(a, 0, 0) \mid a \in \mathbb{R}\} (the xx-axis) and W2={(0,b,c)∣b,c∈R}W_2 = \{(0, b, c) \mid b, c \in \mathbb{R}\} (the yzyz-plane). Then R3=W1βŠ•W2\mathbb{R}^3 = W_1 \oplus W_2: every (a,b,c)=(a,0,0)+(0,b,c)(a, b, c) = (a, 0, 0) + (0, b, c) uniquely.

Theorem1.3Dimension formula for subspaces

If W1W_1 and W2W_2 are finite-dimensional subspaces of VV, then

dim⁑(W1+W2)=dim⁑W1+dim⁑W2βˆ’dim⁑(W1∩W2).\dim(W_1 + W_2) = \dim W_1 + \dim W_2 - \dim(W_1 \cap W_2).

RemarkLooking ahead

Subspaces correspond to certain linear maps: every subspace WβŠ†VW \subseteq V is the kernel of some linear map (namely, the projection Vβ†’V/WV \to V/W). The interplay between subspaces and linear maps is explored in Chapter 2.