Learning

open
close

Vectors

June 15, 2024 | by Bloom Code Studio

Learning Objectives

In this section you will:

  • 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  v𝑣.
  • Perform operations with vectors in terms of  i𝑖  and  j𝑗.
  • 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

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Β v,𝑣,Β u,𝑒,Β w,𝑀,Β vβƒ—Β ,𝑣→,Β uβƒ—Β ,wβƒ—Β .𝑒→,𝑀→.
  • Given initial pointΒ P𝑃 and terminal pointΒ Q,𝑄,Β a vector can be represented asΒ PQβˆ’β†’βˆ’.𝑃𝑄→.Β The arrowhead on top is what indicates that it is not just a line, but a directed line segment.
  • Given an initial point ofΒ (0,0)(0,0)Β and terminal pointΒ (a,b),(π‘Ž,𝑏),Β a vector may be represented as ⟨a,b⟩.γ€ˆπ‘Ž,𝑏〉.

This last symbol βŸ¨a,bβŸ©γ€ˆπ‘Ž,𝑏〉 has special significance. It is called the standard position. The position vector has an initial point (0,0)(0,0) and a terminal point (a,b).(π‘Ž,𝑏). 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 CDβˆ’β†’βˆ’πΆπ·β†’ is C(x1,y1)𝐢(π‘₯1,𝑦1) and the terminal point is D(x2,y2),𝐷(π‘₯2,𝑦2), then the position vector is found by calculating

Abβˆ’β†’=⟨x2βˆ’x1,y2βˆ’y1⟩=⟨a,bβŸ©π΄π‘β†’=γ€ˆπ‘₯2βˆ’π‘₯1,𝑦2βˆ’π‘¦1〉=γ€ˆπ‘Ž,𝑏〉

InΒ Figure 2, we see the original vectorΒ CDβˆ’β†’βˆ’πΆπ·β†’Β and the position vectorΒ Abβˆ’β†’.𝐴𝑏→.

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

Figure 2

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 (0,0)(0,0) and is identified by its terminal point (a,b).(π‘Ž,𝑏).

EXAMPLE 1

Find the Position Vector

Consider the vector whose initial point is P(2,3)𝑃(2,3) and terminal point is Q(6,4).𝑄(6,4). 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

v=⟨6βˆ’2,4βˆ’3⟩=⟨4,1βŸ©π‘£=γ€ˆ6βˆ’2,4βˆ’3〉=γ€ˆ4,1〉

The position vector begins atΒ (0,0)(0,0)Β and terminates atΒ (4,1).(4,1).Β 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 βŸ¨4,1⟩.γ€ˆ4,1〉.

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 (βˆ’3,2)(βˆ’3,2) and a terminal point at (4,5),(4,5), then graph both vectors in the same plane.

Solution

The position vector is found using the following calculation:

v=⟨4βˆ’(βˆ’3),5βˆ’2⟩  =⟨7,3βŸ©π‘£=γ€ˆ4βˆ’(βˆ’3),5βˆ’2〉  =γ€ˆ7,3〉

Thus, the position vector begins atΒ (0,0)(0,0)Β and terminates atΒ (7,3).(7,3).Β SeeΒ Figure 4.

Plot of the two given vectors their same position vector.

Figure 4

TRY IT #1

Draw a vector v𝑣 that connects from the origin to the point (3,5).(3,5).

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.

MAGNITUDE AND DIRECTION OF A VECTOR

Given a position vectorΒ v𝑣 =⟨a,b⟩,=γ€ˆπ‘Ž,𝑏〉,Β the magnitude is found byΒ |v|=a2+b2βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆš.|𝑣|=π‘Ž2+𝑏2.Β 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Β tanΞΈ=(ba)β‡’ΞΈ=tanβˆ’1(ba),tanπœƒ=(π‘π‘Ž)β‡’πœƒ=tanβˆ’1(π‘π‘Ž),Β 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 P(βˆ’8,1)𝑃(βˆ’8,1) and terminal point Q(βˆ’2,βˆ’5).𝑄(βˆ’2,βˆ’5). Draw the vector.

Solution

First, find the position vector.

u=βŸ¨βˆ’2,βˆ’(βˆ’8),βˆ’5βˆ’1⟩  =⟨6,βˆ’6βŸ©π‘’=γ€ˆβˆ’2,βˆ’(βˆ’8),βˆ’5βˆ’1〉  =γ€ˆ6,βˆ’6〉

