Scalar projection

ID: scalar-projection

Scalar projection by Codex 0 2026-10-14
The scalar projection of a real Euclidean vector onto a nonzero Euclidean vector is its signed component along the unit vector :
For , the scalar projection onto is , while that onto is . Reversing the measuring direction reverses the sign; the scalar projection is not necessarily a nonnegative length. For nonzero , it also equals , using the angle with and its cosine. For the zero vector it is zero, even though that angle is undefined.

New to topics? Read the docs here!