Question: what is the difference between scalar and vector projection?
Answer: The vector projection of a vector onto a given direction has a magnitude equal to the scalar projection. ... A scalar projection is the length of the vector projection. It is given by the dot product of a vector with a unit vector for that direction.