Orthogonal complements and projections 射影 しゃえい
1Introduction
The key idea of this lecture is to decompose a vector uniquely into a component lying in a
In projection and
2Terms and definitions
For a subspace of an
The
3Plan
We first verify that is a subspace. Then, in finite-dimensional inner product spaces, we explain the decomposition
and derive the projection formula.
data/lecture/math/linear-algebra/inner-product-space-basics.lecture.n.md data/lecture/math/linear-algebra/complex-inner-products-and-unitary-matrices.lecture.n.md4Intuitive explanation
If is a line in the plane, any vector can be split into its shadow along the line and a perpendicular remainder . The set of all possible perpendicular remainders is .
The component is important because it is the closest vector in to . When the error is orthogonal to , there is no remaining direction inside along which one can move to get closer.
5Precise explanation
5.11. is a subspace
Let and let be scalars. For every ,
Therefore , so is a subspace.
5.22. Orthogonal decomposition
If is finite-dimensional and is a subspace, every can be written uniquely as
For existence, take an
Then , and for every ,
Hence .
For uniqueness, suppose
Then lies in both and . If , then , so . Thus and .
Consequently, in finite dimensions,
5.33. Projection formula using an orthonormal basis
If is an orthonormal basis of , then
The reason is that the residual is orthogonal to every basis vector of .
In the complex case, the same formula is used with the convention of this series: the first variable is linear, so the coefficient is . Under the opposite convention, conjugates appear in different positions.
As a matrix, an orthogonal projection satisfies
The first equation says that projecting twice changes nothing after the first projection; the second says the projection is compatible with the inner product.
6Concrete example
In , let
With
the projection of onto is
The residual is
which is orthogonal to .
7Another viewpoint
Geometrically, is the collection of directions perpendicular to . Algebraically, it is the solution space of the equations for all .
8Criteria
- When projection, shortest distance, or residuals appear, identify the relevant orthogonal complement.
- To split a vector into a component inside a subspace and a perpendicular error, use orthogonal decomposition.
- In least squares, the residual belongs to the orthogonal complement of the column space.
9Scope and limitations
In finite-dimensional inner product spaces, orthogonal decomposition is stable. In infinite dimensions, closedness of the subspace matters; a non-closed subspace may fail to have nearest points or projections. In complex spaces, transpose is replaced by conjugate transpose in projection and least-squares formulas.
10Final forms
11In one sentence
The
The
For least-squares problems, the same idea says that may not equal , so we choose so that the residual is orthogonal to the column space of . This gives the normal equations . The solution is unique when the relevant columns are independent; otherwise the projection is still unique, but the coefficient vector may not be.
12Theorem and proof: orthogonal projection minimizes error
Let be a subspace of an inner product space, and suppose satisfies . Then is the vector in closest to .
For any ,
Since and , the two summands are orthogonal. By the Pythagorean theorem,
Thus the distance is minimized when . This is the geometric basis of least squares.