6.1 Vectors

Learning Outcomes

  • 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]\boldsymbol{v}[/latex] .
  • Perform operations with vectors in terms of [latex]\boldsymbol{i}[/latex] and [latex]\boldsymbol{j}[/latex] .

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]\boldsymbol{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{align}\stackrel{\to }{AB}&=\langle {x}_{2}-{x}_{1},{y}_{2}-{y}_{1}\rangle \\ &=\langle a,b\rangle \end{align}[/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.

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

Find the position vector given that vector v 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.

Try It

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

Try It

 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]\boldsymbol{v}[/latex] [latex]=\langle a,b\rangle[/latex], the magnitude is found by [latex]|\boldsymbol{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.

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.

 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]\boldsymbol{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]\boldsymbol{u}[/latex] [latex]=\langle 3,-2\rangle[/latex] and [latex]\boldsymbol{v}[/latex] [latex]=\langle -1,4\rangle[/latex], find two new vectors u + v, and uv.

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]\boldsymbol{v}[/latex] [latex]=\langle a,b\rangle[/latex] by [latex]k[/latex] , we have

[latex]k\boldsymbol{v}=\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]\boldsymbol{v}[/latex] [latex]=\langle 3,1\rangle[/latex], find 3v, [latex]\frac{1}{2}[/latex] v, and −v.

Try It

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

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

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

Try It

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{align}{\boldsymbol{v}}_{1}&=\langle 2 - 0,0 - 0\rangle \\ &=\langle 2,0\rangle \end{align}[/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{align}{\boldsymbol{v}}_{2}&=\langle 0 - 0,3 - 0\rangle \\ &=\langle 0,3\rangle \end{align}[/latex]

Therefore, the position vector is

[latex]\begin{align}\boldsymbol{v}&=\langle 2+0,3+0\rangle \\ &=\langle 2,3\rangle \end{align}[/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{align}|\boldsymbol{v}|&=\sqrt{|{\boldsymbol{v}}_{1}{|}^{2}+|{\boldsymbol{v}}_{2}{|}^{2}} \\ &=\sqrt{{2}^{2}+{3}^{2}} \\ &=\sqrt{13} \end{align}[/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{align}&\tan \theta =\frac{{\boldsymbol{v}}_{2}}{{\boldsymbol{v}}_{1}} \\ &\tan \theta =\frac{3}{2} \\ &\theta ={\tan }^{-1}\left(\frac{3}{2}\right)=56.3^\circ \end{align}[/latex]
Diagram of a vector in root position with its horizontal and vertical components.

Figure 12

Thus, the magnitude of [latex]\boldsymbol{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]\boldsymbol{v}[/latex] with initial point [latex]\left(3,2\right)[/latex] and terminal point [latex]\left(7,4\right)[/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]\boldsymbol{i}=\langle 1,0\rangle[/latex] and is directed along the positive horizontal axis. The vertical unit vector is written as [latex]\boldsymbol{j}=\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]\boldsymbol{v}[/latex] is a nonzero vector, then [latex]\dfrac{\boldsymbol{v}}{|\boldsymbol{v}|}[/latex] is a unit vector in the direction of [latex]\boldsymbol{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]\boldsymbol{v}=\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]\boldsymbol{v}=\left({x}_{2}-{x}_{1}\right)\boldsymbol{i}+\left({y}_{1}-{y}_{2}\right)\boldsymbol{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]|\boldsymbol{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]\boldsymbol{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]\boldsymbol{i}[/latex] and [latex]\boldsymbol{j}[/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]\boldsymbol{v}[/latex] in terms of [latex]\boldsymbol{i}[/latex] and [latex]\boldsymbol{j}[/latex].

Try It

Write the vector [latex]\boldsymbol{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]\boldsymbol{i}[/latex] and [latex]\boldsymbol{j}[/latex].

Performing Operations on Vectors in Terms of i and j

When vectors are written in terms of i and j, 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{gathered}\boldsymbol{v}+\boldsymbol{u}=\left(a+c\right)\boldsymbol{i}+\left(b+d\right)\boldsymbol{j}\\ \boldsymbol{v}-\boldsymbol{u}=\left(a-c\right)\boldsymbol{i}+\left(b-d\right)\boldsymbol{j}\end{gathered}[/latex]

Example 12: Finding the Sum of the Vectors

Find the sum of [latex]{\boldsymbol{v}}_{1}=2\boldsymbol{i} - 3\boldsymbol{j}[/latex] and [latex]{\boldsymbol{v}}_{2}=4\boldsymbol{i}+5\boldsymbol{j}[/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 |vreplacing r.

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

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

[latex]\begin{align}&\cos \theta =\frac{x}{|\boldsymbol{v}|}&& \text{and}&& \sin \theta =\frac{y}{|\boldsymbol{v}|} \\ &x=|\boldsymbol{v}|\cos \theta &&&& y=|\boldsymbol{v}|\sin \theta \end{align}[/latex]

Thus, [latex]\boldsymbol{v}=x\boldsymbol{i}+y\boldsymbol{j}=|\boldsymbol{v}|\cos \theta \boldsymbol{i}+|v|\sin \theta \boldsymbol{j}[/latex], and magnitude is expressed as [latex]|\boldsymbol{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.

Try It

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

Try It

 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]|\boldsymbol{v}|=\sqrt{{a}^{2}+{b}^{2}}[/latex].
  • In the rectangular coordinate system, unit vectors may be represented in terms of i and j where i represents the horizontal component and j represents the vertical component. Then, v = ai + bj is a scalar multiple of v 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]\boldsymbol{v}=|\boldsymbol{v}|\cos \theta \boldsymbol{i}+|\boldsymbol{v}|\sin \theta \boldsymbol{j}[/latex].

Glossary

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