Distances & Angles:
Lines & Planes
Learn to compute distances between points, lines, and planes, and find the angles at which lines and planes meet in three-dimensional space.
Lines and Planes in 3D Space
In multivariable calculus, a line is described by a point and a direction vector. A plane is described by a point and a normal vector. Together these representations let us measure how far apart objects are and the angles they form.
Why Measure Distances and Angles?
Distances tell us the shortest separation between geometric objects: how close a satellite's path comes to the Earth's surface, or the clearance between structural beams. Angles tell us how objects are oriented relative to one another: the tilt of a drill into rock, or the banking of a road surface.
Key Tool: The Dot Product
The dot product gives the projection of one vector onto another. When \(\theta = 90^\circ\), the dot product is zero: the vectors are perpendicular.
Distance: Point to Plane
The distance is the length of the perpendicular projection from the point onto the plane, computed by projecting the displacement vector onto the unit normal.
Distance: Point to Line
The cross product \(\overrightarrow{P_0P_1}\times\mathbf{d}\) gives a vector whose magnitude equals the area of the parallelogram formed by those two vectors. Dividing by \(|\mathbf{d}|\) converts that area into a height: the perpendicular distance.
Distance Between Skew Lines
The vector \(\mathbf{d}_1\times\mathbf{d}_2\) is perpendicular to both lines. Projecting the displacement \(\overrightarrow{P_1P_2}\) onto this common perpendicular gives the shortest distance.
Parallel vs Skew vs Intersecting
Angle Between Two Lines
We always report the acute angle (or zero if the lines are parallel). This is why we take the absolute value of the dot product before applying \(\cos^{-1}\).
Angle Between Two Planes
The angle between two planes equals the angle between their normal vectors. Again we use the absolute value to get the acute angle.
Angle: Line Meets Plane
Key insight: The angle between the line and the plane is the complement of the angle between the line and the normal. Since the dot product gives the angle with the normal, we use \(\sin\) instead of \(\cos\).
Step-by-Step Approach
Example 1: Point to Plane
Find the distance from the point \(P_1 = (3, -1, 2)\) to the plane \(2x + y - 2z = 4\).
Example 2: Point to Line
Find the distance from \(P_1 = (1, 0, -1)\) to the line through \(P_0 = (2, 1, 3)\) with direction \(\mathbf{d} = \langle 1, -1, 2\rangle\).
Example 3: Skew Lines
Lines: \(\ell_1\) through \((1,0,0)\) with \(\mathbf{d}_1 = \langle 1,1,0\rangle\); \(\ell_2\) through \((0,1,1)\) with \(\mathbf{d}_2 = \langle 0,1,1\rangle\). Find the distance and angle.
Common Mistakes
Formula Summary
| Quantity | Formula | Key Vector |
|---|---|---|
| Point to Plane | \(\frac{|ax_1+by_1+cz_1-d|}{|\mathbf{n}|}\) | Normal \(\mathbf{n}\) |
| Point to Line | \(\frac{|\overrightarrow{P_0P_1}\times\mathbf{d}|}{|\mathbf{d}|}\) | Direction \(\mathbf{d}\) |
| Skew Lines | \(\frac{|\overrightarrow{P_1P_2}\cdot(\mathbf{d}_1\times\mathbf{d}_2)|}{|\mathbf{d}_1\times\mathbf{d}_2|}\) | \(\mathbf{d}_1\times\mathbf{d}_2\) |
| Angle: Lines | \(\cos\theta = \frac{|\mathbf{d}_1\cdot\mathbf{d}_2|}{|\mathbf{d}_1||\mathbf{d}_2|}\) | Directions |
| Angle: Planes | \(\cos\theta = \frac{|\mathbf{n}_1\cdot\mathbf{n}_2|}{|\mathbf{n}_1||\mathbf{n}_2|}\) | Normals |
| Angle: Line/Plane | \(\sin\alpha = \frac{|\mathbf{d}\cdot\mathbf{n}|}{|\mathbf{d}||\mathbf{n}|}\) | \(\mathbf{d}\) and \(\mathbf{n}\) |
Question 1 of 5
What is the distance from the point \((1,2,3)\) to the plane \(x + y + z = 1\)?
Question 2 of 5
Which formula gives the distance from a point to a line in \(\mathbb{R}^3\)?
Question 3 of 5
Find the angle between the planes \(x + y = 0\) and \(y + z = 0\).
Question 4 of 5
A line has direction \(\mathbf{d} = \langle 1,0,1\rangle\) and a plane has normal \(\mathbf{n} = \langle 0,1,0\rangle\). What is the angle between the line and the plane?
Question 5 of 5
Two lines have directions \(\mathbf{d}_1 = \langle 2,1,-1\rangle\) and \(\mathbf{d}_2 = \langle 1,-1,0\rangle\). Their cross product is \(\mathbf{d}_1\times\mathbf{d}_2 = \langle -1,-1,-3\rangle\). Which statement is true?