Math101learn.math101.caOrthogonal Projection
A precise treatment of projections onto lines and subspaces, residual orthogonality, and projection matrices.
Precise definition
For nonzero $u$, the orthogonal projection of $v$ onto $\operatorname{span}\{u\}$ is $\operatorname{proj}_u v=(v\cdot u)/(u\cdot u)\,u$. If columns of $Q$ are orthonormal, projection onto their span is $QQ^Tv$. For a full-column-rank $A$, it is $A(A^TA)^{-1}A^Tv$.
Notation and mathematical language
The decomposition $v=p+r$ has $p$ in the subspace and residual $r$ perpendicular to it. This $p$ uniquely minimizes distance $\|v-w\|$ over all subspace vectors $w$.
Conceptual picture
Projection keeps the component aligned with the target subspace and discards the orthogonal component. The projection matrix $P$ satisfies $P^2=P$ and, for orthogonal projection, $P^T=P$.
Conditions and key results
The target must be a subspace for a linear projection through the origin. Projection onto an affine set requires a translation. The simple sum $\sum(v\cdot u_i)u_i$ assumes the $u_i$ are orthonormal; otherwise use denominators or solve a Gram system.
A reliable strategy
- Specify the inner product and target subspace; check whether a supplied basis is orthogonal or orthonormal.
- Compute projection coefficients with the correct norm denominators or use $QQ^T$.
- Form $p$ and residual $r=v-p$.
- Verify membership, orthogonality, and the idempotence or closest-point property.
Fully worked example
Interpretation and application
Projection powers least squares, signal decomposition, graphics, and approximation. The notion of 'closest' depends on the selected inner product and scaling, so weighted applications may require a weighted projection.
Common mistakes
Verification and reasonableness
- Confirm $p$ is a combination of target basis vectors.
- Compute inner products of $r$ with every basis vector.
- Apply the projection twice and verify the result is unchanged.
Practice
- Project $(4,3)$ onto the $x$-axis.
- What characterizes the residual?
- What identities hold for an orthogonal projection matrix?
Answers and brief solutions
- $(4,0)$.
- It is orthogonal to the target subspace.
- $P^2=P$ and $P^T=P$.
Further deduction
For complementary orthogonal subspaces $W$ and $W^\perp$, every vector has a unique decomposition $v=\operatorname{proj}_Wv+\operatorname{proj}_{W^\perp}v$. Pythagoras gives $\|v\|^2=\|\operatorname{proj}_Wv\|^2+\|v-\operatorname{proj}_Wv\|^2$. This identity proves the closest-point property without calculus.
Projection onto the solution set of linear constraints can use Lagrange multipliers. To project $v$ onto $\{x:Cx=0\}$ when rows of $C$ are independent, subtract the row-space component: $p=v-C^T(CC^T)^{-1}Cv$. The residual lies in $\operatorname{Row}C$, while $Cp=0$ verifies feasibility.
Projection onto an affine set $a+U$ is obtained by translating, projecting, and translating back: $\operatorname{proj}_{a+U}(v)=a+\operatorname{proj}_U(v-a)$. Unlike a subspace projection, this map need not send zero to zero and is generally affine rather than linear. The residual is orthogonal to the direction subspace $U$, which yields the closest-point proof. This formulation covers fitting a point to a line or plane that does not pass through the origin.
Related topics
Try it yourself
Hints are part of learning. Open one whenever it makes the next step feel possible.
What is the projection coefficient of $(5,1)$ onto $(1,1)$?
- $(5,1)\cdot(1,1)=6$ and $(1,1)\cdot(1,1)=2$.
- The coefficient is $6/2=3$.
End of lesson
Nice work making it this far.
Understanding grows through return visits. Save this lesson, try the practice, or continue when you are ready.
