Section 16.4 Examples
Subsection 16.4.1 The Subspace Test
First, let’s practise applying the Subspace Test.
Remark 16.4.1.
Since every vector space must have a zero vector (Axiom A 4), so too must a subspace. But since the vector operations of a subspace are the same as the operations of the larger space, it will turn out that the zero vector in a subspace must always be the same as the zero vector in the larger space (see Proposition 16.5.2). So often the best way to check the Nonempty clause of the Subspace Test is to verify that it contains the zero vector.
Here are some examples from Discovery guide 16.1.
Example 16.4.2. A plane through the origin in .
In Discovery 16.2.a, we considered the subcollection of vectors in consisting of all vectors from the origin with terminal point in the -plane. Note that any such vector must have a as its -component.
Let’s apply the Subspace Test.
-
Nonempty.We know that the
-plane is nonempty; in particular, it contains the zero vector since it contains the origin. -
Closed under vector addition.If vectors
and are both in the -plane, then their -components are both zero. So we can write these vectors asThen,Since this sum vector also has zero -component, it is again in the -plane, as required. -
Closed under scalar multiplication.If vector
is in the -plane, then its -component is zero, so we can write it asThen for every scalar we haveSince this scaled vector also has zero -component, it is again in the -plane, as required.
Example 16.4.3. A subspace of matrices.
In Discovery 16.2.d, we considered the subcollection of consisting of all those matrices that have a in the entry.
Let’s apply the Subspace Test.
-
Nonempty.This collection is clearly not empty, since the
matrix with in every entry is in the collection. -
Closed under vector addition.If matrices
and are both in the subcollection, then they each have a in the entry. But then has in the entry, not So the sum vector is not in the subcollection.
Conclusion: There is no need to check the third clause of the Subspace Test, since the second has already failed to pass. But it shouldn’t be too difficult to see that scalar multiples of such a matrix will also fail to remain in the subcollection (except when the scalar is ).
Example 16.4.4. Restricting degree creates a subspace of polynomials.
In Discovery 16.2.f, we considered the subcollection of consisting of those polynomials that have degree or less.
Let’s apply the Subspace Test.
-
Nonempty.Clearly this subcollection is nonempty, as any constant polynomial has degree
which is less than In particular, the zero polynomial (which is the zero vector in this space) also has degree less than -
Closed under vector addition.Suppose
and are two polynomials in this subcollection. Then the degree of each of these polynomials is or less, so we can writeThen,Since this sum polynomial also has degree (or less, since and could cancel or could both be zero), it is again in the subcollection, as required. -
Closed under scalar multiplication.Suppose
is a polynomial in this subcollection. Then the degree of this polynomial is or less, so we can writeThen for every scalar we haveSince this scaled polynomial also has degree (or less, since either or could be zero), it is again in the subcollection, as required.
Conclusion Since all parts of the Subspace Test pass, the collection of all polynomials of degree or less is a subspace of
Remark 16.4.5.
Similar to this last example, the Subspace Test can be used to verify that the subcollection of consisting of all polynomials with degree or less, is a subspace for every fixed value of positive integer
Subsection 16.4.2 Important subspace examples
Here are a few more important examples of subspaces.
Example 16.4.6. The trivial subspace.
Consider the subcollection in a vector space consisting of just the zero vector. Since we already know that the zero vector space is, indeed, a vector space, there is no need for the Subspace Test. In every vector space, the zero space is always a subspace.
Example 16.4.7. The full subspace.
Consider the subcollection in a vector space consisting of every vector. (This may not seem like a subcollection, but every vector in this subcollection is in the original vector space.) Since it is obviously true that the collection of all vectors in a vector space forms a vector space, we have that every vector space is a subspace of itself.
Example 16.4.8. The solution space of a homogeneous system.
Suppose is a fixed matrix. Solutions to the homogeneous system can be considered as (column) vectors in so the solution set to this system is a subcollection of a vector space. Is it a subspace?
-
Nonempty.Since a homogeneous system is always consistent, the solution set is nonempty. In particular, the solution set contains the zero vector, since this is the vector corresponding to the trivial solution.
-
Closed under vector addition.Suppose
and are two solutions to this system. Then bothTo check if the sum vector is also in the solution set, we need to check whether satisfies the matrix equationSo the sum vector is indeed in the solution set. -
Closed under scalar multiplication.Suppose
is a solution to this system. Then For a scalar to check whether the scaled vector is also in the solution set, we need to check whether satisfies the matrix equationSo the scaled vector is indeed in the solution set.
Conclusion Since all parts of the Subspace Test pass, the solution set of the homogeneous system is a subspace of
Remark 16.4.9.
Every subspace is somehow defined by a homogeneous condition or a set of homogeneous conditions. In the solution space example above, this was explicit — the subcollection was directly defined as the solution set of a homogeneous matrix equation On the other hand, it’s easy to see that the solution set of a nonhomogeneous system would not be a subspace of since it would not contain the zero vector.
Let’s reconsider some of the examples of Discovery 16.2 from this perspective.
- In Discovery 16.2.a, the
-plane is a subspace of and it corresponds to the homogeneous condition However, in Discovery 16.2.b, the plane parallel to the -plane in but shifted one unit upward is not a subspace, and it corresponds to the nonhomogeneous condition - In Discovery 16.2.c, the collection of
diagonal matrices is a subspace of and it corresponds to the homogeneous conditions that the off-diagonal entries be zero. However, in Discovery 16.2.d, the collection of those matrices with a in the entry is not a subspace of and this collection corresponds to the nonhomogeneous condition of requiring the top-left entry be - In Discovery 16.2.f, the collection
of polynomials of degree or less is a subspace of and it corresponds to the homogeneous conditions of requiring the coefficient on every power be zero. However, in Discovery 16.2.g, the collection of polynomials of degree exactly is not a subspace. While this subcollection requires the same homogeneous conditions as those defining it also requires the nonhomogeneous condition that the coefficient on be nonzero.
Subsection 16.4.3 Determining if a vector is in a span
In Discovery 16.3, we explored the question of determining whether a given vector was in the subspace generated by a specified spanning set. For this to be true, that vector must be a linear combination of vectors in the spanning set.
Example 16.4.10. A span of -vectors.
This example corresponds to Discovery 16.3.a. Working in we would like to determine if is in for Let’s try to express as a linear combination of vectors in the spanning set, and see if it works out. Set
for unknown scalars Combining the linear combination on the right into a single vector and comparing components on each side, we get (surprise!) a linear system of equations:
Now, we don’t actually care about the solution to this system — we only care if the system is consistent or not, because if it’s consistent then there is a way to express as a linear combination of the spanning vectors, so that is in And, as you can check for yourself, this system is consistent.
There is an interesting pattern to note if we actually convert the system above into an augmented matrix:
Notice that the columns in the coefficient matrix are precisely the vectors in the spanning set, and the column of constants is precisely the vector that we are testing as being in or not.
Example 16.4.11. A span of matrices.
Here, we can see more directly that is not in Notice that the nonzero entries of the matrices in do not overlap. From this, we can see that every linear combination of these spanning matrices will have the first two entries in the second row equal to each other. But the entries of do not have this property.
If we didn’t notice this, we could carry out a similar procedure as in the previous example, beginning with the vector equation
in the unknown scalars Combining the linear combination on the right into one matrix, and then comparing entries on each side, we get a linear system with augmented matrix
In this matrix, the inconsistency is obvious in the fourth and fifth rows.
Example 16.4.12. A span of polynomials.
This example corresponds to Discovery 16.3.c. Working in we would like to determine if the vector is in for Again, we set up a vector equation expressing as a linear combination in the vectors of with unknown scalars:
Two polynomials are only equal if they have the same degree and all the same coefficients. From this, we get the following linear system:
which can be converted into augmented matrix
Subsection 16.4.4 Determining if a spanning set generates the whole vector space
In Discovery 16.4, we attempted to determine whether a given spanning set generated the entire vector space. In other words, we attempted to answer: is every vector in the vector space somehow a linear combination of spanning set vectors? In the three examples of that discovery activity, the answer was very clearly yes.
Example 16.4.13. A spanning set for .
In Discovery 16.4.a, clearly every vector in can be decomposed as a linear combination of the standard basis vectors:
Example 16.4.14. A spanning set for .
In Discovery 16.4.b, every vector in can be decomposed as a linear combination of the provided spanning set vectors:
Example 16.4.15. A spanning set for .
In Discovery 16.4.c, every vector in is naturally expressed as a linear combination of and the powers of up to where the scalars in the linear combination are just the coefficients of the polynomial.
Remark 16.4.16.
In each of the spaces in the examples above, there are analogues for other “dimensions” of vectors.
- In
the standard basis vectors always form a spanning set for the entire vector space. - In
the set of “standard basis vectors,” consisting of those matrices that have all zero entries except for a single in one specific entry, is always a spanning set for the entire vector space. - When we write a polynomial, we naturally write it as a linear combination of the constant polynomial
and powers of . So in the “standard basis vectors” form a spanning set for the entire vector space.
In more complicated examples, the question “Is equal to the whole space?” may be more difficult to answer with the concepts we have accumulated so far. We will make this question more manageable through a deeper study of the relationships of vectors to one another with respect to linear combinations, and by attaching a notion of “size” to subspaces. In the meantime, see Example 16.6.2 in Section 16.6 for a preliminary method of answering this question.