In the plane you name a point with two numbers and measure distance with the distance formula, which is the Pythagorean theorem in disguise. Space needs one more number. A point is an ordered triple $(x, y, z)$: go $x$ units along the $x$-axis, $y$ units parallel to the $y$-axis, then $z$ units up (or down, if $z$ is negative).
The three axes are perpendicular, and their directions follow the right-hand rule: point the fingers of your right hand along the positive $x$-axis and curl them toward the positive $y$-axis; your thumb points along the positive $z$-axis. Every textbook picture and every formula later in this course (the cross product, orientations, Stokes' theorem) assumes this arrangement.
Key idea
Why it works
| Equation | The set of points |
|---|---|
| $z = 0$ | the $xy$-plane (the floor) |
| $x = 0$ | the $yz$-plane |
| $y = 0$ | the $xz$-plane |
| $x = 3$ | a plane parallel to the $yz$-plane, 3 units in front of it |
| $x = 0$ and $y = 0$ | the $z$-axis |
Worked examples
Worked example: Distance
- Differences: $\Delta x = 3$, $\Delta y = 4$, $\Delta z = 12$.
- Square and add: ${}9 + 16 + 144 = 169$.
- $d = \sqrt{169} = 13$.
Answer: ${}13$
Worked example: Center and radius of a sphere
- Group by variable: $(x^2 - 4x) + y^2 + (z^2 + 6z) = 3$.
- Complete each square: $x^2 - 4x = (x - 2)^2 - 4$ and $z^2 + 6z = (z + 3)^2 - 9$.
- So $$(x - 2)^2 + y^2 + (z + 3)^2 = 3 + 4 + 9 = 16.$$
- Center $(2, 0, -3)$ (the signs flip), radius $\sqrt{16} = 4$.
Answer: center $(2, 0, -3)$, radius ${}4$
Worked example: Distance to an axis and to a plane
- The nearest point of the $z$-axis is $(0, 0, 5)$: same height, $x = y = 0$.
- So the distance to the axis is $\sqrt{3^2 + (-4)^2} = 5$: only $x$ and $y$ count.
- The nearest point of the $xy$-plane is $(3, -4, 0)$, straight below, so that distance is $|z| = 5$.
Answer: ${}5$ and ${}5$
Common mistake
Left-handed axes. If your sketch has $x$ to the right, $y$ up the page and $z$ coming out of the page toward you, that is fine; but $z$ pointing into the page makes a left-handed system and later sign rules will fail. Test with the right-hand rule: curl from $x$ to $y$, and the thumb must point along $z$.