qIf Ax = b has no solution, we can solve the closest problem by projecting onto . The Projection matrix saves this process in memory . The projection guide vector from the tip of to , is the “error” of the projection and always orthogonal to , , therefore lies in and . The General Projection Formula summarizes the central equation
Projection Workflow
- Find
- Find
- Find
Projections with Orthonormal Matrices Q and Gram-Schmidt
Orthonormal matrices simplify the projection significantly due to the property . The formulas become:
Other
The error of rewriting the inverse
Only for square, invertible matrices the part can be rewritten, cancelling with the rest such that it yields . Because such matrix is the whole space, the projection of any in it is just itself, thus .
Properties of the Projection Matrix
- Projecting a vector by the same projection matrix is idempotent
- Symmetry comes from terms.
1D-Projection
For one dimensional projection the same formulas apply but with vectors. This is a simplification