Section 1.3 Subspaces
We begin with a motivating example. Let
be a nonzero vector in some vector space
Consider the set
Given
notice that
is also an element of
since
is again a real number. Moreover, for any real number
is an element of
There are two important observations: one is that performing addition or scalar multiplication on elements of
produces a new element of
The other is that this addition and multiplication is essentially that of
The vector
is just a placeholder. Addition simply involves the real number addition
Scalar multiplication becomes the real number multiplication
So we expect that the rules for addition and scalar multiplication in
follow those in
so that
is like a “copy” of
inside of
In particular, addition and scalar multiplication in
will satisfy all the vector space axioms, so that
deserves to be considered a vector space in its own right.
A similar thing happens if we consider a set
where
are two vectors in a vector space
Given two elements
we have
which is again an element of
and the addition rule looks an awful lot like the addition rule
in
Scalar multiplication follows a similar pattern.
In general we are often interested in subsets of vectors spaces that behave like “copies” of smaller vector spaces contained within the larger space. The technical term for this is
subspace.
Definition 1.3.1.
Let
be a vector space, and let
be a subset. We say that
is a
subspace of
if
is itself a vector space when using the addition and scalar multiplication of
If we were to follow the definition, then verifying that a subset
is a subspace would involve checking all ten vector space axioms. Fortunately, this is not necessary. Since the operations are those of the vector space
most properties follow automatically, being inherited from those of
Theorem 1.3.2. Subspace Test.
Let
be a vector space and let
be a subset. Then
is a subspace of
if and only if the following conditions are satisfied:
where is the zero vector of
is closed under addition. That is, for all we have
is closed under scalar multiplication. That is, for all and
Proof.
If is a vector space, then clearly the second and third conditions must hold. Since a vector space must be nonempty, there is some from which it follows that
Conversely, if all three conditions hold, we have axioms A1, A4, and S1 by assumption. Axioms A2 and A3 hold since any vector in
is also a vector in
the same reasoning shows that axioms S2, S3, S4, and S5 hold. Finally, axiom A5 holds because condition 3 ensures that
for any
and we know that
by
Exercise 1.2.2.
In some texts, the condition that
is replaced by the requirement that
be nonempty. Existence of
then follows from the fact that
However, it is usually easy to check that a set contains the zero vector, so it’s the first thing one typically looks for when confirming that a subset is nonempty.
Example 1.3.3.
For any vector space
the set
is a subspace, known as the
trivial subspace.
If
is the vector space of all polynomials, then for any natural number
the subset
of all polynomials of degree less than or equal to
is a subspace of
Another common type of polynomial subspace is the set of all polynomials with a given root. For example, the set
is easily confirmed to be a subspace. However, a condition such as
would
not define a subspace, since this condition is not satisfied by the zero polynomial.
In
we can define a subspace using one or more homogeneous linear equations. For example, the set
is a subspace of
A non-homogeneous equation won’t work, however, since it would exclude the zero vector. Of course, we should expect that any non-linear equation fails to define a subspace, although one is still expected to verify this by confirming the failure of one of the axioms. For example, the set
is not a subspace; although it contains the zero vector (since
), we have
but
does not belong to
Example 1.3.4.
In the vector space
we can visualize subspaces geometrically. There are precisely four types:
The trivial vector space consisting of the origin alone.
Subspaces of the form These are lines through the origin, in the direction of the vector
-
Subspaces of the form where are both nonzero vectors that are not parallel. These are planes through the origin.
Note that we must insist that is not parallel to If for some scalar then
and every vector in our set would be a multiple of in other words, we’d once again have a line.
If you encountered the cross product in your first course in linear algebra, or in a calculus course, then you can state the “non-parallel” condition by the requirement that The vector is then a normal vector for the plane.
The entire vector space also counts as a subspace: every vector space is a subspace of itself.
Exercise 1.3.6.
Determine whether or not the following subsets of vector spaces are subspaces.
(a)
The subset of
consisting of all polynomials
such that
True.
This equation may not appear linear, but it is: if then is a homogeneous linear equation. The zero poloynomial is zero everywhere, including at If and then and for any scalar
False.
This equation may not appear linear, but it is: if then is a homogeneous linear equation. The zero poloynomial is zero everywhere, including at If and then and for any scalar
(b)
The subset of
consisting of all irreducible quadratics.
True.
We can immediately rule this out as a subspace because the zero polynomial is neither irreducible nor quadratic. Furthermore, it is not closed under addition: consider the sum of and
False.
We can immediately rule this out as a subspace because the zero polynomial is neither irreducible nor quadratic. Furthermore, it is not closed under addition: consider the sum of and
(c)
The set of all vectors
such that
True.
The equation is homogeneous, but it is not linear. Although this set contains the zero vector, it is not closed under addition: the vectors and belong to the set, but their sum does not.
False.
The equation is homogeneous, but it is not linear. Although this set contains the zero vector, it is not closed under addition: the vectors and belong to the set, but their sum does not.
(d)
The set of all vectors
such that
True.
The defining equation can be rearranged as which you might recognize as the equation of a plane through the origin. Since the set contains the zero vector. To check closure under addition, suppose and are in the set. This means that and For the sum we have
so the sum is in the set. And for any scalar so is in the set as well.
False.
The defining equation can be rearranged as which you might recognize as the equation of a plane through the origin. Since the set contains the zero vector. To check closure under addition, suppose and are in the set. This means that and For the sum we have
so the sum is in the set. And for any scalar so is in the set as well.
Let’s try a few more examples.
Example 1.3.7.
Determine whether or not the following subsets are subspaces.
(a)
Solution.
The clue here that this is not a subspace is the presence of the 2 in the second component. Typically for a subspace, we expect to see linear expressions involving our variables, but in linear algebra, the adjective linear doesn’t imply the inclusion of constant terms the way it does in calculus. The reason, again, is the special role of zero in a vector space.
While it’s true that this set doesn’t contain the zero vector (which rules it out as a subspace), it’s not as obvious: perhaps there are values of and that give us and as well? Solving a system of equations would tell us that indeed, this is not possible.
We could also show that the closure conditions fail. Putting gives the element and putting gives the element Adding these, we get the vector Why is this not in the set? We would need so Then implies but
(b)
Solution.
At first glance, it may not be clear whether the condition is linear. One approach is to write out our polynomial in terms of coefficients. If then implies
or which is a homogeneous linear equation. This isn’t yet a proof — we still have to apply the subspace test!
We can use the subspace test in terms of coefficients with the condition or we can use the original condition directly. First, the zero polynomial satisfies since it’s equal to zero everywhere. Next, suppose we have polynomials with and Then
and for any scalar This shows that the set is closed under both addition and scalar multiplication.
(c)
Solution.
Here, we have the condition which is homogeneous, but is it linear? If you remember a bit about the determinant, you might recall that it behaves well with respect to multiplication, but not addition, and indeed, this is going to mean that we don’t have a subspace.
To see that this is the case, consider closure under addition. The matrices and both have determinant but has determinant 1. Therefore, and both belong to the set, but does not.
In the next section, we’ll encounter perhaps the most fruitful source of subspaces: sets of linear combinations (or
spans). We will see that such sets are always subspaces, so if we can identify a subset as a span, we know automatically that it is a subspace.
For example, in the last part of
Exercise 1.3.6 above, if the vector
satisfies
then we have
so every vector in the set is a linear combination of the vectors
and
Exercises Exercises
1.
2.
3.
4.
You have attempted
1 of
9 activities on this page.