A section of Vectors and the Geometry of Space: The Dot Product: the full video with all its notes is on that page.
Notes: Geometric Interpretation of the Dot Product
Written notes — from Vectors and the Geometry of Space: The Dot Product.
Geometric Interpretation of the Dot Product
The dot product a ⋅ b can be given a geometric interpretation in terms of the angle θ between a and b, which is defined to be the angle between the representations of a and b that start at the origin, where 0 ≤ θ ≤ π.
In other words, θ is the angle between the line segments OA and OB in the figure below.

Note that if a and b are parallel vectors, the θ = 0 (both going in the same direction) or θ = π (both going in the opposite direction).
The formula in the following theorem is used by physicists as the definition of the dot product.
Definition 2: Dot Product
If θ is the angle between the vectors a and b, then:

Proof:
Recall the Law of Cosines (from my earlier video).
Now if we apply the Law of Cosines to the triangle OAB in the earlier figure above, we get:

Observe that the Law of Cosines still applies in the limiting cases when θ = 0 or π, or a = 0 or b = 0.
For example, when θ = 0:

Since |OA| = |a|, |OB| = |b|, and |AB| = |a - b|, the above equation becomes:

Using Properties 1, 2, and 3 of the dot product, we can rewrite the left side of this equation as follows:

Thus putting the two equations together we have:

Example 2
If the vectors a and b have lengths 4 and 6, and the angle between them is π/3, find a ⋅ b.
Solution:
Using the alternative definition of the dot product, Definition 2, we have:

--
The alternative dot product formula allows us to find the angle between two vectors.
Corollary
If θ is the angle between the nonzero vectors a and b, then:

Example 3
Find the angle between the vectors a = <2, 2, -1> and b = <5, -3, 2>.
Solution:
Let's solve all the terms of the Corollary formula.

So the angle between a and b is:

Calculation Check:
acos(2/(3*sqrt(38))) = 83.79145537381417 degrees.
83.79145537381417 * pi / 180 = 1.462436781310953 radians.
- 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 →
