<meta http-equiv="refresh" content="1; url=/nojavascript/"> Dot Products ( Read ) | Analysis | CK-12 Foundation
Dismiss
Skip Navigation

Dot Products

%
Best Score
Practice Dot Products
Practice
Best Score
%
Practice Now

Dot Product and Angle Between Two Vectors

While two vectors cannot be strictly multiplied like numbers can, there are two different ways to find the product between two vectors.  The cross product between two vectors results in a new vector perpendicular to the other two vectors.  You can study more about the cross product between two vectors when you take Linear Algebra.  The second type of product is the dot product between two vectors which results in a regular number.  This number represents how much of one vector goes in the direction of the other .  In one sense, it indicates how much the two vectors agree with each other.  This concept will focus on the dot product between two vectors. 

What is the dot product between < -1, 1 >  and <4, 4> ?  What does the result mean? 

Watch This

Watch the portion of this video focusing on the dot product:

http://www.youtube.com/watch?v=EYIxFJXoUvA James Sousa: Vector Operations

Guidance

The dot product is defined as:

u \cdot v=< u_1, u_2 > \cdot < v_1, v_2 >=u_1 v_1+u_2 v_2

This procedure states that you multiply the corresponding values and then sum the resulting products.  It can work with vectors that are more than two dimensions in the same way. 

Before trying this procedure with specific numbers, look at the following pairs of vectors and relative estimates of their dot product. 

Notice how vectors going in generally the same direction have a positive dot product.  Think of two forces acting on a single object.  A positive dot product implies that these forces are working together at least a little bit.  Another way of saying this is the angle between the vectors is less than 90^\circ

There are a many important properties related to the dot product that you will prove in the examples, guided practice and practice problems.  The two most important are 1) what happens when a vector has a dot product with itself and 2) what is the dot product of two vectors that are perpendicular to each other.

  • v \cdot v =|v|^2
  • v and u are perpendicular if and only if v \cdot u=0

The dot product can help you determine the angle between two vectors using the following formula.  Notice that in the numerator the dot product is required because each term is a vector.  In the denominator only regular multiplication is required because the magnitude of a vector is just a regular number indicating length.

\cos \theta=\frac{u \cdot v}{|u||v|}

Example A

Show the commutative property holds for the dot product between two vectors.  In other words, show that u \cdot v=v \cdot u .

Solution:  This proof is for two dimensional vectors although it holds for any dimensional vectors. 

Start with the vectors in component form.

u &= < u_1, u_2>\\v &= < v_1, v_2>

Then apply the definition of dot product and rearrange the terms.  The commutative property is already known for regular numbers so we can use that.

u \cdot v&=< u_1, u_2 > \cdot < v_1, v_2 >\\&=u_1 v_1+u_2 v_2\\&=v_1 u_1+v_2 u_2\\&= < v_1, v_2 > \cdot < u_1, u_2  > \\\&=v \cdot u

Example B

Find the dot product between the following vectors: <3, 1> \cdot <5, -4>

Solution:  <3, 1> \cdot <5, -4>=3 \cdot 5+1 \cdot (-4)=15-4=11

Example C

Prove the angle between two vectors formula:

\cos \theta=\frac{u \cdot v}{|u| |v|}

Solution:   Start with the law of cosines.

|u-v|^2 &= |v|^2+|u|^2-2 |v||u| \cos \theta\\(u-v) \cdot (u-v) &=\\u \cdot u-2u \cdot v+v \cdot v &=\\|u|^2-2u \cdot v+|v|^2 &=\\-2u \cdot v &= -2 |v||u| \cos \theta\\\frac{u \cdot v}{|u||v|} &= \cos \theta

Concept Problem Revisited

The dot product between the two vectors <-1, 1>  and <4, 4>  can be computed as:

(-1) (4) + 1(4)=-4+4=0

The result of zero makes sense because these two vectors are perpendicular to each other. 

Vocabulary

The dot product is also known as inner product and scalar product . It is one of two kinds of products taken between vectors.  It produces a number that can be interpreted to tell how much one vector goes in the direction of the other. 

Guided Practice

1. Show the distributive property holds under the dot product .

u \cdot (v+w)=uv+uw

2. Find the dot product between the following vectors.

(4i - 2j) \cdot (3i-8j)

3. What is the angle between v=<3, 5>  and u=<2, 8> ?

Answers:

1. This proof will work with two dimensional vectors although the property does hold in general.

u=< u_1, u_2 >, v= < v_1, v_2 >, w=<  w_1, w_2  >

u \cdot (v+w) &= u \cdot (< v_1, v_2 > + < w_1, w_2 >  )\\&=u \cdot < v_1+w_1, v_2+w_2 >  \\&= < u_1, u_2 > \cdot < v_1+w_1,v_2+w_2 > \\&= u_1 (v_1+w_1)+u_2(v_2+w_2)\\&= u_1v_1+u_1w_1+u_2v_2+u_2w_2\\&= u_1v_1+u_2v_2+u_1w_1+u_2w_2\\&= u \cdot v+v \cdot w

2. The standard unit vectors can be written as component vectors.

<4, -2> \cdot <3, -8>=12+(-2) (-8)=12+16=28

3. Use the angle between two vectors formula. 

v=<3, 5>  and u=<2, 8>

\frac{u \cdot v}{|u||v|} &= \cos \theta\\\frac{<3, 5> \cdot <2, 8>}{\sqrt{34} \cdot \sqrt{68}} &= \cos \theta\\\frac{6+35}{\sqrt{34} \cdot \sqrt{68}} &= \cos \theta\\\cos^{-1} \left(\frac{41}{\sqrt{34} \cdot \sqrt{68}}\right) &= \theta\\31.49 & \approx \theta

Practice

Find the dot product for each of the following pairs of vectors.

1.  <2, 6> \cdot <-3, 5>

2.  <5, -1> \cdot <4, 4>

3.  < -3, -4> \cdot <2, 2>

4. <3, 1> \cdot <6, 3>

5. <-1, 4> \cdot <2, 9>

Find the angle between each pair of vectors below.

6.  <2, 6> \cdot <-3, 5>

7.  <5, -1> \cdot <4, 4>

8.  <-3, -4> \cdot <2, 2>

9. <3, 1> \cdot <6, 3>

10. <-1, 4> \cdot <2, 9>

11. What is v \cdot v ?

12. How can you use the dot product to find the magnitude of a vector?

13. What is 0 \cdot v ?

14. Show that  (cu) \cdot v=u \cdot (cv) where  c is a constant. 

15. Show that <2, 3>  is perpendicular to <1.5, -1> .

Image Attributions

Reviews

Email Verified
Well done! You've successfully verified the email address .
OK
Please wait...
Please wait...

Original text