Introduction

Vector Projection

If A and B are two vectors, the projection of A on B is the vector C with the same direction as B and with the length:

Vector Projection

When θ is not known, we can compute cos⁡θ using the following property of Dot Product A∙B:

Vector Projection

Thus, the length of C can be also computed as follows:

Vector Projection

Since C is in the same direction as B,

Vector Projection

Where Vector Projection is the Unit Vector with the same direction as B:

Vector Projection

References & Resources

  • Wikipedia - http://en.wikipedia.org/wiki/Vector_projection