Physicsstandard
The Dot Product
The dot product.
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 $\star$ to be distributive, that is, that ${\bf A} \star ({\bf B}+{\bf C}) = {\bf A}\star {\bf B}+ {\bf A}\star {\bf C}$. An example for a definition which does not satisfy this constraint (and is therefore not very useful...) is:
To see that ${\bf A} \star ({\bf B}+{\bf C}) \neq {\bf A}\star {\bf B}+ {\bf A}\star {\bf C}$, we can look at the case ${\bf B} = - {\bf C}$. In such a case:
Thus, the above definition is rather useless. There is definition, however, which is very useful. It is the following.
The dot product, also known as the scalar product ``$\cdot$" between two vectors ${\bf A}$ and ${\bf B}$ is defined as the size of ${\bf A}$ multiplied by the size of ${\bf B}$ and the cosine of the angle $\theta$ 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 ${\bf A}$ times the size of the projection of ${\bf B}$ onto ${\bf A}$, or vice-versa, it is the size of ${\bf B}$ times the projection of the size of ${\bf A}$ onto ${\bf B}$.
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 $\cos (\theta) = \cos (-\theta)$, 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 ${\bf A}+ {\bf B}$ onto ${\bf {\hat C}}$ is equal to the sum of the projection of ${\bf A}$ onto ${\bf {\hat C}}$ and the projection of ${\bf B}$ onto ${\bf \hat{C}}$. Thus, $({\bf A}+ {\bf B})\cdot {\bf {\hat C}} =({\bf A} \cdot {\bf {\hat C}})+({\bf B} \cdot {\bf {\hat C}}) $. If we multiply each of the terms by $|{\bf C}|$, we find that $({\bf A}+ {\bf B})\cdot {\bf { C}} =({\bf A} \cdot {\bf { C}})+ ({\bf B} \cdot {\bf {C}}) $.
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 $a \times b = c$, we have that $a = c/b$. However, unlike the scalar equivalent, there is no meaning to the division in a vector. Alternatively, if we know ${\bf B}$ and we know ${\bf A}\cdot {\bf B}$, it is not possible to know ${\bf A}$ because there are many (infinite to be exact) possibilities for ${\bf A}$ – 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.
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, $A_x$ is the projection of ${\bf A}$ on the x-axis (i.e., the $\xh$ direction) times the size of $\xh$, which is unity. $A_x$ is therefore called the x component of the vector ${\bf A}$.
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 ${\bf A}$ to its components:
Perpendicular vectors:
If $|{\bf A}| \neq 0$ and $|{\bf B}| \neq 0$, then the condition ${\bf A}\cdot {\bf B}=0$ implies that $\cos(\theta_{AB})=0$, that is, the angle $\theta_{AB}$ between the two vectors must be $\pi/2$ or $3\pi/2$. Hence, the vectors are perpendicular to each other.
Details
Example I:
Q: Two unit vectors $\hat{\bf a}$ and $\hat{\bf b}$ are given, such that $ {\hat{\bf a}} \cdot {\hat {\bf b}} = -1/2$. What is the angle between the vectors?
A: Given the definition of the dot product, we have
thus:
Details
Example II:
Q: Given the vector ${\bf A}=3 \xh + \yh + 2 \zh$, - What is the magnitude of ${\bf A}$? - What is the length of the projection of ${\bf A}$ onto the xy plane? - Compose a vector within the xy plane which will be perpendicular to ${\bf A}$. - Find the unit vector in the direction of the vector of the previous item.
A:
- The size of ${\bf A}$ is given by: $\left| {\bf A} \right| = \sqrt{A_x^2+A_y^2+A_z^2} = \sqrt{9 +1 +4} = \sqrt{14}$.
- The projection onto the x-y place is given by:
Its length is:
. The condition about the vector being perpendicular then implies that:
The length of remains a free parameter. Thus, one such vector satisfying our constraints will be:
- In order to find a unit vector, we must first determine the magnitude of :
The unit vector will therefore be:






















