2B

Components of vectors

The unit vectors i and j, components and column vector notation, magnitude and direction from components, unit vectors, operations with components, position vectors, and vectors between two points.

Arrows are good for ideas but awkward for calculation. Once a vector is broken into an "across" part and an "up" part, every operation from 2A becomes simple arithmetic on numbers.

Components and column vectors

Let $\underset{\sim}{i}$ be the vector of length $1$ pointing in the positive $x$ direction, and $\underset{\sim}{j}$ the vector of length $1$ pointing in the positive $y$ direction. Any vector in the plane can be built from these two. To reach the point $(3, -2)$ from the origin, go $3$ across and $2$ down:

$$\overrightarrow{OP} = 3\underset{\sim}{i} - 2\underset{\sim}{j} = \begin{pmatrix} 3 \\ -2 \end{pmatrix}$$

The numbers $3$ and $-2$ are the components. The column form is shorter to write, and both are fine in exams.

Because adding vectors means adding displacements, you add and scale components one at a time:

$$\begin{pmatrix} 2 \\ -3 \end{pmatrix} + \begin{pmatrix} -1 \\ 4 \end{pmatrix} = \begin{pmatrix} 1 \\ 1 \end{pmatrix} \qquad 3\begin{pmatrix} 2 \\ -3 \end{pmatrix} = \begin{pmatrix} 6 \\ -9 \end{pmatrix}$$

The vector between two points

From 2A, $\overrightarrow{AB} = \underset{\sim}{b} - \underset{\sim}{a}$. In components, that is "subtract the coordinates of $A$ from those of $B$". Its length is then the distance formula you already know.

Magnitude
$$\left|\begin{pmatrix} x \\ y \end{pmatrix}\right| = \sqrt{x^2 + y^2}$$
The vector from A to B

Drag A and B. The readout gives the components of AB (finish minus start) and its length.

Try this

Move both points so that $\overrightarrow{AB}$ stays $\begin{pmatrix} 3 \\ -4 \end{pmatrix}$. Does the length change? Then swap $A$ and $B$ and predict the new components before you look.

Example 1●

$A = (2, -1)$ and $B = (-4, 7)$. Find $\overrightarrow{AB}$ and $|\overrightarrow{AB}|$.

$\overrightarrow{AB} = \begin{pmatrix} -6 \\ 8 \end{pmatrix}$
Finish minus start, one component at a time: −4 − 2 and 7 − (−1).
$|\overrightarrow{AB}| = \sqrt{36 + 64} = 10$
Pythagoras on the two components.

Direction, and going back and forth

A vector of length $r$ making angle $\theta$ with the positive $x$-axis (measured anticlockwise) has components $r\cos\theta$ and $r\sin\theta$. That is just the definition of sine and cosine on a circle of radius $r$.

Magnitude and direction form
$$\underset{\sim}{u} = r\cos\theta\,\underset{\sim}{i} + r\sin\theta\,\underset{\sim}{j}$$
Example 2●●

(a) Write the vector of length $8$ at $150^\circ$ to the positive $x$-axis in components. (b) Find the length and direction of $\underset{\sim}{u} = -5\underset{\sim}{i} + 12\underset{\sim}{j}$.

(a) $8\cos150^\circ\,\underset{\sim}{i} + 8\sin150^\circ\,\underset{\sim}{j} = -4\sqrt3\,\underset{\sim}{i} + 4\underset{\sim}{j}$
cos 150° = −√3/2 and sin 150° = 1/2.
(b) $|\underset{\sim}{u}| = \sqrt{25 + 144} = 13$
Magnitude first.
The acute angle is $\tan^{-1}\tfrac{12}{5} \approx 67.4^\circ$, so $\theta \approx 180^\circ - 67.4^\circ = 112.6^\circ$.
Sketch it: left 5 and up 12 is in the second quadrant. The acute angle with the negative x-axis has tan = 12/5.

Unit vectors

A unit vector has length $1$. To get the unit vector in the direction of $\underset{\sim}{u}$, divide by its length: $\hat{u} = \dfrac{1}{|\underset{\sim}{u}|}\underset{\sim}{u}$. For $\underset{\sim}{u} = -5\underset{\sim}{i} + 12\underset{\sim}{j}$, $\hat{u} = -\tfrac{5}{13}\underset{\sim}{i} + \tfrac{12}{13}\underset{\sim}{j}$. A vector of length $26$ in the same direction is $26\hat{u} = -10\underset{\sim}{i} + 24\underset{\sim}{j}$.

Two vectors are parallel when one is a multiple of the other, so their components are in the same ratio. $\begin{pmatrix} 3 \\ -1 \end{pmatrix}$ and $\begin{pmatrix} -6 \\ 2 \end{pmatrix}$ are parallel, pointing opposite ways.

Your turn

$A = (1, 2)$ and $B = (7, -6)$. $P$ lies on $AB$ with $AP : PB = 1 : 3$. Find the coordinates of $P$.

Show the working

$\overrightarrow{AB} = \begin{pmatrix} 6 \\ -8 \end{pmatrix}$. $P$ is a quarter of the way along, so $\underset{\sim}{p} = \begin{pmatrix} 1 \\ 2 \end{pmatrix} + \tfrac14\begin{pmatrix} 6 \\ -8 \end{pmatrix} = \begin{pmatrix} 2.5 \\ 0 \end{pmatrix}$. So $P = (2.5, 0)$.

Flashcards
Components from length $r$ and angle $ heta$
$r\cos\theta\,\underset{\sim}{i} + r\sin\theta\,\underset{\sim}{j}$
Unit vector in the direction of $underset{sim}{u}$
$\hat{u} = \dfrac{\underset{\sim}{u}}{|\underset{\sim}{u}|}$
$overrightarrow{AB}$ in components
Coordinates of $B$ minus coordinates of $A$.
Practice
  1. Find $|7\underset{\sim}{i} - 24\underset{\sim}{j}|$.

  2. $A = (1, 5)$ and $B = (4, -1)$. Then $\overrightarrow{AB} =$

  3. Find the $\underset{\sim}{i}$ component of the unit vector in the direction of $7\underset{\sim}{i} - 24\underset{\sim}{j}$, as a decimal.

  4. $\underset{\sim}{u} = \begin{pmatrix} 2 \\ -3 \end{pmatrix}$ and $\underset{\sim}{v} = \begin{pmatrix} -1 \\ 4 \end{pmatrix}$. Find $3\underset{\sim}{u} - 2\underset{\sim}{v}$. Enter its components as an ordered pair.

  5. Find the angle, in degrees, that $-2\underset{\sim}{i} + 2\underset{\sim}{j}$ makes with the positive $x$-axis.

  6. A vector has length $10$ and makes an angle of $60^\circ$ with the positive $x$-axis. Find its $\underset{\sim}{i}$ component.

  7. Which vector is parallel to $\begin{pmatrix} 3 \\ -1 \end{pmatrix}$?

  8. $\begin{pmatrix} k \\ 6 \end{pmatrix}$ is parallel to $\begin{pmatrix} 2 \\ -3 \end{pmatrix}$. Find $k$.

  9. Exam style: find the vector of magnitude $15$ in the direction of $4\underset{\sim}{i} + 3\underset{\sim}{j}$. Enter its components as an ordered pair.

  10. Exam style: $A = (-2, 3)$, $B = (10, -1)$ and $P$ lies on $AB$ with $AP : PB = 3 : 1$. Enter the coordinates of $P$ as an ordered pair.

Formula sheet