Given a pair of 2D vectors:
Then their dot product is
- .
Suppose that and are both rotated by an angle :
-
-
applying the trigonometric form of the Pythagorean Theorem (i.e., ).
So if and are both rotated with the angle between them preserved then their dot product is preserved as well.
Multiplying lengths of and . Let , . I.e.,
- ,
- .
Then
-
- .
Multiplying the length of or also multiplies the length of the dot product by the same factor. (This property is called homogeneity, or linearity.)
What happens when and are unit vectors? Rotate both of them (by the same angle) until one of them equals the vector (1, 0). Suppose that . Then ,
- .
Let be the angle between and (or between and , equivalently).
so
For any vectors which are not unit vectors, let
- ,
where is the magnitude (or length) of vector (by the Pythagorean Theorem) and likewise, and where is a unit vector in the same direction as ; and is a unit vector in the same direction as .
So
where is the angle between and (or equivalently, between and ). This last equation denotes the geometric interpretation of the dot product (as being proportional to the magnitudes of the vectors and the cosine of the angle between them).