How to find a basis for and the dimension of a subspace.
Lines or planes through the origin can be written as spans of their direction vectors. However, a line or plane that doesn’t pass through the origin cannot be written as a span—it must be expressed as a translated span.
Figure6.0.1.
There’s something special about sets that can be expressed as (untranslated) spans. In particular, since a linear combination of linear combinations is still a linear combination, a span is closed with respect to linear combinations. That is, by taking linear combinations of vectors in a span, you cannot escape the span. In general, sets that have this property are called subspaces.
Definition6.0.2.Subspace.
A non-empty subset \(V\subseteq \R^{n}\) is called a subspace if for all \(\vec u,\vec v\in V\) and all scalars \(k\) we have
(i)
\(\vec u+\vec v\in V\text{;}\) and
(ii)
\(k\vec u\in V\text{.}\)
In the definition of a subspace, property (i) is called being closed with respect to vector addition and property (ii) is called being closed with respect to scalar multiplication.
Subspaces generalize the idea of flat spaces through the origin. They include lines, planes, volumes and more.
Example6.0.3.
Let \(\mathcal{V}\subseteq \R^{2}\) be the complete solution to \(x+2y=0\text{.}\) Show that \(\mathcal{V}\) is a subspace.
Solution.
Let \(\vec u = \mat{u_1\\u_2}\) and \(\vec v = \mat{v_1\\v_2}\) be in \(\mathcal{V}\text{,}\) and let \(k\) be a scalar.
\(\mathcal{W}\) is not a subspace. To see this, notice that \(\vec v=\mat{1\\1}\in \mathcal{W}\text{,}\) but \(0\vec v=\vec 0\notin\mathcal{W}\text{.}\) Therefore, \(\mathcal{W}\) is not closed under scalar multiplication and so it cannot be a subspace.
As mentioned earlier, subspaces and spans are deeply connected. This connection is given by the following theorem.
Theorem6.0.5.Subspace-Span.
Every subspace is a span and every span is a subspace. More precisely, \(\mathcal{V}\subseteq \R^{n}\) is a subspace if and only if \(\mathcal{V}= \Span\mathcal{X}\) for some set \(\mathcal{X}\text{.}\)
Proof.
We will start by showing every span is a subspace. Fix \(\mathcal{X}\subseteq\R^{n}\) and let \(\mathcal{V}=\Span\mathcal{X}\text{.}\) First note that if \(\mathcal{X}\neq \Set{}\text{,}\) then \(\mathcal{V}\) is non-empty because \(\mathcal{X}\subseteq\mathcal{V}\) and if \(\mathcal{X}=\Set{}\text{,}\) then \(\mathcal{V}=\Set{\vec 0}\text{,}\) and so is still non-empty.
Fix \(\vec v,\vec u\in\mathcal{V}\text{.}\) By definition there are \(\vec x_{1},\vec x_{2},\ldots,\vec y_{1},\vec y_{2},\ldots\in\mathcal{X}\) and scalars \(\alpha_{1},\alpha_{2},\ldots,\beta_{1},\beta_{2},\ldots\) so that
is also a linear combination of vectors in \(\mathcal{X}\) (because all \(\vec x_{i}\) and \(\vec y_{i}\) are in \(\mathcal{X}\)), and so \(\vec u+\vec v\in \Span\mathcal{X}=\mathcal{V}\text{.}\)
To verify property (ii), observe that for any scalar \(\alpha\text{,}\)
Since \(\mathcal{V}\) is non-empty and satisfies both properties (i) and (ii), it is a subspace.
Now we will prove that every subspace is a span. Let \(\mathcal{V}\) be a subspace and consider \(\mathcal{V}'=\Span\mathcal{V}\text{.}\) Since taking a span may only enlarge a set, we know \(\mathcal{V}\subseteq \mathcal{V}'\text{.}\) If we establish that \(\mathcal{V}'\subseteq\mathcal{V}\text{,}\) then \(\mathcal{V}=\mathcal{V}'=\Span\mathcal{V}\text{,}\) which would complete the proof.
Fix \(\vec x\in\mathcal{V}'\text{.}\) By definition, there are \(\vec v_{1},\vec v_{2},\ldots,\vec v_{n}\in\mathcal{V}\) and scalars \(\alpha_{1},\alpha_{2},\ldots,\alpha_{n}\) so that
Observe that \(\alpha_{i}\vec v_{i}\in\mathcal{V}\) for all \(i\text{,}\) since \(\mathcal{V}\) is closed under scalar multiplication. It follows that \(\alpha_{1}\vec v_{1}+\alpha_{2}\vec v_{2}\in\mathcal{V}\text{,}\) because \(\mathcal{V}\) is closed under sums. Continuing, \((\alpha_{1}\vec v_{1}+\alpha_{2}\vec v_{2})+\alpha_{3}\vec v_{3}\in\mathcal{V}\) because \(\mathcal{V}\) is closed under sums. Applying the principle of finite induction, we see
Thus \(\mathcal{V}'\subseteq\mathcal{V}\text{,}\) which completes the proof.
The previous theorem is saying that spans and subspaces are two ways of talking about the same thing. Spans provide a constructive definition of lines/planes/volumes/etc. through the origin. That is, when you describe a line/plane/etc. through the origin as a span, you’re saying “this is a line/plane/etc. through the origin because every point in it is a linear combination of these specific vectors”. In contrast, subspaces provide a categorical definition of lines/planes/etc. through the origin. When you describe a line/plane/etc. through the origin as a subspace, you’re saying “this is a line/plane/etc. through the origin because these properties are satisfied” 1
Categorical definitions are useful when working with objects where it’s hard to pin down exactly what the elements inside are.
.
Takeaway6.0.6.
Spans and subspaces are two different ways of talking about the same objects: points/lines/planes/etc. through the origin.
Section6.1Special Subspaces
When thinking about \(\R^{n}\text{,}\) there are two special subspaces that are always available. The first is \(\R^{n}\) itself. \(\R^{n}\) is obviously non-empty, and linear combinations of vectors in \(\R^{n}\) remain in \(\R^{n}\text{.}\) The second is the trivial subspace, \(\Set{\vec 0}\text{.}\)
Definition6.1.1.Trivial Subspace.
The subset \(\Set{\vec 0}\subseteq\R^{n}\) is called the trivial subspace.
Theorem6.1.2.
The trivial subspace is a subspace.
Proof.
First note that \(\Set{\vec 0}\) is non-empty since \(\vec 0\in\Set{\vec 0}\text{.}\) Now, since \(\vec 0\) is the only vector in \(\Set{\vec 0}\text{,}\) properties (i) and (ii) follow quickly:
Let \(\vec d=\mat{2\\1}\) and consider \(\ell=\Span\Set{\vec d}\text{.}\)
Figure6.2.1.
We know that \(\ell\) is a subspace, and we defined \(\ell\) as the span of \(\Set{\vec d}\text{,}\) but we didn’t have to define \(\ell\) that way. We could have, for instance, defined \(\ell=\Span\Set{\vec d,-2\vec d,\tfrac{1}{2}\vec d}\text{.}\) However, \(\Span\Set{\vec d}\) is a simpler way to describe \(\ell\) than \(\Span\Set{\vec d,-2\vec d,\tfrac{1}{2}\vec d}\text{.}\) This property is general: the simplest descriptions of a line involve the span of only one vector.
Analogously, let \(\mathcal{P}=\Span\Set{\vec d_1,\vec d_2}\) be the plane through the origin with direction vectors \(\vec d_{1}\) and \(\vec d_{2}\text{.}\) There are many ways to write \(\mathcal{P}\) as a span, but the simplest ones involve exactly two vectors. The idea of a basis comes from trying to find the simplest description of a subspace.
Definition6.2.2.Basis.
A basis for a subspace \(\mathcal{V}\) is a linearly independent set of vectors, \(\mathcal{B}\text{,}\) so that \(\Span\mathcal{B}=\mathcal{V}\text{.}\)
In short, a basis for a subspace is a linearly independent set that spans that subspace.
Example6.2.3.
Let \(\ell=\Span\Set{\mat{1\\2},\mat{-2\\-4}, \mat{1/2\\1}}\text{.}\) Find two different bases for \(\ell\text{.}\)
Solution.
We are looking for a set of linearly independent vectors that spans \(\ell\text{.}\) Notice that \(\mat{1\\2}= -\tfrac{1}{2}\mat{-2\\-4}= 2\matc{1/2\\1}\text{.}\) Therefore,
Because \(\Set{\mat{1\\2}}\) is linearly independent and spans \(\ell\text{,}\) we have that \(\Set{\mat{1\\2}}\) is a basis for \(\ell\text{.}\) Similarly, \(\Set{\matc{1/2\\1}}\) is another basis for \(\ell\text{.}\)
Unpacking the definition of basis a bit more, we can see that a basis for a subspace is a set of vectors that is just the right size to describe everything in the subspace. It’s not too big—because it is linearly independent, there are no redundancies. It’s not too small—because we require it to span the subspace 1
If you’re into British fairy tales, you might call a basis a Goldilocks set.
.
There are several facts everyone should know about bases:
Bases are not unique. Every subspace (except the trivial subspace) has multiple bases.
Given a basis for a subspace, every vector in the subspace can be written as a unique linear combination of vectors in that basis.
Any two bases for the same subspace have the same number of elements.
You can prove the first fact by observing that if \(\mathcal{B}=\Set{\vec b_1,\vec b_2,\ldots}\) is a basis with at least one element 2
The empty set is a basis for the trivial subspace.
, then \(\Set{2\vec b_1,2\vec b_2,\ldots}\) is a different basis. The second fact is a consequence of all bases being linearly independent. The third fact is less obvious and takes some legwork to prove, so we will accept it as is.
Section6.3Dimension
Let \(\mathcal{V}\) be a subspace. Though there are many bases for \(\mathcal{V}\text{,}\) they all have the same number of vectors in them. And, this number says something fundamental about \(\mathcal{V}\text{:}\) it tells us the maximum number of linearly independent vectors that can simultaneously exist in \(\mathcal{V}\text{.}\) We call this number the dimension of \(\mathcal{V}\text{.}\)
Definition6.3.1.Dimension.
The dimension of a subspace \(V\) is the number of elements in a basis for \(V\text{.}\)
This definition agrees with our intuition about lines and planes: the dimension of a line through \(\vec 0\) is \(1\text{,}\) and the dimension of a plane through \(\vec 0\) is \(2\text{.}\) It even tells us the dimension of the single point \(\Set{\vec 0}\) is \(0\) 1
The dimension of a line, plane, or point not through the origin is defined to be the dimension of the subspace obtained when it is translated to the origin.
.
Example6.3.2.
Find the dimension of \(\R^{2}\text{.}\)
Solution.
Since \(\Set{\xhat, \yhat}\) is a basis for \(\R^{2}\text{,}\) we know \(\R^{2}\) is two dimensional.
Example6.3.3.
Let \(\ell=\Span\Set{\mat{1\\2},\mat{-2\\-4}, \mat{1/2\\1}}\text{.}\) Find the dimension of the subspace \(\ell\text{.}\)
Solution.
This is the same subspace from the earlier example where we found \(\Set{\mat{1\\2}}\) and \(\Set{\matc{1/2\\1}}\) were bases for \(\ell\text{.}\) Both these bases contain one element, and so \(\ell\) is a one dimensional subspace.
Example6.3.4.
Let \(A=\Set{(x_1,x_2,x_3,x_4)\given x_1+2x_2-x_3=0\text{ and }x_1+6x_4=0}\text{.}\) Find a basis for and the dimension of \(A\text{.}\)
Therefore \(A=\Span\Set{\matc{0\\1/2\\1\\0}, \mat{-6\\3\\0\\1}}\text{.}\) Since \(\Set{\matc{0\\1/2\\1\\0}, \mat{-6\\3\\0\\1}}\) is a linearly independent spanning set with two elements, \(A\) is two dimensional.
Like \(\R^{2}\) and \(\R^{3}\text{,}\) whenever we discuss \(\R^{n}\text{,}\) we always have a standard basis that comes along for the ride.
Definition6.3.5.Standard Basis.
The standard basis for \(\R^{n}\) is the set \(\Set{\vec e_1,\ldots,\vec e_n}\) where
That is \(\vec e_{i}\) is the vector with a \(1\) in its \(i\)th coordinate and zeros elsewhere.
Note: the notation \(\vec e_{i}\) is context specific. If we say \(\vec e_{i}\in\R^{2}\text{,}\) then \(\vec e_{i}\) must have exactly two coordinates. If we say \(\vec e_{i}\in\R^{45}\text{,}\) then \(\vec e_{i}\) must have \(45\) coordinates.
Exercises6.4Exercises
1.
For each of the following sets, prove whether or not they are a subspace.
\(\mathcal{T} \subseteq \R^{2}\text{,}\) where \(\mathcal{T}\) is the complete solution to \(3x-y=0\text{.}\)
\(\mathcal{U} \subseteq \R^{2}\text{,}\) where \(\mathcal{U}\) is the complete solution to \(\frac{1}{2}x-6y=0\text{.}\)
\(\mathcal{V} \subseteq \R^{2}\text{,}\) where \(\mathcal{V}\) is the complete solution to \(x-5y-1=0\text{.}\)
\(\mathcal{X} \subseteq \R^{3}\text{,}\) where \(\mathcal{X}\) is the complete solution to \(5x-\pi y + (\ln 2)z=0\text{.}\)
\(\mathcal{Q} \subseteq \R^{n}\text{,}\) where \(\mathcal{Q}\) is the complete solution to \(a_{1}x_{1}+a_{2}x_{2}+...+a_{n-1}x_{n-1}+a_{n}x_{n}=0\) where \(a_{1},...,a_{n} \in \R\text{.}\)
Solution.
\(\mathcal{T}\) is a subspace: it is non-empty since \(\mat{0\\0}\in\mathcal{T}\text{.}\)
Let \(\mat{x_1\\y_1},\mat{x_2\\y_2}\in \mathcal{T}\text{.}\) Then \(3x_{1}-y_{1}=0=3x_{2}-y_{2}\text{.}\) Hence \(3(x_{1}+x_{2})-(y_{1}+y_{2})=(3x_{1}-y_{1})+(3x_{2}-y_{1})=0+0=0\) and \(\mat{x_1\\y_1}+\mat{x_2\\y_2}\in\mathcal{T}\text{.}\)
Let \(\mat{x\\y}\in\mathcal{T}\text{.}\) Then \(3x-y=0\text{.}\) Hence for all \(\alpha\in\R\text{,}\)\(3\alpha x-\alpha y=\alpha(3x-y)=\alpha\cdot 0=0\) and \(\alpha\mat{x\\y}\in\mathcal{T}\text{.}\)
\(\mathcal{U}\) is a subspace: it is non-empty since \(\mat{0\\0}\in\mathcal{U}\text{.}\)
Let \(\mat{x_1\\y_1},\mat{x_2\\y_2}\in \mathcal{U}\text{.}\) Then \(\frac{1}{2}x_{1}-6y_{1}=0=\frac{1}{2}x_{2}-6y_{2}\text{.}\) Hence \(\frac{1}{2}(x_{1}+x_{2})-6(y_{1}+y_{2})=(\frac{1}{2}x_{1}-6y_{1})+(\frac{1}{2}x_{2}-6y_{2})=0+0=0\) and \(\mat{x_1\\y_1}+\mat{x_2\\y_2}\in\mathcal{U}\text{.}\)
Let \(\mat{x\\y}\in\mathcal{U}\text{.}\) Then \(\frac{1}{2}x-6y=0\text{.}\) Hence for all \(\alpha\in\R\text{,}\)\(\frac{1}{2}\alpha x-6\alpha y=\alpha(\frac{1}{2}x-6y)=\alpha\cdot 0=0\) and \(\alpha\mat{x\\y}\in\mathcal{U}\text{.}\)
\(\mathcal{V}\) is not a subspace, since for example \(\mat{6\\1}\in\mathcal{V}\text{,}\) but \(0\cdot\mat{6\\1}=\vec 0\not\in\mathcal{V}\text{.}\)
\(\mathcal{X}\) is a subspace: it is non-empty since \(\mat{0\\0\\0}\in\mathcal{X}\text{.}\)
Let \(\mat{x_1\\y_1\\z_1},\mat{x_2\\y_2\\z_2}\in \mathcal{X}\text{.}\) Then \(5x_{1}-\pi y_{1}+(\ln 2)z_{1}=0=5x_{2}-\pi y_{2}+(\ln 2)z_{2}\text{.}\) Hence \(5(x_{1}+x_{2})-\pi(y_{1}+y_{2})+(\ln 2)(z_{1}+z_{2})=(5x_{1}-\pi y_{1}+(\ln 2)z_{1})+(5x_{2}-\pi y_{2}+(\ln 2)z_{2})=0+0=0\) and \(\mat{x_1\\y_1\\z_1}+\mat{x_2\\y_2\\z_2}\in\mathcal{X}\text{.}\)
Let \(\mat{x\\y\\z}\in\mathcal{X}\text{.}\) Then \(5x-\pi y+(\ln 2)z=0\text{.}\) Hence for all \(\alpha\in\R\text{,}\)\(5\alpha x-\pi\alpha y+(\ln 2)\alpha z=\alpha(5x-\pi y+(\ln 2)z)=\alpha\cdot 0=0\) and \(\alpha\mat{x\\y\\z}\in\mathcal{X}\text{.}\)
\(\mathcal{Q}\) is a subspace: it is non-empty since \(\vec 0\in\mathcal{Q}\text{.}\)
Let \(\mat{x_1\\\vdots\\x_n},\mat{x'_1\\\vdots\\x'_n}\in \mathcal{Q}\text{.}\) Then \(a_{1}x_{1}+\ldots+a_{n}x_{n}=0=a_{1}x'_{1}+\ldots+a_{n}x'_{n}\text{.}\) Hence \(a_{1}(x_{1}+x'_{1})+\ldots+a_{n}(x_{n}+x'_{n})=(a_{1}x_{1}+\ldots+a_{n}x_{n})+(a_{1}x'_{1}+\ldots+a_{n}x'_{n})=0+0=0\) and \(\mat{x_1\\\vdots\\x_n}+\mat{x'_1\\\vdots\\x'_n}\in\mathcal{Q}\text{.}\)
Let \(\mat{x_1\\\vdots\\x_n}\in\mathcal{Q}\text{.}\) Then \(a_{1} x_{1}+\ldots+a_{n}x_{n}=0\text{.}\) Hence for any scalar \(\alpha\in\R\text{,}\)\(a_{1}\alpha x_{1}+\ldots+a_{n}\alpha x_{n}=\alpha(a_{1}x_{1}+\ldots+a_{n}x_{n})=\alpha\cdot 0=0\) and \(\alpha\mat{x_1\\\vdots\\x_n}\in\mathcal{Q}\text{.}\)
2.
For each of the following sets, prove whether or not it is a subspace.
\(\mathcal{A} \subseteq \R^{2}\text{,}\) where \(\mathcal{A}\) is specified in vector form by \(\vec x = t\mat{5\\-7}+\mat{1\\2}\text{.}\)
\(\mathcal{B} \subseteq \R^{2}\text{,}\) where \(\mathcal{B}\) is specified in vector form by \(\vec x = t\mat{-3\\4}\text{.}\)
\(\mathcal{C} \subseteq \R^{3}\text{,}\) where \(\mathcal{C}\) is specified in vector form by \(\vec x = t\mat{1\\0\\5}\text{.}\)
\(\mathcal{D} \subseteq \R^{3}\text{,}\) where \(\mathcal{D}\) is specified in vector form by \(\vec x = t\mat{2\\3\\4}+s\mat{10\\20\\131}+\mat{0\\0\\6}\text{.}\)
\(\mathcal{E} \subseteq \R^{3}\text{,}\) where \(\mathcal{E}\) is specified in vector form by \(\vec x = t\mat{5\\7\\1}+s\mat{2\\-2\\1}\text{.}\)
Solution.
\(\mathcal{A}\) is not a subspace, since for example \(\mat{1\\2}\in\mathcal{A}\text{,}\) but \(0\cdot\mat{1\\2}=\vec 0\not\in\mathcal{A}\text{.}\)
\(\mathcal{B}\) is a subspace: it is non-empty since \(\mat{-3\\4}\in\mathcal{B}\text{.}\)
Let \(\vec u,\vec v\in \mathcal{B}\text{.}\) Then \(\vec u=t_{1}\mat{-3\\4}\) and \(\vec v=t_{2}\mat{-3\\4}\) for some \(t_{1},t_{2}\in\R\text{.}\) But then \(\vec u+\vec v=(t_{1}+t_{2})\mat{-3\\4}\in \mathcal{B}\text{.}\)
Let \(\vec u=t\mat{-3\\4}\in\mathcal{B}\text{.}\) For any scalar \(\alpha\in\R\text{,}\) we have \(\alpha\vec u=(\alpha t)\mat{-3\\4}\in\mathcal{B}\text{.}\)
\(\mathcal{C}\) is a subspace: it is non-empty since \(\mat{1\\0\\5}\in\mathcal{C}\text{.}\)
Let \(\vec u,\vec v\in \mathcal{C}\text{.}\) Then \(\vec u=t_{1}\mat{1\\0\\5}\) and \(\vec v=t_{2}\mat{1\\0\\5}\) for some \(t_{1},t_{2}\in\R\text{.}\) But then \(\vec u+\vec v=(t_{1}+t_{2})\mat{1\\0\\5}\in \mathcal{C}\text{.}\)
Let \(\vec u=t\mat{1\\0\\5}\in\mathcal{C}\text{.}\) For any scalar \(\alpha\in\R\text{,}\) we have \(\alpha\vec u=(\alpha t)\mat{1\\0\\5}\in\mathcal{C}\text{.}\)
\(\mathcal{D}\) is not a subspace, since for example \(\mat{0\\0\\6}\in\mathcal{D}\text{,}\) but \(0\cdot\mat{0\\0\\6}=\vec 0\not\in\mathcal{D}\text{.}\) (\(\mat{0\\0\\-6}\) cannot be written as a linear combination of \(\mat{2\\3\\4}\) and \(\mat{10\\20\\131}\text{.}\))
\(\mathcal{E}\) is a subspace: it is non-empty since \(\mat{0\\0\\0}\in\mathcal{E}\text{.}\)
Let \(\vec u,\vec v\in \mathcal{E}\text{.}\) Then \(\vec u=t_{1}\mat{5\\7\\1}+s_{1}\mat{2\\-2\\1}\) and \(\vec v=t_{2}\mat{5\\7\\1}+s_{2}\mat{2\\-2\\1}\) for some \(t_{1},t_{2},s_{1},s_{2}\in\R\text{.}\) But then \(\vec u+\vec v=(t_{1}+t_{2})\mat{5\\7\\1}+(s_{1}+s_{2})\mat{2\\-2\\1}\in \mathcal{E}\text{.}\)
Let \(\vec u=t\mat{5\\7\\1}+s\mat{2\\-2\\1}\in\mathcal{E}\text{.}\) For any scalar \(\alpha\in\R\text{,}\) we have \(\alpha\vec u=(\alpha t)\mat{5\\7\\1}+(\alpha s)\mat{2\\-2\\1}\in\mathcal{E}\text{.}\)
3.
Use the definition of subspace to prove each span below is a subspace.
Let \(\mathcal{A}\) be \(\Span\Set{\mat{0\\1},\mat{1\\2}}\text{.}\)\(\mathcal{A}\) is a subspace: it is non-empty since \(\vec 0\in\mathcal{A}\text{.}\)
Let \(\vec u,\vec v\in \mathcal{A}\text{.}\) Then \(\vec u=t_{1}\mat{0\\1}+s_{1}\mat{1\\2}\) and \(\vec v=t_{2}\mat{0\\1}+s_{2}\mat{1\\2}\) for some \(t_{1},t_{2},s_{1},s_{2}\in\R\text{.}\) But then \(\vec u+\vec v=(t_{1}+t_{2})\mat{0\\1}+(s_{1}+s_{2})\mat{1\\2}\in \mathcal{A}\text{.}\)
Let \(\vec u=t\mat{0\\1}+s\mat{1\\2}\in\mathcal{A}\text{.}\) For any scalar \(\alpha\in\R\text{,}\) we have \(\alpha\vec u=(\alpha t)\mat{0\\1}+(\alpha s)\mat{1\\2}\in\mathcal{A}\text{.}\)
Let \(\mathcal{B}\) be \(\Span\Set{\mat{1\\1\\1},\mat{1\\0\\0},\mat{2\\0\\0}}\text{.}\) Observe that since \(\mat{2\\0\\0}=2\mat{1\\0\\0}\text{,}\) this is the same thing as saying \(\mathcal{B}=\Span\Set{\mat{1\\1\\1},\mat{1\\0\\0}}\text{.}\)
\(\mathcal{B}\) is a subspace: it is non-empty since \(\vec 0\in\mathcal{B}\text{.}\)
Let \(\vec u,\vec v\in \mathcal{B}\text{.}\) Then \(\vec u=t_{1}\mat{1\\1\\1}+s_{1}\mat{1\\0\\0}\) and \(\vec v=t_{2}\mat{1\\1\\1}+s_{2}\mat{1\\0\\0}\) for some \(t_{1},t_{2},s_{1},s_{2}\in\R\text{.}\) But then \(\vec u+\vec v=(t_{1}+t_{2})\mat{1\\1\\1}+(s_{1}+s_{2})\mat{1\\0\\0}\in \mathcal{B}\text{.}\)
Let \(\vec u=t\mat{1\\1\\1}+s\mat{1\\0\\0}\in\mathcal{B}\text{.}\) For any scalar \(\alpha\in\R\text{,}\) we have \(\alpha\vec u=(\alpha t)\mat{1\\1\\1}+(\alpha s)\mat{1\\0\\0}\in\mathcal{B}\text{.}\)
4.
A non-empty subset \(\mathcal{V} \subseteq \R^{n}\) is called a subspace if for all \(\vec u, \vec v \in \mathcal{V}\) and all scalars \(k\) we have (i) \(\vec u + \vec v \in \mathcal{V}\) and (ii) \(k\vec u \in \mathcal{V}\text{.}\) For each set below, list which of property (i), property (ii), or non-emptiness fails. Justify your answer.
Not a basis, as it is not linearly independent: the third vector is equal to the sum of the other two.
Not a basis, since four vectors in \(\R^{3}\) cannot be linearly independent.
Not a basis, as two vectors cannot span all of \(\R^{3}\text{.}\) You need at least three vectors.
It is a basis.
7.
For each statement, determine if it is true or false. Justify your answer by referring to a definition or a theorem.
All spans are subspaces.
All subspaces can be expressed as spans.
All translated spans are subspaces.
The empty set is a subspace.
The set \(\Set{\mat{1\\2}, \mat{2\\3}}\) is a subspace.
Solution.
True by the Subspace-Span Theorem.
True by the Subspace-Span Theorem.
False. Translated spans cannot all be expressed as spans (since they do not need to contain \(\vec 0\text{,}\) but spans do), but the Subspace-Span Theorem says that all subspaces can be expressed as spans.
False. By the definition of a subspace, they cannot be the empty set.
False. By the definition of a subspace, since \(\mat{1\\2}\) and \(\mat{2\\3}\) are in the set, \(\mat{1\\2}+\mat{2\\3}=\mat{3\\5}\) should also be in the set. But it isn’t.
8.
Give two examples of subspaces of \(\R^{4}\) that are (i) 1 dimensional, (ii) 3 dimensional. Can you give an example of a subspace that is 0 dimensional?
Solution.
\(\Span\Set{\mat{1\\2\\3\\4}}\) and the line with vector form \(\vec x=t\mat{2\\2\\3\\0}\text{.}\)
\(\Span\Set{\mat{1\\0\\0\\0},\mat{0\\1\\0\\0},\mat{0\\0\\1\\0}}\) and the volume with equation \(x_{1}+x_{2}+x_{3}+x_{4}=0\text{.}\)
The set \(\Set{\vec 0}\) is the only 0-dimensional subspace.
9.
Let \(\mathcal{G}\subseteq \R^{n}\) be a subspace. Give upper and lower bounds for the dimension of \(\mathcal{G}\text{.}\)
Solution.
As we’ve seen in problem 6.4.8, the dimension of \(\mathcal{G}\) can be as small as \(0\text{.}\) This is our lower bound.
As for the upper bound, we know that \(n+1\) vectors in \(\R^{n}\) cannot be linearly independent. So a basis for \(\mathcal{G}\) can have at most \(n\) vectors. Hence \(n\) is an upper bound for the dimension of \(\mathcal{G}\text{.}\)