Lines and Planes in Space

Use direction and normal vectors to describe incidence, intersection and distance.

Builds on Vectors, Dot Products and Cross Products

The bigger question: How do we describe direction and motion in space?

On this page

Directions define lines; normals define planes

A line through r0r_0 with nonzero direction vv has parametrization r(t)=r0+tvr(t)=r_0+tv. A plane through pp with nonzero normal nn satisfies n⋅(r−p)=0n\cdot(r-p)=0. Direction vectors lie along a line, whereas a plane normal is perpendicular to every direction in the plane.

A plane equation ax+by+cz=dax+by+cz=d has normal (a,b,c)(a,b,c). Scaling every coefficient by the same nonzero number leaves the plane unchanged. A line can lie in a plane, miss it while parallel, or meet it once; substitution distinguishes these cases.

Visual guide

VISUAL GUIDEIntersect a line with a plane
This oblique projection shows r(t) = (1, 0, 2) + t(1, 2, −1) crossing the plane x + y + z = 6 at t = 1.5, the point (2.5, 3, 0.5). Projection preserves incidence but does not show true 3D lengths or angles.
  • Line
This oblique projection shows r(t) = (1, 0, 2) + t(1, 2, −1) crossing the plane x + y + z = 6 at t = 1.5, the point (2.5, 3, 0.5). Projection preserves incidence but does not show true 3D lengths or angles.

Worked example: intersect a line and a plane

Take r(t)=(1,0,2)+t(1,2,−1)r(t)=(1,0,2)+t(1,2,-1) and plane x+y+z=6x+y+z=6. Substitution gives (1+t)+2t+(2−t)=6(1+t)+2t+(2-t)=6, so t=3/2t=3/2. The intersection is (5/2,3,1/2)(5/2,3,1/2).

Here n⋅v=(1,1,1)⋅(1,2,−1)=2≠0n\cdot v=(1,1,1)\cdot(1,2,-1)=2\ne0, ensuring exactly one intersection. If this dot product were zero, the line would be parallel to the plane; checking its starting point would tell whether the whole line lies in it.

PAUSE & THINKA quick check, not a grade

Try it yourself.

Choose an answer and explain your reasoning to yourself. Use a hint if you get stuck.

Which vector is normal to the plane 2x−y+3z=7?

Hint 1 · Find a starting point

A plane equation can be written n·r=d.

Hint 2 · Take the next step

Read the coefficients of x, y and z.

Show the reasoning

Answer: (2,−1,3)

n=(2,−1,3) is perpendicular to every direction lying in the plane.

Before moving on: what would make one of the other answers wrong? Saying why is part of understanding.

Worked example: distance from a point

The perpendicular distance from qq to n⋅r=dn\cdot r=d is

dist⁡(q,Π)=∣n⋅q−d∣∥n∥.\operatorname{dist}(q,\Pi)=\frac{|n\cdot q-d|}{\|n\|}.

For q=(0,0,0)q=(0,0,0) and x+2y+2z=9x+2y+2z=9, the distance is 9/3=39/3=3. Dividing by the normal's length makes the answer independent of how the plane equation is scaled. The signed expression without the absolute value measures oriented distance along the chosen normal.

Two nonparallel planes intersect in a line whose direction is the cross product of their normals. Two lines in space, however, can be skew: nonparallel and nonintersecting. A flat drawing can hide their separation in the third coordinate.

Practice

  1. Parametrize the line through (1,2,3)(1,2,3) parallel to (0,1,−1)(0,1,-1).
  2. Find a plane through (1,0,0)(1,0,0) normal to (2,−1,3)(2,-1,3).
  3. Do lines (t,0,0)(t,0,0) and (0,s,1)(0,s,1) intersect?
Show worked solutions
  1. (x,y,z)=(1,2+t,3−t)(x,y,z)=(1,2+t,3-t).
  2. 2(x−1)−y+3z=02(x-1)-y+3z=0, or 2x−y+3z=22x-y+3z=2.
  3. No. Their zz coordinates are always 00 and 11. Their directions are nonparallel, so they are skew.

Further study

MIT OpenCourseWare: Multivariable Calculus provides a full university course with additional lectures and exercises.

MAKE IT YOURS

Pause before the next idea.

Can you explain how the visualization connects to this lesson’s goal? If a step still feels uncertain, put this lesson on your review list and try the check again another day.

Optional marks, not a grade. Saved in this browser only. Open notebook →