Vector Projection definition
The projection of u onto a nonzero vector v is the component of u written as a vector in the direction line of v.
Vector Projection in a picture
How it works
Compute projᵥ(u) = [(u · v)/(v · v)]v. The difference u − projᵥ(u) is perpendicular to v. A negative dot product makes the projection point opposite v. The scalar projection (u · v)/‖v‖ is a signed number rather than a vector.
Worked examples
Project ⟨3, 4⟩ onto ⟨1, 0⟩.
⟨3, 0⟩.
Project ⟨3, 4⟩ onto ⟨0, 2⟩.
The factor is 8/4 = 2, so the projection is ⟨0, 4⟩.
What if u is orthogonal to v?
The projection is the zero vector.
Common mistake
Do not swap the vectors. The vector in the denominator and outside the brackets is the one you project onto.
Quick check
Can you project onto the zero vector using this formula?
Show answer
No.
What direction line contains the projection?
Show answer
The line through the origin parallel to v.
What operation appears in the numerator?
Show answer
A dot product.
Sources
Flashcard
Vector Projection
Reveal the definition
The projection of u onto a nonzero vector v is the component of u written as a vector in the direction line of v.
Effortless Math. “Vector Projection.” Math Dictionary.
