Source
Adapted from my own handwritten and hand-typed notes from Year 1 to Year 3 of my EEE degree
The dot product (scalar product) turns two vectors into a number. It measures how much two vectors point the same way, so it gives angles, perpendicular tests, work done and projections. For a vector perpendicular to two vectors, use the cross product instead.
Definition
For non-zero with angle between them:
If either vector is , the dot product is .
Component Formula
Since and , expanding gives
Example: . It is negative, so the angle is obtuse.
Properties
Facts:
- if and only if (for non-zero vectors)
- sign of : positive means acute angle, negative means obtuse angle
- commutative:
- and
Angle Between Two Vectors
Worked example: , :
- and
- , so rad
Work Done
A constant force moving an object through displacement does work
Example: N, m, gives J.
Projection
The vector projection of onto is the "shadow" of along :
The number is the scalar component of along . If is obtuse, the projection points opposite to .
Worked example: project onto .