Intersections and distances in three dimensions

Intersections and distances in three dimensions

Spec 6.5 · Edexcel A-Level Further Maths: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • A line meets a plane by substituting its general point into the plane equation.
  • If d⋅n=0\mathbf d\cdot\mathbf n=0 the line is parallel to the plane: it lies in it or never meets it.
  • Point to plane: ∣n1α+n2β+n3γ+d∣n12+n22+n32\frac{|n_1\alpha+n_2\beta+n_3\gamma+d|}{\sqrt{n_1^2+n_2^2+n_3^2}}.
  • Point to line: find the foot of the perpendicular or use ∣AP→×d∣∣d∣\frac{|\overrightarrow{AP}\times\mathbf d|}{|\mathbf d|}.
  • Skew lines: ∣(a2−a1)⋅n∣∣n∣\frac{|(\mathbf a_2-\mathbf a_1)\cdot\mathbf n|}{|\mathbf n|} with n=d1×d2\mathbf n=\mathbf d_1\times\mathbf d_2.
  • Point to plane∣a⋅n−k∣∣n∣\dfrac{|\mathbf a\cdot\mathbf n-k|}{|\mathbf n|}
  • Point to line∣AP→×d∣∣d∣\dfrac{|\overrightarrow{AP}\times\mathbf d|}{|\mathbf d|}
  • Skew lines∣(a2−a1)⋅n∣∣n∣\dfrac{|(\mathbf a_2-\mathbf a_1)\cdot\mathbf n|}{|\mathbf n|}

Where a line meets a plane

Substitute the line's general point into the plane equation to get a linear equation in tt.

Write the line as r=a+td\mathbf r=\mathbf a+t\mathbf d and the plane as n1x+n2y+n3z=kn_1x+n_2y+n_3z=k. Substitute the general point into the plane equation to get a linear equation in tt.

  • If d⋅n≠0\mathbf d\cdot\mathbf n\ne0 there is exactly one intersection: solve for tt, then substitute back for the point.
  • If d⋅n=0\mathbf d\cdot\mathbf n=0 the line is parallel to the plane. Then either a⋅n=k\mathbf a\cdot\mathbf n=k (the line lies in the plane) or a⋅n≠k\mathbf a\cdot\mathbf n\ne k (no intersection).
planeparallel linenone intersection
Side view of a plane (edge on) with normal n. A line crossing it (d·n ≠ 0) meets it once; a parallel line (d·n = 0) above it never does.

Line crosses the plane

  • d⋅n≠0\mathbf d\cdot\mathbf n\ne0
  • Exactly one point

Line in the plane

  • d⋅n=0\mathbf d\cdot\mathbf n=0 and a⋅n=k\mathbf a\cdot\mathbf n=k
  • Every point is on the plane

Parallel, outside the plane

  • d⋅n=0\mathbf d\cdot\mathbf n=0 and a⋅n≠k\mathbf a\cdot\mathbf n\ne k
  • No intersection

Worked example

Find where r=(1,0,2)+t(1,2,−1)\mathbf r=(1,0,2)+t(1,2,-1) meets 2x−y+3z=142x-y+3z=14.

Where does r=t(1,1,1)\mathbf r=t(1,1,1) meet x+y+z=6x+y+z=6?

Distance from a point to a plane

Put the plane in the form n1x+n2y+n3z+d=0n_1x+n_2y+n_3z+d=0 and divide by the length of the normal.

The perpendicular distance from (α,β,γ)(\alpha,\beta,\gamma) to the plane n1x+n2y+n3z+d=0n_1x+n_2y+n_3z+d=0 is

∣n1α+n2β+n3γ+d∣n12+n22+n32.\frac{|n_1\alpha+n_2\beta+n_3\gamma+d|}{\sqrt{n_1^2+n_2^2+n_3^2}}.

Rearrange so everything is on one side first: 2x−2y+z=72x-2y+z=7 becomes 2x−2y+z−7=02x-2y+z-7=0, so d=−7d=-7.

It works because the shortest route runs along the normal to the plane.

plane5/3P1P2FA
The shortest distance from A to the plane is AF, along the normal.

Worked example

Find the distance from A(3,−1,4)A(3,-1,4) to 2x−2y+z=72x-2y+z=7.

