Skip to main content
Logo image

Coordinated Multivariable Calculus

Section 1.3 The Dot Product

In the last section, we considered vector addition and scalar multiplication and found that each operation had a natural geometric interpretation. In this section, we will introduce a means of multiplying vectors.

Preview Activity 1.3.1.

For two-dimensional vectors \(\vu=\langle u_1,u_2\rangle\) and \(\vv=\langle v_1, v_2\rangle\text{,}\) the dot product is simply the scalar obtained by
\begin{equation*} \vu\cdot\vv = u_1v_1 + u_2v_2. \end{equation*}
  1. If \(\vu=\langle 3, 4\rangle\) and \(\vv=\langle -2, 1\rangle\text{,}\) find the dot product \(\vu\cdot\vv\text{.}\)
  2. Find \(\vi\cdot\vi\) and \(\vi\cdot\vj\text{.}\)
  3. If \(\vu=\langle 3, 4\rangle\text{,}\) find \(\vu\cdot\vu\text{.}\) How is this related to \(|\vu|\text{?}\)
  4. On the axes in Figure 1.3.1, plot the vectors \(\vu=\langle 1, 3\rangle\) and \(\vv=\langle -3, 1\rangle\text{.}\) Then, find \(\vu\cdot\vv\text{.}\) What is the angle between these vectors?
    Figure 1.3.1. For part (d)
  5. On the axes in Figure 1.3.2, plot the vector \(\vu=\langle 1, 3\rangle\text{.}\)
    Figure 1.3.2. For part (e)
    For each of the following vectors \(\vv\text{,}\) plot the vector on Figure 1.3.2 and then compute the dot product \(\vu\cdot\vv\text{.}\)
    • \(\vv=\langle 3, 2 \rangle\text{.}\)
    • \(\vv=\langle 3, 0 \rangle\text{.}\)
    • \(\vv=\langle 3,-1 \rangle\text{.}\)
    • \(\vv=\langle 3,-2 \rangle\text{.}\)
    • \(\vv=\langle 3,-4 \rangle\text{.}\)
  6. Based upon the previous part of this activity, what do you think is the sign of the dot product in the following three cases shown in Figure 1.3.3?
    Figure 1.3.3. For part (f)

Subsection 1.3.1 The Dot Product

The definition of the dot product for vectors in \(\R^2\) given in Preview Activity 1.3.1 can be extended to vectors in \(\R^n\text{.}\)

Definition 1.3.4.

The dot product of vectors \(\vu=\langle u_1, u_2,\ldots,u_n\rangle\) and \(\vv=\langle v_1, v_2,\ldots,v_n\rangle\) in \(\R^n\) is the scalar
\begin{equation*} \vu\cdot\vv = u_1v_1+u_2v_2 + \ldots + u_nv_n. \end{equation*}
(As we will see shortly, the dot product arises in physics to calculate the work done by a vector force in a given direction. It might be more natural to define the dot product in this context, but it is more convenient from a mathematical perspective to define the dot product algebraically and then view work as an application of this definition.)
For instance, we find that
\begin{equation*} \langle 3, 0, 1 \rangle\cdot\langle -2, 1, 4\rangle = 3\cdot(-2) + 0\cdot1 + 1\cdot4 = -6 + 0 + 4 = -2. \end{equation*}
Notice that the resulting quantity is a scalar. Our work in Preview Activity 1.3.1 examined dot products of two-dimensional vectors.

Activity 1.3.2.

Determine each of the following.
  1. \(\langle 1, 2, -3 \rangle \cdot \langle 4, -2, 0 \rangle\text{.}\)
  2. \(\displaystyle \langle 0, 3, -2, 1 \rangle \cdot \langle 5, -6, 0, 4 \rangle\)
Answer.
  1. \begin{align*} \langle 1, 2, -3 \rangle \cdot \langle 4, -2, 0 \rangle \amp = 1\cdot 4+ 2\cdot(-2)+(-3)\cdot 0\\ \amp= 4-4+0\\ \amp=0 \end{align*}
  2. \begin{align*} \langle 0, 3, -2, 1 \rangle \cdot \langle 5, -6, 0, 4 \rangle \amp = 0\cdot 5+3\cdot(-6)+(-2)\cdot 0+1\cdot 4\\ \amp= 0-18+0+4\\ \amp=-14 \end{align*}
