Login
📚 Trigonometry
Chapters ▾

9.3 The Dot Product

Components

We have seen that it can be useful to resolve a vector into horizontal and vertical components. We can also break a vector into components that point in other directions.

Imagine the following experiment: Delbert holds a ball at shoulder height and then drops it, so that it falls to the ground. Francine holds a ball at shoulder height on an inclined ramp, then releases it so that it rolls downhill. Which ball will reach the ground first?

Although gravity causes both balls to speed up, the free-falling ball will reach the ground first. The force of gravity pulls straight down, the same direction as the motion of the free-falling ball, but the rolling ball must move at an angle to the pull of gravity, along the surface of the ramp. Only part of the gravitational force accelerates the rolling ball, and the rest of the force is counteracted by the surface of the ramp. What fraction of the gravitational force causes the ball to roll?

ramp

In figure (a), the gravitational force F is resolved into the sum of two vectors, F = u + v , where v points down the ramp, and u is perpendicular to the ramp. The magnitude of v is called the component of F in the direction of motion, and is denoted by comp v F . This is the portion of the gravitational force that moves the ball. From figure (b), we see that comp v F = F cos ( θ ) , where θ is the angle between F and v .

With a little geometry, you can verify that in this example the angle θ is the complement of the angle of inclination of the ramp, α . (Think of similar triangles.) Now suppose that we increase the angle of inclination. As α increases, θ decreases, cos ( θ ) increases, and hence comp v F increases. This result agrees with our experience: as the ramp gets steeper, the ball rolls faster.

Delbert pushes a lawn mower whose handle makes a 40 angle with the horizontal. If he applies a force of 30 pounds in the direction of the handle, what is the component of the force in the horizontal direction?

lawn mower

23 pounds

Coordinate Form for Components

In the examples above, we computed the component of a force F in the direction of a vector v by knowing the angle between F and v . If the vectors are given in coordinate form (that is, v = a i + b j ), we may not know the angle between them. Can we compute the component of a vector w in the direction of v , in terms of the coordinates of v and w ?

Suppose v = a i + b j and w = c i + d j , as shown below. We will need to compute the cosine of θ in terms of a ,   b ,   c ,   and d .

First verify that

cos ( α ) = a v       and       sin ( α ) = b v cos ( β ) = c w       and       sin ( β ) = d w

vectors and components

Because θ = β = α , we use the subtraction formula for cosine.

cos ( θ ) = cos ( α ) cos ( β ) + sin ( α ) sin ( β ) = a v c w + b v d w = 1 v w ( a c + b d )

And finally,

comp v w = w cos ( θ ) = a c + b d v

Now we have a fromula for the component of a vector w in the direction of a vector v .

Write the vector w = 6 i + 2 j as the sum of two components, one parallel to v = i + j and the other perpendicular to v .

w = ( 4 i + 4 j ) + ( 2 i 2 j )

The Dot Product

The expression a c + b d , which we encountered above as part of the formula for comp v w , is quite useful and is given a name; it is called the dot product of the vectors v = a i + b j and w = c i + d j .

It is easy to remember the formula for the dot product if we think of adding the product of the i -components and the product of the j -components of the two vectors.

In the examples above, you can see that the dot product of two vectors is a scalar. For this reason, the dot product is also called the scalar product.

Compute the dot product of v = 6 i + 2 j and w = 2 i + 3 j .

6

We can now write the formula for comp v w using the dot product.

comp v w = w cos ( θ ) = a c + b d v = v w v

We have derived an alternate formula for a component of a vector.

Compute the component of u = 2 i + 3 j in the direction of v = 6 i + 5 j .

27 61

Geometric Meaning of the Dot Product

An even more important relationship, which gives geometric meaning to the dot product, follows from the formula for a component. We now have two ways to compute the component of w in the direction of v :

comp v w = w cos θ             and             comp v w = v w v

Equating these two expressions, we find

w cos ( θ ) = v w v

or v w cos θ = v w . This is a geometric formula for the dot product.

