Projection is not a single isolated construction — it threads through least squares, Gram–Schmidt, QR decomposition, the orthogonal decomposition of ℝⁿ, and every "closest point" or "best approximation" problem in linear algebra. The table below collects each context in which projection plays a role, alongside what is being projected and what the projection produces.
| Where projection appears |
What is being projected |
What the projection gives |
| Component along an axis |
vector b onto a single direction q |
(q · b) q — the part of b along q |
| Best approximation in a subspace |
vector b onto subspace W |
the w ∈ W minimizing ‖b − w‖ |
| Orthogonal decomposition of ℝⁿ |
every b onto W and onto W⊥ |
unique b = Pb + (I − P) b |
| Least squares |
b onto Col(A) when A x = b is inconsistent |
A x̂ = Pb; residual ⊥ Col(A); normal equations AᵀA x̂ = Aᵀ b |
| Gram–Schmidt orthogonalization |
each new basis vector onto the span of previous ones |
perpendicular remainder becomes the next orthogonal basis vector |
| QR decomposition |
columns of A successively onto previous orthonormal q's |
A = QR with Q orthonormal columns and R upper triangular |