Exercise 3.1.7. For the matrix
find vectors and
such that
is orthogonal to the row space of
and
is orthogonal to the column space of
>
Answer: The nullspace of is orthogonal to the row space of
. We can therefore find a suitable vector
by solving the system
.
To solve the system we perform Gaussian elimination. We start by subtracting 2 times row 1 from row 2:
and then subtract 3 times row 1 from row 3:
Finally we subtract row 2 from row 3:
The echelon matrix has 2 pivots in columns 1 and 3, so and
are basic variables and
is a free variable.
Setting from row 2 we have
and from row 1 we have
or
. So the vector
is a solution to the system, a basis for the nullspace of
, and a vector orthogonal to the row space of
.
The left nullspace of is orthogonal to the column space of
. We can therefore find a suitable vector
by solving the system
.
To solve the system we perform Gaussian elimination. We start by subtracting 2 times row 1 from row 2:
and then subtract 1 times row 1 from row 3:
Finally we exchange rows 2 and row 3:
The resulting echelon matrix has 2 pivots in columns 1 and 2, so and
are basic variables and
is a free variable.
Setting from row 2 we have
or
. From row 1 we have
or
. So the vector
is a solution to the system, a basis for the left nullspace of
, and a vector orthogonal to the column space of
.
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
.