The previous section introduced vectors and described how to add them together and how to multiply them by scalars. This section introduces a multiplication on vectors called the dot product.
Let and in . The dot product of and , denoted , is
Let and in . The dot product of and , denoted , is
Note how this product of vectors returns a scalar, not another vector.
We practice evaluating a dot product in the following example, then we will discuss why this product is useful.
Let , in . Find .
Let and in . Find .
Solution
Using Definition 11.3.1, we have
Using the definition, we have
The dot product, as shown by the preceding example, is very simple to evaluate. It is only the sum of products. While the definition gives no hint as to why we would care about this operation, there is an amazing connection between the dot product and angles formed by the vectors. Before stating this connection, we give a theorem stating some of the properties of the dot product.
Let , and be vectors in or and let be a scalar.
Commutative Property
Distributive Property
The last statement of the theorem makes a handy connection between the magnitude of a vector and the dot product with itself. Our definition and theorem give properties of the dot product, but we are still likely wondering “What does the dot product mean?” It is helpful to understand that the dot product of a vector with itself is connected to its magnitude.
The next theorem extends this understanding by connecting the dot product to magnitudes and angles. Given vectors and in the plane, an angle is clearly formed when and are drawn with the same initial point as illustrated in Figure 11.3.1(a). (We always take to be the angle in as two angles are actually created.)
The same is also true of 2 vectors in space: given and in with the same initial point, there is a plane that contains both and . (When and are co-linear, there are infinite planes that contain both vectors.) In that plane, we can again find an angle between them (and again, ). This is illustrated in Figure 11.3.1(b).
The following theorem connects this angle to the dot product of and .
Let and be vectors in or . Then
where , , is the angle between and .
When is an acute angle (i.e., ), is positive; when , ; when is an obtuse angle (), is negative. Thus the sign of the dot product gives a general indication of the angle between the vectors, illustrated in Figure 11.3.2.
We can use Theorem 11.3.2 to compute the dot product, but generally this theorem is used to find the angle between known vectors (since the dot product is generally easy to compute). To this end, we rewrite the theorem’s equation as
Watch the video:
Vectors: The Dot Product from https://youtu.be/98C7iv8OcnI
We practice using this theorem in the following example.
Let , and , as shown in Figure 11.3.3. Find the angles , and .
SolutionWe start by computing the magnitude of each vector.
We now apply Theorem 11.3.2 to find the angles.
We see from our computation that , as indicated by Figure 11.3.3. While we knew this should be the case, it is nice to see that this non-intuitive formula indeed returns the results we expected.
We do a similar example next in the context of vectors in space.
Let , and , as illustrated in Figure 11.3.4. Find the angle between each pair of vectors.
Solution
Between and :
Between and :
Between and :
While our work shows that each angle is , i.e., , none of these angles looks to be a right angle in Figure 11.3.4. Such is the case when drawing three-dimensional objects on the page.
All three angles between these vectors was , or . We know from geometry and everyday life that angles are “nice” for a variety of reasons, so it should seem significant that these angles are all . Notice the common feature in each calculation (and also the calculation of in Example 11.3.2): the dot products of each pair of angles was 0. We use this as a basis for a definition of the term orthogonal, which is essentially synonymous to perpendicular.
Vectors and are orthogonal if their dot product is 0.
Let and .
Find two vectors in that are orthogonal to .
Find two non-parallel vectors in that are orthogonal to .
Solution
Recall that a line perpendicular to a line with slope has slope , the “opposite reciprocal slope.” We can think of the slope of as , its “rise over run.” A vector orthogonal to will have slope . There are many such choices, though all parallel:
There are infinite directions in space orthogonal to any given direction, so there are an infinite number of non-parallel vectors orthogonal to . Since there are so many, we have great leeway in finding some.
One way is to arbitrarily pick values for the first two components, leaving the third unknown. For instance, let . If is to be orthogonal to , then , so
So is orthogonal to . We can apply a similar technique by leaving the first or second component unknown.
Another method of finding a vector orthogonal to mirrors what we did in part 1. Let . Here we switched the first two components of , changing the sign of one of them (similar to the “opposite reciprocal” concept before). Letting the third component be 0 effectively ignores the third component of , and it is easy to see that
Clearly and are not parallel.
An important construction is illustrated in Figure 11.3.5, where vectors and are sketched. In part (a), a dotted line is drawn from the tip of to the line containing , where the dotted line is orthogonal to . In part (b), the dotted line is replaced with the vector and is formed, parallel to . It is clear by the diagram that . What is important about this construction is this: is decomposed as the sum of two vectors, one of which is parallel to and one that is perpendicular to . It is hard to overstate the importance of this construction (as we’ll see in upcoming examples).
The vectors , and as shown in Figure 11.3.5 (b) form a right triangle, where the angle between and is labeled . We can find in terms of and .
Using trigonometry, we can state that
(11.3) |
We also know that is parallel to to ; that is, the direction of is the direction of , described by the unit vector . The vector is the vector in the direction with magnitude :
Replace using Theorem 11.3.2: | ||||
Now apply Theorem 11.3.1. | ||||
Since this construction is so important, it is given a special name.
Let and be given, where . The orthogonal projection of onto , denoted , is
Let and . Find , and sketch all three vectors with initial points at the origin.
Let and . Find , and sketch all three vectors with initial points at the origin.
Solution
Applying Definition 11.3.3, we have
Vectors , and are sketched in Figure 11.3.6(a). Note how the projection is parallel to ; that is, it lies on the same line through the origin as , although it points in the opposite direction. That is because the angle between and is obtuse (i.e., greater than ).
Consider Figure 11.3.7 where the concept of the orthogonal projection is again illustrated. It is clear that
(11.4) |
As we know what and are, we can solve for and state that
This leads us to rewrite Equation (11.4) in a seemingly silly way:
This is not nonsense, as pointed out in the following Key Idea. (Notation note: the expression “ ” means “is parallel to .” We can use this notation to state “ ” which means “ is parallel to .” The expression “ ” means “is orthogonal to ,” and is used similarly.)
Let and be given. Then can be written as the sum of two vectors, one of which is parallel to , and one of which is orthogonal to :
We illustrate the use of this equality in the following example.
Let and as in Example 11.3.5. Decompose as the sum of a vector parallel to and a vector orthogonal to .
Let and as in Example 11.3.5. Decompose as the sum of a vector parallel to and a vector orthogonal to .
Solution
In Example 11.3.5, we found that . Let
Is orthogonal to ? (I.e, is ?) We check for orthogonality with the dot product:
Since the dot product is 0, we know . Thus:
We found in Example 11.3.5 that . Applying the Key Idea 11.3.1, we have:
We check to see if :
Since the dot product is 0, we know the two vectors are orthogonal. We now write as the sum of two vectors, one parallel and one orthogonal to :
We give an example of where this decomposition is useful.
Consider Figure 11.3.8(a), showing a box weighing 50 lb on a ramp that rises 5 ft over a span of 20 ft. Find the components of force, and their magnitudes, acting on the box (as sketched in part (b) of the figure):
in the direction of the ramp, and
orthogonal to the ramp.
SolutionAs the ramp rises 5 ft over a horizontal distance of 20 ft, we can represent the direction of the ramp with the vector . Gravity pulls down with a force of 50 lb, which we represent with .
To find the force of gravity in the direction of the ramp, we compute :
The magnitude of is . Though the box weighs 50 lb, a force of about 12 lb is enough to keep the box from sliding down the ramp.
To find the component of gravity orthogonal to the ramp, we use Key Idea 11.3.1.
The magnitude of this force is lb. In physics and engineering, knowing this force is important when computing things like static frictional force. (For instance, we could easily compute if the static frictional force alone was enough to keep the box from sliding down the ramp.)
In physics, the application of a force to move an object in a straight line a distance produces work; the amount of work is , (where is in the direction of travel). The orthogonal projection allows us to compute work when the force is not in the direction of travel.
Consider Figure 11.3.9, where a force is being applied to an object moving in the direction of . (The distance the object travels is the magnitude of .) The work done is the amount of force in the direction of , , times :
The expression will be positive if the angle between and is acute; when the angle is obtuse (hence is negative), the force is causing motion in the opposite direction of , resulting in “negative work.” We want to capture this sign, so we drop the absolute value and find that .
Let be a constant force that moves an object in a straight line from point to point . Let . The work done by along is .
A man slides a box along a ramp that rises 3 ft over a distance of 15 ft by applying 50 lb of force as shown in Figure 11.3.10. Compute the work done.
SolutionThe figure indicates that the force applied makes a angle with the horizontal, so . The ramp is represented by . The work done is simply
Note how we did not actually compute the distance the object traveled, nor the magnitude of the force in the direction of travel; this is all inherently computed by the dot product!
The dot product is a powerful way of evaluating computations that depend on angles without actually using angles. The next section explores another “product” on vectors, the cross product. Once again, angles play an important role, though in a much different way.
The dot product of two vectors is a , not a vector.
How are the concepts of the dot product and vector magnitude related?
How can one quickly tell if the angle between two vectors is acute or obtuse?
Give a synonym for “orthogonal.”
In Exercises 5–10, find the dot product of the given vectors.
,
,
,
,
,
,
Create your own vectors , and in and show that .
Create your own vectors and in and scalar and show that .
In Exercises 13–16, find the measure of the angle between the two vectors in both radians and degrees.
,
,
,
,
In Exercises 17–20, a vector is given. Give two vectors that are orthogonal to .
In Exercises 21–26, vectors and are given. Find , the orthogonal projection of onto , and sketch all three vectors on the same axes.
,
,
,
,
,
,
In Exercises 27–32, vectors and are given. Write as the sum of two vectors, one of which is parallel to and one of which is perpendicular to . Note: these are the same pairs of vectors as found in Exercises 21–26.
,
,
,
,
,
,
A 10lb box sits on a ramp that rises 4ft over a distance of 20ft. How much force is required to keep the box from sliding down the ramp?
A 10lb box sits on a 15ft ramp that makes a angle with the horizontal. How much force is required to keep the box from sliding down the ramp?
How much work is performed in moving a box horizontally 10ft with a force of 20lb applied at an angle of to the horizontal?
How much work is performed in moving a box horizontally 10ft with a force of 20lb applied at an angle of to the horizontal?
How much work is performed in moving a box up the length of a ramp that rises 2ft over a distance of 10ft, with a force of 50lb applied horizontally?
How much work is performed in moving a box up the length of a ramp that rises 2ft over a distance of 10ft, with a force of 50lb applied at an angle of to the horizontal?
How much work is performed in moving a box up the length of a 10ft ramp that makes a angle with the horizontal, with 50lb of force applied in the direction of the ramp?
Show that the two diagonals of a parallelogram intersect in right angles if and only if all four sides of the parallelogram have the same length.