Projection and Dot Product Relation
If $$\operatorname{comp}_{\vec b}\vec a$$ denotes the scalar component of $$\vec a$$ along $$\vec b$$:
$$\operatorname{comp}_{\vec b}\vec a=\frac{\vec a\cdot\vec b}{|\vec b|}$$
Usage
- Used to directly obtain the signed projection of one vector along another.