The dot product is a natural way to define a product of two vectors. In addition, it behaves in ways that are similar to the product of, say, real numbers.

Properties of the dot product.

Let \(\vu\text{,}\) \(\vv\text{,}\) and \(\vw\) be vectors in \(\R^n\text{.}\) Then
  1. \(\vu \cdot \vv = \vv \cdot \vu\) (the dot product is commutative), and
  2. \((\vu + \vv) \cdot \vw = (\vu \cdot \vw) + (\vv \cdot \vw)\text{.}\)
  3. if \(c\) is a scalar, then \((c\vu) \cdot \vw = c(\vu \cdot \vw)\text{.}\)
Moreover, the dot product gives us valuable geometric information about the vectors and their relative orientation. For instance, let’s consider what happens when we dot a vector with itself:
\begin{equation*} \vu\cdot\vu = \langle u_1,u_2,\ldots,u_n \rangle \cdot \langle u_1,u_2,\ldots,u_n \rangle = u_1^2 + u_2^2 + \ldots + u_n^2 = |\vu|^2. \end{equation*}
In other words, the dot product of a vector with itself gives the square of the length of the vector: \(\vu\cdot\vu=|\vu|^2\text{.}\)

Subsection 1.3.2 The angle between vectors

The dot product can help us understand the angle between two vectors. For instance, if we are given two non-zero vectors \(\vu\) and \(\vv\text{,}\) there are two angles that these vectors create, as depicted at left in Figure 1.3.5. We will call \(\theta\text{,}\) the smaller of these angles, the angle between these vectors. Notice that \(\theta\) lies between 0 and \(\pi\text{.}\)
Figure 1.3.5. Left: The angle between \(\vu\) and \(\vv\text{.}\) Right: The triangle formed by \(\vu\text{,}\) \(\vv\text{,}\) and \(\vu-\vv\text{.}\)

Investigation 1.3.3.

To determine this angle, we may apply the Law of Cosines to the triangle shown at right in Figure 1.3.5.
Using the fact that the dot product of a vector with itself gives us the square of its length, together with the properties of the dot product, we find:
\begin{align*} |\vu-\vv|^2 =\mathstrut \amp |\vu|^2 + |\vv|^2 - 2|\vu||\vv|\cos(\theta)\\ (\vu-\vv)\cdot(\vu-\vv) =\mathstrut \amp \vu\cdot\vu + \vv\cdot\vv - 2|\vu||\vv|\cos(\theta)\\ \vu\cdot(\vu-\vv) - \vv\cdot(\vu-\vv)=\mathstrut \amp \vu\cdot\vu + \vv\cdot\vv - 2|\vu||\vv|\cos(\theta)\\ \vu\cdot\vu - 2\vu\cdot\vv + \vv\cdot\vv =\mathstrut \amp \vu\cdot\vu + \vv\cdot\vv - 2|\vu||\vv|\cos(\theta)\\ -2\vu\cdot\vv =\mathstrut \amp -2|\vu||\vv|\cos(\theta)\\ \vu\cdot\vv =\mathstrut \amp |\vu||\vv|\cos(\theta). \end{align*}
So if we knew \(\vu\) and \(\vv\text{,}\) we could solve that equation for \(\theta\text{.}\)

The dot product and the angle between two vectors.

To summarize, we have the important relationship
\begin{equation} \vu\cdot\vv = u_1v_1+u_2v_2 + \ldots + u_nv_n = |\vu||\vv|\cos(\theta).\tag{1.3.1} \end{equation}
It is sometimes useful to think of Equation (1.3.1) as giving us an expression for the angle between two vectors:
\begin{equation*} \theta = \cos^{-1}\left(\frac{\vu\cdot\vv}{|\vu||\vv|}\right). \end{equation*}
The real beauty of this expression is this: the dot product is a very simple algebraic operation to perform yet it provides us with important geometric information — namely the angle between the vectors — that would be difficult to determine otherwise.

Activity 1.3.4.