We use the Pythagorean Theorem to find the magnitude.

∣∣∣u∣∣∣=(6)2+(βˆ’6)2βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆš=72βˆ’βˆ’βˆš=62β€“βˆš|𝑒|=(6)2+(βˆ’6)2=72=62

The direction is given as

tanΞΈ=βˆ’66=βˆ’1β‡’ΞΈ=tanβˆ’1(βˆ’1)=βˆ’45Β°tanπœƒ=βˆ’66=βˆ’1β‡’πœƒ=tanβˆ’1(βˆ’1)=βˆ’45Β°

However, the angle terminates in the fourth quadrant, so we add 360Β° to obtain a positive angle. Thus,Β βˆ’45Β°+360Β°=315Β°.βˆ’45Β°+360Β°=315Β°.Β SeeΒ Figure 6.

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 (5,βˆ’3)(5,βˆ’3) and terminal point at (βˆ’1,2)(βˆ’1,2) is equal to vector u with initial point at (βˆ’1,βˆ’3)(βˆ’1,βˆ’3) and terminal point at (βˆ’7,2).(βˆ’7,2). 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 v𝑣 starting at initial (5,βˆ’3)(5,βˆ’3) and terminal point (βˆ’1,2).(βˆ’1,2). Draw the vector u𝑒 with initial point (βˆ’1,βˆ’3)(βˆ’1,βˆ’3) and terminal point (βˆ’7,2).(βˆ’7,2). Find the standard position for each.

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

v=βŸ¨βˆ’1βˆ’5,2βˆ’(βˆ’3)⟩  =βŸ¨βˆ’6,5⟩u=βŸ¨βˆ’7βˆ’(βˆ’1),2βˆ’(βˆ’3)⟩  =βŸ¨βˆ’6,5βŸ©π‘£=γ€ˆβˆ’1βˆ’5,2βˆ’(βˆ’3)〉  =γ€ˆβˆ’6,5〉𝑒=γ€ˆβˆ’7βˆ’(βˆ’1),2βˆ’(βˆ’3)〉  =γ€ˆβˆ’6,5〉

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.

∣∣∣v∣∣∣=(βˆ’1βˆ’5)2+(2βˆ’(βˆ’3))2βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆš=(βˆ’6)2+(5)2βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆš=36+25βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆš=61βˆ’βˆ’βˆšβˆ£βˆ£βˆ£u∣∣∣=(βˆ’7βˆ’(βˆ’1))2+(2βˆ’(βˆ’3))2βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆš=(βˆ’6)2+(5)2βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆš=36+25βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆš=61βˆ’βˆ’βˆš|𝑣|=(βˆ’1βˆ’5)2+(2βˆ’(βˆ’3))2=(βˆ’6)2+(5)2=36+25=61|𝑒|=(βˆ’7βˆ’(βˆ’1))2+(2βˆ’(βˆ’3))2=(βˆ’6)2+(5)2=36+25=61

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

tanΞΈ=βˆ’56β‡’ΞΈ=tanβˆ’1(βˆ’56)=βˆ’39.8Β°tanπœƒ=βˆ’56β‡’πœƒ=tanβˆ’1(βˆ’56)=βˆ’39.8Β°

However, we can see that the position vector terminates in the second quadrant, so we add 180Β°.180Β°. Thus, the direction is βˆ’39.8Β°+180Β°=140.2Β°.βˆ’39.8Β°+180Β°=140.2Β°.

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 u𝑒 =⟨x,y⟩=γ€ˆπ‘₯,𝑦〉 as an arrow or directed line segment from the origin to the point (x,y),(π‘₯,𝑦), vectors can be situated anywhere in the plane. The sum of two vectors u and v, or vector addition, produces a third vector uv, 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Β uΒ βˆ’Β v, 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 u𝑒 =⟨3,βˆ’2⟩=γ€ˆ3,βˆ’2〉 and v𝑣 =βŸ¨βˆ’1,4⟩,=γ€ˆβˆ’1,4〉, find two new vectors u + v, and u βˆ’ v.

Solution

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

u+v=⟨3,βˆ’2⟩+βŸ¨βˆ’1,4⟩=⟨3+(βˆ’1),βˆ’2+4⟩=⟨2,2βŸ©π‘’+𝑣=γ€ˆ3,βˆ’2〉+γ€ˆβˆ’1,4〉=γ€ˆ3+(βˆ’1),βˆ’2+4〉=γ€ˆ2,2〉

