Dot (Scalar) Product
Definition
The dot product, also known as the scalar product, is a fundamental operation, in the field of Mathematics, Physics, and Engineering, that measures how closely two vectors align. The dot product can be defined either algebraically or geometrically.
Algebraically, the dot product is the sum of the products of the corresponding entries of the two sequences of numbers. That is, if we have two vectors
Where
The dot product of vectors
If the vectors are identified with column vectors, the dot product is the matrix product
Geometrically, the dot product of two vectors
where
The dot product is defined as the product of either vector with the scalar projection of the other onto it. In other words,
where,
We can then use this to derive (2)
In particular, if the vectors
On the other extreme, if they are codirectional, that is
which also suggests that the dot product of a vector
And,