The Angle Between Two Vectors

Module 8 Lesson 2: Vectors in 2D
Two basic vector operations are scalar multiplication, vector addition, and the dot
product. Scalar multiplication involves multiplying a vector by a real number. Vector
addition involves adding two vectors. We will work with all of these operations
separately with a few more details. Hopefully youโ€™ll find that operations with vectors
are quite simple and straightforward. ๏Š
Then, we will discuss how to find the unit vector, how to determine direction angles of
vectors, and how to find the angle between two vectors.
Letโ€™s begin!
Scalar Multiplication
If k is any real number and ๐ฏ = โŒฉ๐‘ฃ1 , ๐‘ฃ2 โŒช, then ๐‘˜๐ฏ = โŒฉ๐‘˜๐‘ฃ1 , ๐‘˜๐‘ฃ2 โŒช.
Geometrically, the product of a vector v and its scalar k is the vector that is |k| times as
long as v. For example, if v is 3 units long, then the vector 2v is 2 โˆ™ 3 = 6 units long.
๏‚ท
๏‚ท
If k is positive, then kv has the same direction as v. See below.
If k is negative, then kv has the opposite direction as v. See below.
Ex. Let ๐ฏ = โŒฉโˆ’2, 5โŒช and ๐ฐ = โŒฉ3, 4โŒช. Find (a) 3๐ฏ and (b) โˆ’2๐ฐ.
a. Solution: 3๐ฏ = 3โŒฉโˆ’2, 5โŒช = โŒฉ3(โˆ’2), 3(5)โŒช = โŒฉโˆ’6, 15โŒช
b. Solution: โˆ’2๐ฐ = โˆ’2โŒฉ3, 4โŒช = โŒฉโˆ’2(3), โˆ’2(4)โŒช = โŒฉโˆ’6, โˆ’8โŒช
1
Vector Addition
Let ๐ฏ = โŒฉ๐‘ฃ1 , ๐‘ฃ2 โŒช and ๐ฐ = โŒฉ๐‘ค1 , ๐‘ค2 โŒช be vectors (as shown below).
Then the sum of v and w is
๐ฏ + ๐ฐ = โŒฉ๐‘ฃ1 + ๐‘ค1 , ๐‘ฃ2 + ๐‘ค2 โŒช
Notice the new vector that is created by their sum shown above. Notice how the
second vector w is simply added on to the first vector v by connecting the initial point of
w with the terminal point of v.
Note: The difference of u and v can be found by
๐ฏ โˆ’ ๐ฐ = ๐ฏ + (โˆ’๐ฐ) = โŒฉ๐‘ฃ1 โˆ’ ๐‘ค1 , ๐‘ฃ2 โˆ’ ๐‘ค2 โŒช
For this course, you will only need to know how to operate with vectors algebraically
and not necessarily how to sketch them; however, you should be familiar with and
understand what vector addition looks like in the coordinate plane (as shown in the
figures above).
Now, letโ€™s use basic addition properties to find the sum of two vectors algebraically.
Ex. Let ๐ฏ = โŒฉโˆ’2, 5โŒช and ๐ฐ = โŒฉ3, 4โŒช. Find ๐ฏ + ๐ฐ.
2
Solution: ๐ฏ + ๐ฐ = โŒฉโˆ’2, 5โŒช + โŒฉ3, 4โŒช = โŒฉโˆ’2 + 3, 5 + 4โŒช = โŒฉ1, 9โŒช
Note: Addition of vectors is commutative (the order of vectors being added does not
matter).
For example, ๐ฐ + ๐ฏ = โŒฉ3, 4โŒช + โŒฉโˆ’2, 5โŒช = โŒฉ3 + (โˆ’2), 4 + 5โŒช = โŒฉ1, 9โŒช.
We get the same vector sum. Therefore, ๐ฏ + ๐ฐ = ๐ฐ + ๐ฏ.
Combining Scalar Multiplication & Addition
Ex. Given ๐ฏ = โŒฉ7, โˆ’3โŒช and ๐ฐ = โŒฉ2, 8โŒช, find (a) 3๐ฏ + ๐ฐ and (b) ๐ฐ โˆ’ 4๐ฏ.
a. Solution: 3๐ฏ + ๐ฐ = 3โŒฉ7, โˆ’3โŒช + โŒฉ2, 8โŒช
= โŒฉ21, โˆ’9โŒช + โŒฉ2, 8โŒช
= โŒฉ21 + 2, โˆ’9 + 8โŒช
= โŒฉ23, โˆ’1โŒช
b. Solution: ๐ฐ โˆ’ 4๐ฏ = โŒฉ2, 8โŒช โˆ’ 4โŒฉ7, โˆ’3โŒช
= โŒฉ2, 8โŒช โˆ’ โŒฉ28, โˆ’12โŒช
= โŒฉ2 โˆ’ 28, 8โ€” 12)
= โŒฉโˆ’26, 20โŒช
The Linear Combination Form of a Vector
Now that you are a little more familiar with how to write and operate with vectors, letโ€™s
introduce another notation.
You will also see vectors represented with an โ€œiโ€ and a โ€œjโ€. For example, the vector
๐ฏ = โŒฉ3, 6โŒช can also be represented as ๐ฏ = 3๐ข + 6๐ฃ.
Here, i represents the horizontal component of the vector v and j
represents the vertical component of v. Recall that the coefficients of
i and j are the directed differences in the x-values and y-values of the
initial and terminal points of the vector (as found in the previous
Component Form Examples).
Ex. Let ๐ฎ = 2๐ข โˆ’ 4๐ฃ and ๐ฐ = โˆ’6๐ข + ๐ฃ. Find (a) ๐ฎ + ๐ฐ and (b) 6๐ฎ + 2๐ฐ.
(a) Solution: ๐ฎ + ๐ฐ = (2๐ข โˆ’ 4๐ฃ) + (โˆ’6๐ข + ๐ฃ)
= 2๐ข โˆ’ 6๐ข โˆ’ 4๐ฃ + ๐ฃ
= โˆ’4๐ข โˆ’ 3๐ฃ.
3
Note: This bold
lowercase i is not to
be confused with the
imaginary number ๐‘– =
โˆšโˆ’1.
(b) Solution: 6๐ฎ + 2๐ฐ = ๐Ÿ”(2๐ข โˆ’ 4๐ฃ) + ๐Ÿ(โˆ’6๐ข + ๐ฃ)
= 12๐ข โˆ’ 24๐ฃ โˆ’ 12๐ข + 2๐ฃ
= 0๐ข โˆ’ 22๐ฃ
= โˆ’22๐ฃ
Note: Scalar Multiplication and Vector Addition work the same in both component
form or linear combination form. We will use both interchangeably from here on out.
The Dot Product
The dot product is a way of multiplying two vectors. Say we have two vectors, ๐ฎ =
โŒฉ๐‘ข1 , ๐‘ข2 โŒช and ๐ฏ = โŒฉ๐‘ฃ1 , ๐‘ฃ2 โŒช. The product or ๐ฎ โˆ™ ๐ฏ is the product of the horizontal
components plus the product of the vertical components. In other words:
๐ฎ โˆ™ ๐ฏ = ๐‘ข1 ๐‘ฃ1 + ๐‘ข2 ๐‘ฃ2
Notice that we use the โ€œdotโ€ multiplication symbol here.
Ex. Let ๐ฎ = โŒฉ3, โˆ’4โŒช and ๐ฏ = โŒฉ5, 2โŒช. Find ๐ฎ โˆ™ ๐ฏ.
Solution: ๐ฎ โˆ™ ๐ฏ = (3)(5) + (โˆ’4)(2) = 15 โˆ’ 8 = 7
So notice whatโ€™s a little different here. When we multiply two vectors, we get just a
plain numberโ€ฆ a scalar. Sometimes this is also called the scalar product (if you happen
to find additional resources for your work here in Module 8).
Here is an example of two vectors in linear combination form.
Ex. Let ๐ฏ = 6๐ข โˆ’ 2๐ฃ and ๐ฐ = โˆ’4๐ข + 5๐ฃ. Find the dot product of (a) ๐ฏ โˆ™ ๐ฐ, (b) ๐ฏ โˆ™ ๐ฏ and
(c) ๐ฐ โˆ™ ๐ฐ.
(a) Solution: ๐ฏ โˆ™ ๐ฐ = (6)(โˆ’4) + (โˆ’2)(5) = โˆ’24 โˆ’ 10 = โˆ’34
(b) Solution: ๐ฏ โˆ™ ๐ฏ = (6)(6) + (โˆ’2)(โˆ’2) = 36 + 4 = 40
(c) Solution: ๐ฐ โˆ™ ๐ฐ = (โˆ’4)(โˆ’4) + (5)(5) = 16 + 25 = 41
Notice in (b) and (c) above how we were asked to find a vector multiplied by itself.
One property of vectors is that ๐ฏ โˆ™ ๐ฏ = โ€–๐ฏโ€–๐Ÿ . So a vector squared is equal to its
magnitude or length squared.
Refer again to example (b) where ๐ฏ = 6๐ข โˆ’ 2๐ฃ or in component form, ๐ฏ = โŒฉ6, โˆ’2โŒช.
4
Letโ€™s check to see if ๐ฏ โˆ™ ๐ฏ = โ€–๐ฏโ€–๐Ÿ by finding the magnitude of v first.
โ€–๐ฏโ€– = โˆš62 + (โˆ’2)2 = โˆš36 + 4 = โˆš40
So ๐ฏ โˆ™ ๐ฏ = โ€–๐ฏโ€–๐Ÿ holds true:
โ€–๐ฏโ€–๐Ÿ
๐ฏ โˆ™ ๐ฏ = 40
= (โˆš40)2 = 40
๏Š
Properties of the Dot Product
Letโ€™s look at a few more properties of the Dot Product. Most of these are pretty
straightforward.
Let u, v, and w be vectors and let c be a scalar.
1.
2.
3.
4.
5.
๐ฎโˆ™๐ฏ= ๐ฏโˆ™๐ฎ
0โˆ™๐ฏ=0
๐ฎ โˆ™ (๐ฏ + ๐ฐ) = ๐ฎ โˆ™ ๐ฏ + ๐ฎ โˆ™ ๐ฐ
๐ฏ โˆ™ ๐ฏ = โ€–๐ฏโ€–๐Ÿ
c(๐ฎ โˆ™ ๐ฏ) = c๐ฎ โˆ™ ๐ฏ = ๐ฎ โˆ™ c๐ฏ
Letโ€™s try a few more examples.
Ex. Let ๐ฎ = โŒฉโˆ’1, 3โŒช, ๐ฏ = โŒฉ2, โˆ’4โŒช, and ๐ฐ = โŒฉ1, โˆ’2โŒช.
(a) Find (๐ฎ โˆ™ ๐ฏ)๐ฐ
Solution: ๐ฎ โˆ™ ๐ฏ = (โˆ’1)(2) + (3)(โˆ’4) = โˆ’2 โˆ’ 12 = โˆ’14
Then, (๐ฎ โˆ™ ๐ฏ)๐ฐ = โˆ’14โŒฉ1, โˆ’2โŒช = โŒฉโˆ’14, 28โŒช.
(b) Find ๐ฎ โˆ™ 2๐ฏ
Solution: Using Property #5 we haveโ€ฆ
๐ฎ โˆ™ 2๐ฏ = 2(๐ฎ โˆ™ ๐ฏ) = 2(โˆ’14) = โˆ’28
Or, we can find 2๐ฏ = 2โŒฉ2, โˆ’4โŒช = โŒฉ4, โˆ’8โŒช
Then, ๐ฎ โˆ™ 2๐ฏ = (โˆ’1)(4) + (3)(โˆ’8) = โˆ’4 โˆ’ 24 = โˆ’28.
5
(c) Find ๐ฎ โˆ™ (๐ฏ + ๐ฐ).
From Property #3 we know that ๐ฎ โˆ™ (๐ฏ + ๐ฐ) = ๐ฎ โˆ™ ๐ฏ + ๐ฎ โˆ™ ๐ฐ.
๐ฎ โˆ™ ๐ฏ = โˆ’14
๐ฎ โˆ™ ๐ฐ = (โˆ’1)(1) + (3)(โˆ’2) = โˆ’1 โˆ’ 6 = โˆ’7
Therefore ๐ฎ โˆ™ (๐ฏ + ๐ฐ) = ๐ฎ โˆ™ ๐ฏ + ๐ฎ โˆ™ ๐ฐ = โˆ’14 โˆ’ 7 = โˆ’21.
Notice that the product in (a) was a vector and the products in (b) and (c) were
scalars.
The Unit Vector Review
Letโ€™s again review how to find the unit vector, but now we will use the linear
combination notation instead of component notation as we did in Lesson 1.
Ex. Find the unit vector, u, for ๐ฏ = 3๐ข + 6๐ฃ.
From the linear combination notation, we know that the horizontal component
of the vector is 3 and the vertical component of the vector is 6. Therefore, we
can determine that
โ€–๐ฏโ€– = โˆš32 + 62 = โˆš45 = 3โˆš5
Next, simply use our formula for the unit vector.
๐ฏ
๐ฎ = โ€–๐ฏโ€– =
3๐ข+6๐ฃ
3โˆš5
3
6
= 3โˆš5 ๐ข + 3โˆš5 ๐ฃ
Separate
=
Simplify
=
1
๐ข+
โˆš5
โˆš5
๐ข
5
+
2
๐ฃ
โˆš5
2โˆš5
5
๐ฃ
Simplify/Rationalize
Remember, the unit vector is a vector with the same direction, but it has a length of 1.
Unit vectors will be helpful in the following Lesson. ๏Š
Direction Angles
If u is a unit vector such that ๐œƒ is the angle (measured counterclockwise) from the
positive x-axis to u, the terminal point of u lies on the unit circle and you have
๐ฎ = โŒฉ๐‘ฅ, ๐‘ฆโŒช = โŒฉcos ๐œƒ , sin ๐œƒโŒช = (cos ๐œƒ) ๐ข + (sin ๐œƒ) ๐ฃ
as shown in the figure to the right. The angle ๐œƒ is called the directional angle of the
vector u.
6
If v is any vector that makes an angle ๐œƒ with the positive x-axis, then it has the same
direction as the unit vector u and we can write
๐ฏ = โ€–๐ฏโ€–โŒฉ(cos ๐œƒ , sin ๐œƒโŒช = โ€–๐ฏโ€– cos ๐œƒ ๐ข + โ€–๐ฏโ€–sin ๐œƒ ๐ฃ
Because ๐ฏ = ๐‘Ž๐ข + ๐‘๐ฃ = โ€–๐ฏโ€– cos ๐œƒ ๐ข + โ€–๐ฏโ€–sin ๐œƒ ๐ฃ, it follows that the directional angle ๐œƒ
can be found by using the formula
tan ๐œƒ =
๐‘
๐‘Ž
Ex. Find the direction angle of the vector ๐ฎ = 3๐ข + 3๐ฃ.
Here, ๐‘Ž = 3 and ๐‘ = 3. The direction angle s
3
tan ๐œƒ =
3
tan ๐œƒ = 1
๐œƒ = tanโˆ’1
3
= 45°
3
Letโ€™s draw a picture to help us determine the directional angle. Since the horizontal and
vertical components of this vector are both positive 3, we know the vector lies in
Quadrant I.
Therefore, the directional angle of u is ๐œƒ = 45°.
7
Ex. Find the direction angle of ๐ฏ = 3๐ข โˆ’ 4๐ฃ.
Find ๐œƒ by
4
tan ๐œƒ = โˆ’ 3
4
๐œƒ = tanโˆ’1 (โˆ’ ) โ‰ˆ โˆ’53.130°
3
Note: Stay in
degree mode.
Letโ€™s draw a picture to help us determine the directional angle. Since the horizontal
component is positive and the vertical component is negative, we know the vector lies i
n Quadrant IV.
The angle ๐œƒ = โˆ’53.130° is the angle made moving clockwise from the positive x-axisโ€ฆ
not counterclockwise! So in order to find the directional angle, we can subtract this
โ€˜reference angleโ€ of 53.130° from 360°.
The direction angle is ๐œƒ = 306.870°.
8
The Angle Between Two Vectors
Before we get started with our second method of multiplying two vectors, we must first
learn how to find the angle between two vectors.
The angle between two nonzero vectors is the angle ๐œƒ, 0 โ‰ค ๐œƒ โ‰ค ๐œ‹, between its
respective standard position vectors. A vector is in standard position when its initial
point is at the origin. See the figure below.
If ๐œƒ is the angle between two nonzero vectors u and v, then
cos ๐œƒ =
๐ฎโˆ™๐ฏ
โ€–๐ฎโ€–โ€–๐ฏโ€–
Ex. Find the angle between ๐ฎ = โŒฉ4, 3โŒช and ๐ฏ = โŒฉ3, 5โŒช.
cos ๐œƒ =
=
โŒฉ4, 3โŒช โˆ™ โŒฉ3, 5โŒช
โ€–โŒฉ4, 3โŒชโ€–โ€–โŒฉ3, 5โŒชโ€–
(4)(3) + (3)(5)
(โˆš42 + 32 )(โˆš32 + 52 )
=
27
(โˆš25)(โˆš34)
=
27
5โˆš34
This implies that the angle between the two vectors is
๐œƒ = arccos
9
27
5โˆš34
= 22.166°
Make sure your calculator is in Degree Mode and use ๐‘๐‘œ๐‘  โˆ’1 for ๐‘Ž๐‘Ÿ๐‘๐‘๐‘œ๐‘ .
10