SeeΒ Figure 10(a).

To find the difference of two vectors, add the negative components of v𝑣 to u.𝑒. Thus,

u+(βˆ’v)=⟨3,βˆ’2⟩+⟨1,βˆ’4⟩=⟨3+1,βˆ’2+(βˆ’4)⟩=⟨4,βˆ’6βŸ©π‘’+(βˆ’π‘£)=γ€ˆ3,βˆ’2〉+γ€ˆ1,βˆ’4〉=γ€ˆ3+1,βˆ’2+(βˆ’4)〉=γ€ˆ4,βˆ’6〉

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.

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 v𝑣 =⟨a,b⟩=γ€ˆπ‘Ž,𝑏〉 by kπ‘˜, we have

kv=⟨ka,kbβŸ©π‘˜π‘£=γ€ˆπ‘˜π‘Ž,π‘˜π‘γ€‰

Only the magnitude changes, unless kπ‘˜ is negative, and then the vector reverses direction.

EXAMPLE 6

Performing Scalar Multiplication

Given vector v𝑣 =⟨3,1⟩,=γ€ˆ3,1〉, find 3v, 1212 v,𝑣, and βˆ’v.

Solution

SeeΒ Figure 11Β for a geometric interpretation. IfΒ v𝑣 =⟨3,1⟩,=γ€ˆ3,1〉,Β then

3v=⟨3β‹…3,3β‹…1⟩=⟨9,3⟩12v=⟨12β‹…3,12β‹…1⟩=⟨32,12βŸ©βˆ’v=βŸ¨βˆ’3,βˆ’1⟩3𝑣=γ€ˆ3β‹…3,3β‹…1〉=γ€ˆ9,3〉12𝑣=γ€ˆ12β‹…3,12β‹…1〉=γ€ˆ32,12γ€‰βˆ’π‘£=γ€ˆβˆ’3,βˆ’1〉

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

Notice that the vector 3v is three times the length of v, 1212 v𝑣 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 u𝑒 given u𝑒 =⟨5,4⟩.=γ€ˆ5,4〉.

EXAMPLE 7

Using Vector Addition and Scalar Multiplication to Find a New Vector

Given u𝑒 =⟨3,βˆ’2⟩=γ€ˆ3,βˆ’2〉 and v𝑣 =βŸ¨βˆ’1,4⟩,=γ€ˆβˆ’1,4〉, find a new vector w = 3u + 2v.

Solution

First, we must multiply each vector by the scalar.

3u=3⟨3,βˆ’2⟩=⟨9,βˆ’6⟩2v=2βŸ¨βˆ’1,4⟩=βŸ¨βˆ’2,8⟩3𝑒=3γ€ˆ3,βˆ’2〉=γ€ˆ9,βˆ’6〉2𝑣=2γ€ˆβˆ’1,4〉=γ€ˆβˆ’2,8〉

Then, add the two together.

w=3u+2v=⟨9,βˆ’6⟩+βŸ¨βˆ’2,8⟩=⟨9βˆ’2,βˆ’6+8⟩=⟨7,2βŸ©π‘€=3𝑒+2𝑣=γ€ˆ9,βˆ’6〉+γ€ˆβˆ’2,8〉=γ€ˆ9βˆ’2,βˆ’6+8〉=γ€ˆ7,2〉

So, w𝑀 =⟨7,2⟩.=γ€ˆ7,2〉.

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Β xπ‘₯Β direction, and the vertical component is theΒ y𝑦 direction. For example, we can see in the graph inΒ Figure 12Β that the position vector ⟨2,3βŸ©γ€ˆ2,3〉 comes from adding the vectorsΒ v1Β andΒ v2. We haveΒ v1Β with initial pointΒ (0,0)(0,0)Β and terminal pointΒ (2,0).(2,0).

v1=⟨2βˆ’0,0βˆ’0⟩=⟨2,0βŸ©π‘£1=γ€ˆ2βˆ’0,0βˆ’0〉=γ€ˆ2,0〉

We also have v2 with initial point (0,0)(0,0) and terminal point (0,3).(0,3).

v2=⟨0βˆ’0,3βˆ’0⟩=⟨0,3βŸ©π‘£2=γ€ˆ0βˆ’0,3βˆ’0〉=γ€ˆ0,3〉

Therefore, the position vector is

