SPAN

By John Gilbert and John Meth


I. BASICS OF SPAN

A general way of creating subspaces of a vector space is in terms of linear combinations.

    Definition: The Span of a set of vectors $S = \left\{ \ {\bf v}_1,\, {\bf v}_2,\, \ldots, \, {\bf v}_k \ \right\}$ in a vector space $V$ is the set $$\textrm{Span}( \ S \ ) = \textrm{Span}\left\{\,{\bf v}_1,\, {\bf v}_2,\, \ldots, \, {\bf v}_k\right\} = \left\{\, c_1 {\bf v}_1 + c_2 {\bf v_2} + \ldots + c_k {\bf v}_k\,\middle\vert \, c_j \ \in \ {\mathbb R}\,\right\} $$       of all linear combinations of the ${\bf v}_1,\, {\bf v}_2,\, \ldots, \, {\bf v}_k$ and real numbers $\,c_j,\, 1 \le j \le k$.

        When $$\textrm{Span}( \ S \ ) = \textrm{Span}\big\{\,{\bf v}_1,\, {\bf v}_2,\, \ldots, \, {\bf v}_k\big\} \ = \ V$$       we say that $S = \left\{ \ {\bf v}_1,\, {\bf v}_2,\, \ldots, \, {\bf v}_k \ \right\}$ is a SPANNING SET for $V$.

  Theorem 1: The $\,\textrm{Span}\big\{\,{\bf v}_1,\, {\bf v}_2,\,\ldots, \, {\bf v}_k\big\}$ of vectors ${\bf v}_1,\, {\bf v}_2,\, \ldots, \, {\bf v}_k$ in a vector space $V$, is a subspace of $V$, hence a vector space.

  Proof: We check that $$\,\textrm{Span}\big\{\,{\bf v}_1,\, {\bf v}_2,\, \ldots, \, {\bf v}_k\big\}$$ has the three properties of a subspace. For ease of notation, suppose $k = 2$.

  Property Z:   take $c_1 = c_2 = 0$. Then $\textrm{Span}\{{\bf v}_1,\, {\bf v}_2\}$ contains $ 0 {\bf v}_1 + 0 {\bf v}_2 = {\bf 0}_V$.

  Property AC:   Fix arbitrary vectors in $\textrm{Span}\{{\bf v}_1,\, {\bf v}_2\}$, say $${\bf u} \,=\, c_1 {\bf v}_1 + c_2 {\bf v}_2, \quad {\bf v} \,=\, d_1 {\bf v}_1 + d_2 {\bf v}_2,$$

then $${\bf u} + {\bf v} \,=\, (c_1+d_1){\bf v}_1 + (c_2+d_2){\bf v}_2\,,$$ which shows that ${\bf u}+{\bf v}$ belongs to $\textrm{Span}\{{\bf v}_1,\, {\bf v}_2\}$.

  Property SC:   Now fix an arbitrary scalar $k$. Then $$k {\bf u} \,=\, k(c_1 {\bf v}_1 + c_2 {\bf v}_2) \,=\, (k c_1){\bf v}_1 + (k c_2){\bf v}_2\,,$$ which shows that $k {\bf u}$ belongs to $\textrm{Span}\{{\bf v}_1,\, {\bf v}_2\}$.

    Thus $\textrm{Span}\{{\bf v}_1,\, {\bf v}_2\}$ is a subspace of $V$.

    For a single nonzero vector, ${\bf v},$ $\textrm{Span}({\bf v}) = \{ t \ {\bf v} \, | \, -\infty \, < t \, < \,\infty\,\}$ consists of all scalar multiples of ${\bf v}$. Geometrically, this is a Line in ${\mathbb R}^n$ passing through the origin at $t = 0$. By Fundamental Theorem 1, this line is a subspace of ${\mathbb R}^n$. Can you see why the line $\{ {\bf u} + t {\bf v} \ | \, -\infty < t < \infty \, \}$ through ${\bf u}$ in the direction of ${\bf v}$ is not a subspace? Similarly, the span of two vectors is usually a plane through the origin, hence a subspace of ${\mathbb R}^3$, but a plane not passing through the origin is not a subspace of ${\mathbb R}^3$.

  Example 1: Determine $\textrm{Span}\{ {\bf u},\, {\bf v}\}$ in ${\mathbb R}^3$ when $${\bf u} \ = \ \left[\begin{array}{cc} 2 \\ -4 \\ -2 \end{array}\right], \qquad {\bf v} \ = \ \left[\begin{array}{cc} 0 \\ 1 \\ -3 \end{array}\right]\,. $$


  Solution: A vector ${\bf x}$ lies in $\textrm{Span}\{ {\bf u},\, {\bf v}\}$ when the vector equation $$ s {\bf u} + t {\bf v} \ = \ {\bf x}$$ has a solution as an equation in $s,\, t$. Now the augmented matrix of this equation is

