Processing math: 100%

Dot product of vectors

The dot product (a.k.a. scalar product) is an operation that take two vectors of the same dimension and produces a real number. Algebraically, it is simply the sum of the products of the corresponding entries in the two vectors:

[x1y1][x2y2]=x1x2+y1y2

In three-dimension, it is defined to be

[x1y1z1][x2y2z2]=x1x2+y1y2+z1z2