v=⟨2+0,3+0⟩=⟨2,3βŸ©π‘£=γ€ˆ2+0,3+0〉=γ€ˆ2,3〉

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.

∣∣∣v∣∣∣=|v1|2+|v2|2βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆš=22+32βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆš=13βˆ’βˆ’βˆš|𝑣|=|𝑣1|2+|𝑣2|2=22+32=13

The magnitude of v is 13βˆ’βˆ’βˆš.13. To find the direction, we use the tangent function tanΞΈ=yx.tanπœƒ=𝑦π‘₯.

tanΞΈ=v2v1tanΞΈ=32ΞΈ=tanβˆ’1(32)=56.3Β°tanπœƒ=𝑣2𝑣1tanπœƒ=32πœƒ=tanβˆ’1(32)=56.3Β°

Diagram of a vector in root position with its horizontal and vertical components.

Figure 12

Thus, the magnitude of v𝑣 is 13βˆ’βˆ’βˆš13 and the direction is 56.3∘56.3∘ off the horizontal.

EXAMPLE 8

Finding the Components of the Vector

Find the components of the vector v𝑣 with initial point (3,2)(3,2) and terminal point (7,4).(7,4).

Solution

First find the standard position.

v=⟨7βˆ’3,4βˆ’2⟩=⟨4,2βŸ©π‘£=γ€ˆ7βˆ’3,4βˆ’2〉=γ€ˆ4,2〉

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 v1𝑣1 =⟨4,0⟩=γ€ˆ4,0〉 and the vertical component is v2𝑣2 =⟨0,2⟩.=γ€ˆ0,2〉.

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Β i𝑖 =⟨1,0⟩=γ€ˆ1,0〉 and is directed along the positive horizontal axis. The vertical unit vector is written asΒ j𝑗 =⟨0,1⟩=γ€ˆ0,1〉 and is directed along the positive vertical axis. SeeΒ Figure 14.

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

Figure 14

THE UNIT VECTORS

If v𝑣 is a nonzero vector, then v|v|𝑣|𝑣| is a unit vector in the direction of v.𝑣. 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 v𝑣 =βŸ¨βˆ’5,12⟩.=γ€ˆβˆ’5,12〉.

Solution

First, we will find the magnitude.

∣∣∣v∣∣∣=(βˆ’5)2+(12)2βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆš=25+144βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆš=169βˆ’βˆ’βˆ’βˆš=13|𝑣|=(βˆ’5)2+(12)2=25+144=169=13

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

v|v|=βˆ’513i+1213j𝑣|𝑣|=βˆ’513𝑖+1213𝑗

or, in component form

v|v|=βŸ¨βˆ’513,1213βŸ©π‘£|𝑣|=γ€ˆβˆ’513,1213〉

SeeΒ Figure 15.

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 βˆ’513i+1213jβˆ’513𝑖+1213𝑗 is given as

(βˆ’513)2+(1213)2βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆš=25169+144169βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆš                            =169169βˆ’βˆ’βˆ’βˆš=1(βˆ’513)2+(1213)2=25169+144169                            =169169=1

The vector u =513=513 i +1213+1213 j is the unit vector in the same direction as v =βŸ¨βˆ’5,12⟩.=γ€ˆβˆ’5,12〉.

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.

VECTORS IN THE RECTANGULAR PLANE

Given a vector v𝑣 with initial point P=(x1,y1)𝑃=(π‘₯1,𝑦1) and terminal point Q=(x2,y2),𝑄=(π‘₯2,𝑦2), v is written as

v=(x2βˆ’x1)i+(y2βˆ’y1)j𝑣=(π‘₯2βˆ’π‘₯1)𝑖+(𝑦2βˆ’π‘¦1)𝑗

The position vector from (0,0)(0,0) to (a,b),(π‘Ž,𝑏), where (x2βˆ’x1)=a(π‘₯2βˆ’π‘₯1)=π‘Ž and (y2βˆ’y1)=b,(𝑦2βˆ’π‘¦1)=𝑏, 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Β |v|=a2+b2βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆš.|𝑣|=π‘Ž2+𝑏2.Β SeeΒ Figure 16.

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 v𝑣 with initial point P=(2,βˆ’6)𝑃=(2,βˆ’6) and terminal point Q=(βˆ’6,6),𝑄=(βˆ’6,6), write the vector in terms of i𝑖 and j.𝑗.

Solution

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

