To take the dot product of two vectors, multiply the vectors’ like coordinates and then add the products together. In other words, multiply the x coordinates of the two vectors, then add the result to the product of the y coordinates. Given vectors in three-dimensional space, add the product of the z coordinates as well.
Read More