The Cauchy-Schwarz inequality tells us that if we have an inner product space (that is, a real vector space with a positive definite symmetric bilinear form), then we can use 3.1 to define a notion of “angle” between two vectors. In particular, two vectors are said to be orthogonal (also known as perpendicular, or at right angles) if:
.
This is an important concept in a variety of different contexts. In 3D video games, whenever the perspective of the user rotates, the program must rotate the standard basis to a new one. Since the standard basis vectors in are each orthogonal to each other, the resulting basis vectors must still be pairwise orthogonal.
In statistics, the idea of orthogonality is used to describe when two random variables are uncorrelated (i.e. ).
A sequence of vectors in an inner product space is said to be orthogonal, if they are pairwise orthogonal; in other words whenever . If these vectors also all have unit norm (i.e. for every ), then the sequence is called orthonormal.
The sequence is orthogonal, since , but is not orthonormal, since their norms are .
The two vectors are orthogonal. Find a third vector in which is orthogonal to both of those.
Solution: We will set up a system of equations whose variables are the coordinates of our desired vector. Then we need
The solution set is
So if we take the third vector to be , then this will create an orthogonal sequence of three vectors.
Find all unit vectors in that are orthogonal to both and .
[End of Exercise]
Find an orthonormal sequence of three vectors in such that none of them have any zero coordinates (in the standard basis).
[Hint: First find a sequence of orthogonal vectors without zero coordinates, and then scale.]
[End of Exercise]
Let . You may assume that is an inner product space. Find two non-zero vectors in which are orthogonal with respect to this inner product.
[End of Exercise]
If is a subspace of an inner product space, then we define the orthogonal complement of in as follows:
So is the set of all vectors orthogonal to all of . The symbol is supposed to make you think of perpendicular lines; it is pronounced “perp”. You should visualize the orthogonal complement as in the following examples.
Let be a 1-dimensional subspace of . Then is the line through the origin which is orthogonal (perpendicular) to .
Let be a 1-dimensional subspace of . Then is the plane through the origin, whose normal vector lies in .
Let be a 2-dimensional subspace of . Then is the line spanned by a normal vector to .
Let . Then the orthogonal complement is the zero subspace . To prove this, assume a vector is orthogonal to every vector in . Then it must be orthogonal to itself. So . But since we assumed was an inner product space, this implies .
Several exercises ask to find an expression or basis for the orthogonal complement of a given subspace . If you already know a basis for , then it’s quickest to use:
Let be a subspace. Prove that is a subspace.
[End of Exercise]
Find a basis for , where .
[End of Exercise]
Let be an inner product space (possibly infinite dimensional).
(Triangle inequality) for any .
(Generalized Pythagorean theorem) If is an orthogonal sequence, then .
(Parallelogram law) for any .
(Triangle inequality) For non-negative real numbers, if and only if . Since it is always true that , it is equivalent to prove the inequality: . Expanding the left hand side, for any , by the definition of :
By bilinearity of the above is equal to
By the Cauchy-schwarz inequality the above is less than or equal to
which by definition of is equal to
Notice that above we used that . The Cauchy-Schwarz inequality was the key step in this proof.
For the proofs of the other two parts, see Exercise 3.32. ∎
For each of the identities in Theorem 3.30, draw an appropriate diagram of labelled vectors, which allows you to state the identities in terms of lengths and / or angles. For part (ii), assume .
[End of Exercise]
[End of Exercise]