Determine each of the following.
  1. The length of the vector \(\vu=\langle 1,2,-3\rangle\) using the dot product.
  2. The angle between the vectors \(\vu =\langle 1, 2 \rangle\) and \(\vv = \langle 4, -1 \rangle\) to the nearest tenth of a degree.
  3. The angle between the vectors \(\vy =\langle 1, 2, -3 \rangle\) and \(\vz = \langle -2, 1, 1 \rangle\) to the nearest tenth of a degree.
  4. If the angle between the vectors \(\vu\) and \(\vv\) is a right angle, what does the expression \(\vu\cdot\vv=|\vu||\vv|\cos(\theta)\) say about their dot product?
  5. If the angle between the vectors \(\vu\) and \(\vv\) is acute—that is, less than \(\pi/2\)—what does the expression \(\vu\cdot\vv=|\vu||\vv|\cos(\theta)\) say about their dot product?
  6. If the angle between the vectors \(\vu\) and \(\vv\) is obtuse—that is, greater than \(\pi/2\)—what does the expression \(\vu\cdot\vv=|\vu||\vv|\cos(\theta)\) say about their dot product?
Answer.
  1. The dot product gives us \(\vu\cdot \vu = 1+4+9=14\text{,}\) and since the dot product is the same as the magnitude squared, this gives \(|\vu| =\sqrt{14}\text{.}\)
  2. We get that \(\vu\cdot \vv=4-2=2\text{,}\) \(|\vu|=\sqrt{5}\text{,}\) and \(|\vv|=\sqrt{17}\text{,}\) so the angle between \(\vu\) and \(\vv\) is approximately
    \begin{align*} \theta \amp = \cos^{-1}\left(\frac{\vu\cdot\vv}{|\vu||\vv|}\right) \\ \amp = \cos^{-1}\left(\frac{2}{\sqrt{5}\cdot\sqrt{17}}\right)\\ \amp \approx 77.5 \end{align*}
    degrees.
  3. The angle between the vectors \(\vy =\langle 1, 2, -3 \rangle\) and \(\vz = \langle -2, 1, 1 \rangle\) to the nearest tenth of a degree. We get that \(\vy\cdot \vz=-2+2-3=-3\text{,}\) \(|\vy|=\sqrt{14}\text{,}\) and \(|\vz|=\sqrt{6}\text{,}\) so the angle between \(\vy\) and \(\vz\) is approximately
    \begin{align*} \theta \amp = \cos^{-1}\left(\frac{\vu\cdot\vv}{|\vu||\vv|}\right) \\ \amp = \cos^{-1}\left(\frac{-3}{\sqrt{14}\cdot\sqrt{6}}\right)\\ \amp \approx 109.1 \end{align*}
    degrees.
  4. If the angle \(\theta\) between the vectors \(\vu\) and \(\vv\) is a right angle, then \(\cos(\theta)=\cos\left(\frac{\pi}{2}\right)=0\) and \(\vu\cdot\vv=|\vu||\vv|\cos(\theta)=0\) so the dot product of \(\vu\) and \(\vv\) will be zero.
  5. If the angle \(\theta\) between the vectors \(\vu\) and \(\vv\) is acute then \(\cos(\theta) \gt 0\) because cosine is always positive on accute angles. The values \(|\vu|\) and \(|\vv|\) will also be positive since the magnitudes are positive. Then \(\vu\cdot\vv=|\vu||\vv|\cos(\theta) \gt 0\) since multiplying any number of positive values together gives a positive value. That is, the dot product of \(\vu\) and \(\vv\) will be positive.
  6. If the angle \(\theta\) between the vectors \(\vu\) and \(\vv\) is obtuse then \(\cos(\theta) \lt 0\) because cosine is always negative on obtuse angles. The values \(|\vu|\) and \(|\vv|\) will both be positive since the magnitudes are positive. Then \(\vu\cdot\vv=|\vu||\vv|\cos(\theta) \lt 0\) since multiplying any number of positive values together with one negative gives a negative value. That is, the dot product of \(\vu\) and \(\vv\) will be negative.

Subsection 1.3.3 The Dot Product and Orthogonality

When the angle between two vectors is a right angle, it is frequently the case that something important is happening. In this case, we say the vectors are orthogonal. For instance, orthogonality often plays a role in optimization problems; to determine the shortest path from a point in \(\R^3\) to a given plane, we move along a line orthogonal to the plane.
As Activity 1.3.4 indicates, the dot product provides a simple means to determine whether two vectors are orthogonal to one another. In this case, \(\vu\cdot\vv=|\vu||\vv|\cos(\pi/2) = 0\text{,}\) so we make the following important observation.

The dot product and orthogonality.

