Read · 1 min
Extending dot products to vectors in 3 or more dimensions is extremely simple.
The geometric definition stays exactly the same, since it does not depend on the number of dimensions of the coordinate space. Let be the angle between and when the two vectors are positioned with their initial points coinciding. We know that the following holds:
The algebraic definition for arbitrary -dimensional space is a simple generalization. Let and . Then, the dot product is defined as follows:
Using the same procedure as in 2 dimensions, one can prove that these two definitions of the dot product are equivalent. All other properties and uses of the dot product are the same; the only change is the increase in the amount of computation needed to compute and constructively use the dot product.