Kelly is learning about flying airplanes so she can apply to take her pilot's exam. Right now she is studying the effect of wind on a flying plane, and she is supposed to describe the added "push" effect a NE wind of 50 mph would have on a plane traveling at 30 mph due NE relative the ground.

How can she describe the combination of forces in the NE direction?

### Dot Products

In common terms, the **dot product** of two vectors is a number that describes the amount of force that two different vectors both contribute in the direction. This value results from the multiplication of the appropriate parts of each vector, and is therefore sometimes referred to as the **scalar product** of the two vectors.

A dot product is a scalar quantity which varies as the angle between the two vectors changes. The angle between the vectors affects the dot product because the portion of the total force of a vector dedicated to a particular direction goes up or down if the entire vector is pointed toward or away from that direction.

The maximum value for the dot product occurs when the two vectors are parallel to one another (all 'force' from both vectors is in the same direction), but when the two vectors are perpendicular to one another, the value of the dot product is equal to 0 (one vector has zero force aligned in the direction of the other, and any value multiplied by zero is zero).

There are two ways to calculate the dot product. One way is to multiply the individual components. Each component of vector is multiplied by the component of vector which is in the same direction. Then we add the results.

Another way to describe the process is to say that the dot product is the multiplication of one vector by the component of a second vector which is parallel to the first vector. In the diagram below are two vectors, ** A** and

**. A perpendicular line has been drawn radially outward from**

*B***towards**

*B***to create a right triangle with**

*A***as the hypotenuse.**

*A*

The component of which is parallel to is given by *A* cos *θ* so the second way to compute the dot product is

Likewise, the component of which is parallel to is given by *B* cos *θ* , so the dot product

No matter which of the two vectors we "project" onto the other, the value of the dot product is maximized when the two vectors are parallel and zero when the two vectors are perpendicular to one another. When a vector is dotted with itself, the result is the square of the vector's magnitude since, by definition, a vector has the same direction as an equal vector.

Naturally the dot product of any vector with a zero vector is zero since the magnitude of the zero vector is 0.

### Examples

#### Example 1

Earlier, you were given a question about Kelly, who is studying the effect of wind on a flying plane.

Kelly is learning about flying airplanes so she can apply to take her pilot's exam. She is supposed to describe the added "push" effect a NE wind of 50 mph would have on a plane traveling at 30 mph due NE relative the ground. How can she describe the combination of forces in the NE direction?

Kelly could calculate the **dot product** of the two vectors and use the result to describe the total "push" in the NE direction.

#### Example 2

- Calculate the dot product of the two vectors shown below.

First, we will use the components of the two vectors to determine the dot product.

- Determine the angle between the two vectors. and .

Now that we know the dot product, the alternative definition of the dot product, to find θ, the angle between the vectors.

First, find the magnitudes of the two vectors:

Then use these magnitudes with the cosine version of the dot product to find θ.

#### Example 3

Calculate the dot product of the two vectors shown below. Then determine the angle between the two vectors.

Use the components of the two vectors to determine the dot product.

Here and .

Now to find the angle between the vectors, first find the magnitudes of the two vectors:

Then use these magnitudes with the cosine version of the dot product to find θ.

#### Example 4

The diagram below shows both vectors ** AB** and

**together on the same grid. Determine the scalar projection of vector**

*D***onto the direction of vector**

*AB***.**

*D*To find the scalar projection onto the direction of another vector we need to know the unit vector in the direction of vector ** D**.

First, the components of are

Now the magnitude of is

Finally, the direction vector of is

.

Now we can use the dot-product to calculate the scalar projection of ** AB** onto the direction of vector

**.**

*D*

#### Example 5

Determine the dot product of two vectors and . Then determine the angle between the two vectors.

The dot product of two vectors is defined in two ways: and . We will use the first to calculate the dot product and then we will use that result together with the second definition to determine the angle between the two vectors.

To find the angle between the two vectors, we need to know not only the dot product of the two vectors, but also the length of each individual vector.

Now use the second definition of the dot product to determine the angle

#### Example 6

Determine the dot product of the following two vectors.

The angle form of the dot product is given by . In this case,

#### Example 7

Determine the angle between the vectors and .

First, we need to calculate the dot product of and :

We can then use the definition to determine the angle between the two vectors. But first we need to determine the magnitudes of the two vectors.

By looking at the diagram, we can see that the angle between these two vectors is larger than 90^{o}. Many calculators only give the smaller of the two angles between two lines. As you can see below, both *θ* and relate the blue line to the red line.

For our problem, the calculator returned a value of 53.1^{o}. The actual angle between the two vectors is 180^{o} - 53.1^{o} = 126.9^{o} when we take into account the directions of and .

### Review

- What is the magnitude of ?
- What is the magnitude of ?
- What is the magnitude of ?
- What is the magnitude of ?

- What is the direction of ?
- What is the direction of ?
- What is the direction of ?
- What is the direction of ?

Find: a) The dot product of Vectors A and B, and b) The measure of the angle found between the vectors, rounded to the nearest degree.

- Vector A = and Vector B =
- Vector A = and Vector B =
- Vector A = and Vector B =
- Vector A = and Vector B =
- Vector A = and Vector B =
- Vector A = and Vector B =
- Vector A = and Vector B =
- Prove that and are perpendicular by showing their dot product is zero.
- Explain why showing the dot product of two vectors is zero proves they are perpendicular.

### Review (Answers)

To see the Review answers, open this PDF file and look for section 5.4.