Math Core

Lesson 6.2 · Applications of Trigonometry

Vectors in the plane

Some quantities need only a size: a temperature, a mass, a distance. Others need a size and a direction: a wind of 30 mph out of the west, a 50-newton pull up a ramp, a plane flying northeast. Vectors are the tool for these quantities, and the trigonometry you already know is what connects a vector's size and direction to its components.

What a vector is

Definition

Vector

A vector is a quantity with both magnitude (length) and direction. You draw it as an arrow from an initial point to a terminal point. Two arrows with the same length and direction represent the same vector, no matter where they start.

Vectors are written in bold, like v\mathbf{v}, or with an arrow, like v⃗\vec{v}. A plain number, such as 33 or −2.5-2.5, is called a scalar to contrast it with a vector.

Component form

Because only length and direction matter, you can slide any vector so that it starts at the origin. Its terminal point then tells you everything. If a vector runs from P(x1,y1)P(x_1, y_1) to Q(x2,y2)Q(x_2, y_2), its component form is

v=PQ→=⟨x2−x1, y2−y1⟩.\mathbf{v} = \overrightarrow{PQ} = \langle x_2 - x_1,\ y_2 - y_1 \rangle.

The first component is the horizontal change and the second is the vertical change. Angle brackets distinguish a vector ⟨6,8⟩\langle 6, 8 \rangle from the point (6,8)(6, 8). (When you type a vector as an answer on this site, use parentheses: (6, 8).)

The magnitude of v=⟨a,b⟩\mathbf{v} = \langle a, b \rangle comes straight from the Pythagorean theorem:

∥v∥=a2+b2.\|\mathbf{v}\| = \sqrt{a^2 + b^2}.
The vector from P to Q moves 6 right and 8 up, so v = ⟨6, 8⟩ and its length is 10.

Worked example: Component form and magnitude

Find the component form and magnitude of the vector from P(−2,1)P(-2, 1) to Q(4,9)Q(4, 9).

v=⟨4−(−2), 9−1⟩=⟨6,8⟩,∥v∥=36+64=10.\mathbf{v} = \langle 4 - (-2),\ 9 - 1 \rangle = \langle 6, 8 \rangle, \qquad \|\mathbf{v}\| = \sqrt{36 + 64} = 10.

Common mistake

Subtract in the order terminal minus initial. Reversing the order gives ⟨−6,−8⟩\langle -6, -8 \rangle, a vector with the same length pointing the opposite way.

Vector arithmetic

Operations work component by component. For u=⟨u1,u2⟩\mathbf{u} = \langle u_1, u_2 \rangle, v=⟨v1,v2⟩\mathbf{v} = \langle v_1, v_2 \rangle and a scalar kk:

u+v=⟨u1+v1, u2+v2⟩,kv=⟨kv1, kv2⟩.\mathbf{u} + \mathbf{v} = \langle u_1 + v_1,\ u_2 + v_2 \rangle, \qquad k\mathbf{v} = \langle k v_1,\ k v_2 \rangle.

Geometrically, you add vectors head to tail: draw u\mathbf{u}, start v\mathbf{v} where u\mathbf{u} ends, and the sum runs from the start of u\mathbf{u} to the end of v\mathbf{v}. The sum is called the resultant. Multiplying by kk stretches the vector by a factor of ∣k∣\lvert k \rvert, and reverses it when k<0k < 0.

Head to tail: u + v runs from the tail of u to the head of v.

A unit vector has magnitude 1. To get the unit vector in the direction of v\mathbf{v}, divide by its length:

u=v∥v∥.\mathbf{u} = \frac{\mathbf{v}}{\|\mathbf{v}\|}.

The unit vectors along the axes have special names: i=⟨1,0⟩\mathbf{i} = \langle 1, 0 \rangle and j=⟨0,1⟩\mathbf{j} = \langle 0, 1 \rangle. Any vector can be written with them, since ⟨a,b⟩=ai+bj\langle a, b \rangle = a\mathbf{i} + b\mathbf{j}. For example, ⟨3,−7⟩=3i−7j\langle 3, -7 \rangle = 3\mathbf{i} - 7\mathbf{j}.

Worked example: Combining vectors

Let u=⟨3,−1⟩\mathbf{u} = \langle 3, -1 \rangle and v=⟨−2,5⟩\mathbf{v} = \langle -2, 5 \rangle. Find 2u−3v2\mathbf{u} - 3\mathbf{v} and the unit vector in the direction of u\mathbf{u}.

2u−3v=⟨6,−2⟩−⟨−6,15⟩=⟨12,−17⟩.2\mathbf{u} - 3\mathbf{v} = \langle 6, -2 \rangle - \langle -6, 15 \rangle = \langle 12, -17 \rangle.

Since ∥u∥=9+1=10\|\mathbf{u}\| = \sqrt{9 + 1} = \sqrt{10}, the unit vector is

u∥u∥=⟨310, −110⟩≈⟨0.949, −0.316⟩.\frac{\mathbf{u}}{\|\mathbf{u}\|} = \left\langle \frac{3}{\sqrt{10}},\ \frac{-1}{\sqrt{10}} \right\rangle \approx \langle 0.949,\ -0.316 \rangle.

Magnitude and direction

The direction angle θ\theta of a vector is the angle it makes with the positive xx-axis, measured counterclockwise, just like an angle in standard position. This is where trigonometry comes in. A vector of length ∥v∥\|\mathbf{v}\| at angle θ\theta ends at the point ∥v∥\|\mathbf{v}\| times the unit-circle point for θ\theta.

