2E

Vectors in three dimensions

The unit vectors i, j and k, components and column vectors in three dimensions, magnitude, unit vectors, operations with components, position vectors, and parallel vectors and collinear points.

Everything from 2B carries straight over to space. There is one more unit vector and one more component, and the distance formula from 2D gives the magnitude.

Components in 3D

$\underset{\sim}{k}$ is the unit vector along the positive $z$-axis. Together with $\underset{\sim}{i}$ and $\underset{\sim}{j}$, it builds every vector in space:

$$\underset{\sim}{u} = x\underset{\sim}{i} + y\underset{\sim}{j} + z\underset{\sim}{k} = \begin{pmatrix} x \\ y \\ z \end{pmatrix}, \qquad |\underset{\sim}{u}| = \sqrt{x^2 + y^2 + z^2}$$

Addition, subtraction and scalar multiples still work one component at a time, and $\overrightarrow{AB} = \underset{\sim}{b} - \underset{\sim}{a}$ is still "finish minus start".

Example 1●

$A = (1, 0, -2)$ and $B = (3, 4, 2)$. Find $\overrightarrow{AB}$, $|\overrightarrow{AB}|$ and the unit vector in the direction of $\overrightarrow{AB}$.

$\overrightarrow{AB} = \begin{pmatrix} 2 \\ 4 \\ 4 \end{pmatrix}$
Subtract A's coordinates from B's.
$|\overrightarrow{AB}| = \sqrt{4 + 16 + 16} = 6$
Unit vector $= \tfrac16\begin{pmatrix} 2 \\ 4 \\ 4 \end{pmatrix} = \begin{pmatrix} 1/3 \\ 2/3 \\ 2/3 \end{pmatrix}$
Divide each component by the length.

Using equal vectors

Equal vectors have equal components. That lets you find a missing vertex. In parallelogram $ABCD$ (vertices in order), $\overrightarrow{AD} = \overrightarrow{BC}$, so $\underset{\sim}{d} = \underset{\sim}{a} + \underset{\sim}{c} - \underset{\sim}{b}$.

Example 2●●

$ABCD$ is a parallelogram with $A(1, 0, 2)$, $B(3, 1, -1)$ and $C(4, -2, 0)$. Find $D$.

$\overrightarrow{BC} = \begin{pmatrix} 1 \\ -3 \\ 1 \end{pmatrix}$
Going from B to C is the same move as going from A to D.
$D = (1 + 1, 0 - 3, 2 + 1) = (2, -3, 3)$
Apply that move to A.

Parallel vectors and collinear points

Vectors are parallel when one is a scalar multiple of the other, so all three components are in the same ratio. Points $A$, $B$, $C$ are collinear when $\overrightarrow{AC} = \lambda\overrightarrow{AB}$: the two vectors are parallel and they share the point $A$, so they lie on one line.

Example 3●●

Show that $A(1, 2, 3)$, $B(3, -1, 4)$ and $C(7, -7, 6)$ are collinear.

$\overrightarrow{AB} = \begin{pmatrix} 2 \\ -3 \\ 1 \end{pmatrix}$ and $\overrightarrow{AC} = \begin{pmatrix} 6 \\ -9 \\ 3 \end{pmatrix}$
$\overrightarrow{AC} = 3\overrightarrow{AB}$
Check every component has the same multiplier: 6 = 3 × 2, −9 = 3 × (−3), 3 = 3 × 1.
So $A$, $B$ and $C$ are collinear, with $B$ one third of the way from $A$ to $C$.
Parallel and sharing A means one straight line.

Angles with the axes

In 2D the components were $r\cos\theta$ and $r\sin\theta$. In 3D, each component is the length times the cosine of the angle with that axis. If $\underset{\sim}{u}$ makes angle $\gamma$ with the positive $z$-axis, then $z = |\underset{\sim}{u}|\cos\gamma$, so $\cos\gamma = \dfrac{z}{|\underset{\sim}{u}|}$. The same holds for $x$ and $y$.

Example 4●●

Find the angle between $\underset{\sim}{u} = 2\underset{\sim}{i} - \underset{\sim}{j} + 2\underset{\sim}{k}$ and the positive $z$-axis.

$|\underset{\sim}{u}| = \sqrt{4 + 1 + 4} = 3$
$\cos\gamma = \tfrac23$, so $\gamma \approx 48.2^\circ$.
The z component divided by the length gives the cosine.

Your turn

$A(1, 1, 1)$, $B(2, 3, 0)$ and $C(4, k, -2)$ are collinear. Find $k$.

Show the working

$\overrightarrow{AB} = \begin{pmatrix} 1 \\ 2 \\ -1 \end{pmatrix}$ and $\overrightarrow{AC} = \begin{pmatrix} 3 \\ k - 1 \\ -3 \end{pmatrix}$. The $x$ and $z$ components show the multiplier is $3$, so $k - 1 = 6$ and $k = 7$.

Flashcards
Magnitude of $xunderset{sim}{i} + yunderset{sim}{j} + zunderset{sim}{k}$
$\sqrt{x^2 + y^2 + z^2}$
Collinear test for $A$, $B$, $C$
$\overrightarrow{AC} = \lambda\overrightarrow{AB}$, with common point $A$.
Angle $gamma$ with the $z$-axis
$\cos\gamma = \dfrac{z}{|\underset{\sim}{u}|}$
Practice
  1. Find $\left|\begin{pmatrix} 1 \\ -4 \\ 8 \end{pmatrix}\right|$.

  2. Find $|2\underset{\sim}{i} + 3\underset{\sim}{j} - 6\underset{\sim}{k}|$.

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

  4. Find the $\underset{\sim}{k}$ component of the unit vector in the direction of $4\underset{\sim}{i} - 4\underset{\sim}{j} + 7\underset{\sim}{k}$, correct to $2$ decimal places.

  5. $\begin{pmatrix} 6 \\ a \\ -9 \end{pmatrix}$ is parallel to $\begin{pmatrix} 2 \\ 1 \\ -3 \end{pmatrix}$. Find $a$.

  6. $PQRS$ is a parallelogram with $P(0, 1, 2)$, $Q(2, 2, 0)$ and $R(5, 0, 1)$. Then $S =$

  7. Find the angle between $\underset{\sim}{i} + 2\underset{\sim}{j} + 2\underset{\sim}{k}$ and the positive $z$-axis, to the nearest degree.

  8. $A(2, 0, -1)$, $B(4, 1, 1)$ and $C(k, 4, 7)$ are collinear. Find $k$.

  9. Exam style: find the vector of length $12$ in the direction of $\underset{\sim}{i} - 2\underset{\sim}{j} + 2\underset{\sim}{k}$. Enter its $\underset{\sim}{j}$ component.

  10. Exam style: $\underset{\sim}{v} = t\underset{\sim}{i} + 2t\underset{\sim}{j} - 2\underset{\sim}{k}$ has length $7$, and $t \gt 0$. Find $t$.

Formula sheet