Vector Projection Lex Toumbourou · Sep 26, 2026 The Vector Projection of a Vector a\mathbf{a}a onto another vector b\mathbf{b}b is the component of a\mathbf{a}a that points in the direction of b\mathbf{b}b. You can think of it as the "shadow" a\mathbf{a}a casts on the line through b\mathbf{b}b. It's calculated using the Dot Product: projba=a⋅bb⋅bb \text{proj}_{\mathbf{b}}\mathbf{a} = \frac{\mathbf{a} \cdot \mathbf{b}}{\mathbf{b} \cdot \mathbf{b}} \mathbf{b} projba=b⋅ba⋅bb The scalar projection, a⋅b∣b∣\frac{\mathbf{a} \cdot \mathbf{b}}{|\mathbf{b}|}∣b∣a⋅b, gives just the (signed) length of that shadow, where ∣b∣|\mathbf{b}|∣b∣ is the Vector Magnitude of b\mathbf{b}b.