## Vectors

Vectors are quantities that have both magnitude and direction. Velocity is a vector (it has magnitude and direction), but speed is a scalar (it only has magnitude). We need to use vectors to solve two-dimensional problems.

There are many different ways to represent the direction of a vector. In this course, we will use a system based on compass directions. The direction is placed in square brackets after the magnitude and the unit, and it contains an angle in degrees placed between two compass directions. For example, [N 12º W] means that you start pointing north and then rotate 12º towards west to point in the correct direction. This is equivalent to [W 78º N].

1. Break each vector up into its x and y components using sine and cosine.
2. Combine the x components and y components (add or subtract).
3. Use the Pythagorean theorem to find the resultant magnitude.
4. Use the inverse tangent function to find the resultant direction.

### Example

If vec a = 65\ "m [E 36º N]" and vec b = 99\ "m [N 24º W]", calculate vec a + vec b.

First we should always draw a sketch. I’ve labelled the x and y components for each vector with a sign (north and east are positive, south and west are negative) and a trig function (cosine for adjacent, sine for opposite).

Now we can make our table. We calculate the components of each vector, and then we add them up in the last row.

x y
vec a 65cos36º = 52.59 65sin36º = 38.21
vec b -99sin24º = -40.27 99cos24º = 90.44
vec a + vec b 12.32 128.65

When adding or subtracting vectors, always round off the values in the table to two decimal places.

Now we can use the Pythagorean theorem to calculate the magnitude of our resultant vector, rounding off to two significant digits (because 65 and 99 have two):

|vec a + vec b| = sqrt(12.32^2 + 128.65^2) = 1.3xx10^2\ "m".

We can draw another sketch to help with finding the angle. If you draw the largest component first, then you will always get an angle below 45º. If you always do it this way, then you’ll know that you’ve made a mistake if your angle is above 45º.

Now we can use inverse tangent to find theta (opposite over adjacent):

theta = tan^-1(12.32/128.65) = 5.5º.

Therefore, the resultant vector vec a + vec b is 1.3 × 102 m [N 5.5º E].