Vectors

Learning Objectives

By the end of this section, you will be able to:

  • View vectors geometrically.
  • Find magnitude and direction.
  • Perform vector addition and scalar multiplication.
  • Find the component form of a vector.
  • Find the unit vector in the direction of [latex]v[/latex] .
  • Perform operations with vectors in terms of [latex]i[/latex] and [latex]j[/latex] .
  • Find the dot product of two vectors.

An airplane is flying at an airspeed of 200 miles per hour headed on a SE bearing of 140°. A north wind (from north to south) is blowing at 16.2 miles per hour, as shown in Figure 1. What are the ground speed and actual bearing of the plane?

Image of a plan flying SE at 140 degrees and the north wind blowing

Figure 1

Ground speed refers to the speed of a plane relative to the ground. Airspeed refers to the speed a plane can travel relative to its surrounding air mass. These two quantities are not the same because of the effect of wind. In an earlier section, we used triangles to solve a similar problem involving the movement of boats. Later in this section, we will find the airplane’s groundspeed and bearing, while investigating another approach to problems of this type. First, however, let’s examine the basics of vectors.

A Geometric View of Vectors

A vector is a specific quantity drawn as a line segment with an arrowhead at one end. It has an initial point, where it begins, and a terminal point, where it ends. A vector is defined by its magnitude, or the length of the line, and its direction, indicated by an arrowhead at the terminal point. Thus, a vector is a directed line segment. There are various symbols that distinguish vectors from other quantities:

  • Lower case, boldfaced type, with or without an arrow on top such as [latex]v,u,w,\stackrel{\to }{v},\stackrel{\to }{u},\stackrel{\to }{w}[/latex].
  • Given initial point [latex]P[/latex] and terminal point [latex]Q[/latex], a vector can be represented as [latex]\stackrel{\to }{PQ}[/latex]. The arrowhead on top is what indicates that it is not just a line, but a directed line segment.
  • Given an initial point of [latex]\left(0,0\right)[/latex] and terminal point [latex]\left(a,b\right)[/latex], a vector may be represented as [latex]\langle a,b\rangle [/latex].

This last symbol [latex]\langle a,b\rangle [/latex] has special significance. It is called the standard position. The position vector has an initial point [latex]\left(0,0\right)[/latex] and a terminal point [latex]\langle a,b\rangle [/latex]. To change any vector into the position vector, we think about the change in the x-coordinates and the change in the y-coordinates. Thus, if the initial point of a vector [latex]\stackrel{\to }{CD}[/latex] is [latex]C\left({x}_{1},{y}_{1}\right)[/latex] and the terminal point is [latex]D\left({x}_{2},{y}_{2}\right)[/latex], then the position vector is found by calculating

[latex]\begin{array}{l}\stackrel{\to }{AB}=\langle {x}_{2}-{x}_{1},{y}_{2}-{y}_{1}\rangle \hfill \\ =\langle a,b\rangle \hfill \end{array}[/latex]

In Figure 2, we see the original vector [latex]\stackrel{\to }{CD}[/latex] and the position vector [latex]\stackrel{\to }{AB}[/latex].

Plot of the original vector CD in blue and the position vector AB in orange extending from the origin.

Figure 2

A General Note: Properties of Vectors

A vector is a directed line segment with an initial point and a terminal point. Vectors are identified by magnitude, or the length of the line, and direction, represented by the arrowhead pointing toward the terminal point. The position vector has an initial point at [latex]\left(0,0\right)[/latex] and is identified by its terminal point [latex]\langle a,b\rangle [/latex].

Example 1: Find the Position Vector

Consider the vector whose initial point is [latex]P\left(2,3\right)[/latex] and terminal point is [latex]Q\left(6,4\right)[/latex]. Find the position vector.

Solution

The position vector is found by subtracting one x-coordinate from the other x-coordinate, and one y-coordinate from the other y-coordinate. Thus

[latex]\begin{array}{l}v=\langle 6 - 2,4 - 3\rangle \hfill \\ =\langle 4,1\rangle \hfill \end{array}[/latex]

The position vector begins at [latex]\left(0,0\right)[/latex] and terminates at [latex]\left(4,1\right)[/latex]. The graphs of both vectors are shown in Figure 3.

Plot of the original vector in blue and the position vector in orange extending from the origin.

Figure 3

We see that the position vector is [latex]\langle 4,1\rangle [/latex].

Example 2: Drawing a Vector with the Given Criteria and Its Equivalent Position Vector

Find the position vector given that vector [latex]v[/latex] has an initial point at [latex]\left(-3,2\right)[/latex] and a terminal point at [latex]\left(4,5\right)[/latex], then graph both vectors in the same plane.

Solution

The position vector is found using the following calculation:

[latex]\begin{array}{l}v=\langle 4-\left(-3\right),5 - 2\rangle \hfill \\ \text{ }=\langle 7,3\rangle \hfill \end{array}[/latex]

Thus, the position vector begins at [latex]\left(0,0\right)[/latex] and terminates at [latex]\left(7,3\right)[/latex].

Plot of the two given vectors their same position vector.

Figure 4

Try It 1

Draw a vector [latex]v[/latex] that connects from the origin to the point [latex]\left(3,5\right)[/latex].

Solution

 Finding Magnitude and Direction

To work with a vector, we need to be able to find its magnitude and its direction. We find its magnitude using the Pythagorean Theorem or the distance formula, and we find its direction using the inverse tangent function.

A General Note: Magnitude and Direction of a Vector

Given a position vector [latex]v[/latex] [latex]=\langle a,b\rangle [/latex], the magnitude is found by [latex]|v|=\sqrt{{a}^{2}+{b}^{2}}[/latex]. The direction is equal to the angle formed with the x-axis, or with the y-axis, depending on the application. For a position vector, the direction is found by [latex]\tan \theta =\left(\frac{b}{a}\right)\Rightarrow \theta ={\tan }^{-1}\left(\frac{b}{a}\right)[/latex], as illustrated in Figure 5.

Standard plot of a position vector (a,b) with magnitude |v| extending into Q1 at theta degrees.

Figure 5

Two vectors v and u are considered equal if they have the same magnitude and the same direction. Additionally, if both vectors have the same position vector, they are equal.

