Back to Linear Algebra

Subspaces and Spanning Sets

A subset is a subspace exactly when it is closed under linear combinations; spans generate one from a handful of chosen vectors.

Linear Algebra, Subspaces and Spanning Sets

Status
FlagsLoading your progress…

30 exercises

Exercise 1

Which of these subsets of the vector space of 2 ⁣× ⁣22\!\times\!2 matrices are subspaces under the inherited operations? For each one that is a subspace, parametrize its description. For each that is not, give a condition that fails.

  • {(a00b)∣a,b∈R}\{\hskip 1.00006pt\begin{pmatrix}a&0\\ 0&b\end{pmatrix}\mid a,b\in\mathbb{R}\hskip 1.00006pt\}

  • {(a00b)∣a+b=0}\{\hskip 1.00006pt\begin{pmatrix}a&0\\ 0&b\end{pmatrix}\mid a+b=0\hskip 1.00006pt\}

  • {(a00b)∣a+b=5}\{\hskip 1.00006pt\begin{pmatrix}a&0\\ 0&b\end{pmatrix}\mid a+b=5\hskip 1.00006pt\}

  • {(ac0b)∣a+b=0,c∈R}\{\hskip 1.00006pt\begin{pmatrix}a&c\\ 0&b\end{pmatrix}\mid a+b=0,c\in\mathbb{R}\hskip 1.00006pt\}

3.0

Exercise 2

Is this a subspace of P2\mathcal{P}_{2}: {a0+a1x+a2x2∣a0+2a1+a2=4}\{\hskip 1.00006pta_{0}+a_{1}x+a_{2}x^{2}\mid a_{0}+2a_{1}+a_{2}=4\hskip 1.00006pt\}? If it is then parametrize its description.

3.0

Exercise 3

Is the vector in the span of the set?

3.0

Exercise 4

Decide if the vector lies in the span of the set, inside of the space.

  • (201)\begin{pmatrix}2\\ 0\\ 1\end{pmatrix}, {(100),(001)}\{\hskip 1.00006pt\begin{pmatrix}1\\ 0\\ 0\end{pmatrix},\begin{pmatrix}0\\ 0\\ 1\end{pmatrix}\hskip 1.00006pt\}, in R3\mathbb{R}^{3}

  • x−x3x-x^{3}, {x2,2x+x2,x+x3}\{\hskip 1.00006ptx^{2},2x+x^{2},x+x^{3}\hskip 1.00006pt\}, in P3\mathcal{P}_{3}

  • (0142)\begin{pmatrix}0&1\\ 4&2\end{pmatrix}, {(1011),(2023)}\{\hskip 1.00006pt\begin{pmatrix}1&0\\ 1&1\end{pmatrix},\begin{pmatrix}2&0\\ 2&3\end{pmatrix}\hskip 1.00006pt\}, in M2 ⁣× ⁣2\mathcal{M}_{2\!\times\!2}

3.0

Exercise 5

A superhero is at the origin of a two dimensional plane. The superhero has two devices, a hoverboard that moves any distance in the direction (31)\binom{3}{1} and a magic carpet that moves any distance in the direction (12)\binom{1}{2}.

  • An evil villain is hiding out in the plane at the point (−5,7)(-5,7). How many hoverboard units and magic carpet units does the superhero have to move to get to the villain?

  • Is there anywhere in the p…

3.0

Exercise 6

Which of these are members of the span [{cos⁡2x,sin⁡2x}][\text{$\{\hskip 1.00006pt\cos^{2}x,\sin^{2}x\hskip 1.00006pt\}$}] in the vector space of real-valued functions of one real variable?

  • (a)  f(x)=1f(x)=1     (b)  f(x)=3+x2f(x)=3+x^{2}     (c)  f(x)=sin⁡xf(x)=\sin x     (d)  f(x)=cos⁡(2x)f(x)=\cos(2x)

3.0

Exercise 7

