Exercise 3.1.6. What vectors are orthogonal to and in ? From these vectors create a set of three orthonormal vectors (mutually orthogonal with unit length).
Answer: If is a vector orthogonal to both and then the inner product of with both vectors must be zero. This corresponds to the system where
To solve the system we perform Gaussian elimination. We start by subtracting 1 times row 1 from row 2:
The 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 and thus a vector orthogonal to and .
Note that scalar multiples of the vector are all orthogonal to and . Also note that the vectors and are orthogonal to one another.
To produce orthonormal vectors we can take the vectors above and divide them by their lengths. The length of is , the length of is , and the length of is
The three orthonormal vectors are then 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.