Example 3: Finding the Magnitude and Direction of a Vector

Find the magnitude and direction of the vector with initial point [latex]P\left(-8,1\right)[/latex] and terminal point [latex]Q\left(-2,-5\right)[/latex]. Draw the vector.

Solution

First, find the position vector.

[latex]\begin{array}{l}u=\langle -2,-\left(-8\right),-5 - 1\rangle \hfill \\ \text{ }=\langle 6,-6\rangle \hfill \end{array}[/latex]

We use the Pythagorean Theorem to find the magnitude.

[latex]\begin{array}{l}|u|=\sqrt{{\left(6\right)}^{2}+{\left(-6\right)}^{2}}\hfill \\ =\sqrt{72}\hfill \\ =6\sqrt{2}\hfill \end{array}[/latex]

The direction is given as

[latex]\begin{array}{l}\tan \theta =\frac{-6}{6}=-1\Rightarrow \theta ={\tan }^{-1}\left(-1\right)\hfill \\ =-45^\circ \hfill \end{array}[/latex]

However, the angle terminates in the fourth quadrant, so we add 360° to obtain a positive angle. Thus, [latex]-45^\circ +360^\circ =315^\circ [/latex].

Plot of the position vector extending into Q4 from the origin with the magnitude 6rad2.

Figure 6

Example 4: Showing That Two Vectors Are Equal

Show that vector v with initial point at [latex]\left(5,-3\right)[/latex] and terminal point at [latex]\left(-1,2\right)[/latex] is equal to vector u with initial point at [latex]\left(-1,-3\right)[/latex] and terminal point at [latex]\left(-7,2\right)[/latex]. Draw the position vector on the same grid as v and u. Next, find the magnitude and direction of each vector.

Solution

As shown in Figure 7, draw the vector [latex]v[/latex] starting at initial [latex]\left(5,-3\right)[/latex] and terminal point [latex]\left(-1,2\right)[/latex]. Draw the vector [latex]u[/latex] with initial point [latex]\left(-1,-3\right)[/latex] and terminal point [latex]\left(-7,2\right)[/latex]. Find the standard position for each.

Next, find and sketch the position vector for v and u. We have

[latex]\begin{array}{l}v=\langle -1 - 5,2-\left(-3\right)\rangle \hfill \\ \text{ }=\langle -6,5\rangle \hfill \\ \hfill \\ u=\langle -7-\left(-1\right),2-\left(-3\right)\rangle \hfill \\ \text{ }=\langle -6,5\rangle \hfill \end{array}[/latex]

Since the position vectors are the same, v and u are the same.

An alternative way to check for vector equality is to show that the magnitude and direction are the same for both vectors. To show that the magnitudes are equal, use the Pythagorean Theorem.

[latex]\begin{array}{l}|v|=\sqrt{{\left(-1 - 5\right)}^{2}+{\left(2-\left(-3\right)\right)}^{2}}\hfill \\ =\sqrt{{\left(-6\right)}^{2}+{\left(5\right)}^{2}}\hfill \\ =\sqrt{36+25}\hfill \\ =\sqrt{61}\hfill \\ |u|=\sqrt{{\left(-7-\left(-1\right)\right)}^{2}+{\left(2-\left(-3\right)\right)}^{2}}\hfill \\ =\sqrt{{\left(-6\right)}^{2}+{\left(5\right)}^{2}}\hfill \\ =\sqrt{36+25}\hfill \\ =\sqrt{61}\hfill \end{array}[/latex]

As the magnitudes are equal, we now need to verify the direction. Using the tangent function with the position vector gives

[latex]\begin{array}{l}\tan \theta =-\frac{5}{6}\Rightarrow \theta ={\tan }^{-1}\left(-\frac{5}{6}\right)\hfill \\ =-39.8^\circ \hfill \end{array}[/latex]

However, we can see that the position vector terminates in the second quadrant, so we add [latex]180^\circ [/latex]. Thus, the direction is [latex]-39.8^\circ +180^\circ =140.2^\circ [/latex].

Plot of the two given vectors their same position vector.

Figure 7

 Performing Vector Addition and Scalar Multiplication

Now that we understand the properties of vectors, we can perform operations involving them. While it is convenient to think of the vector [latex]u[/latex] [latex]=\langle x,y\rangle [/latex] as an arrow or directed line segment from the origin to the point [latex]\left(x,y\right)[/latex], vectors can be situated anywhere in the plane. The sum of two vectors u and v, or vector addition, produces a third vector u+ v, the resultant vector.

To find u + v, we first draw the vector u, and from the terminal end of u, we drawn the vector v. In other words, we have the initial point of v meet the terminal end of u. This position corresponds to the notion that we move along the first vector and then, from its terminal point, we move along the second vector. The sum u + v is the resultant vector because it results from addition or subtraction of two vectors. The resultant vector travels directly from the beginning of u to the end of v in a straight path, as shown in Figure 8.

Diagrams of vector addition and subtraction.

Figure 8

Vector subtraction is similar to vector addition. To find uv, view it as u + (−v). Adding −v is reversing direction of v and adding it to the end of u. The new vector begins at the start of u and stops at the end point of −v. See Figure 9 for a visual that compares vector addition and vector subtraction using parallelograms.

Showing vector addition and subtraction with parallelograms. For addition, the base is u, the side is v, the diagonal connecting the start of the base to the end of the side is u+v. For subtraction, thetop is u, the side is -v, and the diagonal connecting the start of the top to the end of the side is u-v.

Figure 9

Example 5: Adding and Subtracting Vectors

Given [latex]u[/latex] [latex]=\langle 3,-2\rangle [/latex] and [latex]v[/latex] [latex]=\langle -1,4\rangle [/latex], find two new vectors u + v, and uv.

Solution

To find the sum of two vectors, we add the components. Thus,

[latex]\begin{array}{l}u+v=\langle 3,-2\rangle +\langle -1,4\rangle \hfill \\ =\langle 3+\left(-1\right),-2+4\rangle \hfill \\ =\langle 2,2\rangle \hfill \end{array}[/latex]

See Figure 10(a).

To find the difference of two vectors, add the negative components of [latex]v[/latex] to [latex]u[/latex]. Thus,