Which of these sets spans R3\mathbb{R}^{3}? That is, which of these sets has the property that any three-tall vector can be expressed as a suitable linear combination of the set’s elements?

  • (a)  {(100),(020),(003)}\{\hskip 1.00006pt\begin{pmatrix}1\\ 0\\ 0\end{pmatrix},\begin{pmatrix}0\\ 2\\ 0\end{pmatrix},\begin{pmatrix}0\\ 0\\ 3\end{pmatrix}\hskip 1.00006pt\}     (b)  {(201),(110),(001)}\{\hskip 1.00006pt\begin{pmatrix}2\\ 0\\ 1\end{pmatrix},\begin{pmatrix}1\\ 1\\ 0\end{pmatrix},\begin{pmatrix}0\\ 0\\ 1\end{pmatrix}\hskip 1.00006pt\}     (c)  {(110),(300)}\{\hskip 1.00006pt\begin{pmatrix}1\\ 1\\ 0\end{pmatrix},\begin{pmatrix}3\\ 0\\ 0\end{pmatrix}\hskip 1.00006pt\}     (d)  {(101),(310),(−100),(215)}\{\hskip 1.00006pt\begin{pmatrix}1\\ 0\\ 1\end{pmatrix},\begin{pmatrix}3\\ 1\\ 0\end{pmatrix},\begin{pmatrix}-1\\ 0\\ 0\end{pmatrix},\begin{pmatrix}2\\ 1\\ 5\end{pmatrix}\hskip 1.00006pt\}     (e)  {(211),(301),(512),(602)}\{\hskip 1.00006pt\begin{pmatrix}2\\ 1\\ 1\end{pmatrix},\begin{pmatrix}3\\ 0\\ 1\end{pmatrix},\begin{pmatrix}5\\ 1\\ 2\end{pmatrix},\begin{pmatrix}6\\ 0\\ 2\end{pmatrix}\hskip 1.00006pt\}

3.0

Exercise 8

Parametrize each subspace’s description. Then express each subspace as a span.

  • The subset {(abc)∣a−c=0}\{\hskip 1.00006pt(\begin{matrix}a&b&c\end{matrix})\mid a-c=0\hskip 1.00006pt\} of the three-wide row vectors

  • This subset of M2 ⁣× ⁣2\mathcal{M}_{2\!\times\!2}

    {(abcd)∣a+d=0}\{\hskip 1.00006pt\begin{pmatrix}a&b\\ c&d\end{pmatrix}\mid a+d=0\hskip 1.00006pt\}
  • This subset of M2 ⁣× ⁣2\mathcal{M}_{2\!\times\!2}

    {(abcd)∣2a−c−d=0 and a+3b=0}\{\hskip 1.00006pt\begin{pmatrix}a&b\\ c&d\end{pmatrix}\mid\text{$2a-c-d=0$ and $a+3b=0$}\hskip 1.00006pt\}
  • The subset {a+bx+cx3∣a−2b+c=0}\{\hskip 1.00006pta+bx+cx^{3}\mid a-2b+c=0\hskip 1.00006pt\} of P3\mathcal{P}_{3}

  • The subset of P2\mathcal{P}_{2} of quadratic polynomials pp such that p(7)=0p(7)=0

3.0

Exercise 9

Find a set to span the given subspace of the given space. (Hint. Parametrize each.)

  • the xzxz-plane in R3\mathbb{R}^{3}

  • {(xyz)∣3x+2y+z=0}\{\hskip 1.00006pt\begin{pmatrix}x\\ y\\ z\end{pmatrix}\mid 3x+2y+z=0\hskip 1.00006pt\} in R3\mathbb{R}^{3}

  • {(xyzw)∣2x+y+w=0 and y+2z=0}\{\hskip 1.00006pt\begin{pmatrix}x\\ y\\ z\\ w\end{pmatrix}\mid 2x+y+w=0\text{\ and\ }y+2z=0\hskip 1.00006pt\} in R4\mathbb{R}^{4}

  • {a0+a1x+a2x2+a3x3∣a0+a1=0 and a2−a3=0}\{\hskip 1.00006pta_{0}+a_{1}x+a_{2}x^{2}+a_{3}x^{3}\mid a_{0}+a_{1}=0\text{\ and\ }a_{2}-a_{3}=0\hskip 1.00006pt\} in P3\mathcal{P}_{3}

  • The set P4\mathcal{P}_{4} in the space P4\mathcal{P}_{4}

  • M2 ⁣× ⁣2\mathcal{M}_{2\!\times\!2} in M2 ⁣× ⁣2\mathcal{M}_{2\!\times\!2}

3.0

Exercise 10

Is R2\mathbb{R}^{2} a subspace of R3\mathbb{R}^{3}?

3.0

Exercise 11

Decide if each is a subspace of the vector space of real-valued functions of one real variable.

  • The even functions {f ⁣:R→R∣f(−x)=f(x)for all x}\{\hskip 1.00006pt\text{$f\colon\mathbb{R}\to\mathbb{R}$}\mid f(-x)=f(x)\text{for all }x\hskip 1.00006pt\}. For example, two members of this set are f1(x)=x2f_{1}(x)=x^{2} and f2(x)=cos⁡(x)f_{2}(x)=\cos(x).

  • The odd functions {f ⁣:R→R∣f(−x)=−f(x) for all x}\{\hskip 1.00006pt\text{$f\colon\mathbb{R}\to\mathbb{R}$}\mid f(-x)=-f(x)\text{ for all }x\hskip 1.00006pt\}. Two members are f3(x)=x3f_{3}(x)=x^{3} and f4(x)=sin⁡(x)f_{4}(x)=\sin(x).

3.0

Exercise 12