The dot product is a way of multiplying two vectors that depends on the angle between them.

  • If θ = 0 , so that v and w point in the same direction, then cos ( θ ) = 1 and v w is just the product of their lengths, v w .
  • If v and w are perpendicular, then cos ( θ ) = 0 , so v w = 0 . (Two vectors v and w are said to be orthogonal if their dot product is zero.)
  • If θ is between 0 and 90 , the dot product multiplies the length of v times the component of w in the direction of v .
vectors
  1. Show that the vectors v = a i + b j and w = b i + a j are orthogonal.
  2. Find a vector w perpendicular to v = 3 i 5 j .
  1. u v = a b + a b = 0
  2. 5 i 3 j

Using the dot product, we can find the angle between two vectors.

Find the angle between the vectors u = 4 i 6 j and v = 2 i + 8 j .

132.27

Review the following skills you will need for this section.

Section 9.3 Summary

Vocabulary

  • Dot product
  • Scalar product
  • Orthogonal

Concepts

  1. The dot product is a way of multiplying two vectors that depends on the angle between them.
  2. The component of a vector w in the direction of vector v is the length of the vector projection of w onto w .
  3. Two vectors v and w are orthogonal if v w = 0

Study Questions

  1. If u and v have the same direction, what is comp u v ?
  2. If u is perpendicular to v , what is comp u v ?
  3. What is the angle between u and v that makes their dot product as large as possible?
  4. What does the dot product of two unit vectors tell you?

Skills

  1. Find the component of w in the direction of v #1–6, 37–40
  2. Compute the dot product #11–22, 27–36
  3. Find the angle between two vectors #23–26
  4. Resolve a vector into components in given directions #7–10, 41–42

Homework 9-3

For Problems 1–6, find the component of w in the direction of v .

w = 5 i + 9 j ,     v = 3 i + 2 j

33 13

w = 7 i + 4 j ,     v = 2 i + 3 j

w = 6 i + 5 j ,     v = i + j

1 2

w = 10 i 14 j ,     v = i + j

w = 4 i 3 j ,     v = i + 2 j

2 5

w = 2 i 3 j ,     v = i 2 j

For Problems 7–10,

  1. Resolve w into two components, one parallel to v and the other orthogonal to v .
  2. Sketch both vectors and the vector components.

w = 8 i + 4 j ,     v = 2 i + 3 j

8x8 grid
  1. w = ( 56 13 i + 84 13 j ) + ( 48 13 i 32 13 j )
  2. vectors

w = 3 i + 7 j ,     v = 4 i + 2 j

8x8 grid

w = 6 i 2 j ,     v = i j

8x8 grid
  1. w = ( 4 i 4 j ) + ( 2 i + 2 j )
  2. vectors

w = 5 i + 3 j ,     v = i 3 j

8x8 grid

For Problems 11–18, compute the dot product u v .

u = 3 i + 7 j ,     v = 2 i + 4 j

22

u = 1.3 i + 5.6 j ,     v = 3 i 5 j

u = 3 i 4 j ,     v = 20 i + 15 j

0

u = 2 i + j ,     v = 6 i + 3 j

u has magnitude 3 and direction 27 , and v has magnitude 8 and direction 33 .

12

u has magnitude 7 and direction 112 , and v has magnitude 14 and direction 157 .

vectors

318.2

vectors

For Problems 19–22, decide whether the pair of vectors is orthogonal.

2 i + 3 j   and 3 i 2 j

not orthogonal

5 i + 7 j   and   7 i + 5 j

4 i + 6 j   and 15 i + 10 j

orthogonal

3 i 4 j   and 3 i + 4 j

For Problems 23–26, find the angle between the vectors.

3 i + 5 j   and   2 i + 4 j

4.4

i 2 j   and 2 i 3 j

4 i 8 j   and   6 i + 4 j

97.1

6 i + 8 j   and   18 i 24 j

For Problems 27–30, find a value of k so that v is orthogonal to w .

w = 8 i 3 j ,   v = 3 i + k j

8

w = 2 i + 7 j ,   v = k i + 4 j

w = 2 i 5 j ,   v = k i + 4 j

10

w = 5 i + 3 j ,   v = 2 i + k j

For Problems 31–36, evaluate the expression for the vectors

u = 2 i + 5 j ,     v = 3 i + 4 j ,     w = 3 i 2 j

w ( u + v )

21

w u + w v