Two non-zero vectors \(\vu\) and \(\vv\) in \(\R^n\) are orthogonal to each other if \(\vu \cdot \vv = 0\text{.}\)
More generally, the sign of the dot product gives us useful information about the relative orientation of the vectors. If we remember that
\begin{align*} \cos(\theta) \gt 0 \mathstrut \amp \ \ \ \text{ if } \theta \text{ is an acute angle,}\\ \cos(\theta) = 0 \mathstrut \amp \ \ \ \text{ if } \theta \text{ is a right angle, and}\\ \cos(\theta) \lt 0 \mathstrut \amp \ \ \ \text{ if } \theta \text{ is an obtuse angle,} \end{align*}
we see that for nonzero vectors \(\vu\) and \(\vv\text{,}\)
\begin{align*} \vu\cdot\vv \gt 0 \mathstrut \amp \ \ \ \text{ if } \theta \text{ is an acute angle,}\\ \vu\cdot\vv = 0 \mathstrut \amp \ \ \ \text{ if } \theta \text{ is a right angle, and}\\ \vu\cdot\vv \lt 0 \mathstrut \amp \ \ \ \text{ if } \theta \text{ is an obtuse angle.} \end{align*}
This is illustrated in Figure 1.3.6.
Figure 1.3.6. The orientation of vectors

Subsection 1.3.4 Work, Force, and Displacement

In physics, work is a measure of the energy required to apply a force to an object through a displacement. For instance, Figure 1.3.7 shows a force \(\vF\) displacing an object from point \(A\) to point \(B\text{.}\) The displacement is then represented by the vector \(\overrightarrow{AB}\text{.}\)
Figure 1.3.7. A force \(\vF\) displacing an object.
It turns out that the work required to displace the object is
\begin{equation*} W = \vF\cdot\overrightarrow{AB} = |\vF||\overrightarrow{AB}|\cos(\theta). \end{equation*}
This means that the work is determined only by the magnitude of the force applied parallel to the displacement. Consequently, if we are given two vectors \(\vu\) and \(\vv\text{,}\) we would like to write \(\vu\) as a sum of two vectors, one of which is parallel to \(\vv\) and one of which is orthogonal to \(\vv\text{.}\) We take up this task after the next activity.

Activity 1.3.5.

Determine the work done by a 25 pound force acting at a \(30^{\circ}\) angle to the direction of the object’s motion, if the object is pulled 10 feet. In addition, is more work or less work done if the angle to the direction of the object’s motion is \(60^\circ\text{?}\)
Answer.
We get that \(|\vF|=25\) since there are 25 pounds of force being applied, \(|\overrightarrow{AB}|=10\) since the object is pulled 10 feet, and \(\theta=30^{\circ}\) since the force is acting at a \(30^{\circ}\) angle to the direction of motion. Our work formula then gives that the amount of work done is
\begin{align*} W \amp = |\vF||\overrightarrow{AB}|\cos(\theta)\\ \amp = (25)(10)\cos(30^{\circ})\\ \amp \approx 216.5. \end{align*}
If the angle between the force and the direction of motion is \(\theta=60^{\circ}\text{,}\) then the work done will still be positive, but will be less than when \(\theta=30^{\circ}\) because cosine approaches 0 as \(\theta\) approaches \(90^{\circ}\text{.}\) We can check this with our work formula:
\begin{align*} W \amp = |\vF||\overrightarrow{AB}|\cos(\theta)\\ \amp = (25)(10)\cos(60^{\circ})\\ \amp = 125. \end{align*}

Subsection 1.3.5 Projections

