If
is a
-dimensional
subspace of a vector space
with inner product
, then it is possible to project vectors from
to
. The most familiar projection is when
is the x-axis in the plane.
In this case,
is the projection. This projection is an orthogonal projection.
If the subspace has an orthonormal basis
then
is the orthogonal projection onto . Any vector
can be written uniquely as
, where
and
is in the orthogonal
subspace
.
A projection is always a linear transformation and can be represented by a projection matrix. In addition, for any projection, there is an inner product for which it is an orthogonal projection.