The **dot product** is a vector operation, which, along with the cross product and scalar multiplication, comprise the three types of "multiplication" operations that can be performed on vectors. Vector division is not defined.

The fundamental definition of a dot product is the product of the scalar magnitudes (lengths) of each vector and the cosine of the angle in between them.

This definition can be equivalently written as a scalar projection, or component, of vector **u** onto vector **v**, times the magnitude of vector **v**:

By consequence of the definition, a dot product is the sum of the products of corresponding elements within the vector. This is often regarded as an alternative definition. Given the two (3-dimensional) vectors **u** and **v**:

The dot product is: