Subspace:
- Definition 2.1
For any vector space, a subspace is a subset that is itself a vector space, under the inherited operations.
- Example 2.2
The plane from the prior subsection,
is a subspace of
. As specified in the definition, the operations are the ones that are inherited from the larger space, that is, vectors add in
as they add in 
and scalar multiplication is also the same as it is in
. To show that
is a subspace, we need only note that it is a subset and then verify that it is a space. Checking that
satisfies the conditions in the definition of a vector space is routine. For instance, for closure under addition, just note that if the summands satisfy that
and
then the sum satisfies that
.
- Example 2.3
The
-axis in
is a subspace where the addition and scalar multiplication operations are the inherited ones.
As above, to verify that this is a subspace, we simply note that it is a subset and then check that it satisfies the conditions in definition of a vector space. For instance, the two closure conditions are satisfied: (1) adding two vectors with a second component of zero results in a vector with a second component of zero, and (2) multiplying a scalar times a vector with a second component of zero results in a vector with a second component of zero.
- Example 2.4
Another subspace of
is
its trivial subspace.
Any vector space has a trivial subspace
. At the opposite extreme, any vector space has itself for a subspace. These two are the improper subspaces. Other subspaces are proper.
- Example 2.5
The condition in the definition requiring that the addition and scalar multiplication operations must be the ones inherited from the larger space is important. Consider the subset
of the vector space
. Under the operations
and
that set is a vector space, specifically, a trivial space. But it is not a subspace of
because those aren't the inherited operations, since of course
has
.
- Example 2.6
All kinds of vector spaces, not just
's, have subspaces. The vector space of cubic polynomials
has a subspace comprised of all linear polynomials
.
- Example 2.7
Another example of a subspace not taken from an
is one from the examples following the definition of a vector space. The space of all real-valued functions of one real variable
has a subspace of functions satisfying the restriction
.
- Example 2.8
Being vector spaces themselves, subspaces must satisfy the closure conditions. The set
is not a subspace of the vector space
because with the inherited operations it is not closed under scalar multiplication: if
then
.
The next result says that Example 2.8 is prototypical. The only way that a subset can fail to be a subspace (if it is nonempty and the inherited operations are used) is if it isn't closed.
- Lemma 2.9
For a nonempty subset
of a vector space, under the inherited operations, the following are equivalent statements.
is a subspace of that vector space
is closed under linear combinations of pairs of vectors: for any vectors
and scalars
the vector
is in
is closed under linear combinations of any number of vectors: for any vectors
and scalars
the vector
is in
.
Briefly, the way that a subset gets to be a subspace is by being closed under linear combinations.
- Proof
We will show this equivalence by establishing that
. This strategy is suggested by noticing that
and
are easy and so we need only argue the single implication
.
For that argument, assume that
is a nonempty subset of a vector space
and that
is closed under combinations of pairs of vectors. We will show that
is a vector space by checking the conditions.
The first item in the vector space definition has five conditions. First, for closure under addition, if
then
, as
. Second, for any
, because addition is inherited from
, the sum
in
equals the sum
in
, and that equals the sum
in
(because
is a vector space, its addition is commutative), and that in turn equals the sum
in
. The argument for the third condition is similar to that for the second. For the fourth, consider the zero vector of
and note that closure of
under linear combinations of pairs of vectors gives that (where
is any member of the nonempty set
)
is in
; showing that
acts under the inherited operations as the additive identity of
is easy. The fifth condition is satisfied because for any
, closure under linear combinations shows that the vector
is in
; showing that it is the additive inverse of
under the inherited operations is routine.
The checks for item 2 are similar.
We usually show that a subset is a subspace with
.
- Remark 2.10
Item (2) has five conditions. First, for closure, if
and
then
as
. Second, because the operations in
are inherited from
, for
and
, the scalar product
in
equals the product
in
, and that equals
in
, which equals
in
.
The check for the third, fourth, and fifth conditions are similar to the second conditions's check just given.
At the start of this chapter we introduced vector spaces as collections in which linear combinations are "sensible". The above result speaks to this.
The vector space definition has ten conditions but eight of them— the conditions not about closure— simply ensure that referring to the operations as an "addition" and a "scalar multiplication" is sensible. The proof above checks that these eight are inherited from the surrounding vector space provided that the nonempty set
satisfies Lemma 2.9's statement (2) (e.g., commutativity of addition in
follows right from commutativity of addition in
). So, in this context, this meaning of "sensible" is automatically satisfied.
In assuring us that this first meaning of the word is met, the result draws our attention to the second meaning of "sensible". It has to do with the two remaining conditions, the closure conditions. Above, the two separate closure conditions inherent in statement (1) are combined in statement (2) into the single condition of closure under all linear combinations of two vectors, which is then extended in statement (3) to closure under combinations of any number of vectors. The latter two statements say that we can always make sense of an expression like
, without restrictions on the
's— such expressions are "sensible" in that the vector described is defined and is in the set
.
This second meaning suggests that a good way to think of a vector space is as a collection of unrestricted linear combinations. The next two examples take some spaces and describe them in this way. That is, in these examples we parametrize, just as we did in Chapter One to describe the solution set of a homogeneous linear system.
- Example 2.11
This subset of 
is a subspace under the usual addition and scalar multiplication operations of column vectors (the check that it is nonempty and closed under linear combinations of two vectors is just like the one inExample 2.2). To parametrize, we can take
to be a one-equation linear system and expressing the leading variable in terms of the free variables
.
Now the subspace is described as the collection of unrestricted linear combinations of those two vectors. Of course, in either description, this is a plane through the origin.
- Example 2.12
This is a subspace of the
matrices
(checking that it is nonempty and closed under linear combinations is easy). To parametrize, express the condition as
.
As above, we've described the subspace as a collection of unrestricted linear combinations (by coincidence, also of two elements).
Spanning:
- Definition 2.13
- The span(or linear closure) of a nonempty subset
of a vector space is the set of all linear combinations of vectors from
.
The span of the empty subset of a vector space is the trivial subspace.
No notation for the span is completely standard. The square brackets used here are common, but so are "
" and "
".
- Remark 2.14
In Chapter One, after we showed that the solution set of a homogeneous linear system can be written as
, we described that as the set "generated" by the
's. We now have the technical term; we call that the "span" of the set
.
Recall also the discussion of the "tricky point" in that proof. The span of the empty set is defined to be the set
because we follow the convention that a linear combination of no vectors sums to
. Besides, defining the empty set's span to be the trivial subspace is a convienence in that it keeps results like the next one from having annoying exceptional cases.
- Lemma 2.15
In a vector space, the span of any subset is a subspace.
- Proof
Call the subset
. If
is empty then by definition its span is the trivial subspace. If
is not empty then by Lemma 2.9 we need only check that the span
is closed under linear combinations. For a pair of vectors from that span,
and
, a linear combination
(
,
scalars) is a linear combination of elements of
and so is in
(possibly some of the
's forming
equal some of the
's from
, but it does not matter).
The converse of the lemma holds: any subspace is the span of some set, because a subspace is obviously the span of the set of its members. Thus a subset of a vector space is a subspace if and only if it is a span. This fits the intuition that a good way to think of a vector space is as a collection in which linear combinations are sensible.
Taken together, Lemma 2.9 and Lemma 2.15 show that the span of a subset
of a vector space is the smallest subspace containing all the members of
.
- Example 2.16
In any vector space
, for any vector
, the set
is a subspace of
. For instance, for any vector
, the line through the origin containing that vector,
is a subspace of
. This is true even when
is the zero vector, in which case the subspace is the degenerate line, the trivial subspace.
- Example 2.17
The span of this set is all of
.
To check this we must show that any member of
is a linear combination of these two vectors. So we ask: for which vectors (with real components
and
) are there scalars
and
such that this holds?
Gauss' method
with back substitution gives
and
. These two equations show that for any
and
that we start with, there are appropriate coefficients
and
making the above vector equation true. For instance, for
and
the coefficients
and
will do. That is, any vector in
can be written as a linear combination of the two given vectors.
Since spans are subspaces, and we know that a good way to understand a subspace is to parametrize its description, we can try to understand a set's span in that way.
- Example 2.18
Consider, in
, the span of the set
. By the definition of span, it is the set of unrestricted linear combinations of the two
. Clearly polynomials in this span must have a constant term of zero. Is that necessary condition also sufficient?
We are asking: for which members
of
are there
and
such that
? Since polynomials are equal if and only if their coefficients are equal, we are looking for conditions on
,
, and
satisfying these.
Gauss' method gives that
,
, and
. Thus the only condition on polynomials in the span is the condition that we knew of— as long as
, we can give appropriate coefficients
and
to describe the polynomial
as in the span. For instance, for the polynomial
, the coefficients
and
will do. So the span of the given set is
.
This shows, incidentally, that the set
also spans this subspace. A space can have more than one spanning set. Two other sets spanning this subspace are
and
. (Naturally, we usually prefer to work with spanning sets that have only a few members.)
- Example 2.19
These are the subspaces of
that we now know of, the trivial subspace, the lines through the origin, the planes through the origin, and the whole space (of course, the picture shows only a few of the infinitely many subspaces). In the next section we will prove that
has no other type of subspaces, so in fact this picture shows them all.
The subsets are described as spans of sets, using a minimal number of members, and are shown connected to their supersets. Note that these subspaces fall naturally into levels— planes on one level, lines on another, etc.— according to how many vectors are in a minimal-sized spanning set.