Example 2.16 says that for any vector v⃗\vec{v} that is an element of a vector space VV, the set {r⋅v⃗∣r∈R}\{\hskip 1.00006ptr\cdot\vec{v}\mid r\in\mathbb{R}\hskip 1.00006pt\} is a subspace of VV. (This is simply the span of the singleton set {v⃗}\{\hskip 1.00006pt\vec{v}\hskip 1.00006pt\}.) Must any such subspace be a proper subspace?

3.0

Exercise 13

An example following the definition of a vector space shows that the solution set of a homogeneous linear system is a vector space. In the terminology of this subsection, it is a subspace of Rn\mathbb{R}^{n} where the system has nn variables. What about a non-homogeneous linear system; do its solutions form a subspace (under the inherited operations)?

3.0

Exercise 14

Give an example of each or explain why it would be impossible to do so.

  • A nonempty subset of M2 ⁣× ⁣2\mathcal{M}_{2\!\times\!2} that is not a subspace.

  • A set of two vectors in R2\mathbb{R}^{2} that does not span the space.

3.0

Exercise 15

Example 2.19 shows that R3\mathbb{R}^{3} has infinitely many subspaces. Does every nontrivial space have infinitely many subspaces?

3.0

Exercise 16

Finish the proof of Lemma 2.9.

3.0

Exercise 17

Show that each vector space has only one trivial subspace.

3.0

Exercise 18

Show that for any subset SS of a vector space, the span of the span equals the span [[S]]=[S][[S]]=[S]. (Hint. Members of [S][S] are linear combinations of members of SS. Members of [[S]][[S]] are linear combinations of linear combinations of members of SS.)

3.0

Exercise 19

All of the subspaces that we’ve seen in some way use zero in their description. For example, the subspace in Example 2.3 consists of all the vectors from R2\mathbb{R}^{2} with a second component of zero. In contrast, the collection of vectors from R2\mathbb{R}^{2} with a second component of one does not form a subspace (it is not closed under scalar multiplication). Another example is Example 2.2, where the condition on the ve…

3.0

Exercise 20

We can give a justification for the convention that the sum of zero-many vectors equals the zero vector. Consider this sum of three vectors v⃗1+v⃗2+v⃗3\vec{v}_{1}+\vec{v}_{2}+\vec{v}_{3}.

  • What is the difference between this sum of three vectors and the sum of the first two of these three?

  • What is the difference between the prior sum and the sum of just the first one vector?

  • What should be the difference between the prior sum of one vec…

3.0

Exercise 21

Is a space determined by its subspaces? That is, if two vector spaces have the same subspaces, must the two be equal?

3.0

Exercise 22

  • Give a set that is closed under scalar multiplication but not addition.

  • Give a set closed under addition but not scalar multiplication.

  • Give a set closed under neither.

3.0

Exercise 23

Show that the span of a set of vectors does not depend on the order in which the vectors are listed in that set.

3.0

Exercise 24

Which trivial subspace is the span of the empty set? Is it

or some other subspace?

3.0

Exercise 25

Show that if a vector is in the span of a set then adding that vector to the set won’t make the span any bigger. Is that also ‘only if’?

3.0

Exercise 26

Subspaces are subsets and so we naturally consider how ‘is a subspace of’ interacts with the usual set operations.

  • If A,BA,B are subspaces of a vector space, must their intersection A∩BA\cap B be a subspace? Always? Sometimes? Never?

  • Must the union A∪BA\cup B be a subspace?

  • If AA is a subspace of some VV, must its set complement V−AV-A be a subspace?

(Hint. Try some test subspaces from Example 2.19.)

3.0

Exercise 27

Does the span of a set depend on the enclosing space? That is, if WW is a subspace of VV and SS is a subset of WW (and so also a subset of VV), might the span of SS in WW differ from the span of SS in VV?

3.0

Exercise 28

Is the relation ‘is a subspace of’ transitive? That is, if VV is a subspace of WW and WW is a subspace of XX, must VV be a subspace of XX?

3.0

Exercise 29

Because ‘span of’ is an operation on sets we naturally consider how it interacts with the usual set operations.

  • If S⊆TS\subseteq T are subsets of a vector space, is [S]⊆[T][S]\subseteq[T]? Always? Sometimes? Never?

  • If S,TS,T are subsets of a vector space, is [S∪T]=[S]∪[T][S\cup T]=[S]\cup[T]?

  • If S,TS,T are subsets of a vector space, is [S∩T]=[S]∩[T][S\cap T]=[S]\cap[T]?

  • Is the span of the complement equal to the complement of the span?

3.0

Exercise 30

Find a structure that is closed under linear combinations, and yet is not a vector space.

3.0

Adapted from Linear Algebra © 2016 Jim Hefferon. Licensed under CC BY-SA 3.0 US. Source: Linear Algebra. Imported at revision df2262e.