When working with scalars, we have one definition of a product between scalars, one which gives another scalar. However, when working with vectors, we can envision several possibilities. For example, we can have a scalar product between two vectors which gives a scalar, or a vector product which gives another vector, or even a product which gives other mathematical entities (for the curious: called the outer product, and it gives a matrix, but we wont discuss that here!). In this section, we will be interested in the scaler product.
There are many possibilities which we can think of to define a scalar product between vectors. However, from all these possibilities, we wish to have a definition which is also useful! That is, we wish to have a definition which will satisfy several basic constrains we know are satisfied by the scalar product between scalars (i.e., the normal multiplication rules we know from grade school).
First and foremost, we wish the product
to be distributive, that is, that
. An example for a definition which does not satisfy this constraint (and is therefore not very useful...) is:
![]() |
To see that
, we can look at the case
. In such a case:
![]() |
![]() |
Thus, the above definition is rather useless. There is definition, however, which is very useful. It is the following.
The scalar product, also known as the dot product ``
" between two vectors
and
is defined as the size of
multiplied by the size of
and the cosine of the angle
between them:
![]() |
As we shall see below, this definition satisfies several useful constraints, which we will mention after we briefly dwell on the meaning of this product.
The meaning of the scalar product:
![]() |
Namely, the dot product is the size of
times the size of the projection of
onto
, or vice-versa, it is the size of
times the projection of the size of
onto
.
Important characteristics of the dot product:
- The first point to note about the definition is that the coordinate system does not enter the definition.
- The second point to note is that because
, the order is not important, that is, the scalar product is commutative:
![]() |
- The scalar product is also distributive. To see this, we can look at the following diagram, which demonstrates that the projection of
onto
is equal to the sum of the projection of
onto
and the projection of
onto
. Thus,
. If we multiply each of the terms by
, we find that
.
Dot product of a vector with itself:
Since the angle between a vector and itself is zero, we have
![]() |
Namely, the dot product of a vector with itself gives its magnitude squared.
The opposite operation to the dot product:
With the scalar product between scalars we know that the opposite operation is the division. That is, if
, we have that
. However, unlike the scalar equivalent, there is no meaning to the division in a vector. Alternatively, if we know
and we know
, it is not possible to know
because there are many (infinite to be exact) possibilities for
– there is an infinite set of vectors which have the same projection.
Components of a vector in the cartesian coordinate system and the direction cosines:
The cartesian coordinate system is the simplest coordinate system possible. It is defined through three fixed and mutually orthogonal (i.e., perpendicular) directions. Often, they are denotes as the x, y and z directions.
,
and
. Note that often an alternative notation is that of
,
and
instead. Both notations are equivalent.
Since the aforementioned vectors are unit vectors, their length is 1:
![]() |
Since the vectors are perpendicular to each other, we have:
![]() |
Moreover, we can write each vector as:
![]() |
What is the meaning of each term? To see this, let us look at the following:
![]() |
Thus,
is the projection of
on the x-axis (i.e., the
direction) times the size of
, which is unity.
is therefore called the x component of the vector
.
Using the vector components, the dot product becomes:
![]() |
That is, the dot product becomes the sum of the product of the respective components.
We can also relate the magnitude of
to its components:
![]() |
Perpendicular vectors:
If
and
, then the condition
implies that
, that is, the angle
between the two vectors must be
or
. Hence, the vectors are perpendicular to each other.