v=(x2βˆ’x1)i+(y2βˆ’y1)j=(βˆ’6βˆ’2)i+(6βˆ’(βˆ’6))j=βˆ’8i+12j𝑣=(π‘₯2βˆ’π‘₯1)𝑖+(𝑦2βˆ’π‘¦1)𝑗=(βˆ’6βˆ’2)𝑖+(6βˆ’(βˆ’6))𝑗=βˆ’8𝑖+12𝑗

EXAMPLE 11

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

Given initial point P1=(βˆ’1,3)𝑃1=(βˆ’1,3) and terminal point P2=(2,7),𝑃2=(2,7), write the vector v𝑣 in terms of i𝑖 and j.𝑗.

Solution

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

v=(x2βˆ’x1)i+(y2βˆ’y1)jv=(2βˆ’(βˆ’1))i+(7βˆ’3)j=3i+4j𝑣=(π‘₯2βˆ’π‘₯1)𝑖+(𝑦2βˆ’π‘¦1)𝑗𝑣=(2βˆ’(βˆ’1))𝑖+(7βˆ’3)𝑗=3𝑖+4𝑗

TRY IT #3

Write the vector u𝑒 with initial point P=(βˆ’1,6)𝑃=(βˆ’1,6) and terminal point Q=(7,βˆ’5)𝑄=(7,βˆ’5) in terms of i𝑖 and j.𝑗.

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.

ADDING AND SUBTRACTING VECTORS IN RECTANGULAR COORDINATES

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

v+u=(a+c)i+(b+d)jvβˆ’u=(aβˆ’c)i+(bβˆ’d)j𝑣+𝑒=(π‘Ž+𝑐)𝑖+(𝑏+𝑑)π‘—π‘£βˆ’π‘’=(π‘Žβˆ’π‘)𝑖+(π‘βˆ’π‘‘)𝑗

EXAMPLE 12

Finding the Sum of the Vectors

Find the sum of v1=2iβˆ’3j𝑣1=2π‘–βˆ’3𝑗 and v2=4i+5j.𝑣2=4𝑖+5𝑗.

Solution

According to the formula, we have

v1+v2=(2+4)i+(βˆ’3+5)j=6i+2j𝑣1+𝑣2=(2+4)𝑖+(βˆ’3+5)𝑗=6𝑖+2𝑗

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 iandj.𝑖and𝑗. 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 |v||𝑣| replacing r.π‘Ÿ.

VECTOR COMPONENTS IN TERMS OF MAGNITUDE AND DIRECTION

Given a position vector v=⟨x,yβŸ©π‘£=γ€ˆπ‘₯,𝑦〉 and a direction angle ΞΈ,πœƒ,

cosΞΈ=x|v|x=|v|cosΞΈandsinΞΈ=y|v|y=|v|sinΞΈcosπœƒ=π‘₯|𝑣|andsinπœƒ=𝑦|𝑣|π‘₯=|𝑣|cosπœƒπ‘¦=|𝑣|sinπœƒ

Thus, v=xi+yj=|v|cosΞΈi+|v|sinΞΈj,𝑣=π‘₯𝑖+𝑦𝑗=|𝑣|cosπœƒπ‘–+|𝑣|sinπœƒπ‘—, and magnitude is expressed as |v|=x2+y2βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆš.|𝑣|=π‘₯2+𝑦2.

EXAMPLE 13

Writing a Vector in Component Form When It Is Given in Magnitude and Direction Form

Given a vector with length 7 and an angle of 135Β°, write it in component form.

Solution

Using the conversion formulas x=|v|cosΞΈπ‘₯=|𝑣|cosπœƒ and y=|v|sinΞΈ,𝑦=|𝑣|sinπœƒ, we find that

x=7cos(135Β°)=βˆ’72√2y=7sin(135Β°)=72√2π‘₯=7cos(135Β°)=βˆ’722𝑦=7sin(135Β°)=722

This vector can be written as v=7cos(135Β°)+7sin(135Β°)𝑣=7cos(135Β°)+7sin(135Β°) or simplified as

v=βˆ’72β€“βˆš2i+72β€“βˆš2j𝑣=βˆ’722𝑖+722𝑗

TRY IT #4

A vector travels from the origin to the point (3,5).(3,5). Write the vector in terms of magnitude and direction.

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.

DOT PRODUCT

The dot product of two vectors v=⟨a,bβŸ©π‘£=γ€ˆπ‘Ž,𝑏〉 and u=⟨c,dβŸ©π‘’=γ€ˆπ‘,𝑑〉 is the sum of the product of the horizontal components and the product of the vertical components.

