GraphMath

Projection

From one direction to a subspace: orthogonal and general projection

How do we split a vector into a projected part and a residual?

Projection decomposes a vector into two parts: one part lying in the chosen subspace and the other lying in a complementary residual direction. This chapter starts with projection onto one vector, extends it to the columns of a matrix, adds the particular case of one direction, compares orthogonal and general projection and shows why the projection matrix satisfies P² = P.

Key ideas

Projection separates a vector into a part that we keep and a part that we discard. In orthogonal projection, the discarded part is perpendicular to the target subspace.

  • For one direction u, the vector v decomposes as v = v + v, where v lies along u
  • For a matrix U with independent columns, the projection of v onto col(U) is U (Uᵀ U)⁻¹ Uᵀ v
  • The particular case U = [ u ] collapses the matrix formula back to projection onto a single direction
  • Orthogonal projection is a special case of general projection, where the residual lies in a chosen complementary subspace
  • Projection matrices are idempotent: applying P twice gives the same result as applying it once
  • The matrix P = U (Uᵀ U)⁻¹ Uᵀ can also be read as a serial transformation from ℝ³ to ℝ² and back to ℝ³

The chapter moves from vector form to matrix form, then compares orthogonal and general projection side by side and ends with the transformation view of the projection matrix.

What makes orthogonal projection special?

Orthogonal projection chooses the projected vector so that the residual is perpendicular to the target subspace. That perpendicularity makes the projected vector unique and gives the standard formula P = U (Uᵀ U)⁻¹ Uᵀ.

Related chapters

Chapter contents

Why does a projection matrix satisfy P² = P?

Because once a vector has already been projected into the target subspace, projecting it again does nothing new. The first application of P removes the residual, and the second application has nothing left to remove.

Was this chapter helpful?

Quick feedback helps us improve the site.