Let and two vectors on where is a field (like or ). Then we define the dot product of the two vectors as:
Notice that is NOT a vector but a scalar (an element from the field ).
If are vectors in and is the angle between them, then we also have
The special case of scalar product is the scalar square of the vector . In it equals to the square of the length of :