
In
linear algebra and
functional analysis, a projection is a
linear transformation from a
vector space to itself (an
endomorphism) such that
. That is, whenever
is applied twice to any vector, it gives the same result as if it were applied once (i.e.
is
idempotent). It leaves its
image unchanged. This definition of "projection" formalizes and generalizes the idea of
graphical projection. One can also consider the effect of a projection on a geometrical object by examining the effect of the projection on
points in the object.
Definitions
A projection on a vector space
is a linear operator
such that
.
When
has an
inner product and is
complete (i.e. when
is a
Hilbert space
In mathematics, Hilbert spaces (named after David Hilbert) allow generalizing the methods of linear algebra and calculus from (finite-dimensional) Euclidean vector spaces to spaces that may be infinite-dimensional. Hilbert spaces arise natu ...
) the concept of
orthogonality can be used. A projection
on a Hilbert space
is called an orthogonal projection if it satisfies
for all
. A projection on a Hilbert space that is not orthogonal is called an oblique projection.
Projection matrix
* In the
finite-dimensional case, a
square matrix is called a projection matrix if it is equal to its square, i.e. if
.
* A square matrix
is called an orthogonal projection matrix if
for a
real matrix
Matrix most commonly refers to:
* ''The Matrix'' (franchise), an American media franchise
** '' The Matrix'', a 1999 science-fiction action film
** "The Matrix", a fictional setting, a virtual reality environment, within ''The Matrix'' (franchi ...
, and respectively
for a
complex matrix, where
denotes the
transpose of
and
denotes the adjoint or
Hermitian transpose of
.
* A projection matrix that is not an orthogonal projection matrix is called an oblique projection matrix.
The
eigenvalue
In linear algebra, an eigenvector () or characteristic vector of a linear transformation is a nonzero vector that changes at most by a scalar factor when that linear transformation is applied to it. The corresponding eigenvalue, often denot ...
s of a projection matrix must be 0 or 1.
Examples
Orthogonal projection
For example, the function which maps the point
in three-dimensional space
to the point
is an orthogonal projection onto the ''xy''-plane. This function is represented by the matrix
The action of this matrix on an arbitrary
vector is
To see that
is indeed a projection, i.e.,
, we compute
Observing that
shows that the projection is an orthogonal projection.
Oblique projection
A simple example of a non-orthogonal (oblique) projection is
Via
matrix multiplication, one sees that
showing that
is indeed a projection.
The projection
is orthogonal
if and only if
In logic and related fields such as mathematics and philosophy, "if and only if" (shortened as "iff") is a biconditional logical connective between statements, where either both statements are true or both are false.
The connective is bi ...
because only then
Properties and classification
Idempotence
By definition, a projection
is
idempotent (i.e.
).
Open map
Every projection is an
open map, meaning that it maps each
open set
In mathematics, open sets are a generalization of open intervals in the real line.
In a metric space (a set along with a distance defined between any two points), open sets are the sets that, with every point , contain all points that a ...
in the
domain to an open set in the
subspace topology
In topology and related areas of mathematics, a subspace of a topological space ''X'' is a subset ''S'' of ''X'' which is equipped with a topology induced from that of ''X'' called the subspace topology (or the relative topology, or the induced t ...
of the
image. That is, for any vector
and any ball
(with positive radius) centered on
, there exists a ball
(with positive radius) centered on
that is wholly contained in the image
.
Complementarity of image and kernel
Let
be a finite-dimensional vector space and
be a projection on
. Suppose the
subspaces
and
are the
image and
kernel of
respectively. Then
has the following properties:
#
is the
identity operator on
:
# We have a
direct sum . Every vector
may be decomposed uniquely as
with
and
, and where
The image and kernel of a projection are ''complementary'', as are
and
. The operator
is also a projection as the image and kernel of
become the kernel and image of
and vice versa. We say
is a projection along
onto
(kernel/image) and
is a projection along
onto
.
Spectrum
In infinite-dimensional vector spaces, the
spectrum
A spectrum (plural ''spectra'' or ''spectrums'') is a condition that is not limited to a specific set of values but can vary, without gaps, across a continuum. The word was first used scientifically in optics to describe the rainbow of color ...
of a projection is contained in
as
Only 0 or 1 can be an
eigenvalue
In linear algebra, an eigenvector () or characteristic vector of a linear transformation is a nonzero vector that changes at most by a scalar factor when that linear transformation is applied to it. The corresponding eigenvalue, often denot ...
of a projection. This implies that an orthogonal projection
is always a
positive semi-definite matrix. In general, the corresponding
eigenspaces are (respectively) the kernel and range of the projection. Decomposition of a vector space into direct sums is not unique. Therefore, given a subspace
, there may be many projections whose range (or kernel) is
.
If a projection is nontrivial it has
minimal polynomial , which factors into distinct linear factors, and thus
is
diagonalizable.
Product of projections
The product of projections is not in general a projection, even if they are orthogonal. If two projections
commute then their product is a projection, but the
converse is false: the product of two non-commuting projections may be a projection.
If two orthogonal projections commute then their product is an orthogonal projection. If the product of two orthogonal projections is an orthogonal projection, then the two orthogonal projections commute (more generally: two self-adjoint
endomorphisms commute if and only if their product is self-adjoint).
Orthogonal projections
When the vector space
has an
inner product and is complete (is a
Hilbert space
In mathematics, Hilbert spaces (named after David Hilbert) allow generalizing the methods of linear algebra and calculus from (finite-dimensional) Euclidean vector spaces to spaces that may be infinite-dimensional. Hilbert spaces arise natu ...
) the concept of
orthogonality can be used. An orthogonal projection is a projection for which the range
and the null space
are
orthogonal subspaces
In mathematics, orthogonality is the generalization of the geometric notion of ''perpendicularity''.
By extension, orthogonality is also used to refer to the separation of specific features of a system. The term also has specialized meanings in ...
. Thus, for every
and
in
,
. Equivalently:
A projection is orthogonal if and only if it is
self-adjoint. Using the self-adjoint and idempotent properties of
, for any
and
in
we have
,
, and
where
is the inner product associated with
. Therefore,
and
are orthogonal projections. The other direction, namely that if
is orthogonal then it is self-adjoint, follows from
for every
and
in
; thus
.
Properties and special cases
An orthogonal projection is a
bounded operator. This is because for every
in the vector space we have, by the
Cauchy–Schwarz inequality
The Cauchy–Schwarz inequality (also called Cauchy–Bunyakovsky–Schwarz inequality) is considered one of the most important and widely used inequalities in mathematics.
The inequality for sums was published by . The corresponding inequality f ...
:
Thus
.
For finite-dimensional complex or real vector spaces, the
standard inner product
In mathematics, the dot product or scalar productThe term ''scalar product'' means literally "product with a scalar as a result". It is also used sometimes for other symmetric bilinear forms, for example in a pseudo-Euclidean space. is an algeb ...
can be substituted for
.
=Formulas
=
A simple case occurs when the orthogonal projection is onto a line. If
is a
unit vector on the line, then the projection is given by the
outer product
(If
is complex-valued, the transpose in the above equation is replaced by a Hermitian transpose). This operator leaves u invariant, and it annihilates all vectors orthogonal to
, proving that it is indeed the orthogonal projection onto the line containing u. A simple way to see this is to consider an arbitrary vector
as the sum of a component on the line (i.e. the projected vector we seek) and another perpendicular to it,
. Applying projection, we get
by the properties of the
dot product of parallel and perpendicular vectors.
This formul