( u v ) w

42 i 28 j

( u v ) ( u w )

( u + v ) ( u v )

4

w v w w w

Gary pulls a loaded wagon along a flat road. The handle of the wagon makes an angle of 50 to the horizontal. If Gary pulls with a force of 60 pounds, find the component of the force in the direction of motion.

38.57 lbs

Wassily is trying to topple a statue by pulling on a rope tied to the statue's upraised arm. The rope is making a 35 angle from horizontal. If Wassily is pulling on the rope with a force of 250 pounds, find the component of the force in the horizontal direction.

An SUV weighing 6200 pounds is parked on a hill with slope 12 . Find the force needed to keep the SUV from rolling down the hill.

1289 lbs

Steve's boat is headed due north, and the sail points at an angle of 15 east of north. The wind is blowing in the direction 60 west of south, but because of the difference in air pressure between the front and back surfaces of the sail, the boat experiences a force of 400 pounds in the direction the sail is facing. Find the component of the force in the direction of the boat's motion.

  1. Find unit vectors u and v in the directions of i + j and i j .
  2. Show that u and v are orthogonal.
  3. Find the components of w = 3 i + 8 j in the directions of u and v .
  4. Sketch the vectors u ,   v and w , and show the components of w .
  1. 1 2 i + 1 2 j     and     1 2 i + 1 2 j
  2. u v = 0
  3. 11 2 and 5 2
  4. orthogonal vectors
  1. Find unit vectors u and v in the directions of 30 and 120 .
  2. Show that u and v are orthogonal.
  3. Find the components of w = 4 i + 4 j in the directions of u and v .
  4. Sketch the vectors u ,   v and w , and show the components of w .

For Problems 43–48, let u = a i + b j and v = c i + d j .

Show that v v = v 2 .

v v = c 2 + d 2

If u = 1 , show that comp u v = u v .

Show that k u v = k ( u v ) = u k v .

k u v = k a c + k b d = k ( a c + b d ) = ( a k c + b k d )

Prove the distributive law: u ( v + w ) = u v + u w .

Show that ( u v ) ( u + v ) = u 2 v 2 .

( u v ) ( u + v ) = ( a c ) ( a + c ) + ( b d ) ( b + d ) = ( a 2 + b 2 ) ( c 2 + d 2 )

If u = v , show that u + v is perpendicular to u v .

Show that the component of v = a i + b j in the direction of i is a , and the component of v in the direction of j is b .

a 1 + b 0 1 = a and a 0 + b 1 1 = b

Show that the dot product u v gives the length of v times the component of u in the direction of v .

  1. Start from the geometric definition v w = v w cos ( θ ) and show that i i = 1 ,     j j = 1 and i j = 0 .
  2. Use part (a) and Problems 45 and 46 to derive the coordinate definition of v w .
  1. Both i i = 1 and j j = 1 because 1 1 cos 0 = 1 ; i j = 1 1 cos 90 = 0
  2. ( a i + b j ) ( c i + d j ) = a c ( 1 ) + a d ( 0 ) + b c ( 0 ) + b d ( 1 ) = a c + b d
  1. Show that ( v + w ) ( v + w ) = v 2 + w 2 + 2 ( v w )
  2. Use part (a) to prove the triangle inequality:

    v + w v + w

  1. Use the dot product to show that u v 2 = u 2 + v 2 2 u v cos ( θ ) .
  2. Use the figure at right to explain why part (a) proves the law of cosines.
vectors
  1. u v 2 = u u 2 u v + v v = u 2 + v 2 2 u v cos θ
  2. Let a = u ,   b = v ,   c = u v , and C = θ
  1. If u is a unit vector, and the angle between u and i is α , show that u = cos ( α ) i + sin ( α ) j .
  2. Suppose u and v are unit vectors, as shown in the figure at right. Use the dot product u v to prove that

    cos ( β α ) = cos ( β ) cos ( α ) + sin ( β ) sin ( α )

vectors

Trigonometry by Katherine Yoshiwara (yoshiwarabooks.org), GNU Free Documentation License 1.2 or later. Adapted for the XYZ HTML edition with the authors' permission (recorded 2026-07-04). License: GFDL-1.2-or-later.