vβ‹…u=ac+bd𝑣⋅𝑒=π‘Žπ‘+𝑏𝑑

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

cosΞΈ=v|v|β‹…u|u|cosπœƒ=𝑣|𝑣|⋅𝑒|𝑒|

EXAMPLE 14

Finding the Dot Product of Two Vectors

Find the dot product of v=⟨5,12βŸ©π‘£=γ€ˆ5,12〉 and u=βŸ¨βˆ’3,4⟩.𝑒=γ€ˆβˆ’3,4〉.

Solution

Using the formula, we have

vβ‹…u=⟨5,12βŸ©β‹…βŸ¨βˆ’3,4⟩=5β‹…(βˆ’3)+12β‹…4=βˆ’15+48=33𝑣⋅𝑒=γ€ˆ5,12γ€‰β‹…γ€ˆβˆ’3,4〉=5β‹…(βˆ’3)+12β‹…4=βˆ’15+48=33

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.

v1β‹…v2=⟨5,2βŸ©β‹…βŸ¨3,7⟩=5β‹…3+2β‹…7=15+14=29𝑣1⋅𝑣2=γ€ˆ5,2γ€‰β‹…γ€ˆ3,7〉=5β‹…3+2β‹…7=15+14=29

To find the angle between them, we use the formula cosΞΈ=v|v|β‹…u|u|.cosπœƒ=𝑣|𝑣|⋅𝑒|𝑒|.

v|v|β‹…u|u|=⟨529√,229βˆšβŸ©β‹…βŸ¨358√,758√⟩=529βˆšβ‹…358√+229βˆšβ‹…758√=151682√+141682√=291682√=0.707107cosβˆ’1(0.707107)=45°𝑣|𝑣|⋅𝑒|𝑒|=γ€ˆ529,229γ€‰β‹…γ€ˆ358,758〉=529β‹…358+229β‹…758=151682+141682=291682=0.707107cosβˆ’1(0.707107)=45Β°

SeeΒ Figure 17.

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 u=βŸ¨βˆ’3,4βŸ©π‘’=γ€ˆβˆ’3,4〉 and v=⟨5,12⟩.𝑣=γ€ˆ5,12〉.

Solution

Using the formula, we have

ΞΈ=cosβˆ’1(u|u|β‹…v|v|)(u|u|β‹…v|v|)=βˆ’3i+4j5β‹…5i+12j13=(βˆ’35β‹…513)+(45β‹…1213)=βˆ’1565+4865=3365ΞΈ=cosβˆ’1(3365)=59.5βˆ˜πœƒ=cosβˆ’1(𝑒|𝑒|⋅𝑣|𝑣|)(𝑒|𝑒|⋅𝑣|𝑣|)=βˆ’3𝑖+4𝑗5β‹…5𝑖+12𝑗13=(βˆ’35β‹…513)+(45β‹…1213)=βˆ’1565+4865=3365πœƒ=cosβˆ’1(3365)=59.5∘

SeeΒ Figure 18.

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? SeeΒ Figure 19.

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

Figure 19

Solution

The ground speed is represented by xπ‘₯ in the diagram, and we need to find the angle Ξ±π›Ό in order to calculate the adjusted bearing, which will be 140Β°+Ξ±.140Β°+𝛼.

Notice inΒ Figure 19, that angleΒ bCO𝑏𝐢𝑂 must be equal to angleΒ AOC𝐴𝑂𝐢 by the rule of alternating interior angles, so angleΒ bCO𝑏𝐢𝑂 is 140Β°. We can findΒ xπ‘₯Β by the Law of Cosines:

x2=(16.2)2+(200)2βˆ’2(16.2)(200)cos(140Β°)x2=45,226.41x=45,226.41βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆ’βˆšx=212.7π‘₯2=(16.2)2+(200)2βˆ’2(16.2)(200)cos(140Β°)π‘₯2=45,226.41π‘₯=45,226.41π‘₯=212.7

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

sinΞ±16.2=sin(140Β°)212.7sinΞ±=16.2sin(140Β°)212.7=0.04896sinβˆ’1(0.04896)=2.8Β°sin𝛼16.2=sin(140Β°)212.7sin𝛼=16.2sin(140Β°)212.7=0.04896sinβˆ’1(0.04896)=2.8Β°

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

RELATED POSTS

View all

view all