The projection vector of onto is a vector in direction with a magnitude of ‘s -component.

Its magnitude is

To make it a vector in ‘s direction, multiply it by , which is ‘s direction vector.