[latex]\begin{array}{l}u+\left(-v\right)=\langle 3,-2\rangle +\langle 1,-4\rangle \hfill \\ =\langle 3+1,-2+\left(-4\right)\rangle \hfill \\ =\langle 4,-6\rangle \hfill \end{array}[/latex]

See Figure 10(b).

Further diagrams of vector addition and subtraction.

Figure 10. (a) Sum of two vectors (b) Difference of two vectors

Multiplying By a Scalar

While adding and subtracting vectors gives us a new vector with a different magnitude and direction, the process of multiplying a vector by a scalar, a constant, changes only the magnitude of the vector or the length of the line. Scalar multiplication has no effect on the direction unless the scalar is negative, in which case the direction of the resulting vector is opposite the direction of the original vector.

A General Note: Scalar Multiplication

Scalar multiplication involves the product of a vector and a scalar. Each component of the vector is multiplied by the scalar. Thus, to multiply [latex]v[/latex] [latex]=\langle a,b\rangle [/latex] by [latex]k[/latex] , we have

[latex]kv=\langle ka,kb\rangle [/latex]

Only the magnitude changes, unless [latex]k[/latex] is negative, and then the vector reverses direction.

Example 6: Performing Scalar Multiplication

Given vector [latex]v[/latex] [latex]=\langle 3,1\rangle [/latex], find 3v, [latex]\frac{1}{2}[/latex] [latex]v[/latex], and −v.

Solution

See Figure 11 for a geometric interpretation. If [latex]v[/latex] [latex]=\langle 3,1\rangle [/latex], then

[latex]\begin{array}{l}3v=\langle 3\cdot 3,3\cdot 1\rangle \hfill \\ =\langle 9,3\rangle \hfill \\ \frac{1}{2}v=\langle \frac{1}{2}\cdot 3,\frac{1}{2}\cdot 1\rangle \hfill \\ =\langle \frac{3}{2},\frac{1}{2}\rangle \hfill \\ -v=\langle -3,-1\rangle \hfill \end{array}[/latex]
Showing the effect of scaling a vector: 3x, 1x, .5x, and -1x. The 3x is three times as long, the 1x stays the same, the .5x halves the length, and the -1x reverses the direction of the vector but keeps the length the same. The rest keep the same direction; only the magnitude changes.

Figure 11

Analysis of the Solution

Notice that the vector 3v is three times the length of v, [latex]\frac{1}{2}[/latex] [latex]v[/latex] is half the length of v, and –v is the same length of v, but in the opposite direction.

Try It 2

Find the scalar multiple 3 [latex]u[/latex] given [latex]u[/latex] [latex]=\langle 5,4\rangle [/latex].

Solution

Example 7: Using Vector Addition and Scalar Multiplication to Find a New Vector

Given [latex]u=\langle 3,-2\rangle [/latex] and [latex]v=\langle -1,4\rangle [/latex], find a new vector w = 3u + 2v.

Solution

First, we must multiply each vector by the scalar.

[latex]\begin{array}{l}3u=3\langle 3,-2\rangle \hfill \\ =\langle 9,-6\rangle \hfill \\ 2v=2\langle -1,4\rangle \hfill \\ =\langle -2,8\rangle \hfill \end{array}[/latex]

Then, add the two together.

[latex]\begin{array}{l}w=3u+2v\hfill \\ =\langle 9,-6\rangle +\langle -2,8\rangle \hfill \\ =\langle 9 - 2,-6+8\rangle \hfill \\ =\langle 7,2\rangle \hfill \end{array}[/latex]

So, [latex]w=\langle 7,2\rangle [/latex].

Finding Component Form

In some applications involving vectors, it is helpful for us to be able to break a vector down into its components. Vectors are comprised of two components: the horizontal component is the [latex]x[/latex] direction, and the vertical component is the [latex]y[/latex] direction. For example, we can see in the graph in Figure 12 that the position vector [latex]\langle 2,3\rangle [/latex] comes from adding the vectors v1 and v2. We have v1 with initial point [latex]\left(0,0\right)[/latex] and terminal point [latex]\left(2,0\right)[/latex].

[latex]\begin{array}{l}{v}_{1}=\langle 2 - 0,0 - 0\rangle \hfill \\ =\langle 2,0\rangle \hfill \end{array}[/latex]

We also have v2 with initial point [latex]\left(0,0\right)[/latex] and terminal point [latex]\left(0,3\right)[/latex].

[latex]\begin{array}{l}{v}_{2}=\langle 0 - 0,3 - 0\rangle \hfill \\ =\langle 0,3\rangle \hfill \end{array}[/latex]

Therefore, the position vector is

[latex]\begin{array}{l}v=\langle 2+0,3+0\rangle \hfill \\ =\langle 2,3\rangle \hfill \end{array}[/latex]

Using the Pythagorean Theorem, the magnitude of v1 is 2, and the magnitude of v2 is 3. To find the magnitude of v, use the formula with the position vector.

[latex]\begin{array}{l}\hfill \\ \begin{array}{l}|v|=\sqrt{|{v}_{1}{|}^{2}+|{v}_{2}{|}^{2}}\hfill \\ \begin{array}{l}=\sqrt{{2}^{2}+{3}^{2}}\hfill \\ =\sqrt{13}\hfill \end{array}\hfill \end{array}\hfill \end{array}[/latex]

The magnitude of v is [latex]\sqrt{13}[/latex]. To find the direction, we use the tangent function [latex]\tan \theta =\frac{y}{x}[/latex].

[latex]\begin{array}{l}\tan \theta =\frac{{v}_{2}}{{v}_{1}}\hfill \\ \tan \theta =\frac{3}{2}\hfill \\ \theta ={\tan }^{-1}\left(\frac{3}{2}\right)=56.3^\circ \hfill \end{array}[/latex]
Diagram of a vector in root position with its horizontal and vertical components.

Figure 12

Thus, the magnitude of [latex]v[/latex] is [latex]\sqrt{13}[/latex] and the direction is [latex]{56.3}^{\circ }[/latex] off the horizontal.

Example 8: Finding the Components of the Vector

Find the components of the vector [latex]v[/latex] with initial point [latex]\left(3,2\right)[/latex] and terminal point [latex]\left(7,4\right)[/latex].

Solution

First find the standard position.

