Exercise 2.3.7. For each of the following, state whether the vector is in the subspace spanned by
. (Construct a matrix
with
as the columns, and try to solve
.)
a) ,
,
,
b) ,
,
,
, any
Answer: a) We construct the matrix
and do Gaussian elimination on the left and right hand sides of :
From the third equation we have the contradiction and we conclude that
has no solution in this case. The vector
is therefore not in the subspace spanned by
,
, and
.
b) We construct the matrix
and do Gaussian elimination on the left and right hand sides of :
The pivots are in columns 1 through 3 and the basic variables are ,
, and
with
being a free variable. The first three columns of the original matrix are thus linearly independent; the fourth column is a linear combination of the others. Since the first three columns
,
, and
are vectors in
and are linearly independent, they span all of
and thus any vector
can be represented as a linear combination of
,
, and
using suitable weights.
Going further, from the third equation we have or
. From the second equation we have
. From the first equation we have
The equation is equivalent to
Dropping the zero vector we can therefore represent any vector
in
as a linear combination of
,
, and
as follows:
NOTE: This continues a series of posts containing worked out exercises from the (out of print) book Linear Algebra and Its Applications, Third Edition by Gilbert Strang.
If you find these posts useful I encourage you to also check out the more current Linear Algebra and Its Applications, Fourth Edition, Dr Strang’s introductory textbook Introduction to Linear Algebra, Fourth Edition
and the accompanying free online course, and Dr Strang’s other books
.