go-v.orgcodex
Menu
Page tools

codex · Philosophy

Vector projection

Diagram for Vector projection
The vector projection, also known as the vector component or vector resolution, of a vector a on (or onto) a non-zero vector b is the orthogonal projection of a onto a straight line parallel to b. · image: Wikimedia Commons

The vector projection, also known as the vector component or vector resolution, of a vector a on (or onto) a non-zero vector b is the orthogonal projection of a onto a straight line parallel to b. The projection of a onto b is often written as proj𝐛𝐚 or a∥b. The vector component or vector resolute of a perpendicular to b, sometimes also called the vector rejection of a from b (denoted oproj𝐛𝐚 or a⊥b), is the orthogonal projection of a onto the plane (or, in general, hyperplane) that is orthogonal to b. Since both proj𝐛𝐚 and oproj𝐛𝐚 are vectors, and their sum is equal to a, the rejection of a from b is given by: oproj𝐛𝐚=𝐚−proj𝐛𝐚.

To simplify notation, this article defines 𝐚1:=proj𝐛𝐚 and 𝐚2:=oproj𝐛𝐚. Thus, the vector 𝐚1 is parallel to 𝐛, the vector 𝐚2 is orthogonal to 𝐛, and 𝐚=𝐚1+𝐚2. The projection of a onto b can be decomposed into a direction and a scalar magnitude by writing it as 𝐚1=a1𝐛̂ where a1 is a scalar, called the scalar projection of a onto b, and b̂ is the unit vector in the direction of b. The scalar projection is defined as a1=‖𝐚‖cos⁡θ=𝐚⋅𝐛̂ where the operator ⋅ denotes a dot product, ‖a‖ is the length of a, and θ is the angle between a and b.

The scalar projection is equal in absolute value to the length of the vector projection, with a minus sign if the direction of the projection is opposite to the direction of b, that is, if the angle between the vectors is more than 90 degrees. The vector projection can be calculated using the dot product of 𝐚 and 𝐛 as: proj𝐛𝐚=(𝐚⋅𝐛̂)𝐛̂=𝐚⋅𝐛‖𝐛‖𝐛‖𝐛‖=𝐚⋅𝐛‖𝐛‖2𝐛=𝐚⋅𝐛𝐛⋅𝐛𝐛 .

Wikipedia contributors, "Vector projection", Wikipedia, revision 1372663854, retrieved 20 November 2026, source, CC BY-SA 4.0.

More Philosophy · Search the codex