[latex]\begin{array}{l}v=\langle 7 - 3,4 - 2\rangle \hfill \\ =\langle 4,2\rangle \hfill \end{array}[/latex]

See the illustration in Figure 13.

Diagram of a vector in root position with its horizontal (4,0) and vertical (0,2) components.

Figure 13

The horizontal component is [latex]{v}_{1}=\langle 4,0\rangle [/latex] and the vertical component is [latex]{v}_{2}=\langle 0,2\rangle [/latex].

 Finding the Unit Vector in the Direction of v

In addition to finding a vector’s components, it is also useful in solving problems to find a vector in the same direction as the given vector, but of magnitude 1. We call a vector with a magnitude of 1 a unit vector. We can then preserve the direction of the original vector while simplifying calculations.

Unit vectors are defined in terms of components. The horizontal unit vector is written as [latex]i[/latex] [latex]=\langle 1,0\rangle [/latex] and is directed along the positive horizontal axis. The vertical unit vector is written as [latex]j[/latex] [latex]=\langle 0,1\rangle [/latex] and is directed along the positive vertical axis.

Plot showing the unit vectors i=91,0) and j=(0,1)

Figure 14

A General Note: The Unit Vectors

If [latex]v[/latex] is a nonzero vector, then [latex]\frac{v}{|v|}[/latex] is a unit vector in the direction of [latex]v[/latex]. Any vector divided by its magnitude is a unit vector. Notice that magnitude is always a scalar, and dividing by a scalar is the same as multiplying by the reciprocal of the scalar.

Example 9: Finding the Unit Vector in the Direction of v

Find a unit vector in the same direction as [latex]v[/latex] [latex]=\langle -5,12\rangle [/latex].

Solution

First, we will find the magnitude.

[latex]\begin{array}{l}|v|=\sqrt{{\left(-5\right)}^{2}+{\left(12\right)}^{2}}\hfill \\ =\sqrt{25+144}\hfill \\ =\sqrt{169}\hfill \\ =13\hfill \end{array}[/latex]

Then we divide each component by [latex]|v|[/latex], which gives a unit vector in the same direction as v:

[latex]\frac{v}{|v|}=-\frac{5}{13}i+\frac{12}{13}j[/latex]

or, in component form

[latex]\frac{v}{|v|}=\langle -\frac{5}{13},\frac{12}{13}\rangle [/latex]
Plot showing the unit vector (-5/13, 12/13) in the direction of (-5, 12)

Figure 15

Verify that the magnitude of the unit vector equals 1. The magnitude of [latex]-\frac{5}{13}i+\frac{12}{13}j[/latex] is given as

[latex]\begin{array}{l}\sqrt{{\left(-\frac{5}{13}\right)}^{2}+{\left(\frac{12}{13}\right)}^{2}}=\sqrt{\frac{25}{169}+\frac{144}{169}}\hfill \\ \text{ }=\sqrt{\frac{169}{169}}=1\hfill \end{array}[/latex]

The vector [latex]u=\frac{5}{13}[/latex] i [latex]+\frac{12}{13}[/latex] j is the unit vector in the same direction as v [latex]=\langle -5,12\rangle [/latex].

 Performing Operations with Vectors in Terms of i and j

So far, we have investigated the basics of vectors: magnitude and direction, vector addition and subtraction, scalar multiplication, the components of vectors, and the representation of vectors geometrically. Now that we are familiar with the general strategies used in working with vectors, we will represent vectors in rectangular coordinates in terms of i and j.

A General Note: Vectors in the Rectangular Plane

Given a vector [latex]v[/latex] with initial point [latex]P=\left({x}_{1},{y}_{1}\right)[/latex] and terminal point [latex]Q=\left({x}_{2},{y}_{2}\right)[/latex], v is written as

[latex]v=\left({x}_{2}-{x}_{1}\right)i+\left({y}_{1}-{y}_{2}\right)j[/latex]

The position vector from [latex]\left(0,0\right)[/latex] to [latex]\left(a,b\right)[/latex], where [latex]\left({x}_{2}-{x}_{1}\right)=a[/latex] and [latex]\left({y}_{2}-{y}_{1}\right)=b[/latex], is written as v = ai + bj. This vector sum is called a linear combination of the vectors i and j.

The magnitude of v = ai + bj is given as [latex]|v|=\sqrt{{a}^{2}+{b}^{2}}[/latex].

Plot showing vectors in rectangular coordinates in terms of i and j. The position vector v (in orange) extends from the origin to some point (a,b) in Q1. The horizontal (ai) and vertical (bj) components are shown.

Figure 16

Example 10: Writing a Vector in Terms of i and j

Given a vector [latex]v[/latex] with initial point [latex]P=\left(2,-6\right)[/latex] and terminal point [latex]Q=\left(-6,6\right)[/latex], write the vector in terms of [latex]i[/latex] and [latex]j[/latex].

Solution

Begin by writing the general form of the vector. Then replace the coordinates with the given values.

[latex]\begin{array}{l}v=\left({x}_{2}-{x}_{1}\right)i+\left({y}_{2}-{y}_{1}\right)j\hfill \\ =\left(-6 - 2\right)i+\left(6-\left(-6\right)\right)j\hfill \\ =-8i+12j\hfill \end{array}[/latex]

Example 11: Writing a Vector in Terms of i and j Using Initial and Terminal Points

Given initial point [latex]{P}_{1}=\left(-1,3\right)[/latex] and terminal point [latex]{P}_{2}=\left(2,7\right)[/latex], write the vector [latex]v[/latex] in terms of [latex]i[/latex] and [latex]j[/latex].

Solution

Begin by writing the general form of the vector. Then replace the coordinates with the given values.

[latex]\begin{array}{l}v=\left({x}_{2}-{x}_{1}\right)i+\left({y}_{2}-{y}_{1}\right)j\hfill \\ v=\left(2-\left(-1\right)\right)i+\left(7 - 3\right)j\hfill \\ =3i+4j\hfill \end{array}[/latex]

Try It 3

Write the vector [latex]u[/latex] with initial point [latex]P=\left(-1,6\right)[/latex] and terminal point [latex]Q=\left(7,-5\right)[/latex] in terms of [latex]i[/latex] and [latex]j[/latex].

Solution

Performing Operations on Vectors in Terms of i and j