$$ \left[\begin{array}{cc} 2 & 0 & x \\ -4 & 1 & y \\ -2 & -3 & z \end{array} \right]\ \sim \ \left[\begin{array}{cc} 2 & 0 & x \\ 0 & 1 & 2x + y \\ -2 & -3 & z \end{array} \right] $$

$$\ \sim \ \left[\begin{array}{cc} 2 & 0 & x \\ 0 & 1 & 2x + y \\ 0 & -3 & x + z \end{array} \right]\qquad \qquad $$ $$\qquad \qquad \sim \ \left[\begin{array}{cc} 2 & 0 & x \\ 0 & 1 & 2x + y \\ 0 & 0 & 7x + 3y + z \end{array} \right].$$ But the original vector equation will not be consistent unless the right-most column is not a pivot column. Thus $x,\, y, \, z$ must satisfy the equation $$7x + 3y + z \ = \ 0\,,$$ and for each point in this plane the original vector equation will have a solution. So, geometrically, $\textrm{Span}\{ {\bf u},\, {\bf v}\}$ is the plane $7x + 3y + z = 0$ in ${\mathbb R}^3$.


Another way to describe $\textrm{Span}( \ S \ )$ is to say it is the smallest subspace of $V$ containing the set $S$.

  Theorem 2: If $W$ is a subspace of a vector space $V,$ and $S = \left\{ \ {\bf v}_1,\, {\bf v}_2,\, \ldots, \, {\bf v}_k \ \right\}$ is a subset of $W,$ then $\textrm{Span}( \ S \ )$ is a subspace of $W.$

We use this fact frequently in solving differential equations. For example, let $L[ \ y \ ] = y^{\, \prime \prime} + y = 0$. We know that $V_L$ is a subspace of $C(\mathbb{R})$, and we know that $S = \left\{ \cos t , \sin t \right\} \subseteq V_L$ since both $\cos t$ and $\sin t$ are solutions to the differential equation. Thus, by Theorem 2, we know that $\textrm{Span}( \ S \ )$ is a subspace of $V_L:$ $$\textrm{Span}( \ S \ ) = \left\{ \ c_1 \cos t + c_2 \sin t \ \middle\vert \ c_1 , c_2 \in \mathbb{R} \ \right\} \subseteq V_L.$$ The fact that they are equal, $\textrm{Span}( \ S \ ) = V_L,$ comes from a theorem in differential equations. See Differential Equations and Their Applications by Martin Braun, section 2.1, Theorem 2.

II. EXAMPLES

When studying subspaces, we saw that every vector space $V$ is a subspace of itself, so in a trivial way we can express every vector space as a subspace. It is highly nontrivial that the same thing is true about spans.

  Theorem 3: Every finite dimensional vector space, $V \cong \mathbb{R}^n,$ can be expressed as the span of a finite set $S.$ That is, there exist vectors ${\bf v}_1 , \dots , {\bf v}_k \in V$ such that $$V = \textrm{Span}\left\{ {\bf v}_1, \dots , {\bf v}_k \right\}.$$

WARNING: The spanning set $S$ is NOT unique. For example, the $x$-axis in $\mathbb{R}^2$ can be expressed as $$\left\{ \left[ \begin{array}{c} x \\ 0 \end{array} \right] \ \middle\vert \ x \in \mathbb{R} \right\} = \textrm{Span}\left\{ \left[ \begin{array}{c} 1 \\ 0 \end{array} \right] \right\} = \textrm{Span}\left\{ \left[ \begin{array}{c} -1 \\ 0 \end{array} \right] \right\} = \textrm{Span}\left\{ \left[ \begin{array}{c} \sqrt{2} \\ 0 \end{array} \right] \right\}.$$
Let us use this theorem to construct spanning sets for all the vector spaces (finite-dimensional only) that we have seen so far.