Figure 1.3.8. Left: \(\proj_{\vv} \vu\text{.}\) Right: \(\proj_{\vv} \vu\) when \(\theta > \frac\pi2\text{.}\)
Suppose we are given two non-zero vectors \(\vu\) and \(\vv\) as shown at left in Figure 1.3.8. Motivated by our discussion of work, we would like to write \(\vu\) as a sum of two vectors, one of which is parallel to \(\vv\) and one of which is orthogonal. That is, we would like to write
\begin{equation} \vu = \proj_{\vv}\vu + \proj_{\perp\vv}\vu,\tag{1.3.2} \end{equation}
where \(\proj_{\vv}\vu\) is parallel to \(\vv\) and \(\proj_{\perp\vv}\vu\) is orthogonal to \(\vv\text{.}\) We call the vector \(\proj_{\vv}\vu\) the projection of \(\vu\) onto \(\vv\). Note that, as the diagram at right in Figure 1.3.8 illustrates, it is also possible to create a projection even if the angle between the vectors \(\vu\) and \(\vv\) exceeds \(\frac\pi2\text{.}\)
To find the vector \(\proj_{\vv} \vu\text{,}\) we will dot both sides of Equation (1.3.2) with the vector \(\vv\text{,}\) to find that
\begin{align*} \vu\cdot\vv=\mathstrut \amp (\proj_{\vv}\vu + \proj_{\perp\vv}\vu)\cdot\vv\\ =\mathstrut \amp (\proj_{\vv}\vu)\cdot\vv + (\proj_{\perp\vv}\vu)\cdot\vv\\ =\mathstrut \amp (\proj_{\vv}\vu)\cdot\vv. \end{align*}
Notice that \((\proj_{\perp\vv}\vu)\cdot\vv = 0\) since \(\proj_{\perp\vv}\vu\) is orthogonal to \(\vv\text{.}\) Also, \(\proj_{\vv}\vu\) must be a scalar multiple of \(\vv\) since it is parallel to \(\vv\text{,}\) so we will write \(\proj_{\vv}\vu = s\vv\text{.}\) It follows that
\begin{equation*} \vu\cdot\vv =(\proj_{\vv}\vu)\cdot\vv = s\vv\cdot\vv, \end{equation*}
which means that
\begin{equation*} s = \frac{\vu\cdot\vv}{\vv\cdot\vv} \end{equation*}
and hence
\begin{equation*} \proj_{\vv}\vu = \frac{\vu\cdot\vv}{\vv\cdot\vv}\vv = \frac{\vu\cdot\vv}{|\vv|^2}\vv \end{equation*}
It is sometimes useful to write \(\proj_{\vv}\vu\) as a scalar times a unit vector in the direction of \(\vv\text{.}\) We call this scalar the component of \(\vu\) along \(\vv\) and denote it as \(\comp_{\vv}\vu\text{.}\) We therefore have
\begin{equation*} \proj_{\vv}\vu = \frac{\vu\cdot\vv}{|\vv|^2}\vv = \frac{\vu\cdot\vv}{|\vv|} \frac{\vv}{|\vv|}= \comp_{\vv}\vu \frac{\vv}{|\vv|}, \end{equation*}
so that
\begin{equation*} \comp_{\vv}\vu = \frac{\vu\cdot\vv}{|\vv|}. \end{equation*}

The dot product and projections.

Let \(\vu\) and \(\vv\) be non-zero vectors in \(\R^n\text{.}\) The component of \(\vu\) in the direction of \(\vv\) is the scalar
\begin{equation*} \comp_{\vv} \vu = \frac{\vu \cdot \vv}{|\vv|}, \end{equation*}
and the projection of \(\vu\) onto \(\vv\) is the vector
\begin{equation*} \proj_{\vv} \vu = \frac{\vu \cdot \vv}{\vv\cdot\vv} \vv. \end{equation*}
Moreover, since
\begin{equation*} \vu = \proj_{\vv} \vu + \proj_{\perp \vv} \vu, \end{equation*}
it follows that
\begin{equation*} \proj_{\perp \vv} \vu = \vu - \proj_{\vv} \vu. \end{equation*}
This shows that once we have computed \(\proj_{\vv} \vu\text{,}\) we can find \(\proj_{\perp \vv} \vu\) simply by calculating the difference of two known vectors.

Activity 1.3.6.

Let \(\vu = \langle 2, 6 \rangle\text{.}\)
  1. Let \(\vv = \langle 4, -8 \rangle\text{.}\) Find \(\comp_{\vv} \vu\text{,}\) \(\proj_{\vv} \vu\) and \(\proj_{\perp \vv} \vu\text{,}\) and draw a picture to illustrate. Finally, express \(\vu\) as the sum of two vectors where one is parallel to \(\vv\) and the other is perpendicular to \(\vv\text{.}\)
  2. Now let \(\vv = \langle -2,4 \rangle \text{.}\) Without doing any calculations, find \(\proj_{\vv} \vu\text{.}\) Explain your reasoning. (Hint: Refer to the picture you drew in part (a).)
  3. Find a vector \(\vw\) not parallel to \(\vz = \langle 3,4 \rangle \) such that \(\proj_{\vz} \vw\) has length \(10\text{.}\) Note that there are infinitely many different answers.
