Scalar Product or Dot Product

The scalar product of two vectors vector a and vector b is denoted vector adotvector b. Because of the notation for the product, with a dot between the two factors, the product is also called dot product.

Although both factors vector a and vector b are vectors, the value vector adotvector b is a scalar. This explains the name "scalar product". Mathematicians say that the scalar product of two vectors is a rule that assigns a scalar to two vectors.

The manner in which the scalar product of two vectors is to be evaluated will now be described, in one and more than one dimension and in each of these cases in geometric and analytic fashion. The scalar product in one dimension is described below, in two and more dimensions on Page 2.

Scalar product in one dimension

In this case the two vectors either have the same direction, as in Figure 1 below,

Dot product for parallel vectors

Figure 1

or are oppositely directed, as in Figure 2 below.

Dot product for opposite vectors

Figure 2

(a) Geometric definition

vector adotvector b = ab,space if vector a and vector b have the same direction.space(1)

vector adotvector b = -ab,space if vector a and vector b have opposite directions.space(2)

a and b denote the magnitudes of vector a and .

(b) Analytic definition

vector adotvector b = axbx.space(3)

ax and bx are the x-components of and , respectively, relative to an x-axis that is parallel to the two vectors. One such axis is illustrated in Figure 3 below.

Two vector with x-axis

Figure 3

The x-axis in Figure 3 has been chosen to point in the direction of vector vector b. It could also have been chosen to point in the opposite direction, that of vector vector a.

Comment. The signs of the scalar components ax and bx depend on the direction of the x-axis, but the product axbx does not. In the case illustrated in Figure 3, ax = -a and bx = b. Therefore, axbx = vector adotvector b = -ab, as in Eq.(2) above.

If the direction of the x-axis were reversed, the signs of ax and bx would be reversed also, but the product axbx and the scalar product would remain unchanged.

The scalar product dot is a geometric quantity that depends only on the two vectors and and not on the choice of coordinate axis.