When vectors are written in terms of [latex]i[/latex] and [latex]j[/latex], we can carry out addition, subtraction, and scalar multiplication by performing operations on corresponding components.

A General Note: Adding and Subtracting Vectors in Rectangular Coordinates

Given v = ai + bj and u = ci + dj, then

[latex]\begin{array}{c}v+u=\left(a+c\right)i+\left(b+d\right)j\\ v-u=\left(a-c\right)i+\left(b-d\right)j\end{array}[/latex]

Example 12: Finding the Sum of the Vectors

Find the sum of [latex]{v}_{1}=2i - 3j[/latex] and [latex]{v}_{2}=4i+5j[/latex].

Solution

According to the formula, we have

[latex]\begin{array}{l}{v}_{1}+{v}_{2}=\left(2+4\right)i+\left(-3+5\right)j\hfill \\ =6i+2j\hfill \end{array}[/latex]

 Calculating the Component Form of a Vector: Direction

We have seen how to draw vectors according to their initial and terminal points and how to find the position vector. We have also examined notation for vectors drawn specifically in the Cartesian coordinate plane using [latex]i\text{and}j[/latex]. For any of these vectors, we can calculate the magnitude. Now, we want to combine the key points, and look further at the ideas of magnitude and direction.

Calculating direction follows the same straightforward process we used for polar coordinates. We find the direction of the vector by finding the angle to the horizontal. We do this by using the basic trigonometric identities, but with [latex]|v|[/latex] replacing [latex]r[/latex].

A General Note: Vector Components in Terms of Magnitude and Direction

Given a position vector [latex]v=\langle x,y\rangle [/latex] and a direction angle [latex]\theta [/latex],

[latex]\begin{array}{lll}\cos \theta =\frac{x}{|v|}\hfill & \text{and}\begin{array}{cc}& \end{array}\hfill & \sin \theta =\frac{y}{|v|}\hfill \\ x=|v|\cos \theta \begin{array}{cc}& \end{array}\hfill & \hfill & y=|v|\sin \theta \hfill \end{array}[/latex]

Thus, [latex]v=xi+yj=|v|\cos \theta i+|v|\sin \theta j[/latex], and magnitude is expressed as [latex]|v|=\sqrt{{x}^{2}+{y}^{2}}[/latex].

Example 13: Writing a Vector in Terms of Magnitude and Direction

Write a vector with length 7 at an angle of 135° to the positive x-axis in terms of magnitude and direction.

Solution

Using the conversion formulas [latex]x=|v|\cos \theta i[/latex] and [latex]y=|v|\sin \theta j[/latex], we find that

[latex]\begin{array}{l}x=7\cos \left(135^\circ \right)i\hfill \\ =-\frac{7\sqrt{2}}{2}\hfill \\ y=7\sin \left(135^\circ \right)j\hfill \\ =\frac{7\sqrt{2}}{2}\hfill \end{array}[/latex]

This vector can be written as [latex]v=7\cos \left(135^\circ \right)i+7\sin \left(135^\circ \right)j[/latex] or simplified as

[latex]v=-\frac{7\sqrt{2}}{2}i+\frac{7\sqrt{2}}{2}j[/latex]

Try It 4

A vector travels from the origin to the point [latex]\left(3,5\right)[/latex]. Write the vector in terms of magnitude and direction.

Solution

 Finding the Dot Product of Two Vectors

As we discussed earlier in the section, scalar multiplication involves multiplying a vector by a scalar, and the result is a vector. As we have seen, multiplying a vector by a number is called scalar multiplication. If we multiply a vector by a vector, there are two possibilities: the dot product and the cross product. We will only examine the dot product here; you may encounter the cross product in more advanced mathematics courses.

The dot product of two vectors involves multiplying two vectors together, and the result is a scalar.

A General Note: Dot Product

The dot product of two vectors [latex]v=\langle a,b\rangle [/latex] and [latex]u=\langle c,d\rangle [/latex] is the sum of the product of the horizontal components and the product of the vertical components.

[latex]v\cdot u=ac+bd[/latex]

To find the angle between the two vectors, use the formula below.

[latex]\cos \theta =\frac{v}{|v|}\cdot \frac{u}{|u|}[/latex]

Example 14: Finding the Dot Product of Two Vectors

Find the dot product of [latex]v=\langle 5,12\rangle [/latex] and [latex]u=\langle -3,4\rangle [/latex].

Solution

Using the formula, we have

[latex]\begin{array}{l}v\cdot u=\langle 5,12\rangle \cdot \langle -3,4\rangle \hfill \\ =5\cdot \left(-3\right)+12\cdot 4\hfill \\ =-15+48\hfill \\ =33\hfill \end{array}[/latex]

Example 15: Finding the Dot Product of Two Vectors and the Angle between Them

Find the dot product of v1 = 5i + 2j and v2 = 3i + 7j. Then, find the angle between the two vectors.

Solution

Finding the dot product, we multiply corresponding components.

[latex]\begin{array}{l}{v}_{1}\cdot {v}_{2}=\langle 5,2\rangle \cdot \langle 3,7\rangle \hfill \\ =5\cdot 3+2\cdot 7\hfill \\ =15+14\hfill \\ =29\hfill \end{array}[/latex]

To find the angle between them, we use the formula [latex]\cos \theta =\frac{v}{|v|}\cdot \frac{u}{|u|}[/latex].

[latex]\begin{array}{l}\frac{v}{|v|}\cdot \frac{u}{|u|}=\langle \frac{5}{\sqrt{29}}+\frac{2}{\sqrt{29}}\rangle \cdot \langle \frac{3}{\sqrt{58}}+\frac{7}{\sqrt{58}}\rangle \hfill \\ =\frac{5}{\sqrt{29}}\cdot \frac{3}{\sqrt{58}}+\frac{2}{\sqrt{29}}\cdot \frac{7}{\sqrt{58}}\hfill \\ =\frac{15}{\sqrt{1682}}+\frac{14}{\sqrt{1682}}=\frac{29}{\sqrt{1682}}\hfill \\ \begin{array}{l}=0.707107\hfill \\ {\cos }^{-1}\left(0.707107\right)=45^\circ \hfill \end{array}\hfill \end{array}[/latex]
Plot showing the two position vectors (3,7) and (5,2) and the 45 degree angle between them.