Answer.
  1. Calculating some constants in the component and projection we get:
    \begin{equation*} \vu\cdot\vv = 8-48 = -40, \end{equation*}
    \begin{equation*} \vv\cdot\vv = 16+64 = 80, \end{equation*}
    and
    \begin{equation*} |\vv| = \sqrt{80} \end{equation*}
    so
    \begin{align*} \comp_{\vv} \vu \amp = \frac{\vu\cdot\vv}{|\vv|}\\ \amp = \frac{-40}{\sqrt{80}}\\ \amp = -2\sqrt{5} \end{align*}
    and
    \begin{align*} \proj_{\vv} \vu \amp = \frac{\vu\cdot\vv}{\vv\cdot \vv}\vv\\ \amp = \frac{-40}{80}\langle 4, -8\rangle\\ \amp = -\frac{1}{2}\langle 4, -8\rangle\\ \amp = \langle -2, 4\rangle \end{align*}
    and
    \begin{align*} \proj_{\perp \vv} \vu \amp = \vu - \proj_{\vv} \vu\\ \amp = \langle 2, 6 \rangle - \langle -2, 4\rangle\\ \amp = \langle 4, 2\rangle. \end{align*}
    Then
    \begin{align*} \vu = \langle 2, 6 \rangle \amp = \langle -2, 4\rangle + \langle 4, 2 \rangle \end{align*}
    where \(\langle -2, 4\rangle\) is parallel to \(\vv\) and \(\langle 4, 2 \rangle\) is perpendicular to \(\vv\text{.}\)
  2. In part (a) we saw that \(\vv = \langle -2, 4\rangle\) is parallel to \(\langle 4, -8\rangle\text{,}\) so the projection of \(\vu\) onto \(\langle -2, 4\rangle\) will be the same as the projection of \(\vu\) onto \(\langle 4, -8\rangle\text{.}\) Then \(\proj_{\vv} \vu=\langle -2, 4\rangle.\)
  3. Let \(\vw=\langle w_1,w_2\rangle\) and \(\vz = \langle 3,4 \rangle \) so \(|\vz|=\sqrt{3^2+4^2}=5\text{.}\) Assuming \(\proj_{\vz} \vw\) has length \(10\) we get
    \begin{align*} 10 \amp = |\proj_{\vz} \vw|\\ \amp = \comp_{\vz} \vw\\ \amp = \frac{\vw\cdot \vz}{|\vz|}\\ \amp = \frac{3w_1+4w_2}{5}. \end{align*}
    As noted in the statement, this has infinitely many solutions. We can pick \(w_1=0\) and solve: \(10=\frac{0+4w_2}{5}\) gives \(w_2=\frac{25}{2}\text{.}\) Note that \(\vw=\langle 0, \frac{25}{2}\rangle\) is not a multiple of \(\vz \) and the two vectors are thus not parallel.

Subsection 1.3.6 Summary

  • The dot product of two vectors in \(\R^n\text{,}\) \(\vu = \langle u_1, u_2, \ldots, u_n \rangle\) and \(\vv = \langle v_1, v_2, \ldots, v_n \rangle\text{,}\) is the scalar
    \begin{equation*} \vu \cdot \vv = u_1v_1 + u_2v_2 + \cdots + u_nv_n. \end{equation*}
  • The dot product is related to the length of a vector since \(\vu\cdot\vu = |\vu|^2\text{.}\)
  • The dot product provides us with information about the angle between the vectors since
    \begin{equation*} \vu\cdot\vv = |\vu| \ |\vv|\cos(\theta), \end{equation*}
    where \(\theta\) is the angle between \(\vu\) and \(\vv\text{.}\)
  • Two vectors are orthogonal if the angle between them is \(\pi/2\text{.}\) In terms of the dot product, the non-zero vectors \(\vu\) and \(\vv\) are orthogonal if and only if \(\vu \cdot \vv = 0\text{.}\)
  • The projection of a vector \(\vu\) in \(\R^n\) onto a non-zero vector \(\vv\) in \(\R^n\) is the vector
    \begin{equation*} \proj_{\vv} \vu = \frac{\vu \cdot \vv}{\vv\cdot\vv} \vv. \end{equation*}

Exercises 1.3.7 Exercises

1.

