Distance Formulas
in 3D Space
Master the three essential distance computations in \(\mathbb{R}^3\): point-to-point, point-to-line, and point-to-plane.
Why 3D Distances Matter
In two dimensions, distance is a single formula. But in three-dimensional space, objects come in different shapes: points, lines, and planes. Measuring the shortest distance between them requires distinct approaches that build on each other.
Coordinates in \(\mathbb{R}^3\)
Key Vector Tools You'll Need
All three distance formulas rely on two fundamental vector operations. Make sure you're comfortable with these before proceeding.
Measures projection: how much one vector lies along another.
Point-to-Point Distance
This is the direct generalization of the Pythagorean theorem to three dimensions. You're computing the magnitude of the vector \(\vec{PQ}\):
Point-to-Line Distance
Why the Cross Product Works
Point-to-Plane Distance
Why the Dot Product Works
Cross Product vs. Dot Product
| Point-to-Line | Point-to-Plane | |
|---|---|---|
| Operation | Cross product | Dot product |
| Numerator | \(\|\vec{QP} \times \vec{d}\|\) | \(|\vec{QP} \cdot \vec{n}|\) |
| Denominator | \(\|\vec{d}\|\) | \(\|\vec{n}\|\) |
| Geometric idea | Parallelogram area / base | Scalar projection onto normal |
| Result type | Scalar (always \(\geq 0\)) | Scalar (always \(\geq 0\)) |
Step-by-Step Strategy
Example 1: Point-to-Point
Find the distance between \(A(1, 2, 3)\) and \(B(4, 6, 3)\).
Example 2: Point-to-Line
Find the distance from \(P(1, 0, -1)\) to the line through \(Q(0, 1, 2)\) with direction \(\vec{d} = \langle 1, 1, 0 \rangle\).
Example 3: Point-to-Plane
Find the distance from \(P(2, 3, 1)\) to the plane \(2x - y + 2z - 4 = 0\).
Common Mistakes
Formula Summary
| Distance Type | Formula | Key Operation |
|---|---|---|
| Point-to-Point | \(\|\vec{PQ}\|\) | Magnitude |
| Point-to-Line | \(\dfrac{\|\vec{QP} \times \vec{d}\|}{\|\vec{d}\|}\) | Cross product |
| Point-to-Plane | \(\dfrac{|ax_0+by_0+cz_0+d|}{\sqrt{a^2+b^2+c^2}}\) | Dot product |
Question 1 of 5
What is the distance between \(A(1, -2, 4)\) and \(B(3, 0, 6)\)?
Question 2 of 5
Which vector operation do you use to find the distance from a point to a line?
Question 3 of 5
Find the distance from \(P(0, 0, 0)\) to the plane \(x + 2y + 2z = 9\).
Question 4 of 5
In the point-to-plane formula, why must the numerator include absolute value bars?
Question 5 of 5
A line passes through \(Q(1, 0, 0)\) with direction \(\vec{d} = \langle 0, 0, 1 \rangle\). Find the distance from \(P(3, 4, 0)\) to the line.