Figure 17

Example 16: Finding the Angle between Two Vectors

Find the angle between [latex]u=\langle -3,4\rangle [/latex] and [latex]v=\langle 5,12\rangle [/latex].

Solution

Using the formula, we have

[latex]\begin{array}{l}\theta ={\cos }^{-1}\left(\frac{u}{|u|}\cdot \frac{v}{|v|}\right)\hfill \\ \left(\frac{u}{|u|}\cdot \frac{v}{|v|}\right)=\frac{-3i+4j}{5}\cdot \frac{5i+12j}{13}\hfill \\ =\left(-\frac{3}{5}\cdot \frac{5}{13}\right)+\left(\frac{4}{5}\cdot \frac{12}{13}\right)\hfill \\ =-\frac{15}{65}+\frac{48}{65}\hfill \\ =\frac{33}{65}\hfill \\ \theta ={\cos }^{-1}\left(\frac{33}{65}\right)\hfill \\ ={59.5}^{\circ }\hfill \end{array}[/latex]
Plot showing the two position vectors (-3,4) and (5,12) and the 59.5 degree angle between them.

Figure 18

Example 17: Finding Ground Speed and Bearing Using Vectors

We now have the tools to solve the problem we introduced in the opening of the section.

An airplane is flying at an airspeed of 200 miles per hour headed on a SE bearing of 140°. A north wind (from north to south) is blowing at 16.2 miles per hour. What are the ground speed and actual bearing of the plane?

Image of a plan flying SE at 140 degrees and the north wind blowing.

Figure 19

Solution

The ground speed is represented by [latex]x[/latex] in the diagram, and we need to find the angle [latex]\alpha [/latex] in order to calculate the adjusted bearing, which will be [latex]140^\circ +\alpha [/latex].

Notice in Figure 19, that angle [latex]BCO[/latex] must be equal to angle [latex]AOC[/latex] by the rule of alternating interior angles, so angle [latex]BCO[/latex] is 140°. We can find [latex]x[/latex] by the Law of Cosines:

[latex]\begin{array}{l}{x}^{2}={\left(16.2\right)}^{2}+{\left(200\right)}^{2}-2\left(16.2\right)\left(200\right)\cos \left(140^\circ \right)\hfill \\ {x}^{2}=45,226.41\hfill \\ x=\sqrt{45,226.41}\hfill \\ x=212.7\hfill \end{array}[/latex]

The ground speed is approximately 213 miles per hour. Now we can calculate the bearing using the Law of Sines.

[latex]\begin{array}{l}\frac{\sin \alpha }{16.2}=\frac{\sin \left(140^\circ \right)}{212.7}\hfill \\ \sin \alpha =\frac{16.2\sin \left(140^\circ \right)}{212.7}\hfill \\ =0.04896\hfill \\ {\sin }^{-1}\left(0.04896\right)=2.8^\circ \hfill \end{array}[/latex]

Therefore, the plane has a SE bearing of 140°+2.8°=142.8°. The ground speed is 212.7 miles per hour.

 

Key Concepts

  • The position vector has its initial point at the origin.
  • If the position vector is the same for two vectors, they are equal.
  • Vectors are defined by their magnitude and direction.
  • If two vectors have the same magnitude and direction, they are equal.
  • Vector addition and subtraction result in a new vector found by adding or subtracting corresponding elements.
  • Scalar multiplication is multiplying a vector by a constant. Only the magnitude changes; the direction stays the same.
  • Vectors are comprised of two components: the horizontal component along the positive x-axis, and the vertical component along the positive y-axis.
  • The unit vector in the same direction of any nonzero vector is found by dividing the vector by its magnitude.
  • The magnitude of a vector in the rectangular coordinate system is [latex]|v|=\sqrt{{a}^{2}+{b}^{2}}[/latex].
  • In the rectangular coordinate system, unit vectors may be represented in terms of [latex]i[/latex] and [latex]j[/latex] where [latex]i[/latex] represents the horizontal component and [latex]j[/latex] represents the vertical component. Then, v = ai + bj is a scalar multiple of [latex]v[/latex] by real numbers [latex]a\text{ and }b[/latex].
  • Adding and subtracting vectors in terms of i and j consists of adding or subtracting corresponding coefficients of i and corresponding coefficients of j.
  • A vector v = ai + bj is written in terms of magnitude and direction as [latex]v=|v|\cos \theta i+|v|\sin \theta j[/latex].
  • The dot product of two vectors is the product of the [latex]i[/latex] terms plus the product of the [latex]j[/latex] terms.
  • We can use the dot product to find the angle between two vectors.
  • Dot products are useful for many types of physics applications.

Glossary

dot product
given two vectors, the sum of the product of the horizontal components and the product of the vertical components
initial point
the origin of a vector
magnitude
the length of a vector; may represent a quantity such as speed, and is calculated using the Pythagorean Theorem
resultant
a vector that results from addition or subtraction of two vectors, or from scalar multiplication
scalar
a quantity associated with magnitude but not direction; a constant
scalar multiplication
the product of a constant and each component of a vector
standard position
the placement of a vector with the initial point at [latex]\left(0,0\right)[/latex] and the terminal point [latex]\left(a,b\right)[/latex], represented by the change in the x-coordinates and the change in the y-coordinates of the original vector
terminal point
the end point of a vector, usually represented by an arrow indicating its direction
unit vector
a vector that begins at the origin and has magnitude of 1; the horizontal unit vector runs along the x-axis and is defined as [latex]{v}_{1}=\langle 1,0\rangle [/latex] the vertical unit vector runs along the y-axis and is defined as [latex]{v}_{2}=\langle 0,1\rangle [/latex].
vector
a quantity associated with both magnitude and direction, represented as a directed line segment with a starting point (initial point) and an end point (terminal point)
vector addition
the sum of two vectors, found by adding corresponding components

Section Exercises

1. What are the characteristics of the letters that are commonly used to represent vectors?

2. How is a vector more specific than a line segment?

3. What are i and j, and what do they represent?

4. What is component form?

5. When a unit vector is expressed as [latex]\langle a,b\rangle[/latex], which letter is the coefficient of the i and which the j?