Find \(\mathbf a \cdot \mathbf b\) if
\(\mathbf a = \langle 0, 5, -4 \rangle\) and \(\mathbf b = \langle -2, 0, 3 \rangle\)
\(\mathbf a \cdot \mathbf b =\)
Is the angle between the vectors "acute", "obtuse" or "right"?

2.

Determine if the pairs of vectors below are "parallel", "orthogonal", or "neither".
\(\mathbf a = \langle 2, 2, -5 \rangle\) and \(\mathbf b = \langle -6, -6, -24/5 \rangle\) are
\(\mathbf a = \langle 2, 2, -5 \rangle\) and \(\mathbf b = \langle -6, -6, 15 \rangle\) are
\(\mathbf a = \langle 2, 2, -5 \rangle\) and \(\mathbf b = \langle 6, 6, -14 \rangle\) are

3.

Perform the following operations on the vectors \(\vec{u} = \left\lt 3,-2,5\right>\text{,}\) \(\vec{v} = \left\lt 3,0,3\right>\text{,}\) and \(\vec{w} = \left\lt -1,-2,-3\right>\text{.}\)
\(\vec{u} \cdot \vec{w} =\)
\((\vec{u} \cdot \vec{v}) \vec{u} =\)
\(((\vec{w} \cdot \vec{w}) \vec{u} ) \cdot \vec{u} =\)
\(\vec{u} \cdot \vec{v} + \vec{v} \cdot \vec{w} =\)

4.

Find \({ \mathbf a \cdot \mathbf b }\) if \(\left| {\mathbf a} \right|\) = 9, \(\left| {\mathbf b} \right|\) = 10, and the angle between \({\mathbf a}\) and \({\mathbf b}\) is \(- \frac{\pi}{3}\) radians.
\({ \mathbf a \cdot \mathbf b }\) =

5.

What is the angle in radians between the vectors
\({\mathbf a}\) = (10, 2, 6) and
\({\mathbf b}\) = (-6, -1, 6)?
Angle: (radians)

6.

Find \({ \mathbf a \cdot \mathbf b }\) if \(\left| {\mathbf a} \right|\) = 1, \(\left| {\mathbf b} \right|\) = 3, and the angle between \({\mathbf a}\) and \({\mathbf b}\) is \(- \frac{\pi}{7}\) radians.
\({ \mathbf a \cdot \mathbf b }\) =

7.

A constant force \({\mathbf F} = -6 {\mathbf i} + 8 {\mathbf j} + 3 {\mathbf k}\) moves an object along a straight line from point \((3, -2, 5)\) to point \((5, 10, -3)\text{.}\)
Find the work done if the distance is measured in meters and the magnitude of the force is measured in newtons.
Work: Nm

8.

A woman exerts a horizontal force of 4 pounds on a box as she pushes it up a ramp that is 6 feet long and inclined at an angle of 30 degrees above the horizontal.
Find the work done on the box.
Work: ft-lb

9.

If Yoda says to Luke Skywalker, “The Force be with you,” then the dot product of the Force and Luke should be:
  • negative
  • zero
  • positive
  • any real number

10.

Find the angle between the diagonal of a cube of side length 12 and the diagonal of one of its faces. The angle should be measured in radians.

11.

Let \(\vv = \langle -2, 5 \rangle\) in \(\R^2\text{,}\) and let \(\vy = \langle 0, 3, -2 \rangle\) in \(\R^3\text{.}\)
  1. Is \(\langle 2, -1 \rangle\) perpendicular to \(\vv\text{?}\) Why or why not?
  2. Find a unit vector \(\vu\) in \(\R^2\) such that \(\vu\) is perpendicular to \(\vv\text{.}\) How many such vectors are there? Justify your answers.
  3. Is \(\langle 2, -1, -2 \rangle\) perpendicular to \(\vy\text{?}\) Why or why not?
  4. Find a unit vector \(\vw\) in \(\R^3\) such that \(\vw\) is perpendicular to \(\vy\text{.}\) How many such vectors are there?Justify your answers.
  5. Let \(\vz = \langle 2, 1, 0 \rangle\text{.}\) Find a unit vector \(\vr\) in \(\R^3\) such that \(\vr\) is perpendicular to both \(\vy\) and \(\vz\text{.}\) How many such vectors are there? Explain your process.

12.

