Exercise 2.2.9. Consider the following and
:
For what values of and
does the system
have a solution? Also, determine the nullspace of
and provide two examples of vectors within it, and find the general solution to
.
Answer: We perform elimination by subtracting 2 times the first row from the third row:
This completes elimination and produces the system :
Since the pivots of are in columns 1 and 4, the basic variables are
and
and the free variables are
and
. There are no constraints on the values of
and
.
To find the general solution to we start with the system
, which is equivalent to
:
From the second equation we must have . Substituting the value of
into the first equation we have
or
. The general solution to
can then be expressed in terms of the free variables
and
as follows:
By setting and
we obtain one vector
in the nullspace of
and by setting
and
we obtain another vector
also in the nullspace.
We can obtain a particular solution to by going back to the system
derived above:
From the second equation we have . Substituting for
into the first equation we have
or
. Setting the free variables
and
to zero gives the particular solution
The general solution to is then
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
.