- This exercise is recommended for all readers.
- Problem 1
Decide if
is the direct sum of each
and
.
-
,
-
,
-
,
-
-
,
- Answer
With each of these we can apply Lemma 4.15.
- Yes. The plane is the sum of this
and
because for any scalars
and

shows that the general vector is a sum of vectors from the two parts. And, these two subspaces are (different) lines through the origin, and so have a trivial intersection.
- Yes. To see that any vector in the plane is a combination of vectors from these parts, consider this relationship.

We could now simply note that the set

is a basis for the space (because it is clearly linearly independent, and has size two in
), and thus ther is one and only one solution to the above equation, implying that all decompositions are unique. Alternatively, we can solve
![{\displaystyle {\begin{array}{*{2}{rc}r}c_{1}&+&c_{2}&=&a\\c_{1}&+&1.1c_{2}&=&b\end{array}}\;{\xrightarrow[{}]{-\rho _{1}+\rho _{2}}}\;{\begin{array}{*{2}{rc}r}c_{1}&+&c_{2}&=&a\\&&0.1c_{2}&=&-a+b\end{array}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/07d0ec21005b2d03103b5e1c233edbbbeb11c245)
to get that
and
, and so we have

as required. As with the prior answer, each of the two subspaces is a line through the origin, and their intersection is trivial.
- Yes. Each vector in the plane is a sum in this way

and the intersection of the two subspaces is trivial.
- No. The intersection is not trivial.
- No. These are not subspaces.
- This exercise is recommended for all readers.
- This exercise is recommended for all readers.
- Problem 4
In
, the even polynomials are the members of this set

and the odd polynomials are the members of this set.

Show that these are complementary subspaces.
- Answer
To show that they are subspaces is routine. We will argue they are complements with Lemma 4.15. The intersection
is trivial because the only polynomial satisfying both conditions
and
is the zero polynomial. To see that the entire space is the sum of the subspaces
, note that the polynomials
,
,
, etc., are in
and also note that the polynomials
,
, etc., are in
. Hence any member of
is a combination of members of
and
.
- Problem 5
Which of these subspaces of
: the
-axis,
:the
-axis,
:the
-axis,
:the plane
,
:the
-plane
can be combined to
- sum to
?
- direct sum to
?
- Answer
Each of these is
.
-
These are broken into lines for legibility.
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
-
,
,
,
,
- This exercise is recommended for all readers.
- Problem 6
Show that
.
- Answer
Clearly each is a subspace. The bases
for the subspaces, when concatenated, form a basis for the whole space.
- Problem 7
What is
if
?
- Answer
It is
.
- Problem 8
Does Example 4.5 generalize? That is, is this true or false:if a vector space
has a basis
then it is the direct sum of the spans of the one-dimensional subspaces
?
- Answer
True by Lemma 4.8.
- Problem 9
Can
be decomposed as a direct sum in two different ways?
Can
?
- Answer
Two distinct direct sum decompositions of
are easy to find. Two such are
and
, and also
and
. (Many more are possible, for example
and its trivial subspace.)
In contrast, any partition of
's single-vector basis will give one basis with no elements and another with a single element. Thus any decomposition involves
and its trivial subspace.
- Problem 10
This exercise makes the notation of writing "
" between sets more natural. Prove that, where
are subspaces of a vector space,

and so the sum of subspaces is the subspace of all sums.
- Answer
Set inclusion one way is easy:
is a subset of
because each
is a sum of vectors from the union.
For the other inclusion, to any linear combination of vectors from the union apply commutativity of vector addition to put vectors from
first, followed by vectors from
, etc. Add the vectors from
to get a
, add the vectors from
to get a
, etc. The result has the desired form.
- This exercise is recommended for all readers.
- This exercise is recommended for all readers.
- Problem 14
Does every subspace have a complement?
- Answer
Yes. For any subspace of a vector space we can take any basis
for that subspace and extend it to a basis
for the whole space. Then the complement of the original subspace has this for a basis:
.
- This exercise is recommended for all readers.
- Problem 16
When a vector space is decomposed as a direct sum, the dimensions of the subspaces add to the dimension of the space. The situation with a space that is given as the sum of its subspaces is not as simple. This exercise considers the two-subspace special case.
- For these subspaces of
find
,
,
, and
.

- Suppose that
and
are subspaces of a vector space. Suppose that the sequence
is a basis for
. Finally, suppose that the prior sequence has been expanded to give a sequence
that is a basis for
, and a sequence
that is a basis for
. Prove that this sequence

is a basis for for the sum
.
- Conclude that
.
- Let
and
be eight-dimensional subspaces of a ten-dimensional space. List all values possible for
.
- Answer
- The intersection and sum are

which have dimensions one and three.
- We write
for the basis for
, we write
for the basis for
, we write
for the basis for
, and we write
for the basis under consideration.
To see that that
spans
, observe that any vector
from
can be written as a linear combination of the vectors in
, simply by expressing
in terms of
and expressing
in terms of
.
We finish by showing that
is linearly independent. Consider

can be rewritten in this way.

Note that the left side sums to a vector in
while right side sums to a vector in
, and thus both sides sum to a member of
. Since the left side is a member of
, it is expressible in terms of the members of
, which gives the combination of
's from the left side above as equal to a combination of
's. But, the fact that the basis
is linearly independent shows that any such combination is trivial, and in particular, the coefficients
, ...,
from the left side above are all zero. Similarly, the coefficients of the
's are all zero. This leaves the above equation as a linear relationship among the
's, but
is linearly independent, and therefore all of the coefficients of the
's are also zero.
- Just count the basis vectors in the prior item:
, and
, and
, and
.
- We know that
. Because
, we know that
must have dimension greater than that of
, that is, must have dimension eight, nine, or ten. Substituting gives us three possibilities
or
or
. Thus
must be either eight, seven, or six. (Giving examples to show that each of these three cases is possible is easy, for instance in
.)
- Problem 18
A matrix is symmetric if for each pair of indices
and
, the
entry equals the
entry. A matrix is antisymmetric if each
entry is the negative of the
entry.
- Give a symmetric
matrix and an antisymmetric
matrix. (Remark. For the second one, be careful about the entries on the diagional.)
- What is the relationship between a square symmetric matrix and its transpose? Between a square antisymmetric matrix and its transpose?
- Show that
is the direct sum of the space of symmetric matrices and the space of antisymmetric matrices.
- Answer
- Two such are these.

For the antisymmetric one, entries on the diagonal must be zero.
- A square symmetric matrix equals its transpose. A square antisymmetric matrix equals the negative of its transpose.
- Showing that the two sets are subspaces is easy. Suppose that
.To express
as a sum of a symmetric and an antisymmetric matrix, we observe that

and note the first summand is symmetric while the second is antisymmetric. Thus
is the sum of the two subspaces. To show that the sum is direct, assume a matrix
is both symmetric
and antisymmetric
. Then
and so all of
's entries are zeroes.
- Problem 19
Let
be subspaces of a vector space. Prove that
. Does the inclusion reverse?
- Answer
Assume that
. Then
where
and
. Note that
and, as a subspace is closed under addition,
. Thus
.
This example proves that the inclusion may be strict: in
take
to be the
-axis, take
to be the
-axis, and take
to be the line
. Then
and
are trivial and so their sum is trivial. But
is all of
so
is the
-axis.
- This exercise is recommended for all readers.
- Problem 21
Our model for complementary subspaces, the
-axis and the
-axis in
, has one property
not used here. Where
is a subspace of
we define the orthogonal complement of
to be

(read "
perp").
- Find the orthocomplement of the
-axis in
.
- Find the orthocomplement of the
-axis in
.
- Find the orthocomplement of the
-plane in
.
- Show that the orthocomplement of a subspace is a subspace.
- Show that if
is the orthocomplement of
then
is the orthocomplement of
.
- Prove that a subspace and its orthocomplement have a trivial intersection.
- Conclude that for any
and subspace
we have that
.
- Show that
equals the dimension of the enclosing space.
- Answer
- The set

is easily seen to be the
-axis.
- The
-plane.
- The
-axis.
- Assume that
is a subspace of some
. Because
contains the zero vector, since that vector is perpendicular to everything, we need only show that the orthocomplement is closed under linear combinations of two elements. If
then
and
for all
. Thus
for all
and so
is closed under linear combinations.
- The only vector orthogonal to itself is the zero vector.
- This is immediate.
- To prove that the dimensions add, it suffices by Corollary 4.13 and Lemma 4.15 to show that
is the trivial subspace
. But this is one of the prior items in this problem.
- This exercise is recommended for all readers.
- Problem 22
Consider Corollary 4.13. Does it work both ways— that is, supposing that
, is
if and only if
?
- Answer
Yes. The left-to-right implication is Corollary 4.13. For the other direction, assume that
. Let
be bases for
. As
is the sum of the subspaces, any
can be written
and expressing each
as a combination of vectors from the associated basis
shows that the concatenation
spans
. Now, that concatenation has
members, and so it is a spanning set of size
. The concatenation is therefore a basis for
. Thus
is the direct sum.
- Problem 25
Consider the algebraic properties of the direct sum operation.
- Does direct sum commute: does
imply that
?
- Prove that direct sum is associative:
.
- Show that
is the direct sum of the three axes (the relevance here is that by the previous item, we needn't specify which two of the three axes are combined first).
- Does the direct sum operation left-cancel:does
imply
? Does it right-cancel?
- There is an identity element with respect to this operation. Find it.
- Do some, or all, subspaces have inverses with respect to this operation:is there a subspace
of some vector space such that there is a subspace
with the property that
equals the identity element from the prior item?
- Answer
- They are equal because for each,
is the direct sum if and only if each
can be written in a unique way as a sum
and
.
- They are equal because for each,
is the direct sum if and only if each
can be written in a unique way as a sum of a vector from each
and
.
- Any vector in
can be decomposed uniquely into the sum of a vector from each axis.
- No. For an example, in
take
to be the
-axis, take
to be the
-axis, and take
to be the line
.
- In any vector space the trivial subspace acts as the identity element with respect to direct sum.
- In any vector space, only the trivial subspace has a direct-sum inverse (namely, itself). One way to see this is that dimensions add, and so increase.