Scalar projection of onto
is
.
Vector projection of onto
is
.
The vectors are and
.
.
.
and
.
Find the dot product of the vectors and
.
If and
are two vectors, then the dot product of
and
is
.
The dot product of the vectors and
is
.
Magnitude of the vector is
.
Substitute and
in the scalar projection formula.
.
Substitute and
in the vector projection formula.
.
Scalar projection of onto
is
.
Vector projection of onto
is
.