6. Given a vector with initial point (5,2) and terminal point (−1,−3), find an equivalent vector whose initial point is (0,0). Write the vector in component form [latex]\langle a,b\rangle[/latex].

7. Given a vector with initial point (−4,2) and terminal point (3,−3), find an equivalent vector whose initial point is (0,0). Write the vector in component form [latex]\langle a,b\rangle[/latex].

8. Given a vector with initial point (7,−1) and terminal point (−1,−7), find an equivalent vector whose initial point is (0,0). Write the vector in component form [latex]\langle a,b\rangle[/latex].

For the following exercises, determine whether the two vectors u and v are equal, where u has an initial point [latex]P_{1}[/latex] and a terminal point [latex]P_{2}[/latex] and v has an initial point [latex]P3[/latex] and a terminal point [latex]P4[/latex].

9. [latex]P_{1}=\left(5,1\right)\text{, }P_{2}=\left(3,−2\right),P_{3}=\left(−1,3\right)[/latex], and [latex]P_{4}=\left(9,−4\right)[/latex]

10. [latex]P_{1}=\left(2,−3\right),P_{2}=\left(5,1\right),P_{3}=\left(6,−1\right)[/latex], and [latex]P_{4}=\left(9,3\right)[/latex]

11. [latex]P_{1}=\left(−1,−1\right),P_{2}=\left(−4,5\right),P_{3}=\left(−10,6\right)[/latex], and [latex]P_{4}=\left(−13,12\right)[/latex]

12. [latex]P_{1}=\left(3,7\right),P_{2}=\left(2,1\right),P_{3}=\left(1,2\right)[/latex], and [latex]P_{4}=\left(−1,−4\right)[/latex]

13. [latex]P_{1}=\left(8,3\right),P_{2}=\left(6,5\right),P_{3}=\left(11,8\right)[/latex], and [latex]P_{4}=\left(9,10\right)[/latex]

14. Given initial point [latex]P_{1}=\left(−3,1\right)[/latex] and terminal point [latex]P_{2}=\left(5,2\right)[/latex], write the vector in terms of and j.

15. Given initial point [latex]P_{1}=\left(6,0\right)[/latex] and terminal point [latex]P_{2}=\left(−1,−3\right)[/latex], write the vector v in terms of i and j.

For the following exercises, use the vectors [latex]u=i+5j[/latex], [latex]v=−2i−3j[/latex], and [latex]w=4i−j[/latex].

16. Find [latex]u+\left(v−w\right)[/latex]

17. Find [latex]4v+2u[/latex]

For the following exercises, use the given vectors to compute [latex]u+v[/latex], [latex]u−v[/latex], and [latex]2u−3v[/latex].

18. [latex]u=\langle 2,−3\rangle,v=\langle 1,5\rangle[/latex]

19. [latex]u=\langle−3,4\rangle,v=\langle−2,1\rangle[/latex]

20. Let [latex]v=−4i+3j[/latex]. Find a vector that is half the length and points in the same direction as v.

21. Let [latex]v=5i+2j[/latex]. Find a vector that is twice the length and points in the opposite direction as v.

For the following exercises, find a unit vector in the same direction as the given vector.

22. [latex]a=3i+4j[/latex]

23. [latex]b=−2i+5j[/latex]

24. [latex]c=10i–j[/latex]

25. [latex]d=–\frac{1}{3}i+\frac{5}{2}j[/latex]

26. [latex]u=100i+200j[/latex]

27. [latex]u=–14i+2j[/latex]

For the following exercises, find the magnitude and direction of the vector, [latex]0\leq\theta<2\pi[/latex].

28. [latex]\langle 0,4\rangle[/latex]

29. [latex]\langle 6,5\rangle[/latex]

30. [latex]\langle 2,–5\rangle[/latex]

31. [latex]\langle –4,–6\rangle[/latex]

32. Given [latex]u=3i−4j[/latex] and [latex]v=−2i+3j[/latex], calculate [latex]u\times v[/latex].

33. Given [latex]u=−i−j[/latex] and [latex]v=i+5j[/latex], calculate [latex]u\times v[/latex].

34. Given [latex]u=\langle−2,4\rangle[/latex] and [latex]v=\langle−3,1\rangle[/latex], calculate [latex]u\times v[/latex].

35. Given [latex]u=\langle−1,6\rangle[/latex] and [latex]v=\langle 6,−1\rangle[/latex], calculate [latex]u\times v[/latex].

For the following exercises, given v, draw v, 3v, and [latex]\frac{1}{2}v[/latex].

36. [latex]\langle 2,−1\rangle[/latex]

37. [latex]\langle −1,4\rangle[/latex]

38. [latex]\langle−3,−2\rangle[/latex]

For the following exercises, use the vectors shown to sketch [latex]u+v[/latex], [latex]u−v[/latex], and [latex]2u[/latex].

39.
Plot of vectors u and v extending from the same origin point. In terms of that point, u goes to (1,1) and v goes to (-1,2).

40.
Plot of vectors u and v extending from the same origin point. In terms of that point, u goes to (1,2) and v goes to (1,-1).

41.
Plot of vectors u and v located head to tail. Take u's start point as the origin. In terms of that, u goes from the origin to (3,-2), and v goes from (3,-2) to (2,-3)

For the following exercises, use the vectors shown to sketch [latex]2u+v[/latex].

42.
Plot of the vectors u and v extending from the same point. Taking that base point as the origin, u goes from the origin to (3,1) and v goes from the origin to (2,-2).

43.
Plot of the vectors u and v extending from the same point. Taking that base point as the origin, u goes from the origin to (1,-2) and v goes from the origin to (-3,-2).

For the following exercises, use the vectors shown to sketch [latex]u−3v[/latex].

44.
Plot of the vectors u and v extending from the same point. Taking that base point as the origin, u goes from the origin to (-4,0) and v goes from the origin to (1,-1).

45.
Plot of the vectors u and v extending from the same point. Taking that base point as the origin, u goes from the origin to (1,2) and v goes from the origin to (-2,1).

For the following exercises, write the vector shown in component form.

46.
Vector going from the origin to (-4,2).

47.
Insert figure(table) alt text: Vector going from the origin to (4,1).

