Orthogonal projector onto a plane
Keywords: orthogonal projector · subspace · Gram--Schmidt · complementary projector · distance to a subspace · best approximation
Exercise 1 : Orthogonal projector onto a plane
In , viewed as a real subspace of equipped with the usual inner product, consider the plane spanned by the vectors and , together with the unit vector .
whose norm is , hence . The matrices of the two rank-one projectors are and their sum is
The vectors and are orthogonal to , since the sum of their components is zero: is the plane orthogonal to . We verify that . Now , where is the matrix all of whose entries are equal to , and is exactly the matrix . The projector onto is the complementary projector to the projector onto the orthogonal line: is an orthonormal basis of , and the closure relation reads .
We verify that this vector does belong to (the sum of its components is zero). The orthogonal component is , and the distance from to the plane is .
with equality if and only if . Orthogonal projection yields the best approximation of a vector by a vector in the subspace: this is what justifies, in infinite dimension, approximating a function by the first terms of its expansion in a Hilbert basis.