Lines, planes and distances in space: points, directions and normals
A point supplies a location but does not determine a line or plane. A line needs a direction; a plane needs a normal or two independent directions. Vectors retain these roles separately and calculate shortest distances through perpendicular projections. Goal: model lines and planes, test intersections and parallelism, and distinguish shortest distance from an arbitrary displacement. Prerequisites: linear systems, dot product, cross product.
1. Starting question
Nonparallel lines intersect in a plane. Must they intersect in three dimensions?
Diagnostic answer
No: they may be skew. The x-axis and line (0,1,s) are nonparallel but have incompatible y coordinates, zero and one.
2. A line from point and direction
With point P and nonzero direction d, the complete line is r(t)=P+td, t∈ℝ. Each t gives one point. For P=(1,0,2), d=⟨2,1,−1⟩, component equations are x=1+2t, y=t, z=2−t. All three use the same parameter; independent component parameters would leave the line.
Point Q belongs if one t satisfies every equation. For Q=(5,2,0), t=2 works throughout. Symmetric form (x−1)/2=y=(z−2)/(−1) describes the same line. A zero direction component instead fixes that coordinate; never divide by zero. A nonzero multiple of d gives the same line with different parametrization.
3. A plane through perpendicularity
For nonzero normal n=⟨a,b,c⟩ and a plane point P, X lies on the plane if n·(X−P)=0. Hence ax+by+cz=D, with D=n·P. Unlike a line direction, n is perpendicular to all in-plane directions.
For noncollinear points A, B, C, take n=(B−A)×(C−A). Example A=(0,0,1), B=(1,0,2), C=(0,1,3) gives n=⟨−1,−2,1⟩ and plane −x−2y+z=1. Substitute all three points. A zero cross product means the data did not determine a unique plane.
Distance is measured along the normal rather than an arbitrary displacement. The spatial illustration is schematic; screen angles do not establish perpendicularity.
4. Find intersection through the parameter
Substitute section 2's line into x+2y+z=5: 1+2t+2t+2−t=5, so t=2/3. Intersection is (7/3,2/3,4/3); plane check: 7/3+4/3+4/3=5.
Generally, substitution gives n·P+t(n·d)=D. If n·d≠0, there is exactly one intersection. If n·d=0, the direction is parallel to the plane: the entire line lies in it if P does, otherwise there is no intersection. Planes with nonparallel normals intersect in a line of direction n₁×n₂; solve their two equations to find a point. Parallel normals may describe separate parallel planes or coincident planes.
For two lines use independent parameters t and s, then equate coordinates. Nonparallel directions with no system solution mean skew lines. Forcing t=s can miss a real intersection: each parameter is its own traversal convention, not necessarily a shared clock.
5. Point-to-plane and point-to-line distance
For plane n·X=D, distance from Q is |n·Q−D|/‖n‖. The numerator records a scaled signed normal contribution; division by normal magnitude converts it to length. The foot is
H=Q−((n·Q−D)/(n·n))n.
For Q=(1,0,2) and plane x+2y+z=5, distance is 2/√6, foot H=(4/3,2/3,7/3). H satisfies the plane equation and Q−H is parallel to its normal, establishing the shortest path.
For line P+td, set w=Q−P and remove its along-line projection: w−((w·d)/(d·d))d. The remainder's magnitude is distance. In three dimensions, the equivalent ‖w×d‖/‖d‖ follows from parallelogram area as base times height. Thus (1,2,3) is distance √13 from the x-axis, with foot (1,0,0).
6. Two-line distance and scope
For nonparallel lines through P, Q with directions d, e, n=d×e is perpendicular to both. Their distance is |(Q−P)·n|/‖n‖, a projection onto the shared normal. For the x-axis and (0,1,s), choose n=⟨0,−1,0⟩, obtaining distance 1. Parallel directions make this denominator zero; instead find a point's distance to the opposite line.
These formulas describe complete lines and planes. For segments or bounded regions a projection foot may lie outside, requiring boundary checks. The nearest point on the x-axis segment from zero to one to (3,1) is endpoint (1,0), not the full-line foot (3,0).
7. Independent practice
- Give the line through
(2,−1,0)along⟨0,3,2⟩. Does it contain(2,5,4)?
Answer 1
x=2, y=−1+3t, z=2t. At t=2 all coordinates match. The zero x component requires a fixed-coordinate equation rather than division by zero.
- Find a plane with normal
⟨2,−1,3⟩through(1,2,0).
Answer 2
2(x−1)−(y−2)+3z=0, or 2x−y+3z=0. The point satisfies it; coefficients give the normal.
- Find the origin's distance from
3x−4y+12z=10.
Answer 3
Normal magnitude √(9+16+144)=13, so distance 10/13. The constant 10 alone is not normalized distance.
- Does line
(t,1,0)meet planey=2? What abouty=1?
Answer 4
No intersection with the first; the second contains the whole line. Both have line direction perpendicular to plane normal; starting-point membership distinguishes them.
- Find distance and foot from
(1,2,3)to the z-axis.
Answer 5
Distance √5, foot (0,0,3). Projection along z preserves height and removes horizontal components.
- Find the distance from
(3,1)to segment(0,0)–(1,0). Why does it differ from full-line distance?
Answer 6
Nearest endpoint (1,0) gives √5. Full-line distance was 1, but foot (3,0) lies outside the segment.
8. Continue and review
Proceed to parametrization and polar/cylindrical coordinates when you distinguish line direction from plane normal and check perpendicular feet. Repair intersection errors by substituting final coordinates into every equation. Later retrieve: planes y=0 and z=0 intersect along the x-axis, whose direction comes from crossing their normals.
Sources and authorship
Text, examples and diagram are original. Relation checks: OpenStax, spatial lines and planes. Online check: 2026-11-17. Diagram provenance.