Converting between the two descriptions

From magnitude and direction to components:

v=⟨∥v∥cos⁡θ, ∥v∥sin⁡θ⟩.\mathbf{v} = \langle \|\mathbf{v}\|\cos\theta,\ \|\mathbf{v}\|\sin\theta \rangle.

From components ⟨a,b⟩\langle a, b \rangle to direction: tan⁡θ=ba\tan\theta = \dfrac{b}{a}, with θ\theta placed in the quadrant where the point (a,b)(a, b) lies.

Worked example: Both directions of the conversion

(a) A vector has magnitude 20 and direction angle 150∘150^\circ. Find its components.

v=⟨20cos⁡150∘, 20sin⁡150∘⟩=⟨−103, 10⟩≈⟨−17.32, 10⟩.\mathbf{v} = \langle 20\cos 150^\circ,\ 20\sin 150^\circ \rangle = \langle -10\sqrt{3},\ 10 \rangle \approx \langle -17.32,\ 10 \rangle.

(b) Find the direction angle of w=⟨−3,−4⟩\mathbf{w} = \langle -3, -4 \rangle.

The calculator gives tan⁡−1 ⁣(−4−3)=tan⁡−1 ⁣(43)≈53.13∘\tan^{-1}\!\left(\dfrac{-4}{-3}\right) = \tan^{-1}\!\left(\dfrac{4}{3}\right) \approx 53.13^\circ, which is in Quadrant I. But ⟨−3,−4⟩\langle -3, -4 \rangle points into Quadrant III, so add 180∘180^\circ: θ≈233.13∘\theta \approx 233.13^\circ.

Common mistake

The inverse tangent only returns angles between −90∘-90^\circ and 90∘90^\circ. If the first component aa is negative, add 180∘180^\circ to the calculator's answer. If the result is negative, add 360∘360^\circ to get an angle from 0∘0^\circ to 360∘360^\circ. Always sketch the vector to see which quadrant it is in.

Applications: adding velocities and forces

When two forces act on an object, or when a plane flies through moving air, the total effect is the vector sum. The method is always the same: convert each vector to components, add, then convert back to magnitude and direction.

Worked example: A plane in a crosswind

A plane's velocity relative to the air is 300 mph at a direction angle of 60∘60^\circ. A wind blows at 40 mph toward the west (direction angle 180∘180^\circ). Find the plane's actual speed and direction.

The wind pushes the plane's path slightly to the west.

Components of each velocity:

p=⟨300cos⁡60∘, 300sin⁡60∘⟩≈⟨150, 259.81⟩,w=⟨40cos⁡180∘, 40sin⁡180∘⟩=⟨−40, 0⟩.\begin{aligned} \mathbf{p} &= \langle 300\cos 60^\circ,\ 300\sin 60^\circ \rangle \approx \langle 150,\ 259.81 \rangle, \\ \mathbf{w} &= \langle 40\cos 180^\circ,\ 40\sin 180^\circ \rangle = \langle -40,\ 0 \rangle. \end{aligned}

Resultant: p+w≈⟨110, 259.81⟩\mathbf{p} + \mathbf{w} \approx \langle 110,\ 259.81 \rangle.

Speed: 1102+259.812≈282.1\sqrt{110^2 + 259.81^2} \approx 282.1 mph. Direction: tan⁡−1 ⁣(259.81110)≈67.1∘\tan^{-1}\!\left(\dfrac{259.81}{110}\right) \approx 67.1^\circ (Quadrant I, so no adjustment).

Tip

Keep at least four decimal places in intermediate components and round only the final answer. Rounding the components early can shift the final angle by a tenth of a degree or more.

Practice

Practice 1

Find the component form of the vector from A(3,−2)A(3, -2) to B(−1,5)B(-1, 5). Enter it as (a,b)(a, b).

Enter a point like (2, -3)

Practice 2

Find the magnitude of v=⟨−5,12⟩\mathbf{v} = \langle -5, 12 \rangle.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 3

Let u=⟨2,−4⟩\mathbf{u} = \langle 2, -4 \rangle and v=⟨−1,6⟩\mathbf{v} = \langle -1, 6 \rangle. Find 3u+v3\mathbf{u} + \mathbf{v}. Enter it as (a,b)(a, b).

Enter a point like (2, -3)

Practice 4

Find the unit vector in the direction of ⟨8,−6⟩\langle 8, -6 \rangle. Enter it as (a,b)(a, b).

Enter a point like (2, -3)

Practice 5

A vector has magnitude 12 and direction angle 225∘225^\circ. Find its components, rounded to the nearest hundredth. Enter them as (a,b)(a, b).

Enter a point like (2, -3)

Practice 6

Find the direction angle of ⟨−3,5⟩\langle -3, 5 \rangle, in degrees from 0∘0^\circ to 360∘360^\circ, to the nearest tenth.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 7

Two forces act on a crate: 60 lb at a direction angle of 0∘0^\circ and 45 lb at a direction angle of 50∘50^\circ. Find the magnitude of the resultant force, to the nearest tenth of a pound.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 8

A boat heads due north (direction angle 90∘90^\circ) at 12 mph while a current pushes it due east (direction angle 0∘0^\circ) at 5 mph. Find the direction angle of the boat's actual path, to the nearest tenth of a degree.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.