A section of Vectors and the Geometry of Space: The Dot Product: the full video with all its notes is on that page.
Notes: The Dot Product: Vector and Scalar Projections
Written notes — from Vectors and the Geometry of Space: The Dot Product.
Projections: Vector and Scalar Projections
The figure below shows PQ and PR of two vectors a and b with the same initial point.
If S is the foot of the perpendicular line from R to the line containing PQ, then the vector with representation PS is called the vector projection of b onto a and is denoted by proja b. (You can think of it as a shadow of b).

The scalar projection of b onto a (also called the component of b along a) is defined to be the signed magnitude of the vector projection, which is the number |b|cos θ, where θ is the angle between a and b; see the figure below. This is denoted by compa b.

Observe that compa b is negative if π/2 < θ ≤ π.
The equation:

shows that the dot product of a and b can be interpreted as the length of a times the scalar projection of b onto a.
Since:

then the component of b along a can be computed by taking the dot product of b with the unit vector in the direction of a.
We summarize these ideas as follows:
Summary of Projections
Scalar projection of b onto a:

Vector projection of b onto a:

Notice that the vector projection is the scalar projection times the unit vector in the direction of a.
Example 6
Find the scalar projection and vector projection of b = <1, 1, 2> onto a = <-2, 3, 1>.
Solution:

The vector projection is this scalar projection times the unit vector in the direction of a:

- Watch on: YouTube
- Full video and written notes: Vectors and the Geometry of Space: The Dot Product
- Sections playlist: Vectors and the Geometry of Space: The Dot Product (YouTube)
- More: Vectors and the Geometry of Space · mes.fm/math
Notes originally posted on the Hive blockchain →
