<meta http-equiv="refresh" content="1; url=/nojavascript/">

# Dot Products

## Scalar product, or the amount of force two different vectors contribute in a direction.

%
Progress
Practice Dot Products
Progress
%
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>\begin{align*}< -1, 1 >\end{align*}  and <4,4>\begin{align*}<4, 4>\end{align*} ?  What does the result mean?

#### Watch This

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

#### Guidance

The dot product is defined as:

uv=<u1,u2><v1,v2>=u1v1+u2v2\begin{align*}u \cdot v=< u_1, u_2 > \cdot < v_1, v_2 >=u_1 v_1+u_2 v_2\end{align*}

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\begin{align*}90^\circ\end{align*}

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.

• vv=|v|2\begin{align*}v \cdot v =|v|^2\end{align*}
• v\begin{align*}v\end{align*} and u\begin{align*}u\end{align*} are perpendicular if and only if vu=0\begin{align*}v \cdot u=0\end{align*}

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θ=uv|u||v|

Example A

Show the commutative property holds for the dot product between two vectors.  In other words, show that uv=vu\begin{align*}u \cdot v=v \cdot u\end{align*} .

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

uv=<u1,u2>=<v1,v2>

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.

uv =<u1,u2><v1,v2>=u1v1+u2v2=v1u1+v2u2=<v1,v2><u1,u2>=vu

Example B

Find the dot product between the following vectors: <3,1><5,4>\begin{align*}<3, 1> \cdot <5, -4>\end{align*}

Solution:  <3,1><5,4>=35+1(4)=154=11\begin{align*}<3, 1> \cdot <5, -4>=3 \cdot 5+1 \cdot (-4)=15-4=11\end{align*}

Example C

Prove the angle between two vectors formula:

cosθ=uv|u||v|\begin{align*}\cos \theta=\frac{u \cdot v}{|u| |v|}\end{align*}

|uv|2(uv)(uv)uu2uv+vv|u|22uv+|v|22uvuv|u||v|=|v|2+|u|22|v||u|cosθ====2|v||u|cosθ=cosθ

Concept Problem Revisited

The dot product between the two vectors <1,1>\begin{align*}<-1, 1>\end{align*}  and <4,4>\begin{align*}<4, 4>\end{align*}  can be computed as:

(1)(4)+1(4)=4+4=0\begin{align*}(-1) (4) + 1(4)=-4+4=0\end{align*}

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(v+w)=uv+uw\begin{align*}u \cdot (v+w)=uv+uw\end{align*}

2. Find the dot product between the following vectors.

(4i2j)(3i8j)\begin{align*}(4i - 2j) \cdot (3i-8j)\end{align*}

3. What is the angle between v=<3,5>\begin{align*}v=<3, 5>\end{align*}  and u=<2,8>\begin{align*}u=<2, 8>\end{align*} ?

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

u=<u1,u2>,v=<v1,v2>,w=<w1,w2>\begin{align*}u=< u_1, u_2 >, v= < v_1, v_2 >, w=< w_1, w_2 >\end{align*}

u(v+w)=u(<v1,v2>+<w1,w2>)=u<v1+w1,v2+w2>=<u1,u2><v1+w1,v2+w2>=u1(v1+w1)+u2(v2+w2)=u1v1+u1w1+u2v2+u2w2=u1v1+u2v2+u1w1+u2w2=uv+vw

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

<4,2><3,8>=12+(2)(8)=12+16=28\begin{align*}<4, -2> \cdot <3, -8>=12+(-2) (-8)=12+16=28\end{align*}

3. Use the angle between two vectors formula.

v=<3,5>\begin{align*}v=<3, 5>\end{align*}  and u=<2,8>\begin{align*}u=<2, 8>\end{align*}

uv|u||v|<3,5><2,8>34686+353468cos1(413468)31.49=cosθ=cosθ=cosθ=θθ

#### Practice

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

1.  <2,6><3,5>\begin{align*}<2, 6> \cdot <-3, 5>\end{align*}

2.  <5,1><4,4>\begin{align*}<5, -1> \cdot <4, 4>\end{align*}

3.  <3,4><2,2>\begin{align*}< -3, -4> \cdot <2, 2>\end{align*}

4. <3,1><6,3>\begin{align*}<3, 1> \cdot <6, 3>\end{align*}

5. <1,4><2,9>\begin{align*}<-1, 4> \cdot <2, 9>\end{align*}

Find the angle between each pair of vectors below.

6.  <2,6><3,5>\begin{align*}<2, 6> \cdot <-3, 5>\end{align*}

7.  <5,1><4,4>\begin{align*}<5, -1> \cdot <4, 4>\end{align*}

8.  <3,4><2,2>\begin{align*}<-3, -4> \cdot <2, 2>\end{align*}

9. <3,1><6,3>\begin{align*}<3, 1> \cdot <6, 3>\end{align*}

10. <1,4><2,9>\begin{align*}<-1, 4> \cdot <2, 9>\end{align*}

11. What is vv\begin{align*}v \cdot v\end{align*} ?

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

13. What is 0v\begin{align*}0 \cdot v\end{align*} ?

14. Show that  (cu)v=u(cv)\begin{align*}(cu) \cdot v=u \cdot (cv)\end{align*} where  c\begin{align*}c\end{align*} is a constant.

15. Show that <2,3>\begin{align*}<2, 3>\end{align*}  is perpendicular to <1.5,1>\begin{align*}<1.5, -1>\end{align*} .