Find the distance from (1,2,3)(1,2,3) to x+y+z=3x+y+z=3.

Foot of the perpendicular

Go from the point along the normal to the plane; the reflection is as far again on the other side.

The foot of the perpendicular from AA to a plane lies on the line r=a+μn\mathbf r=\mathbf a+\mu\mathbf n. Substitute into the plane to find μ\mu.

The reflection A′A' of AA in the plane is as far again on the other side:

OA′→=2OF→−OA→.\overrightarrow{OA'}=2\overrightarrow{OF}-\overrightarrow{OA}.

The distance ∣μ∣∣n∣|\mu||\mathbf n| should equal the distance-formula answer, a useful check.

plane5/35/3P1P2AFB
A' is the reflection of A: F is the midpoint of AA'.

Worked example

Find the foot of the perpendicular from A(3,−1,4)A(3,-1,4) to 2x−2y+z=72x-2y+z=7.

What is the foot of the perpendicular from the origin to x+y+z=3x+y+z=3?

Distance from a point to a line

Find the foot of the perpendicular, or use the cross product.

For the line r=a+λd\mathbf r=\mathbf a+\lambda\mathbf d and point PP there are two methods.

  1. The foot. Take a general point F=a+λdF=\mathbf a+\lambda\mathbf d, form PF→\overrightarrow{PF} and solve PF→⋅d=0\overrightarrow{PF}\cdot\mathbf d=0. The distance is ∣PF→∣|\overrightarrow{PF}|.
  2. The cross product. With AA on the line, distance =∣AP→×d∣∣d∣=\frac{|\overrightarrow{AP}\times\mathbf d|}{|\mathbf d|}, because ∣AP→×d∣=∣AP→∣∣d∣sin⁡θ|\overrightarrow{AP}\times\mathbf d|=|\overrightarrow{AP}||\mathbf d|\sin\theta.
line√5L1L2FP
The shortest distance from P to the line is PF.

Worked example

Find the distance from P(4,2,0)P(4,2,0) to r=(1,2,0)+λ(2,1,−2)\mathbf r=(1,2,0)+\lambda(2,1,-2).

Find the distance from P(0,0,1)P(0,0,1) to r=λ(1,0,0)\mathbf r=\lambda(1,0,0) using the cross product.

Distance between two lines

For parallel lines use a point on one; for skew lines project onto the common perpendicular.

Parallel lines: take any point on one line and use the point-to-line distance to the other.

Skew lines r=a1+sd1\mathbf r=\mathbf a_1+s\mathbf d_1 and r=a2+td2\mathbf r=\mathbf a_2+t\mathbf d_2 do not meet and are not parallel. The shortest distance is along their common perpendicular, direction n=d1×d2\mathbf n=\mathbf d_1\times\mathbf d_2.

To show lines are skew lines, equate two components, substitute into the third to find a contradiction, then note the directions are not parallel.

d = 2ABFD
Parallel lines: the shortest distance is the perpendicular AF = 2. For skew lines it is the length of the projection onto n = d₁ × d₂.
  • Skew lines∣(a2−a1)⋅n∣∣n∣\dfrac{|(\mathbf a_2-\mathbf a_1)\cdot\mathbf n|}{|\mathbf n|}
  • wheren=d1×d2\mathbf n=\mathbf d_1\times\mathbf d_2

Worked example

d1=(1,1,0)\mathbf d_1=(1,1,0), d2=(0,1,1)\mathbf d_2=(0,1,1) and a2−a1=(−1,−2,3)\mathbf a_2-\mathbf a_1=(-1,-2,3). Find the distance between the lines.

Line 1 is s(1,0,0)s(1,0,0) and line 2 is (0,0,2)+t(0,1,0)(0,0,2)+t(0,1,0). What is the distance between them?

Try an exam question

Line l1l_1 is r=(1,0,0)+s(1,1,0)\mathbf r=(1,0,0)+s(1,1,0) and line l2l_2 is r=(0,1,3)+t(0,1,1)\mathbf r=(0,1,3)+t(0,1,1). Find the shortest distance between the two lines.

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Find the value of tt at the point where ll meets Π\Pi.

1 mark, marked against the mark scheme

Revision notes