2D

Three-dimensional space

Coordinates in three dimensions, right-handed axes, the coordinate planes, distances and midpoints in space, and the equation of a sphere.

Real objects, from aircraft to drones to the corner of a room, live in three dimensions. Adding a third axis is a small step: every formula you know from the coordinate plane gains one extra term, and nothing else changes.

Three axes

Start with the usual $x$- and $y$-axes on the floor, and add a $z$-axis pointing straight up. The axes are arranged to be right-handed: curl the fingers of your right hand from the positive $x$-axis towards the positive $y$-axis, and your thumb points along the positive $z$-axis. Every exam diagram uses this convention.

The point $P(3, -2, 5)$ is reached by going $3$ along the $x$-axis, $2$ in the negative $y$ direction, then $5$ up.

Coordinate planes

An equation with only one variable describes a flat plane. On the floor, every point has height $0$, so the floor is the plane $z = 0$.

EquationWhat it is
$z = 0$the $xy$-plane (contains the $x$- and $y$-axes)
$y = 0$the $xz$-plane
$x = 0$the $yz$-plane
$z = 4$a horizontal plane $4$ units above the $xy$-plane

The three coordinate planes meet in pairs along the axes. For example the $x$-axis is where $y = 0$ and $z = 0$ at the same time.

Distance and midpoint

In three dimensions
$$d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2 + (z_2 - z_1)^2} \qquad M = \left(\frac{x_1 + x_2}{2}, \frac{y_1 + y_2}{2}, \frac{z_1 + z_2}{2}\right)$$
Example 1●

$A = (1, -2, 4)$ and $B = (5, 2, 2)$. Find $AB$ and the midpoint of $AB$.

$AB = \sqrt{4^2 + 4^2 + (-2)^2} = \sqrt{36} = 6$
The differences are 4, 4 and −2.
$M = \left(\tfrac{1 + 5}{2}, \tfrac{-2 + 2}{2}, \tfrac{4 + 2}{2}\right) = (3, 0, 3)$
Average each coordinate.
Example 2●●

Find the distance from $P(3, 4, 12)$ to (a) the origin (b) the $z$-axis.

(a) $\sqrt{9 + 16 + 144} = \sqrt{169} = 13$
Distance formula from (0, 0, 0).
(b) $\sqrt{3^2 + 4^2} = 5$
The closest point on the z-axis is directly level with P, at (0, 0, 12). Only the x and y differences count.

Spheres

A sphere is every point at a fixed distance $r$ from a centre $(a, b, c)$. Write that condition with the distance formula and square both sides:

Sphere, centre (a, b, c), radius r
$$(x - a)^2 + (y - b)^2 + (z - c)^2 = r^2$$
Example 3●●

Find the centre and radius of the sphere $x^2 + y^2 + z^2 - 4x + 6z - 3 = 0$.

$(x^2 - 4x + 4) + y^2 + (z^2 + 6z + 9) = 3 + 4 + 9$
Group each variable and complete the square: half of −4 is −2, half of 6 is 3. Add 4 and 9 to both sides.
$(x - 2)^2 + y^2 + (z + 3)^2 = 16$
Centre $(2, 0, -3)$, radius $4$.
Read off the centre (signs flip) and take the square root for the radius.

Volumes you should still know

SolidVolume
Prism or cylinder$Ah$, or $\pi r^2 h$
Pyramid or cone$\tfrac13 Ah$, or $\tfrac13\pi r^2 h$
Sphere$\tfrac43\pi r^3$

Your turn

$P(k, 2, -1)$ is $3$ units from the origin, and $k \gt 0$. Find $k$.

Show the working

$k^2 + 2^2 + (-1)^2 = 9$, so $k^2 = 4$ and $k = 2$ (taking the positive root).

Flashcards
Distance in 3D
$\sqrt{(\Delta x)^2 + (\Delta y)^2 + (\Delta z)^2}$
Sphere with centre $(a, b, c)$, radius $r$
$(x - a)^2 + (y - b)^2 + (z - c)^2 = r^2$
The plane $y = 0$
The $xz$-plane.
Practice
  1. The plane $y = 0$ is:

  2. Find the distance from the origin to $(2, -3, 6)$.

  3. Find the distance between $A(1, 4, -2)$ and $B(3, -2, 1)$.

  4. Find the $z$-coordinate of the midpoint of $(-1, 5, 2)$ and $(3, -1, 8)$.

  5. The sphere with centre $(1, -2, 0)$ and radius $3$ is:

  6. Find the radius of the sphere $x^2 + y^2 + z^2 - 2x + 4y - 6z = 11$.

  7. Find the distance from $(3, 4, 12)$ to the $z$-axis.

  8. Which point lies in the plane $z = 4$?

  9. Exam style: a box measures $4$ cm by $4$ cm by $7$ cm. Find the length of the longest straight rod that fits inside, in cm.

  10. Exam style: a sphere has centre $(2, -1, 3)$ and passes through the origin. Find its radius, correct to $2$ decimal places.

Formula sheet