A projection of the oriented length on the oriented length can be defined using dot product:

Note that

  • is the length of the projected vector. This follows from the property that
  • is the normalized direction of the projected vector
  • The Gram-Schmidt process uses projection to extract parts of vector that are orthogonal and parallel to another vector