Consider the triangle in \(\R^3\) given by \(P=(3, 2, -1)\text{,}\) \(Q=(1, -2, 4)\text{,}\) and \(R=(4, 4, 0)\text{.}\)
  1. Find the measure of each of the three angles in the triangle, accurate to \(0.01\) degrees.
  2. Choose two sides of the triangle, and call the vectors that form the sides (emanating from a common point) \(\va\) and \(\vb\text{.}\)
    1. Compute \(\proj_{\vb} \va\text{,}\) and \(\proj_{\perp \vb} \va\text{.}\)
    2. Explain why \(\proj_{\perp \vb} \va\) can be considered a height of triangle \(PQR\text{.}\)
    3. Find the area of the given triangle.

13.

Let \(\vu\) and \(\vv\) be vectors in \(\R^5\) with \(\vu \cdot \vv = -1\text{,}\) \(| \vu | = 2\text{,}\) \(| \vv | = 3\text{.}\) Use the properties of the dot product to find each of the following.
  1. \(\displaystyle \vu \cdot 2\vv\)
  2. \(\displaystyle \vv \cdot \vv\)
  3. \(\displaystyle (\vu + \vv) \cdot \vv\)
  4. \(\displaystyle (2\vu+4\vv) \cdot (\vu - 7\vv)\)
  5. \(|\vu| |\vv| \cos(\theta)\text{,}\) where \(\theta\) is the angle between \(\vu\) and \(\vv\)
  6. \(\displaystyle \theta\)

14.

One of the properties of the dot product is that \((\vu+\vv) \cdot \vw = (\vu \cdot \vw) + (\vv \cdot \vw)\text{.}\) That is, the dot product distributes over vector addition on the right. Here we investigate whether the dot product distributes over vector addition on the left.
  1. Let \(\vu = \langle 1,2,-1 \rangle\text{,}\) \(\vv = \langle 4,-3,6 \rangle\text{,}\) and \(\vw = \langle 4,7,2 \rangle\text{.}\) Calculate
    \begin{equation*} \vu \cdot (\vv + \vw) \ \ \text{ and } \ \ (\vu \cdot \vv) + (\vu \cdot \vw). \end{equation*}
    What do you notice?
  2. Use the properties of the dot product to show that in general
    \begin{equation*} \vx \cdot (\vy + \vz) = (\vx \cdot \vy) + (\vx \cdot \vz) \end{equation*}
    for any vectors \(\vx\text{,}\) \(\vy\text{,}\) and \(\vz\) in \(\R^n\text{.}\)

15.

When running a sprint, the racers may be aided or slowed by the wind. The wind assistance is a measure of the wind speed that is helping push the runners down the track. It is much easier to run a very fast race if the wind is blowing hard in the direction of the race. So that world records aren’t dependent on the weather conditions, times are only recorded as record times if the wind aiding the runners is less than or equal to 2 meters per second. Wind speed for a race is recorded by a wind gauge that is set up close to the track. It is important to note, however, that weather is not always as cooperative as we might like. The wind does not always blow exactly in the direction of the track, so the gauge must account for the angle the wind makes with the track. Suppose a 4 mile per hour wind is blowing to aid runners by making a \(38^{\circ}\) angle with the race track. Determine if any times set during such a race would qualify as records.

16.

Molecular geometry is the geometry determined by arrangements of atoms in molecules. Molecular geometry includes measurements like bond angle, bond length, and torsional angles. These attributes influence several properties of molecules, such as reactivity, color, and polarity.
Figure 1.3.9. A methane molecule.
As an example of the molecular geometry of a molecule, consider the methane \(\text{CH}_4\) molecule, as illustrated in Figure 1.3.9. According to the Valence Shell Electron Repulsion (VSEPR) model, atoms that surround single different atoms do so in a way that positions them as far apart as possible. This means that the hydrogen atoms in the methane molecule arrange themselves at the vertices of a regular tetrahedron. The bond angle for methane is the angle determined by two consecutive hydrogen atoms and the central carbon atom. To determine the bond angle for methane, we can place the center carbon atom at the point \(\left(\frac{1}{2}, \frac{1}{2}, \frac{1}{2} \right)\) and the hydrogen atoms at the points \((0,0,0)\text{,}\) \((1,1,0)\text{,}\) \((1,0,1)\text{,}\) and \((0,1,1)\text{.}\) Find the bond angle for methane to the nearest tenth of a degree.