1.2: Vector Multiplication
- Page ID
- 62976
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)
( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\id}{\mathrm{id}}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\kernel}{\mathrm{null}\,}\)
\( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\)
\( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\)
\( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)
\( \newcommand{\vectorA}[1]{\vec{#1}} % arrow\)
\( \newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow\)
\( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vectorC}[1]{\textbf{#1}} \)
\( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)
\( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)
\( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)Now we know how to do some math with vectors, and the question arises, “If we can add and subtract vectors, can we also multiply them?” The answer is yes and no. It turns out that there is not one unique way to define a product of two vectors, but instead there are two…
Scalar Product
Soon we will be looking at how we can describe the effect that a force pushing on an object has on its speed as it moves from one position to another. The force is a vector, because it has a magnitude (the amount of the push) and a direction (the way the push is directed). And the movement of the object is also a vector (tail is at the object’s starting point, and head is at its ending point). It will turn out that this effect is describable mathematically as the product of the amount of force and the amount of movement. This is simple to compute if the push is along the direction of movement, but what if it is not? It turns out that only the amount of push that acts in the direction of the movement will affect the object's speed.
We therefore would like to introduce the notion of the projection of one vector onto another. The best description of this is, "the amount of a given vector that points along the other vector." This could be imagined as the “shadow” one vector casts upon another vector:
Figure 1.2.1 – Projecting One Vector Onto Another
So if we want to multiply the length of a vector by the amount of a second vector that is projected onto it we get:
\[ ( \text{projection of } \overrightarrow A \text{ onto } \overrightarrow B )( \text{magnitude of } \overrightarrow B ) = (A \cos \theta) (B) = AB \cos \theta\]
This is the first of the two types of vector multiplication, and it is called a scalar product, because the result of the product is a scalar. We usually write the product with a dot (giving its alternative name of dot product):
Exercise
The vector \(\overrightarrow A\) has a magnitude of 120 units, and when projected onto \(\overrightarrow B\), the projected portion has a value of 105 units. Suppose that \(\overrightarrow B\) is now projected onto \(\overrightarrow A\), and the projected length is 49 units. Find the magnitude of \(\overrightarrow B\).
- Solution
-
The factor that determines the length of the projection is \(\cos \theta\). The angle between the two vectors is the same regardless of which vector is projected, so the factor is the same in both directions. The projection of \(\overrightarrow A\) onto \(\overrightarrow B\) is 7/8 of the magnitude of \(\overrightarrow A\), so the magnitude of \(\overrightarrow B\) must be 8/7 of its projection, which is 56 units. Note that when the projection of one vector is multiplied by the magnitude of the other, the same product results regardless of which way the projection occurs. That is, the scalar product is the same in either order (i.e. it is commutative).
Note that a scalar product of a vector with itself is the square of the magnitude of that vector:
\[\overrightarrow A \cdot \overrightarrow A = A^2 \cos 0 = A^2\]
It should be immediately clear what the scalar products of the unit vectors are. They have unit length, so a scalar product of a unit vector with itself is just 1.
\[\widehat i \cdot \widehat i = \widehat j \cdot \widehat j = \widehat k \cdot \widehat k = 1\]
They are also mutually orthogonal, so the scalar products with each other are zero:
\[\widehat i \cdot \widehat j = \widehat j \cdot \widehat k = \widehat k \cdot \widehat i = 0\]
This gives us an alternative way to look at components, which are projections of a vector onto the coordinate axes. Since the unit vectors point along the \(x\), \(y\), and \(z\) directions, the components of a vector can be expressed as a dot product. For example:
\[ \begin{align} \overrightarrow A \cdot \widehat i &= (A_x \widehat i + A_y \widehat j + A_z \widehat k) \cdot \widehat i \nonumber\\[5pt] &= A_x \cancelto{1}{\widehat i \cdot \widehat i } + A_y \cancelto{0} {\widehat j \cdot \widehat i} +A_z \cancelto{0}{ \widehat k \cdot \widehat i} \end{align}\]
Unit vectors also show us an easy way to take the scalar product of two vectors whose components we know. Start with two vectors written in component form:
\[\overrightarrow A = A_x\widehat i + A_y \widehat j\nonumber\]
\[\overrightarrow B = B_x\widehat i + B_y \widehat j\nonumber\]
then just do "normal algebra," distributing the dot product as you would with normal multiplication:
If we didn’t have this simple result, think about what we would have to do: We would need to calculate the angles each vector makes with (say) the \(x\)-axis. Then from those two angles, we need to figure out the angles between the two vectors. Then we would need to compute the magnitudes of the two vectors. Finally, with the magnitudes of the vectors and the angle between the vectors, we could finally plug into our scalar product equation.
Alert
With two different ways to compute a scalar product, it should be clear that the simplest method to use will depend upon what information is provided. If you are given (or can easily ascertain) the magnitudes of the vectors and the angle between them, then use Equation 1.2.2, but if you are given (or can easily ascertain) the components of the vectors, use Equation 1.2.7.
Exercise
The two vectors given below are perpendicular to each other. Find the unknown \(z\)-component.
\[\overrightarrow A = +5 \widehat i - 4 \widehat j - \widehat k \;\;\;\;\;\; \overrightarrow B = +2 \widehat i + 3 \widehat j + B_z \widehat k \nonumber\]
- Solution
-
The scalar product of two vectors is proportional to the cosine of the angle between them. This means that if they are orthogonal, the scalar product is zero. The dot product is easy to compute when given the components, so we do so and solve for \(B_z\):
\[0 = \overrightarrow A \cdot \overrightarrow B = \left( +5 \right) \left( +2 \right) + \left( -4 \right) \left( +3 \right) \ + \left( -1 \right) \left( B_z \right) \;\;\; \Rightarrow \;\;\; B_z = -2 \nonumber\]
The scalar product of two vectors in terms of column vectors works exactly how you would expect – simply multiply the similar components and sum all the products.
Vector Product
As mentioned earlier, there are actually two ways to define products of vectors. If the scalar product involves the amount of one vector that is parallel to the other vector, then it should not be surprising that our other product involves the amount of a vector that is perpendicular to the other vector.
Figure 1.2.2 – Portion of One Vector Perpendicular to Another
If we take a product like before, multiplying this perpendicular piece by the magnitude of the other vector, we get an expression similar to what we got for the scalar product, this time with a sine function rather than a cosine. For reasons that will be clear soon, this type of product is referred to as a vector product. Because this is distinct from the scalar product, we use a different mathematical notation as well – a cross rather than a dot (giving it an alternative name of cross product). This has a simple (though not entirely useful, at least not in physics) geometric interpretation in terms of the parallelogram defined by the two vectors:
Figure 1.2.3 – Constructing a Vector Product (Magnitude)
But there is another even bigger difference between the vector and scalar products. While the projection always lands parallel to the second vector, the perpendicular part implies an orientation, since the perpendicular part can point in multiple directions. Any quantity that has an orientation has the potential to be a vector, and in fact we will define a vector that results from this type of product as follows: If we follow the perimeter of the parallelogram above in the direction given by the two vectors, we get a clockwise orientation [Would we get the same orientation if the product was in the opposite order: \(\overrightarrow B\) \(\times\) \(\overrightarrow A\)?]. We turn this circulation direction into a vector direction (which points in a specific direction in space) using a convention called the right-hand-rule:
Point the fingers of your right hand in the direction of the first vector in the product, then orient your hand such that those fingers curl naturally into the direction of the second vector in the product. As your fingers curl, your extended thumb points in a direction that is perpendicular to both vectors in the product. This is the direction of the vector that results from the cross product.
If we perform the cross product with the vectors in the opposite order, our fingers curl in the opposite direction, which makes our thumb point in the opposite direction in space. This means that the cross product has an anticommutative property:
\[ \overrightarrow A \times \overrightarrow B = -\overrightarrow B \times \overrightarrow A\]
A cross product of any vector with itself gives zero, since the part of the first vector that is perpendicular to the second vector is zero:
\[ | \overrightarrow A \times \overrightarrow A | = A^2 \sin 0 = 0\]
As with the scalar product, the vector product can be easily expressed with components and unit vectors. The vector products of the unit vectors with themselves are zero. Each of the unit vectors is at right angles with the other two unit vectors, so the magnitude of the cross product of two unit vectors is also a unit vector (since the sine of the angle between them is 1).
Convention: Right-handed Coordinate Systems
We will always choose a right-handed coordinate system, which means that using the right-hand-rule on the +\(x\) to +\(y\) axis yields the +\(z\) axis.
In terms of the unit vectors, we therefore have:
\[ \widehat i \times \widehat i = \widehat j \times \widehat j = \widehat k \times \widehat k = 0\]
and
This allows us to do cross products purely mathematically (without resorting to the right-hand-rule) when we know the components, as we did for the scalar product. Again start with two vectors in component form:
\[\overrightarrow A = A_x\widehat i + A_y \widehat j\nonumber\]
\[\overrightarrow B = B_x\widehat i + B_y \widehat j\nonumber\]
then, as in the case of the scalar product, just do "normal algebra" (apart from the cross product being anti-commutative) by distributing the cross product, and applying the unit vector cross products above:
\[ \begin{align} \overrightarrow A \times \overrightarrow B &= (A_x \widehat i + A_y \widehat j) \times (B_x \widehat i + B_y \widehat j) \\[5pt] &= (A_x B_x) \cancelto{0}{\widehat i \times \widehat i} + (A_yB_x) \cancelto{- \widehat k} {\widehat j \times \widehat i} + (A_x B_y ) \cancelto{+\widehat k}{ \widehat i \times \widehat j} + (A_y B_y) \cancelto{0}{\widehat j \times \widehat j} \\[5pt] &= (A_x B_y - A_yB_x ) \widehat k \end{align}\]
It is not obvious right now how we will use the dot and cross product in physics, but it is coming, so it’s a good idea to get a firm grasp on these important tools now.
Exercise
Using the two vectors \(\overrightarrow A\) and \(\overrightarrow B\) from the previous exercise...
- compute the vector product \(\overrightarrow A\times\overrightarrow B\), and
- use the result of the vector product to confirm that \(\overrightarrow A\) and \(\overrightarrow B\) are perpendicular to each other.
- Solution
-
a. The vector product is a straightforward computation that only requires the distributive property and Equations 1.2.11 and 1.2.12:
\[\begin{array}{l}\overrightarrow A\times\overrightarrow B && = && \left(+5 \widehat i - 4 \widehat j - \widehat k\right)\times\left(+2 \widehat i + 3\widehat j - 2\widehat k\right)\\ && = && +10 \cancelto{0}{\left(\widehat i \times \widehat i\right)}+15 \left(\widehat i \times \widehat j \right) - 10 \left(\widehat i \times \widehat k \right) - 8 \left(\widehat j \times \widehat i \right) -12 \cancelto{0}{\left(\widehat j \times \widehat j\right)} + 8 \left(\widehat j \times \widehat k \right) - 2\left(\widehat k \times \widehat i \right) - 3 \left(\widehat k \times \widehat j \right) + 2\cancelto{0}{\left(\widehat k\times \widehat k\right)} \\ && = && +11 \widehat i +8\widehat j +23\widehat k \end{array}\nonumber\]
b. We can compute the magnitudes of the three vectors \(\overrightarrow A\), \(\overrightarrow B\), and \(\overrightarrow C=\overrightarrow A \times \overrightarrow B\), and use them to find the angle:
\[\left. \begin{array}{l} \left|\overrightarrow A\right| = \sqrt{(+5)^2+(-4)^2+(-1)^2} = \sqrt{42} \\ \left|\overrightarrow B\right| = \sqrt{(+2)^2+(+3)^2+(-2)^2} = \sqrt{17} \\ \left|\overrightarrow C\right| = \sqrt{(+11)^2+(+8)^2+(23)^2} = \sqrt{714}\end{array} \right\} \;\;\;\left|\overrightarrow C\right|=\left|\overrightarrow A\right|\left|\overrightarrow B\right|\sin\theta\;\;\;\Rightarrow\;\;\;\sin\theta=\frac{\sqrt{714}}{\sqrt{42}\sqrt{17}}=1\;\;\;\Rightarrow\;\;\;\theta=90^o\nonumber\]