Exercise 3.4.6. Given the matrix
find entries for the third column such that is orthogonal. How much freedom do you have to choose the entries? Finally, verify that both the columns and rows are orthonormal.
Answer: In order for to be orthogonal all three of its rows must be orthonormal, with length of 1. We start with the vector forming the first row of
. For its length to be 1 the square of the last entry of the first row must be equal to
so that the entry itself would be .
Similarly the square of the last entry of the second row must be
so that the entry itself would be .
Finally, the square of the last entry of the third row must be
so that the entry itself would be .
We have two possible choices for the last entry of the first row, and
. Suppose that we choose
. Since the first row and the second row are supposed to be orthogonal, we must choose
for the last entry of the second row, so that the dot product of the two rows is zero:
We must then choose for the last entry in the third row, so that the dot product of the first row and the third row is zero:
and the dot product of the second and third rows is zero:
The resulting value for the matrix is
The dot product of the first column with itself is
The dot product of the second column with itself is
The dot product of the third column with itself is
Thus all three columns have length 1.
We also have the dot product of the first and second columns as zero:
the dot product of the first and third columns as zero:
and the dot product of the second and third columns as zero:
Since all three rows are orthonormal (by construction) and all three columns are orthonormal, the matrix is an orthogonal matrix.
Recall that we originally had two choices for the last entry of the first row. If we instead choose for the last entry in the first row, we must choose
for the last entry of the second row and
for the last entry in the third row, so that
Verifying that this alternative value for is an orthogonal matrix is left as an exercise for the reader.
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, Fifth Edition
and the accompanying free online course, and Dr Strang’s other books
.