Skip to content
Study Hall
Lesson 5 of 5Lines & Planes
Unit 6 · Lesson 5 of 5

Distances in 3-Space

Shortest distances are measured along a perpendicular. Use the scalar projection onto a normal for a point and a plane (and parallel planes), the cross product for a point and a line, and both together for two skew lines.

4 min read10 practice questionsAsk AI about this →

Key things to remember

  1. 1Point to plane: (in 2-space, ).
  2. 2Parallel planes with the same , , : .
  3. 3Point to line in 3-space: .
  4. 4Skew lines: means the lines intersect.
  5. 5The foot of the perpendicular from to a plane is where the line meets the plane.

Engineers routing pipes, ducts and cables through a building need to know the clearance between two of them: how close they come where one passes over another. Two straight pipes that are not parallel and do not touch are skew lines, and their clearance is the shortest distance between them. In every case in this lesson the shortest distance is measured along a perpendicular: drop straight down from a point to a plane, or find the one segment that is perpendicular to both skew lines. Vectors find that perpendicular for you: the normal of a plane, or a cross product.

From a point to a plane

planenP₀Q(x₁, y₁, z₁)footdP₀Qprojection on nlength dd = |n · P₀Q| / |n|d =|Ax₁ + By₁ + Cz₁ + D|√(A² + B² + C²)for the plane Ax + By + Cz + D = 0the choice of P₀ cancels outexample: Q(1, 2, 3),2x + y + 2z − 4 = 0d = |2(1) + 2 + 2(3) − 4| / √9 = 6 / 3 = 2xyz
Fig 1A point Q off a plane, a point P₀ in the plane and the vector P₀Q. The projection of P₀Q onto the normal n is the shortest distance d = |Ax₁ + By₁ + Cz₁ + D| / √(A² + B² + C²).

Let be the point and any point of the plane . The distance from to the plane is the length of the part of that points along the normal, which is the absolute value of the scalar projection: . Expanding the numerator gives and since is in the plane, . The choice of drops out completely.

Point to plane, and the same idea for a point and a line Ax + By + C = 0 in 2-space.

Two parallel planes are a constant distance apart, so pick any point on one and use the formula with the other. If the equations are written with the SAME coefficients , , , this simplifies to . A line parallel to a plane works the same way: use any point of the line.

VideoWorked examples finding the shortest distance from a point to a plane.Watch on YouTube

From a point to a line in 3-space

A line in 3-space has no single normal vector (every direction perpendicular to is normal to it), so the formula above does not apply. Use area instead. Let be a point on the line, its direction and the point. The parallelogram with sides and has area . Its base is , and its height is exactly the perpendicular distance from to the line, so divide.

Distance from a point Q to the line through P₀ with direction m.

Between two skew lines

Let the lines pass through and with directions and . The vector is perpendicular to both lines, so each line lies in a plane with normal , and those two planes are parallel. The distance between the lines is the distance between those planes: project onto . A result of means the lines actually intersect. If , the lines are parallel, and the distance is the distance from any point of one line to the other line.

Distance between skew lines through P₁ and P₂ with directions m₁ and m₂.
Distance betweenFormulaKey idea
Point and planeProject onto the normal
Two parallel planes (same , , )Point on one, plane formula for the other
Point and line (2-space)Project onto the normal
Point and line (3-space)Parallelogram height = area ÷ base
Two skew linesProject onto the common perpendicular
Summary of the distance formulas. Every one measures along a perpendicular.
Finding the foot of the perpendicular
To find WHERE the shortest segment from meets a plane, build the line through in the direction of the normal, , and intersect it with the plane as in the last lesson. The point you get is the foot of the perpendicular, and its distance from is a built-in check on the formula.
VideoFinds the shortest distance between two skew lines in 3-space.Watch on YouTube

Worked examples

Reveal one step at a time and try to beat it to the next line.

Example 1
Find the distance from to the plane .
Example 2
Find the point where the perpendicular from meets the plane and the distance from to the plane.
Example 3
Find the distance from to the line .
Example 4
Find the distance between the skew lines and .

Where marks get lost

  • Leaving out the absolute value and reporting a negative distance. The sign only tells you which side of the plane the point is on.
  • Substituting into a plane written as without first moving the across. In the formula , not .
  • Using for and without first scaling one equation so the coefficients match.
  • Using a dot product instead of a cross product for a point and a line in 3-space. measures the parallelogram's area; the dot product measures the part of that runs ALONG the line, not across it.
  • Applying the skew-line formula to parallel lines, where and the formula divides by zero. Use the point-to-line distance instead.

Flashcards 7

Distance from a point to a plane
Distance from a point to a line in 2-space
Distance between parallel planes
Distance from a point to a line in 3-space
+ 3 more

Practice

1
Find the distance from to the plane , to 2 decimal places.
2
Find the distance from the point to the line in 2-space.
3
Find the distance between the parallel planes and .
4
Find the distance from the origin to the line , to 2 decimal places.
5
Find the distance between the skew lines (the -axis) and .
6
Find the positive value of for which the plane is units from the origin.
7
Along which direction is the shortest distance from a point to a plane measured?
8
For two lines, . What should you do to find the distance between them?
9
What is the name of the point where the perpendicular from a point meets a plane? (the ___ of the perpendicular)
10
Match each distance to the formula used to find it.
  1. A.
  2. B.
  3. C.
  4. D.
Point to plane
Point to line in 2-space
Point to line in 3-space
Between skew lines

Spot a mistake on this page? Let us know