48. Given initial point [latex]P_{1}=\left(2,1\right)[/latex] and terminal point [latex]P_{2}=\left(−1,2\right)[/latex],write the vector v in terms of i and j, then draw the vector on the graph.

49. Given initial point [latex]P_{1}=\left(4,−1\right)[/latex] and terminal point [latex]P_{2}=\left(−3,2\right)[/latex], write the vector v in terms of i and j. Draw the points and the vector on the graph.

50. Given initial point [latex]P_{1}=\left(3,3\right)[/latex] and terminal point [latex]P_{2}=\left(−3,3\right)[/latex], write the vector v in terms of i and j. Draw the points and the vector on the graph.

For the following exercises, use the given magnitude and direction in standard position, write the vector in component form.

51. [latex]|v|=6,\theta=45^{\circ}[/latex]

52. [latex]|v|=8,\theta=220^{\circ}[/latex]

53. [latex]|v|=2,\theta=300^{\circ}[/latex]

54. [latex]|v|=5,\theta=135^{\circ}[/latex]

55. A 60-pound box is resting on a ramp that is inclined 12°. Rounding to the nearest tenth,

Find the magnitude of the normal (perpendicular) component of the force.
Find the magnitude of the component of the force that is parallel to the ramp.

56. A 25-pound box is resting on a ramp that is inclined 8°. Rounding to the nearest tenth,

Find the magnitude of the normal (perpendicular) component of the force.
Find the magnitude of the component of the force that is parallel to the ramp.

57. Find the magnitude of the horizontal and vertical components of a vector with magnitude 8 pounds pointed in a direction of [latex]27^{\circ}[/latex] above the horizontal. Round to the nearest hundredth.

58. Find the magnitude of the horizontal and vertical components of the vector with magnitude 4 pounds pointed in a direction of [latex]127^{\circ}[/latex] above the horizontal. Round to the nearest hundredth.

59. Find the magnitude of the horizontal and vertical components of the vector with magnitude 5 pounds pointed in a direction of [latex]55^{\circ}[/latex] above the horizontal. Round to the nearest hundredth.

60. Find the magnitude of the horizontal and vertical components of the vector with magnitude 1 pound pointed in a direction of [latex]8^{\circ}[/latex] above the horizontal. Round to the nearest hundredth.

61. A woman leaves home and walks 3 miles west, then 2 miles southwest. How far from home is she, and in what direction must she walk to head directly home?

62. A boat leaves the marina and sails 6 miles north, then 2 miles northeast. How far from the marina is the boat, and in what direction must it sail to head directly back to the marina?

63. A man starts walking from home and walks 4 miles east, 2 miles southeast, 5 miles south, 4 miles southwest, and 2 miles east. How far has he walked? If he walked straight home, how far would he have to walk?

64. A woman starts walking from home and walks 4 miles east, 7 miles southeast, 6 miles south, 5 miles southwest, and 3 miles east. How far has she walked? If she walked straight home, how far would she have to walk?

65. A man starts walking from home and walks 3 miles at [latex]20^{\circ}[/latex] north of west, then 5 miles at [latex]10^{\circ}[/latex] west of south, then 4 miles at [latex]15^{\circ}[/latex] north of east. If he walked straight home, how far would he have to the walk, and in what direction?

66. A woman starts walking from home and walks 6 miles at [latex]40^{\circ}[/latex] north of east, then 2 miles at [latex]15^{\circ}[/latex] east of south, then 5 miles at [latex]30^{\circ}[/latex] south of west. If she walked straight home, how far would she have to walk, and in what direction?

67. An airplane is heading north at an airspeed of 600 km/hr, but there is a wind blowing from the southwest at 80 km/hr. How many degrees off course will the plane end up flying, and what is the plane’s speed relative to the ground?

68. An airplane is heading north at an airspeed of 500 km/hr, but there is a wind blowing from the northwest at 50 km/hr. How many degrees off course will the plane end up flying, and what is the plane’s speed relative to the ground?

69. An airplane needs to head due north, but there is a wind blowing from the southwest at 60 km/hr. The plane flies with an airspeed of 550 km/hr. To end up flying due north, how many degrees west of north will the pilot need to fly the plane?

70. An airplane needs to head due north, but there is a wind blowing from the northwest at 80 km/hr. The plane flies with an airspeed of 500 km/hr. To end up flying due north, how many degrees west of north will the pilot need to fly the plane?

71. As part of a video game, the point (5,7) is rotated counterclockwise about the origin through an angle of [latex]35^{\circ}[/latex]. Find the new coordinates of this point.

72. As part of a video game, the point (7,3) is rotated counterclockwise about the origin through an angle of [latex]40^{\circ}[/latex]. Find the new coordinates of this point.

73. Two children are throwing a ball back and forth straight across the back seat of a car. The ball is being thrown 10 mph relative to the car, and the car is traveling 25 mph down the road. If one child doesn’t catch the ball, and it flies out the window, in what direction does the ball fly (ignoring wind resistance)?

74. Two children are throwing a ball back and forth straight across the back seat of a car. The ball is being thrown 8 mph relative to the car, and the car is traveling 45 mph down the road. If one child doesn’t catch the ball, and it flies out the window, in what direction does the ball fly (ignoring wind resistance)?

75. A 50-pound object rests on a ramp that is inclined 19°. Find the magnitude of the components of the force parallel to and perpendicular to (normal) the ramp to the nearest tenth of a pound.

76. Suppose a body has a force of 10 pounds acting on it to the right, 25 pounds acting on it upward, and 5 pounds acting on it 45° from the horizontal. What single force is the resultant force acting on the body?

77. Suppose a body has a force of 10 pounds acting on it to the right, 25 pounds acting on it ─135° from the horizontal, and 5 pounds acting on it directed 150° from the horizontal. What single force is the resultant force acting on the body?

78. The condition of equilibrium is when the sum of the forces acting on a body is the zero vector. Suppose a body has a force of 2 pounds acting on it to the right, 5 pounds acting on it upward, and 3 pounds acting on it 45° from the horizontal. What single force is needed to produce a state of equilibrium on the body?

79. Suppose a body has a force of 3 pounds acting on it to the left, 4 pounds acting on it upward, and 2 pounds acting on it [latex]30^{\circ}[/latex] from the horizontal. What single force is needed to produce a state of equilibrium on the body? Draw the vector.