10.3: Properties
( \newcommand{\kernel}{\mathrm{null}\,}\)
Commutativity
Let's look at a few properties of the dot product. First of all, the dot product is commutative:
A⋅B=B⋅A
The proof of this property should be obvious from Eqs. (7.1.1) and (7.2.6). This isn't a trivial property; in fact, the other two types of vector multiplication are non-commutative.
Projections
The dot product is defined as it is because it gives the projection of one vector onto the direction of another. For example, dotting a vector A with any of the cartesian unit vectors gives the projection of A in that direction:
A⋅i=AxA⋅j=AyA⋅k=Az
In general, the projection of vector A in the direction of unit vector ˆu is A⋅ˆu.
Magnitude
From Eq. (7.2.6), it follows that A⋅A=A2x+A2y+A2z=A2; so the magnitude of a vector A is given in terms of the dot product by
A2=A⋅AA=√A⋅A
Angle between Two Vectors
The dot product is also useful for computing the separation angle between two vectors. From Eq. (7.1.1),
cosθ=A⋅BAB
We wish to find the angle between the two vectors A=3i+4j−2k and B=i−5j+2k.
Solution
We first find the dot product of the two vectors:
A⋅B=(3)(1)+(4)(−5)+(−2)(2)=−21
The magnitudes of the two vectors are
A=√32+42+(−2)2=√29B=√12+(−5)2+22=√30
Therefore
cosθ=−21√29√30=−0.711967
and so the angle between A and B is
θ=135.40∘
You do not need to worry about getting the angle θ in the correct quadrant, because θ will necessarily always be between 0∘ and 180∘, and the inverse cosine function will always return its result in this range.
Orthogonality
Another useful property of the dot product is: if two vectors are orthogonal, then their dot product is zero. For example, for the cartesian unit vectors:
i⋅j=j⋅k=i⋅k=0
The converse is also true: if the dot product is zero, then the two vectors are orthogonal.
The cartesian unit vectors i,j, and k are orthonormal, so that
i⋅i=j⋅j=k⋅k=1
Derivative
The derivative of the dot product is similar to the familiar product rule for scalars:
d(A⋅B)dt=A⋅dBdt+dAdt⋅B